[Bug 736981] New: python simplejson import error
https://bugzilla.novell.com/show_bug.cgi?id=736981 https://bugzilla.novell.com/show_bug.cgi?id=736981#c0 Summary: python simplejson import error Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: scalpel4k@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101 Firefox/9.0 Traceback (most recent call last): File "/usr/bin/smoltGui", line 27, in <module> import smolt File "/usr/share/smolt/client/smolt.py", line 46, in <module> import simplejson ImportError: Bad magic number in /usr/share/smolt/client/simplejson/__init__.pyc Reproducible: Always Steps to Reproduce: I tried to run smolt Actual Results: doesn't start due to import error packages (smolt 1.4.3-57.1 & python-simplejson 2.2.1-4.1) are from openSUSE: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.
https://bugzilla.novell.com/show_bug.cgi?id=736981
https://bugzilla.novell.com/show_bug.cgi?id=736981#c1
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=736981
https://bugzilla.novell.com/show_bug.cgi?id=736981#c2
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=736981
https://bugzilla.novell.com/show_bug.cgi?id=736981#c3
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=736981
https://bugzilla.novell.com/show_bug.cgi?id=736981#c4
Jan Matejek
Since openSUSE 12.1 ships with 2.7, the error message makes sense. But can't python just ignore old pyc files?
not really and not in this case anyway - the matching .py files are not present so the .pycs are considered master code and it would be a bug to ignore them. Anyways, this is a dupe of #680123. The problem is unclean upgrade from previous Smolt version. You will find that /usr/share/smolt/client/simplejson itself is not owned by any package. To fix this, completely remove the directory /usr/share/smolt/client/simplejson Apparently, we decided that fixing this in the update process is more trouble than it's worth, so the bug remains for users of Smolt from 11.1 or older. *** This bug has been marked as a duplicate of bug 680123 *** http://bugzilla.novell.com/show_bug.cgi?id=680123 -- 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