Ticket #942 (closed defect: worksforme)

Opened 5 years ago

Last modified 3 years ago

Error listing transport services

Reported by: anonymous Owned by: asterix
Priority: normal Milestone: 0.9
Component: None Version:
Severity: normal Keywords:
Cc: Blocked By:
OS: Blocking:

Description

The jabber server that I use was raising this exception while listing transports: /usr/lib/python2.4/site-packages/pygtk.py: inconsistent use of tabs and spaces in indentation /usr/share/gajim/src/roster_window.py:2047: GtkWarning?: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

LaunchpadIntegration?.add_items(widget,1,True,False)

An error occurred while looking up _xmpp-client._tcp.im.sapo.pt Traceback (most recent call last):

File "./gajim.py", line 1000, in process_connections

gajim.mutex_events_for_ui.lock(self.exec_event, account)

File "/usr/lib/python2.4/mutex.py", line 41, in lock

function(argument)

File "./gajim.py", line 984, in exec_event

self.handlers[ev[0]](account, ev[1])

File "./gajim.py", line 520, in handle_event_agent_info

array[2], array[3])

File "/usr/share/gajim/src/config.py", line 2238, in agent_info

self.agent_info_items(agent, , items, False)

File "/usr/share/gajim/src/config.py", line 2226, in agent_info_items

iter_child = model.append(iter, (name, itemjid?, node))

KeyError?: 'jid'

What I did to fix it was just check if the dict has the 'jid' first and continue the loop (skipping it) in case it doesn't.

Attachments

nojid.patch (450 bytes) - added by anonymous 5 years ago.

Change History

Changed 5 years ago by anonymous

Changed 5 years ago by asterix

which jabber server is it ? I'd like to find a proper way to solve this bug

Changed 5 years ago by nk

  • status changed from new to closed
  • resolution set to worksforme
  • milestone set to 0.9

please tell us server and show us xml you get and tell us if you can repro with latest svn. most servers are ok (we never had any reports apart this one) so maybe your server violates xmpp/JEPs?

Changed 5 years ago by nk

 """the <item/> child MUST possess a 'jid' attribute specifying the JID of the item"""

 http://www.jabber.org/jeps/jep-0030.html 4.1, just below example 10

I was able to browse some services in im.sapo.pt and all is ok. so you fixed it, or our refactor does not count on that? (Stephan comment on that here please)

Changed 5 years ago by shteef

I didn't really 'fix' this I think. Could be it works now because we ditched support for old disco. Wouldn't know until we see the XML. Either way, this is a server problem.

Add/Change #942 (Error listing transport services)

Author


E-mail address and user name can be saved in the Preferences.


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