Note that there are some explanatory texts on larger screens.

plurals
  1. POSAXParseException using Python and suds 0.4?
    primarykey
    data
    text
    <p>I have a simple Python script that uses Suds to pull data from a SOAP web service. It works perfectly on one machine, but when I move it to another that has an older version of Python (2.4.3), I get the following stack trace:</p> <pre><code>&gt;&gt;&gt; client = suds.client.Client(url, username='xxx', password='xxx', location=service_location, cache=None) Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in ? File "/home/etlsmart/lib/python2.4/site-packages/suds/client.py", line 112, in __init__ self.wsdl = reader.open(url) File "build/bdist.linux-i686/egg/suds/reader.py", line 152, in open File "build/bdist.linux-i686/egg/suds/wsdl.py", line 136, in __init__ File "build/bdist.linux-i686/egg/suds/reader.py", line 79, in open File "build/bdist.linux-i686/egg/suds/reader.py", line 101, in download File "/home/etlsmart/lib/python2.4/site-packages/suds/sax/parser.py", line 136, in parse sax.parse(source) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 220, in feed self._err_handler.fatalError(exc) File "/usr/lib/python2.4/site-packages/_xmlplus/sax/handler.py", line 38, in fatalError raise exception xml.sax._exceptions.SAXParseException: &lt;unknown&gt;:18:2: mismatched tag </code></pre> <p>I've looked at various related errors involving the cache, but that doesn't seem to be the issue. I've disabled the cache and /tmp/suds only contained a version file in any case.</p> <p>Is this likely related to the Python version or is there something else obvious that I should try?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload