[Fedora-suds-list] Mismatched Tag Error

Jeff Ortel jortel at redhat.com
Wed Oct 7 18:21:37 UTC 2009



On 10/07/2009 12:57 PM, Sammy Flarn wrote:
> Hi -
>
> I am trying to connect to an IP and get the following error.  I am using
> SUDS 0.3.6.
>
>  >>> client = Client(url)
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
>    File "/usr/local/lib/python2.4/site-packages/suds/client.py", line
> 106, in __init__
>      self.wsdl = Definitions(url, options)
>    File "/usr/local/lib/python2.4/site-packages/suds/wsdl.py", line 171,
> in __init__
>      root = p.parse(url=url).root()
>    File "/usr/local/lib/python2.4/site-packages/suds/sax/parser.py",
> line 134, in parse
>      sax.parse(fp)
>    File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in
> parse
>      xmlreader.IncrementalParser.parse(self, source)
>    File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
>      self.feed(buffer)
>    File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 211, in feed
>      self._err_handler.fatalError(exc)
>    File "/usr/local/lib/python2.4/xml/sax/handler.py", line 38, in
> fatalError
>      raise exception
> xml.sax._exceptions.SAXParseException:
> /tmp/suds/suds-823874735.http:59:18: mismatched tag
>
> Ticket #256 --> https://fedorahosted.org/suds/ticket/256 suggested
> deleting the tmp directories, but this did not help me.

Usually, (rm -f /tmp/suds/*) does the trick.
The cache files can be corrupted when:
   - A collision between 2+ suds clients running on the same machine
   - The suds client is interrupted while writing the cache file.
Do you have more then (1) suds client running on this machine at the *same* time?

>
> Can anyone give me a suggestion on how to troubleshoot this problem?
>
> SammyF
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> fedora-suds-list mailing list
> fedora-suds-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-suds-list


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3360 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-suds-list/attachments/20091007/8722a788/attachment.p7s>


More information about the fedora-suds-list mailing list