Ticket #3579 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

Gajim don't start (always offline)

Reported by: Dicson Owned by: asterix
Priority: normal Milestone: 0.11.4
Component: None Version: svn
Severity: normal Keywords:
Cc: OS: Unix

Description

r9044

Traceback (most recent call last):

File "/home/test/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events

obj.pollin()

File "/home/test/gajim/src/common/xmpp/transports_nb.py", line 361, in pollin

self._do_receive()

File "/home/test/gajim/src/common/xmpp/transports_nb.py", line 500, in _do_receive

self.on_receive(received)

File "/home/test/gajim/src/common/xmpp/dispatcher_nb.py", line 355, in dispatch

handlerfunc?(session,stanza)

File "/home/test/gajim/src/common/connection_handlers.py", line 2088, in _getRosterCB

self.connection.getRoster(self._on_roster_set)

File "/home/dicson/gajim/src/common/xmpp/roster_nb.py", line 56, in getRoster File "/home/test/gajim/src/common/connection_handlers.py", line 2128, in _on_roster_set

self.dispatch('ROSTER', roster)

File "/home/test/gajim/src/common/connection.py", line 166, in dispatch

self.put_event((event, data))

File "/home/test/gajim/src/common/connection.py", line 162, in put_event

gajim.handlers[ev[0]](self.name, ev[1])

File "gajim.py", line 412, in handle_event_roster

self.roster.add_account_contacts(account)

File "/home/test/gajim/src/roster_window.py", line 1251, in add_account_contacts

self.add_contact_to_roster(jid, account)

File "/home/test/gajim/src/roster_window.py", line 382, in add_contact_to_roster

self.draw_group(group, account)

File "/home/test/gajim/src/roster_window.py", line 427, in draw_group

nbr_on, nbr_total = gajim.contacts.get_nb_online_total_contacts(

File "/home/test/gajim/src/common/contacts.py", line 288, in get_nb_online_total_contacts

if self.has_brother(account, jid) and not \

File "/home/test/gajim/src/common/contacts.py", line 391, in is_big_brother

bb_data = self.get_metacontacts_big_brother(family)

File "/home/test/gajim/src/common/contacts.py", line 475, in get_metacontacts_big_brother

family.sort(cmp=self.compare_metacontacts)

File "/home/test/gajim/src/common/contacts.py", line 435, in compare_metacontacts

show1 = show_list.index(contact1.show)

AttributeError?: 'NoneType?' object has no attribute 'show'

after the minute

Traceback (most recent call last):

File "/home/test/gajim/src/roster_window.py", line 1492, in on_roster_treeview_motion_notify_event

nbr_on, nbr_total = gajim.contacts.get_nb_online_total_contacts(

File "/home/test/gajim/src/common/contacts.py", line 288, in get_nb_online_total_contacts

if self.has_brother(account, jid) and not \

File "/home/test/gajim/src/common/contacts.py", line 391, in is_big_brother

bb_data = self.get_metacontacts_big_brother(family)

File "/home/test/gajim/src/common/contacts.py", line 475, in get_metacontacts_big_brother

family.sort(cmp=self.compare_metacontacts)

File "/home/test/gajim/src/common/contacts.py", line 435, in compare_metacontacts

show1 = show_list.index(contact1.show)

AttributeError?: 'NoneType?' object has no attribute 'show'

r9043 works well

Attachments

Change History

Changed 9 months ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [9045]) prevent traceback when we fill the roster. fixes #3579

Changed 9 months ago by asterix

(In [9046]) prevent traceback when we fill the roster on startup. see #3579

Changed 9 months ago by asterix

  • milestone changed from 0.12 to 0.11.4

Add/Change #3579 (Gajim don't start (always offline))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.