Thursday, July 01, 2010

Nautilus automated test script under Mago applications

As part of an effort to expand Mago a bit by adding nautilus, Jeff Lane from Ubuntu created a launchpad team called mago-applications. It was created to let people interested in adding new applications to Mago collaborate on the same code bases without cluttering up the mago-contributors team.

The way we see it, mago-applications can focus on simply adding new application interfaces and test suites/cases to Mago, while mago-contributors can focus on the core Mago code making sure it works with the latest changes to LDTP and so forth.

So, if you're interested in adding applications to Mago, feel free to join:

https://launchpad.net/~mago-applications

Feel free to create your own branches there to add new apps to Mago, there are plenty that can be added to enhance desktop testing of Ubuntu!

Also, adding an application is a good way to get some experience adding to a project that uses Python, is OO based, complex, and useful!

2 Comments:

At Monday, September 27, 2010 at 4:38:00 AM PDT, Blogger jc said...

Can you please show us some steps on how to install the late versions of ldtp in Fedora 13. When trying to install manually the latest version, it gives me this error while importing ldtp:

Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/site-packages/ldtpd/__init__.py", line 40, in main
from twisted.internet import glib2reactor
ImportError: No module named twisted.internet
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.6/site-packages/ldtp/__init__.py", line 257, in
_populateNamespace(globals())
File "/usr/lib/python2.6/site-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/lib/python2.6/site-packages/ldtp/client.py", line 73, 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 892, in endheaders
self._send_output()
File "/usr/lib/python2.6/httplib.py", line 764, in _send_output
self.send(msg)
File "/usr/lib/python2.6/httplib.py", line 723, in send
self.connect()
File "/usr/lib/python2.6/httplib.py", line 704, 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


Currently, the version ldtp-1.3.0-5, is the one going to be installed by Fedora 13 via online installation which gives a lot of problems on running my scripts. I have scripts which perfectly run on SuSe 11.3 and Ubuntu 10.04.
Please help...

 
At Monday, September 27, 2010 at 9:43:00 AM PDT, Blogger Nagappan said...

From the traceback:

from twisted.internet import glib2reactor
ImportError: No module named twisted.internet

You to install twisted core package or relevant one in Fedora, which should solve the issue.

Thanks

 

Post a Comment

<< Home