TypeError in ParseError.__init__

Bug #1487487 reported by krey on 2015-08-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Python : sys.version_info(major=3, minor=4, micro=3, releaselevel='final', serial=0)
lxml.etree : (3, 4, 4, 0)
libxml used : (2, 9, 2)
libxml compiled : (2, 9, 2)
libxslt used : (1, 1, 28)
libxslt compiled : (1, 1, 28)

I occasionally get the following error:

parser.pxi in lxml.etree.ParseError.__init__ (src/lxml/lxml.etree.c:89005)()

TypeError: __init__() takes exactly 5 positional arguments (2 given)

scoder (scoder) wrote :

Could you provide the complete traceback?

krey (kreykrey) wrote :

I don't really know how.
The exception was caught, pickled, sent to another process, unpickled and reraised.
The traceback came out all weird.

scoder (scoder) wrote :

Anything beyond what you posted? What exception type is it instantiating
here? ParseError seems to be only the base class.

What operation raises this exception?

krey (kreykrey) wrote :

Ah yes, sorry, I get it from etree.fromstring
(but I don't know what happens within there)

scoder (scoder) on 2017-08-13
Changed in lxml:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers