[xml] Python 3.5 issue - SystemError: <built-in function xmlReadFile> returned a result with an error set



Hi,

anyone seen following error when running Python regression tests? This is just with Python 3.5. Pythons 2.7 and 3.4 are ok (I haven't tested Python 3.6).

Any idea?

Thanks,

Petr


## running Python regression tests
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/builds/psumbera/userland-libxml2-2.9.5/components/libxml2/libxml2-2.9.5/python/tests/tstLastError.py", line 80, in <module>
    test.test1()
File "/builds/psumbera/userland-libxml2-2.9.5/components/libxml2/libxml2-2.9.5/python/tests/tstLastError.py", line 62, in test1
    line=0)
File "/builds/psumbera/userland-libxml2-2.9.5/components/libxml2/libxml2-2.9.5/python/tests/tstLastError.py", line 30, in failUnlessXmlError
    f(*args)
File "/builds/psumbera/userland-libxml2-2.9.5/components/libxml2/libxml2-2.9.5/python/libxml2.py", line 1374, in readFile
    ret = libxml2mod.xmlReadFile(filename, encoding, options)
SystemError: <built-in function xmlReadFile> returned a result with an error set
-- tstLastError.py


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