TypeError in ParseError.__init__

Bug #1487487 reported by krey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Expired
Undecided
Unassigned

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)

Revision history for this message
scoder (scoder) wrote :

Could you provide the complete traceback?

Revision history for this message
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.

Revision history for this message
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?

Revision history for this message
krey (kreykrey) wrote :

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

scoder (scoder)
Changed in lxml:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lxml because there has been no activity for 60 days.]

Changed in lxml:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.