Ticket #3369 (closed defect: fixed)

Opened 17 months ago

Last modified 10 months ago

traceback when detecting os

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

Description

For some unknow reason, i have this error in the logs :

Traceback (most recent call last):
  File "/home/misc/checkout/svn/gajim/src/common/xmpp/idlequeue.py", line 132, in process_events
    obj.pollin()
  File "/home/misc/checkout/svn/gajim/src/common/xmpp/transports_nb.py", line 361, in pollin
    self._do_receive() 
  File "/home/misc/checkout/svn/gajim/src/common/xmpp/transports_nb.py", line 500, in _do_receive
    self.on_receive(received)
  File "/home/misc/checkout/svn/gajim/src/common/xmpp/dispatcher_nb.py", line 355, in dispatch
    handler['func'](session,stanza)
  File "/home/misc/checkout/svn/gajim/src/common/connection_handlers.py", line 1315, in _VersionCB
    qp.setTagData('os', helpers.get_os_info())
  File "/home/misc/checkout/svn/gajim/src/common/helpers.py", line 729, in get_os_info
    os.wait()
OSError: [Errno 10] Aucun processus enfant

yet, the executable work :

$ lsb_release --id --codename --release --short
MandrivaLinux 2008.0 Cooker

Maybe it is running too fast ?

Attachments

subprocess.patch (0.8 kB) - added by asterix 16 months ago.
patch to replace Popen2 by subprocess

Change History

Changed 17 months ago by misc

  • version set to svn
  • os changed from All to Unix

Changed 16 months ago by asterix

patch to replace Popen2 by subprocess

Changed 16 months ago by asterix

could you try this patch misc please ?

Changed 12 months ago by steve-e

  • milestone set to 0.12

An news on this?

Changed 10 months ago by asterix

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

(In [9361]) Use subprocess instead of Popen2. fixes #3369

Add/Change #3369 (traceback when detecting os)

Author



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