Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created July 26, 2012 08:31
Show Gist options
  • Save phlegx/3180986 to your computer and use it in GitHub Desktop.
Save phlegx/3180986 to your computer and use it in GitHub Desktop.
>>> vatnumber.check_vies('IT16145131')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/vatnumber.py", line 1098, in check_vies
server = WSDL.Proxy(VIES_URL)
File "/usr/lib/pymodules/python2.6/SOAPpy/WSDL.py", line 62, in __init__
self.wsdl = reader.loadFromStream(stream, wsdlsource)
File "/usr/lib/pymodules/python2.6/SOAPpy/wstools/WSDLTools.py", line 28, in loadFromStream
document = DOM.loadDocument(stream)
File "/usr/lib/pymodules/python2.6/SOAPpy/wstools/Utility.py", line 602, in loadDocument
return xml.dom.minidom.parse(data)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 928, in parse
result = builder.parseFile(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: syntax error: line 1, column 54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment