https://bugzilla.novell.com/show_bug.cgi?id=680123 https://bugzilla.novell.com/show_bug.cgi?id=680123#c0 Summary: smoltSendProfile doesnt work - upgraded system 11.1 step-by-step until 11.4 Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: abittner@stud.fh-heilbronn.de QAContact: qa@suse.de Found By: --- Blocker: --- created after reply to my smolt-bug comment at: https://bugzilla.novell.com/show_bug.cgi?id=675403#c10 ------------- my original comment there: i have an upgrades system (opensuse 11.1 via 11.2 via 11.3) to 11.4. smoltSendProfile crashes with python errors. smoltSendProfile was working all the time in the recent opensuse version all up til the 11.3 system. after upgrade to 11.4 via x86 download dvd iso image it fails. --------------- # smoltSendProfile Traceback (most recent call last): File "/usr/bin/smoltSendProfile", line 35, in <module> import smolt File "/usr/share/smolt/client/smolt.py", line 44, in <module> import simplejson ImportError: Bad magic number in /usr/share/smolt/client/simplejson/__init__.pyc --------- # rpm -aq | grep -i pyth python-kde4-4.6.0-3.2.i586 python-2.7-8.2.i586 python-gobject-cairo-2.26.0-5.1.i586 python-cairo-1.8.10-2.1.i586 python-gobject-2.26.0-5.1.i586 python-urlgrabber-3.1.0-188.1.noarch python-numpy-1.5.1-3.1.i586 dbus-1-python-0.83.2-2.1.i586 python-xml-2.7-8.4.i586 libxml2-python-2.7.8-15.1.i586 python-sip-4.12.1-3.1.i586 libpython2_7-1_0-2.7-8.4.i586 python-base-2.7-8.4.i586 python-simplejson-2.1.1-2.1.i586 python-qt4-4.8.3-3.2.i586 python-gtk-2.22.0-4.1.i586 ------------ # rpm -aq | grep -i smol smolt-gui-1.4.2.2-5.1.noarch smolt-1.4.2.2-5.1.noarch ksmolt-0.2.3-9.1.noarch ---------- machine runs runlevel3 nongraphics only, thats why i would like to continue using ncurses/textmode/commandline smolt. thanks. ---------- meanwhile there was apparently only for a brief period an update to the smolt packages via updates for 11.4 so i am having # rpm -aq | grep -i smolt smolt-gui-1.4.2.2-6.5.1.noarch smolt-1.4.2.2-6.5.1.noarch ksmolt-0.2.3-9.1.noarch at the moment. ---------- still getting error: # smoltSendProfile Traceback (most recent call last): File "/usr/bin/smoltSendProfile", line 35, in <module> import smolt File "/usr/share/smolt/client/smolt.py", line 44, in <module> import simplejson ImportError: Bad magic number in /usr/share/smolt/client/simplejson/__init__.pyc ------- about this python stuff and how it works internally, i think i used to have extreme problems with some pythong based apps in the past when upgrading opensuse to next releases when also python changed from 2.4 to 2.6 or such stuff, dont remember the details any more, but i think it was the denyhost package in suse/opensuse that went mad back then. i somehow figured that python compiled some of its files and created bytecode-like stuff in the /usr/share/..../ directories, and some path stuff was messed up or whatever it was. back with denyhosts i think i needed to completely uninstall the package and clean up everything and reinstall the denyhosts on the then-current suse system once from scratch. so maybe something went bad with smolt packages as well in relation to python and pathnames or whatever. here is my directory of that user/share/smolt.... /usr/share/smolt/client # ls -lart total 213 -rw-r--r-- 1 root root 2693 Mar 19 2010 uuiddb.py -rw-r--r-- 1 root root 1811 Mar 19 2010 software.py -rw-r--r-- 1 root root 992 Mar 19 2010 smolt_config.py -rwxr-xr-x 1 root root 12407 Mar 19 2010 smoltGui.py -rw-r--r-- 1 root root 46028 Mar 19 2010 smolt.py -rwxr-xr-x 1 root root 10787 Mar 19 2010 sendProfile.py -rw-r--r-- 1 root root 3948 Mar 19 2010 scan.py -rw-r--r-- 1 root root 1761 Mar 19 2010 privacypolicy.py -rw-r--r-- 1 root root 4585 Mar 19 2010 os_detect.py -rw-r--r-- 1 root root 1508 Mar 19 2010 i18n.py -rw-r--r-- 1 root root 4075 Mar 19 2010 gui.py -rw-r--r-- 1 root root 2388 Mar 19 2010 gate.py -rw-r--r-- 1 root root 5364 Mar 19 2010 fs_util.py -rwxr-xr-x 1 root root 3588 Mar 19 2010 deleteProfile.py -rw-r--r-- 1 root root 774 Mar 19 2010 __init__.py drwxr-xr-x 2 root root 176 Mar 8 19:57 simplejson -rw-r--r-- 1 root root 2624 Mar 10 18:56 uuiddb.pyc -rw-r--r-- 1 root root 3488 Mar 10 18:56 scan.pyc -rw-r--r-- 1 root root 4515 Mar 10 18:56 fs_util.pyc -rw-r--r-- 1 root root 640 Mar 10 19:57 i18n.pyc -rw-r--r-- 1 root root 1620 Mar 10 19:57 software.pyc -rw-r--r-- 1 root root 391 Mar 10 19:57 smolt_config.pyc -rw-r--r-- 1 root root 35577 Mar 10 19:57 smolt.pyc -rw-r--r-- 1 root root 5802 Mar 10 19:57 os_detect.pyc -rw-r--r-- 1 root root 2054 Mar 10 19:57 gate.pyc drwxr-xr-x 4 root root 96 Mar 11 16:04 .. lrwxrwxrwx 1 root root 20 Mar 14 10:37 config.py -> /etc/smolt/config.py drwxr-xr-x 2 root root 192 Mar 14 10:37 icons -rw-r--r-- 1 root root 589 Mar 14 10:37 config.pyc drwxr-xr-x 4 root root 872 Mar 14 10:37 . ---------- please notice the date of march 2010 of a great many number of files at the beginning. maybe there is some clue in that. i havent tried yet to clean/re-/-move/-install smolt completely yet. maybe the whole suse/phython/packages-upgrade mechanisms could/should be re-considered and enhanced if this is some fundamental problem when upgrading suse systems. hope this helps a bit. # uname -a Linux ra 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/Linux # rpm -aq | grep -i pyth python-kde4-4.6.0-3.2.i586 python-2.7-8.2.i586 python-gobject-cairo-2.26.0-5.1.i586 python-cairo-1.8.10-2.1.i586 python-gobject-2.26.0-5.1.i586 python-urlgrabber-3.1.0-188.1.noarch python-numpy-1.5.1-3.1.i586 dbus-1-python-0.83.2-2.1.i586 python-xml-2.7-8.4.i586 libxml2-python-2.7.8-15.1.i586 python-sip-4.12.1-3.1.i586 libpython2_7-1_0-2.7-8.4.i586 python-base-2.7-8.4.i586 python-simplejson-2.1.1-2.1.i586 python-qt4-4.8.3-3.2.i586 python-gtk-2.22.0-4.1.i586 thanks for helping. regards. -- 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.