On 05/10/08 at 11:04 +0200, Yann Leboulanger wrote:
> Lucas Nussbaum wrote:
> > Package: gajim
> > Version: 0.11.4-3
> > Severity: serious
> > 
> > Hi,
> > 
> > I usually leave gajim running when I suspend my computer. Later, when
> > resuming it, it seems that gajim reconnects and receives messages: the
> > tray icon is show messages. But left-clicking the tray icon doesn't show
> > the roster, and when right-clicking, the context menu opens, but none of
> > the actions work.
> > 
> > This is very annoying, and results in the received messages to be lost
> > (because it's not really feasible to go through each contact's log to
> > find if he sent me something), hence the bug severity.
> > 
> > My .xsession-errors shows the following traceback:
> > Traceback (most recent call last):
> >   File "/usr/share/gajim/src/systray.py", line 307, in on_clicked
> >     self.on_left_click()
> >   File "/usr/share/gajim/src/systray.py", line 287, in on_left_click
> >     self.handle_first_event()
> >   File "/usr/share/gajim/src/systray.py", line 291, in handle_first_event
> >     gajim.interface.handle_event(account, jid, event.type_)
> >   File "gajim.py", line 2011, in handle_event
> >     self.roster.new_chat(contact, account, resource = resource)
> >   File "/usr/share/gajim/src/roster_window.py", line 3088, in new_chat
> >     fjid = contact.jid
> > AttributeError: 'NoneType' object has no attribute 'jid'
> > 
> > and this one:
> > Traceback (most recent call last):
> >   File "/usr/share/gajim/src/systray.py", line 251, in 
> > on_show_all_events_menuitem_activate
> >     gajim.interface.handle_event(account, jid, event.type_)
> >   File "gajim.py", line 2011, in handle_event
> >     self.roster.new_chat(contact, account, resource = resource)
> >   File "/usr/share/gajim/src/roster_window.py", line 3088, in new_chat
> >     fjid = contact.jid
> > AttributeError: 'NoneType' object has no attribute 'jid'
> > 
> > This is reproducible, but not during every suspend/resume cycle (probably 
> > ~50%
> > of the time for me).
> > 
> > - Lucas
> > 
> 
> Hi,
> 
> I think this is fixed in latest svn. Could you test a daily snapshot
> from ftp.gajim.org/debian? I don't have suspend on my machine, so I
> cannot test for suspend.

Indeed, it seems to work in SVN. However, I now get a "Resource
conflict" telling me I'm already connected. That might be because I'm
suspending by calling pm-suspend directly, so gajim might not get a
chance to close the connection first.

But messages sent while I'm suspended are no longer lost.

Could you backport the fix to lenny?
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to