ldtpd hangs sometimes when importing ldtp module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LDTP |
Fix Released
|
Medium
|
|||
ldtp (Ubuntu) |
Fix Released
|
High
|
Ara Pulido |
Bug Description
Binary package hint: ldtp
In Ubuntu 10.04, when I import ldtp module, I get a connection refused error.
After two or three attempts the module is correctly imported.
This is happening with ldtp 2.0.4.
In [1]: import ldtp
** (-c:4829): WARNING **: Trying to register gtype 'WnckWindowState' as enum
when in fact it is of type 'GFlags'
** (-c:4829): WARNING **: Trying to register gtype 'WnckWindowActions' as enum
when in fact it is of type 'GFlags'
** (-c:4829): WARNING **: Trying to register gtype 'WnckWindowMove
as enum when in fact it is of type 'GFlags'
-------
error Traceback (most recent call last)
/home/ara/
/usr/lib/
255 return None
256
--> 257 _populateNamesp
258 _pollEvents = PollEvents()
259 thread.
/usr/lib/
58
59 def _populateNamesp
---> 60 for method in client.
61 if method.
62 continue
/usr/lib/
1197 return _Method(
1198 def __call__(self, *args):
-> 1199 return self.__
1200
1201 ##
/usr/lib/
1487 self.__handler,
1488 request,
-> 1489 verbose=
1490 )
1491
/usr/lib/
request_body, verbose)
59 # Retry connecting again
60 return xmlrpclib.
---> 61 self, host, handler, request_body, verbose=0)
62 raise
63 except xmlrpclib.Fault, e:
/usr/lib/
verbose)
1233 self.send_host(h, host)
1234 self.send_
-> 1235 self.send_
1236
1237 errcode, errmsg, headers = h.getreply()
/usr/lib/
request_body)
1347 connection.
1348 connection.
-> 1349 connection.
1350 if request_body:
1351 connection.
/usr/lib/
902 raise CannotSendHeader()
903
--> 904 self._send_output()
905
906 def request(self, method, url, body=None, headers={}):
/usr/lib/
774 msg = "\r\n".
775 del self._buffer[:]
--> 776 self.send(msg)
777
778 def putrequest(self, method, url, skip_host=0,
skip_accept_
/usr/lib/
733 if self.sock is None:
734 if self.auto_open:
--> 735 self.connect()
736 else:
737 raise NotConnected()
/usr/lib/
714 """Connect to the host and port specified in __init__."""
715 self.sock = socket.
--> 716 self.timeout)
717
718 if self._tunnel_host:
/usr/lib/
510 except error, msg:
511 if sock is not None:
512 sock.close()
513
--> 514 raise error, msg
error: [Errno 111] Connection refused
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ldtp 2.0.4-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-17-generic i686
NonfreeKernelMo
Architecture: i386
CheckboxSubmission: a08fd14ff73f03f
CheckboxSystem: bb422ca46d02494
Date: Tue Mar 30 08:52:07 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: ldtp
Changed in ldtp: | |
status: | Unknown → Fix Released |
Changed in ldtp: | |
importance: | Unknown → Medium |
This bug was fixed in the package ldtp - 2.0.5-0ubuntu1
---------------
ldtp (2.0.5-0ubuntu1) lucid; urgency=low
* Bug fix upstream release
+ ldtpd hangs sometimes when importing ldtp module (LP: #551457)
-- Ara Pulido <email address hidden> Tue, 30 Mar 2010 09:18:27 +0200