https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c0 Summary: lxml.etree cannot be imported (raises ValueError) in Python 3.3 Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: iacobcatalin@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Factory has python3-lxml at 2.3.6 which raises ValueError when lxml.etree is imported: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "lxml.etree.pyx", line 48, in init lxml.etree (src/lxml/lxml.etree.c:159821) ValueError: level must be >= 0 According to upstream 2.3.* doesn't work with Python 3.3 and will not be fixed as lxml 3.0 should be used with Python 3, see https://mailman-mail5.webfaction.com/pipermail/lxml/2012-September/006589.ht... Maybe it's too late or too risky to update lxml to 3.0 for 12.3 but then maybe it's better to delete the python3-lxml package instead of shipping it when it's known to be broken. Reproducible: Always Steps to Reproduce: catalin@opensuse:~> python3 Python 3.3.0 (default, Oct 01 2012, 09:13:30) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information.
import lxml.etree
Actual Results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "lxml.etree.pyx", line 48, in init lxml.etree (src/lxml/lxml.etree.c:159821) ValueError: level must be >= 0 Expected Results: Successful import -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.