Ticket #4043 (closed defect: worksforme)

Opened 5 months ago

Last modified 5 months ago

Error on starting gajim

Reported by: godlark@… Owned by: asterix
Priority: normal Milestone:
Component: None Version: svn
Severity: normal Keywords:
Cc: OS: All

Description

I logging on my serwer jabber with key GPG. When gajim started, there appear window with message:

A programming error has been detected

It probably is not fatal, but should be reported to the developers nonetheless.

Traceback (most recent call last):

File "/media/sda7/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events

obj.pollin()

File "/media/sda7/gajim/src/common/xmpp/transports_nb.py", line 351, in pollin

self._do_receive()

File "/media/sda7/gajim/src/common/xmpp/transports_nb.py", line 495, in _do_receive

self.on_receive(received)

File "/media/sda7/gajim/src/common/xmpp/dispatcher_nb.py", line 135, in ProcessNonBlocking?

self.Stream.Parse(data)

File "/media/sda7/gajim/src/common/xmpp/simplexml.py", line 366, in endtag

self.dispatch(self._mini_dom)

File "/media/sda7/gajim/src/common/xmpp/dispatcher_nb.py", line 286, in dispatch

name = stanza.getName()

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

Attachments

Change History

Changed 5 months ago by misc

Can you run gajim with -v option, and send the log ? ( do not forget to clean them if you do not want to have your name in it )

Changed 5 months ago by godlark

===============================================================================
PyOpenSSL not found, falling back to Python builtin SSL objects (insecure).
===============================================================================
Encodings: d:utf-8, fs:UTF-8, p:UTF-8
Invalid debugflag given always
Invalid debugflag given nodebuilder
DEBUG: 
DEBUG: Debug created for /media/sda7/gajim/src/common/xmpp/client_nb.py
DEBUG:  flags defined: always,nodebuilder
DEBUG: socket       start Plugging <common.xmpp.transports_nb.NonBlockingTcp instance at 0x97b2c8c> into <common.xmpp.client_nb.NonBlockingClient instance at 0x97b2b4c>
DEBUG: dispatcher   start Plugging <common.xmpp.dispatcher_nb.Dispatcher instance at 0x97b29cc> into <common.xmpp.client_nb.NonBlockingClient instance at 0x97b2b4c>
DEBUG: dispatcher   info  Registering namespace "unknown"
DEBUG: dispatcher   info  Registering protocol "unknown" as <class 'common.xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher   info  Registering protocol "default" as <class 'common.xmpp.protocol.Protocol'>(unknown)
DEBUG: dispatcher   info  Registering namespace "***"
DEBUG: dispatcher   info  Registering protocol "unknown" as <class 'common.xmpp.protocol.Protocol'>(***)
DEBUG: dispatcher   info  Registering protocol "default" as <class 'common.xmpp.protocol.Protocol'>(***)
DEBUG: dispatcher   info  Registering namespace "jabber:client"
DEBUG: dispatcher   info  Registering protocol "unknown" as <class 'common.xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher   info  Registering protocol "default" as <class 'common.xmpp.protocol.Protocol'>(jabber:client)
DEBUG: dispatcher   info  Registering protocol "iq" as <class 'common.xmpp.protocol.Iq'>(jabber:client)
DEBUG: dispatcher   info  Registering protocol "presence" as <class 'common.xmpp.protocol.Presence'>(jabber:client)
DEBUG: dispatcher   info  Registering protocol "message" as <class 'common.xmpp.protocol.Message'>(jabber:client)
DEBUG: socket       sent  <?xml version='1.0'?>
  <stream:stream xmlns="jabber:client" to="jabster.pl" version="1.0" xmlns:stream="***" xml:lang="pl" >
DEBUG: socket       got   <?xml version='1.0'?>
  <stream:stream xmlns='jabber:client' xmlns:stream='***' id='4003083978' from='jabster.pl' version='1.0' xml:lang='pl'>

I must remove links and write "***", because akismet doesn't want send my comment.

Changed 5 months ago by asterix

is it the only thing you get? Nothing more?

Here is what I receive when I connect to jabster.pl:

DEBUG: socket       sent  <?xml version='1.0'?>
  <stream:stream xmlns="jabber:client" to="jabster.pl" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en" >
DEBUG: socket       got   <?xml version='1.0'?>
  <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2017262031' from='jabster.pl' version='1.0' xml:lang='pl'>
  <stream:features>
  <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
  <compression xmlns='http://jabber.org/features/compress'>
  <method>zlib</method>
  </compression>
  <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
  <mechanism>DIGEST-MD5</mechanism>
  <mechanism>PLAIN</mechanism>
  </mechanisms>
  <register xmlns='http://jabber.org/features/iq-register'/>
  </stream:features>

Changed 5 months ago by asterix

please also try with latest svn (revision 9841) by running gajim with -v and -l gajim=DEBUG options.

Changed 5 months ago by godlark

Probably reason this was libraries python, I don't know. Now I actualised python and gajim(revision 9843) and then error disapeeared.

Changed 5 months ago by asterix

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

cool

Add/Change #4043 (Error on starting gajim)

Author



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