If /bin is in the path, prior to /usr/bin, which is true after an install from the dual-cd, selecting default package selection, then mypaint fails to start. The script /usr/bin/mypaint uses /bin/mypaint as the starting point, and then looks for /lib64/mypaint/ and /share/mypaint/ Possible methods of fixing the problem ... - Ensure /bin is never in the path - ln -s /usr/share /share - Change the script to run the equivalent of readlink -f /bin/mypaint, after it finds itself, so that it will work whether /bin exists, or is a symlink to /usr/bin.
Keywords: (none) => TriagedAssignee: bugsquad => mageia
For LXDE, MATE (mypaint-1.1.0-5.mga5): [user@localhost ~]$ mypaint We are not correctly installed or compiled! script: "/bin/mypaint" deduced prefix: "/" lib_shared: "/share/mypaint/" lib_compiled: "/lib/mypaint/" Traceback (most recent call last): File "/bin/mypaint", line 170, in <module> datapath, extradata, confpath, localepath, localepath_brushlib = get_paths() File "/bin/mypaint", line 111, in get_paths from lib import mypaintlib ImportError: No module named lib Workaround: export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/games:/usr/games:/usr/lib/qt4/bin:/usr/lib/qt5/bin With workaround in LXDE: Traceback (most recent call last): File "/usr/share/mypaint/gui/toolbar.py", line 755, in on_size_allocate self._update() File "/usr/share/mypaint/gui/toolbar.py", line 776, in _update scaled_pixbuf = self._get_scaled_pixbuf(s) File "/usr/share/mypaint/gui/toolbar.py", line 760, in _get_scaled_pixbuf return theme.load_icon(gtk.STOCK_MISSING_IMAGE, size, 0) glib.GError: Icon 'gtk-missing-image' not present in theme mypaint works in KDE.
CC: (none) => loginov_alexVersion: 3 => CauldronWhiteboard: (none) => MGA3TOO
Fixed usage of deprecated STOCK_MISSING_IMAGE and startup issue after usrmove in mypaint-1.1.0-6.mga5.
CC: (none) => jani.valimaa
Works for me. Many thanks.
Mga3 is EOL, but fixed in Cauldron.
Status: NEW => RESOLVEDResolution: (none) => FIXED