[LDTP-Dev] Mago command is getting connection refused
ssatheeskumar
sakthysuganthini at gmail.com
Tue Sep 11 06:02:41 PDT 2012
Hi Nagappan,
I got 'Mago' source from bazaar repository on Ubuntu11:04 machine. Then,
tried to execute one of example test script, execution is getting failed by
throwing the below output.
ct-vostest102:~/magonew/mago/tests$ ./mago test_helloworld.py
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "gail-gnome"
/usr/lib/python2.7/dist-packages/gi/module.py:119: Warning: cannot register
existing type `EventType'
wrapper = enum_register_new_gtype_and_add(info)
** (-c:5747): CRITICAL **: pyg_enum_add: assertion `typename != NULL' failed
/usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:40: Warning: specified
class size for type `PyGtkGenericCellRenderer' is smaller than the parent
type's `GtkCellRenderer' class size
from gtk import _gtk
/usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:40: Warning:
g_type_get_qdata: assertion `node != NULL' failed
from gtk import _gtk
/usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:40: Warning:
g_ascii_strncasecmp: assertion `s2 != NULL' failed
from gtk import _gtk
Traceback (most recent call last):
File "./mago", line 28, in <module>
from mago import main
File "/home/virtusa/magonew/mago/mago/__init__.py", line 33, in <module>
from mago.core import main, TestResult, TextTestRunner, magoConfig
File "/home/virtusa/magonew/mago/mago/core.py", line 27, in <module>
from mago.application import TestApplication
File "/home/virtusa/magonew/mago/mago/application.py", line 24, in
<module>
import ldtp, ooldtp
File "/usr/local/lib/python2.7/dist-packages/ldtp/__init__.py", line 545,
in <module>
_populateNamespace(globals())
File "/usr/local/lib/python2.7/dist-packages/ldtp/__init__.py", line 225,
in _populateNamespace
for method in client._client.system.listMethods():
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.7/dist-packages/ldtp/client.py", line 136, in
request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1439, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 811, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 773, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 754, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: [Errno 111] Connection refused.
Could you please let me the reason for getting connection refused?
Thanks & Best Regards,
Suganthini.
--
View this message in context: http://old.nabble.com/Mago-command-is-getting-connection-refused-tp34418166p34418166.html
Sent from the Free Desktop - LDTP mailing list archive at Nabble.com.
More information about the LDTP-dev
mailing list