Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 223673

Summary: sci-visualization/qtiplot-0.9.6.2 only loads /usr/local/qtiplot/qtiUtil.py if launched from /usr/local/qtiplot
Product: Gentoo Linux Reporter: urcindalo <urcindalo>
Component: Current packagesAssignee: Marcus D. Hanwell (RETIRED) <cryos>
Status: VERIFIED FIXED    
Severity: normal CC: sci
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description urcindalo 2008-05-26 11:16:59 UTC
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:
Comment 1 urcindalo 2008-05-26 11:30:33 UTC
I forgot to mention that the location of config files is correctly configured to /usr/local/qtiplot, so that's not the problem.
Comment 2 Andrey Grozin gentoo-dev 2008-05-27 21:15:49 UTC
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.
Comment 3 urcindalo 2008-05-28 07:46:03 UTC
Yes, the bug is gone. Thanks very, very much.