Ticket #488 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Error while logging in to my account

Reported by: patrys@… Owned by: asterix
Priority: high Milestone: 0.8.1
Component: history Version: 0.9.1
Severity: blocker Keywords:
Cc: Blocked By:
OS: Blocking:

Description

These are the last lines from the verbose mode:

21 cze 2005 21:38:01 Gajim: VersionCB
DEBUG: socket       sent  <iq to="krymzon@jabber.cz/Miranda" from="patrys@pld-linux.org/Asus" id="16" type="result"><query xmlns="jabber:iq:version"><name>Gajim</name><version>0.7.1</version><os>1.99 PLD Linux (Ac)</os></query></iq>
DEBUG: dispatcher   ok    Got presence stanza
DEBUG: dispatcher   ok    Dispatching presence stanza with type-> props->[u'jabber:client'] id->None
21 cze 2005 21:38:01 Gajim: PresenceCB : None
21 cze 2005 21:38:01 Gajim: error appeared while processing xmpp:
Traceback (most recent call last):
  File "/usr/share/gajim/src/common/connection.py", line 1038, in process
    self.connection.Process(timeout)
  File "/usr/share/gajim/src/common/xmpp/dispatcher.py", line 122, in Process
    self.Stream.Parse(data)
  File "/usr/share/gajim/src/common/xmpp/simplexml.py", line 336, in endtag
    self.dispatch(self._mini_dom)
  File "/usr/share/gajim/src/common/xmpp/dispatcher.py", line 286, in dispatch
    handler['func'](session,stanza)
  File "/usr/share/gajim/src/common/connection.py", line 302, in _presenceCB
    self.dispatch('NOTIFY', ( account, show, status,
  File "/usr/share/gajim/src/common/connection.py", line 141, in dispatch
    handler(self.name, data)
  File "gajim.py", line 221, in handle_event_notify
    new_show = statuss.index(array[1])
ValueError: list.index(x): x not in list
DEBUG: socket       sent  </stream:stream>
DEBUG: socket       got   <presence xmlns='jabber:client' type='unavailable' to='patrys@pld-linux.org/Asus' from='icq.jabber.kernel.pl/registered'><status>Turboing, connect later</status></presence><presence xmlns='jabber:client' type='error' to='patrys@pld-linux.org/Asus' from='reddig@tlen.chrome.pl'><error type='wait' code='502'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Could not connect to server</text></error></presence><presence xmlns='jabber:client' from='456bereastreet@news.7thguard.net' to='patrys@pld-linux.org/Asus'><show>avaiable</show></presence><presence xmlns='jabber:client' to='patrys@pld-linux.org/Asus' from='px2@chrome.pl/Psi'>\n<show>chat</show>\n<status>prawdziwa femme fatale.. i jeszcze ta muzyka... </status>\n<priority>5</priority>\n<x xmlns='jabber:x:delay' stamp='20050621T18:09:45' from='px2@chrome.pl/Psi'/></presence><iq xmlns='jabber:client' from='tigger@chrome.pl/Dom' id='aacda' to='patrys@pld-linux.org/Asus' type='get'>\n<query xmlns='jabber:iq:version'/>\n</iq><presence xmlns='jabber:client' to='patrys@pld-linux.org/Asus' from='sobis@jabber.org/Home/Psi'>\n<status>Online</status>\n<priority>5</priority>\n<x xmlns='jabber:x:signed'>iD8DBQBCuGobda81cHPtjj0RAujZAKCZ1xRoBHOx7QNSBmHzxJa0vUl18gCeJWu0\nH4fbFt6vPG5NSI1CkSZKO44=\n=60Vj</x>\n<x xmlns='jabber:x:delay' stamp='20050621T19:10:53' from='sobis@jabber.org/Home/Psi'/></presence><iq xmlns='jabber:client' type='get' to='patrys@pld-linux.org/Asus' id='ab83a' from='spider.apd@jabber.org/Psi'>\n<query xmlns='jabber:iq:version'/>\n</iq><iq xmlns='jabber:client' from='kelner@chrome.pl/ŁośWorkStation Ultra 200' id='ab29a' to='patrys@pld-linux.org/Asus' type='get'>\n<query xmlns='jabber:iq:version'/>\n</iq><iq xmlns='jabber:client' type='get' to='patrys@pld-linux.org/Asus' id='ab19a' from='sobis@jabber.org/Home/Psi'>\n<query xmlns='jabber:iq:version'/>\n</iq><presence xmlns='jabber:client' from='djrzulf@kol.net.pl/Laptop' to='patrys@pld-linux.org/Asus'>\n<x xmlns='jabber:x:delay' stamp='20050621T19:35:35' from='djrzulf@kol.net.pl/Laptop'/><show>xa</show>\n<status>:-)</status>\n<priority>4</priority>\n</presence><presence xmlns='jabber:client' from='megatokyo@news.7thguard.net' to='patrys@pld-linux.org/Asus'><show>away</show><status>Headline isn't well formed :/.</status></presence><presence xmlns='jabber:client' from='djrzulf@kol.net.pl/Eu07::Lochy' to='patrys@pld-linux.org/Asus'>\n<x xmlns='jabber:x:delay' stamp='20050621T15:28:20' from='djrzulf@kol.net.pl/Eu07::Lochy'/><show>xa</show>\n<status>"telegazeta przy waszym Internecie to zapierdala"</status>\n<priority>5</priority>\n</presence><iq xmlns='jabber:client' from='aschierl@a-message.de/Jabber' type='get' to='patrys@pld-linux.org/Asus'><query xmlns='jabber:iq:version'/></iq>
21 cze 2005 21:38:01 Gajim: error appeared while processing xmpp:
Traceback (most recent call last):
  File "/usr/share/gajim/src/common/connection.py", line 1047, in process
    self.connection.disconnect()
  File "/usr/share/gajim/src/common/xmpp/dispatcher.py", line 346, in disconnect    while self.Process(1): pass
  File "/usr/share/gajim/src/common/xmpp/dispatcher.py", line 122, in Process
    self.Stream.Parse(data)
ExpatError: parsing finished: line 11, column 373

Attachments

Change History

Changed 5 years ago by patrys@…

Same applies to the latest SVN snapshot.

Changed 5 years ago by asterix

  • milestone set to 0.8

in the debug I see that: <presence xmlns='jabber:client' from='456bereastreet@…' to='patrys@…/Asus'><show>avaiable</show></presence>

this is not a Jabber messge <show>available</show> doesn't exists in RFC ...

Changed 5 years ago by patrys@…

Hope you manage to work around that as I have little control over what is being sent to me ;]

Psi works fine and does not complain.

Changed 5 years ago by asterix

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

the RFC for that is here:  http://www.faqs.org/rfcs/rfc3921.html section 2.2.2.1 the question is, should we ignore wrong show or considere them as offline ?

Changed 5 years ago by asterix

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 5 years ago by patrys@…

I think it should be just ignored and treated as if no <show/> was specified, ie. contact is online. This is the way Psi does it.

Changed 5 years ago by asterix

the other way is to ignore the whole stanza as it is not RFC compliant.

Changed 5 years ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed

we now ignore unknown show

Changed 5 years ago by nk

as stpeter advises in  http://www.saint-andre.com/blog/2005-06.html#2005-06-23T14:19 plz bug report so the client Miranda (eg. the Jabber Plugin) doesn't do this

Changed 5 years ago by patrys@…

Guys, unfortunately it was not generated by Miranda. It was done by news.7thguard.net which is a RSS to Jabber gateway running RSS component 0.9.7-svn

Changed 5 years ago by nk

patrys okay bugreport there then :)

Add/Change #488 (Error while logging in to my account)

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.