[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Fedora-suds-list] Mismatched Tag Error





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 redhat com
https://www.redhat.com/mailman/listinfo/fedora-suds-list


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]