Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Help with jabber client in wx
Astan Chee
2/11/2008 12:59:00 AM
Hi,
A project Im working on is a jabber client working with wx to interface
with uTorrent's webUI using a python API for it. My project can be found
here:
http://code.google.com/p/gta...
A quick note, the project started as a google talk client, but it seems
that xmpppy is flexible enough to support various other/similar XMPP
servers, but I mainly use with/in google talk
It is open source and I've included the windows executable as an
optional download.
The current problem Im having is that whenever the jabber client
disconnects or whenever a network error occurs (ISP goes down,etc), the
client does not reconnect. I've added some code to help this, but it
still doesnt reconnect properly; or rather, it doesnt detect the
disconnection properly. What am I doing wrong in the xmpppy classes/methods?
I also ask people in the wx community since Im not sure how to overwrite
or handle the wx MainLoop method and maybe I'm doing something wrong in
there. Maybe a deadlocked event?
Anyway, does anyone have any ideas?
Cheers
Astan
Animal Logic
http://www.anima...
Please think of the environment before printing this email.
This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.
1 Answer
Jarek Zgoda
2/11/2008 7:54:00 PM
0
Astan Chee pisze:
> A quick note, the project started as a google talk client, but it seems
> that xmpppy is flexible enough to support various other/similar XMPP
> servers, but I mainly use with/in google talk
> It is open source and I've included the windows executable as an
> optional download.
> The current problem Im having is that whenever the jabber client
> disconnects or whenever a network error occurs (ISP goes down,etc), the
> client does not reconnect. I've added some code to help this, but it
> still doesnt reconnect properly; or rather, it doesnt detect the
> disconnection properly. What am I doing wrong in the xmpppy
> classes/methods?
If you want to use xmppy, I'd suggest looking at Gajim team
modifications to original source (
http://...
). These guys did a
whole lot of work making xmppy more standards compliant and fixing bugs.
--
Jarek Zgoda
http://zgo...
"We read Knuth so you don't have to" - Tim Peters
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Help with jabber client in wx
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password