[Bug 798292] New: lxml.etree cannot be imported (raises ValueError) in Python 3.3
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.
https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |thomas.schraitle@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c1 Martin Jakl <martin.jakl@qbicon.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.jakl@qbicon.cz Component|Development |Development Version|13.1 Milestone 1 |Final AssignedTo|thomas.schraitle@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE Factory |openSUSE 12.3 Target Milestone|--- |Final --- Comment #1 from Martin Jakl <martin.jakl@qbicon.cz> 2013-03-21 07:14:54 UTC --- This bug makes BeautifulSoup for python3 unusable in openSUSE 12.3. It's quite a big issue. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c Xiaolong Li <xlli@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xlli@suse.com AssignedTo|bnc-team-screening@forge.pr |jmatejek@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-03-25 09:00:07 CET --- This is an autogenerated message for OBS integration: This bug (798292) was mentioned in https://build.opensuse.org/request/show/160856 Maintenance / -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c4 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Benjamin Brunner <bbrunner@suse.com> 2013-04-02 15:55:25 CEST --- Update released for openSUSE 12.3. Resolved fixed. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=798292 https://bugzilla.novell.com/show_bug.cgi?id=798292#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> 2013-04-02 14:08:14 UTC --- openSUSE-RU-2013:0583-1: An update that has one recommended fix can now be installed. Category: recommended (important) Bug References: 798292 CVE References: Sources used: openSUSE 12.3 (src): python3-lxml-3.1.0-6.4.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com