I successfully installed ldtp2 from source, but I got two problems:

1. Failed to load ldtp modules with python and get this error" [Errno
111]" :

t...@tony-laptop:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ldtp import *

** (-c:2385): WARNING **: Trying to register gtype 'WnckWindowState' as
enum when in fact it is of type 'GFlags'

** (-c:2385): WARNING **: Trying to register gtype 'WnckWindowActions'
as enum when in fact it is of type 'GFlags'

** (-c:2385): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' 
as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/dist-packages/ldtp/__init__.py", line 257, in 
<module>
    _populateNamespace(globals())
  File "/usr/local/lib/python2.6/dist-packages/ldtp/__init__.py", line 60, in 
_populateNamespace
    for method in client._client.system.listMethods():
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/local/lib/python2.6/dist-packages/ldtp/client.py", line 76, in 
request
    self, host, handler, request_body, verbose=0)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 904, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 776, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 735, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 716, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 514, in create_connection
    raise error, msg
socket.error: [Errno 111] Connection refused

If I restart my virtual computer(Virtual Box), and try to load the
module again, it'll work well, BUT It always hang up and give the
socket.error after it works correctly for one more hours, not stable?

2. Every time I load ldtp module, I'll get the warnings below, how do I
avoid them? These warnings mean ldtp are loaded incorrectly and will
affect the testing? Or just warnings, will not affect anything?

** (-c:2385): WARNING **: Trying to register gtype 'WnckWindowState' as
enum when in fact it is of type 'GFlags'

** (-c:2385): WARNING **: Trying to register gtype 'WnckWindowActions'
as enum when in fact it is of type 'GFlags'

** (-c:2385): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' 
as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):


I need your help in emergency, I appreciate your help.

-- 
ldtp 2.0.6 cannot identifiy some dialogs of OpenOffice3.2
https://bugs.launchpad.net/bugs/624678
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to