Hide Forgot
libreport version: 2.0.8 abrt_version: 2.0.7 cmdline: python2.7 /usr/bin/mypaint comment: start from mypaint executable: /usr/bin/mypaint kernel: 3.1.6-1.fc16.i686.PAE reason: mypaintlib.py:18:swig_import_helper:ImportError: No module named _mypaintlib time: Di 10 Jan 2012 22:03:56 CET uid: 1000 username: geroldka backtrace: :mypaintlib.py:18:swig_import_helper:ImportError: No module named _mypaintlib : :Traceback (most recent call last): : File "/usr/bin/mypaint", line 164, in <module> : datapath, extradata, confpath, localepath = get_paths() : File "/usr/bin/mypaint", line 108, in get_paths : from lib import mypaintlib : File "/usr/share/mypaint/lib/mypaintlib.py", line 26, in <module> : _mypaintlib = swig_import_helper() : File "/usr/share/mypaint/lib/mypaintlib.py", line 18, in swig_import_helper : import _mypaintlib :ImportError: No module named _mypaintlib : :Local variables in innermost frame: :fp: None :imp: <module 'imp' (built-in)> :dirname: <function dirname at 0xb785fae4>
What does "rpm -q mypaint" return?
[root@lilap ~]# rpm -q mypaint mypaint-1.0.0-1.fc16.i686
Please run "rpm -V mypaint mypaint-data"
done. And after start from menu, the below (same) error occured mypaintlib.py:18:swig_import_helper:ImportError: No module named _mypaintlib Traceback (most recent call last): File "/usr/bin/mypaint", line 164, in <module> datapath, extradata, confpath, localepath = get_paths() File "/usr/bin/mypaint", line 108, in get_paths from lib import mypaintlib File "/usr/share/mypaint/lib/mypaintlib.py", line 26, in <module> _mypaintlib = swig_import_helper() File "/usr/share/mypaint/lib/mypaintlib.py", line 18, in swig_import_helper import _mypaintlib ImportError: No module named _mypaintlib Local variables in innermost frame: fp: None imp: <module 'imp' (built-in)> dirname: <function dirname at 0xb7728ae4>
Well, I wanted the output of this command. ;) Or was there none?
no output. Just the prompt
Ok, I can reproduce the problem now, it's i686 only. The messages above the traceback are actually more interesting: $ mypaint We are not correctly installed or compiled! script: "/usr/bin/mypaint" deducted prefix: "/usr" lib_shared: "/usr/shared/mypaint/" lib_compiled: "usr/lib64/mypaint/" It's looking for lib64 on a 32 bit system!
Ok, I found the problem: /usr/bin/mypaint is not really noarch as it contains the path to the compiled libs. It needs to go into the arch specific mypaint package rather than the the noarch -data package.
Fixed package in rawhide and at http://repos.fedorapeople.org/repos/cwickert/mypaint/