Bug 223673 - sci-visualization/qtiplot-0.9.6.2 only loads /usr/local/qtiplot/qtiUtil.py if launched from /usr/local/qtiplot
|
Bug#:
223673
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: cryos@gentoo.org
|
Reported By: urcindalo@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: sci-visualization/qtiplot-0.9.6.2 only loads /usr/local/qtiplot/qtiUtil.py if launched from /usr/local/qtiplot
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-05-26 11:16 0000
|
Unless qtiplot is launched from inside the /usr/local/qtiplot
directory, qtiUtil.py is NOT correctly loaded. You get this error in qtiplot's
console: "Failed to import qtiUtil file!". But, if the command "qtiplot" is
invoked from within /usr/local/qtiplot, then the file is loaded: "qtiUtil file
successfully imported!"
In my path /usr/local/bin is searched before /usr/bin, so I had to create this
script:
===
#!/bin/bash
cd /usr/local/qtiplot && qtiplot
===
to be able to correctly launch qtiplot. I had to change my KDE menu entries so
that they launch my script instead of /usr/bin/qtiplot
Reproducible: Always
Steps to Reproduce:
I forgot to mention that the location of config files is correctly configured
to /usr/local/qtiplot, so that's not the problem.
I've just committed an improved ebuild to cvs. It installs python files to
/usr/lib/python<version>/site-packages and compiles them. This should fix the
bug. Please check. Please rm -rf ~/.config/ProIndependent before starting
qtiplot for the first time after updating to this new version. If it works,
please, close the bug.
Yes, the bug is gone. Thanks very, very much.