[LDTP-Dev] [Bug 566048] New: ldtp.getapplist() always throws an exception

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Dec 30 04:44:59 PST 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=566048

  LDTP | ldtp | Ver: 1.4.0
           Summary: ldtp.getapplist() always throws an exception
           Product: LDTP
           Version: 1.4.0
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: hrhass at gmail.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


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):


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=566048.


More information about the LDTP-dev mailing list