[Bug 707667] New: Python module DLFCN can not be found.
https://bugzilla.novell.com/show_bug.cgi?id=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c0 Summary: Python module DLFCN can not be found. Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rwooninck@opensuse.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.825.0 Safari/535.1 SUSE/14.0.825.0 Running Synaptiks (KDE-Python application) from the console results in the following error: hq000006@HQVMT4XX20:/usr/lib64/python2.7> synaptiks Traceback (most recent call last): File "/usr/bin/synaptiks", line 8, in <module> load_entry_point('synaptiks==0.6.1', 'gui_scripts', 'synaptiks')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 318, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2221, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1954, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/site-packages/synaptiks/kde/__init__.py", line 39, in <module> from PyKDE4.kdecore import KAboutData, ki18nc File "/usr/lib64/python2.7/site-packages/PyKDE4/__init__.py", line 1, in <module> import sys,DLFCN ImportError: No module named DLFCN Also compiling the package KDEGAMES4 results in the same error. I have searched the internet and maybe the following upstream bug is related to this issue: http://bugs.python.org/issue12326 Also I found this forum thread on Gentoo: http://forums.gentoo.org/viewtopic-p-6753566.html?sid=99cb570869269aa4429ec5... Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c1 Luca Beltrame <einar@heavensinferno.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |einar@heavensinferno.net --- Comment #1 from Luca Beltrame <einar@heavensinferno.net> 2011-07-23 20:27:54 UTC --- The issue can be work-arounded by copying Lib/plat-linux2 to Lib/plat-linux3 in the Python source distribution. Upstream has already made this change in hg. -- 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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c2 sergey chursin <serchursin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |serchursin@gmail.com --- Comment #2 from sergey chursin <serchursin@gmail.com> 2011-07-24 22:03:18 UTC --- me helped this topic: http://docs.python.org/library/sys.html #My actions# i just generated DLFCN module (DLFCN.py) and put it to dir with python: /usr/lib64/python/DLFCN.py then created a link and put to PyKDE directory: /usr/lib64/python/site-packages/PyKDE4/"~DLFCN.py" ####################################################################### everything works, just do not know whether my actions are safe -- 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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c3 --- Comment #3 from Luca Beltrame <einar@heavensinferno.net> 2011-07-25 05:36:18 UTC --- This is not the right way to fix it. As stated in the upstream report, you need a plat-linux3 directory in the Python library dir, because there are other platform-specific files used by the sys module. -- 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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c4 --- Comment #4 from sergey chursin <serchursin@gmail.com> 2011-07-25 18:31:55 UTC --- (In reply to comment #3)
This is not the right way to fix it. As stated in the upstream report, you need a plat-linux3 directory in the Python library dir, because there are other platform-specific files used by the sys module.
ok! I have no directory linux2, only linux3 (mydistr: opensuse 12.1 x86_64 milestone-3) what are my steps? install the old libraries? or something I do not understand ... thanks -- 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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |jmatejek@novell.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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c5 Ismail Donmez <idonmez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |idonmez@novell.com --- Comment #5 from Ismail Donmez <idonmez@novell.com> 2011-07-28 14:57:37 UTC --- Fix submitted to Factory https://build.opensuse.org/request/show/77357 -- 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=707667 https://bugzilla.novell.com/show_bug.cgi?id=707667#c6 Ismail Donmez <idonmez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Ismail Donmez <idonmez@novell.com> 2011-07-29 07:32:20 UTC --- Fixed in Factory. -- 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