[Bug 935038] New: Import failed hook breaks Python 3 programs
http://bugzilla.opensuse.org/show_bug.cgi?id=935038 Bug ID: 935038 Summary: Import failed hook breaks Python 3 programs Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Critical Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: lbeltrame@kde.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The current import failed hook completely breaks third party modules when Python 3 is used. python3 Python 3.4.3 (default, Mar 27 2015, 02:30:53) [GCC] on linux Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "/etc/pythonstart", line 7, in <module> import readline File "/usr/lib64/python3.4/_import_failed/readline.py", line 17, in <module> to install it.""".format(__name__, package)) ImportError: Module 'readline' is not installed. Use: sudo zypper install python3 The issue is that it occurs also when running scripts or programs, that suddenly fail to find working imports like sqlite3. Everything boils down to the import hook /usr/lib64/python3.4/site-packages/zzzz-import-failed-hooks.pth. If removed, things start moving gain. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=935038
http://bugzilla.opensuse.org/show_bug.cgi?id=935038#c1
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=935038
http://bugzilla.opensuse.org/show_bug.cgi?id=935038#c2
--- Comment #2 from Luca Beltrame
http://bugzilla.opensuse.org/show_bug.cgi?id=935038
http://bugzilla.opensuse.org/show_bug.cgi?id=935038#c3
--- Comment #3 from Jan Matejek
http://bugzilla.opensuse.org/show_bug.cgi?id=935038
http://bugzilla.opensuse.org/show_bug.cgi?id=935038#c4
--- Comment #4 from Luca Beltrame
http://bugzilla.opensuse.org/show_bug.cgi?id=935038
http://bugzilla.opensuse.org/show_bug.cgi?id=935038#c5
Jan Matejek
participants (1)
-
bugzilla_noreply@novell.com