You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/usr/local/lib/python2.7/dist-packages/odf/opendocument.py", line 969, in load
__loadxmlparts(z, manifest, doc, u'')
File "/usr/local/lib/python2.7/dist-packages/odf/opendocument.py", line 900, in __loadxmlparts
parser.parse(inpsrc)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 210, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 341, in start_element_ns
AttributesNSImpl(newattrs, qnames))
File "/usr/local/lib/python2.7/dist-packages/odf/load.py", line 78, in startElementNS
e = Element(qname = tag, qattributes=attrdict, check_grammar=False)
File "/usr/local/lib/python2.7/dist-packages/odf/element.py", line 318, in __init__
self.setAttrNS(attr[0], attr[1], value)
File "/usr/local/lib/python2.7/dist-packages/odf/element.py", line 446, in setAttrNS
self.attributes[(namespace, localpart)] = c.convert((namespace, localpart), value, self)
File "/usr/local/lib/python2.7/dist-packages/odf/attrconverters.py", line 1607, in convert
return conversion(attribute, value, element)
File "/usr/local/lib/python2.7/dist-packages/odf/attrconverters.py", line 41, in cnv_anyURI
return str(arg)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 103: ordinal not in range(128)
using python3.4
File "/usr/local/lib/python3.4/dist-packages/odf/opendocument.py", line 969, in load
__loadxmlparts(z, manifest, doc, u'')
File "/usr/local/lib/python3.4/dist-packages/odf/opendocument.py", line 900, in __loadxmlparts
parser.parse(inpsrc)
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 405, in StartElement
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 341, in start_element_ns
AttributesNSImpl(newattrs, qnames))
File "/usr/local/lib/python3.4/dist-packages/odf/load.py", line 78, in startElementNS
e = Element(qname = tag, qattributes=attrdict, check_grammar=False)
File "/usr/local/lib/python3.4/dist-packages/odf/element.py", line 318, in __init__
self.setAttrNS(attr[0], attr[1], value)
File "/usr/local/lib/python3.4/dist-packages/odf/element.py", line 446, in setAttrNS
self.attributes[(namespace, localpart)] = c.convert((namespace, localpart), value, self)
File "/usr/local/lib/python3.4/dist-packages/odf/attrconverters.py", line 1607, in convert
return conversion(attribute, value, element)
File "/usr/local/lib/python3.4/dist-packages/odf/attrconverters.py", line 52, in cnv_boolean
raise ValueError( "'%s' not allowed as Boolean value for %s" % (str(arg), attribute[1]))
ValueError: '1000000000' not allowed as Boolean value for boolean-value
Is this library maintained? If yes I may try reducing my file to a testcase.
The text was updated successfully, but these errors were encountered:
crash was triggered by
using python 2.7
using python3.4
Is this library maintained? If yes I may try reducing my file to a testcase.
The text was updated successfully, but these errors were encountered: