Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223673 - sci-visualization/qtiplot-0.9.6.2 only loads /usr/local/qtiplot/qtiUtil.py if launched from /usr/local/qtiplot
Summary: sci-visualization/qtiplot-0.9.6.2 only loads /usr/local/qtiplot/qtiUtil.py if...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcus D. Hanwell (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-26 11:16 UTC by urcindalo
Modified: 2008-05-28 07:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.