GNOME Bugzilla – Bug 566048
ldtp.getapplist() always throws an exception
Last modified: 2009-01-23 05:57:32 UTC
Please describe the problem: When one call ldtp.getapplist() one get an exception. Steps to reproduce: In a python console type the following: 1. import ldtp 2. ldtp.getapplist() Observe the exception. Actual results: An exception is thrown with following message: <class 'ldtplib.ldtplibutils.LdtpExecutionError'>: 'Parsing XML error: not well-formed (invalid token): line 1, column 360' Expected results: A list of all currently running applications. Does this happen every time? Yes. Other information: /var/lib/python-support/python2.5/ldtp.py in getapplist() 2818 if _responseStatus [0] != 0: 2819 raise LdtpExecutionError ('getapplist failed: %s' % _responseStatus [1]) -> 2820 return parseobjectlist (_responseData [1]) 2821 except LdtpExecutionError, msg: 2822 raise /var/lib/python-support/python2.5/ldtp.py in parseobjectlist(xmldata) 125 else: 126 print traceback.print_exc () --> 127 raise LdtpExecutionError ('Parsing XML error: ' + str (msg)) 128 129 def parsexml (xmlpacket):
Fixed in git. Thanks for reporting this. Please reopen, if still this bug exist.