Jump to content

Talk:Linux Desktop Testing Project

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Example does not work anymore?

[edit]

I've tested on modern installs of Lubuntu and Debian and using Travis CI. In all cases, the example fails. It does start gedit, then quits.

Does it still work at all?

Bilderbikkel (talk) 11:51, 17 March 2017 (UTC)[reply]

details

[edit]

When saving the example to a script like 'test.py', then doing

sudo apt-get install ldtp python-ldtp
python test.py

the error is

Traceback (most recent call last):
  File "test_ldtp.py", line 16, in <module>
    text_field = gedit_win.getchild('txt1')
  File "/usr/lib/python2.7/dist-packages/ooldtp/_context.py", line 83, in getchild
    matches = self._remote_getchild(child_name, role)
  File "/usr/lib/python2.7/dist-packages/ooldtp/_context.py", line 102, in __call__
    return self._func(self._window_name, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ldtp/client.py", line 70, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/dist-packages/ldtp/client.py", line 185, in request
    raise LdtpExecutionError(e.faultString.encode('utf-8'))
ldtp.client_exception.LdtpExecutionError: Could not find a child name "txt1"
[edit]

Hello fellow Wikipedians,

I have just modified one external link on Linux Desktop Testing Project. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 13:28, 16 May 2017 (UTC)[reply]