<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>223673</bug_id>
          
          <creation_ts>2008-05-26 11:16 0000</creation_ts>
          <short_desc>sci-visualization/qtiplot-0.9.6.2 only loads /usr/local/qtiplot/qtiUtil.py if launched from /usr/local/qtiplot</short_desc>
          <delta_ts>2008-05-28 07:46:53 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>urcindalo@gmail.com</reporter>
          <assigned_to>cryos@gentoo.org</assigned_to>
          <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>urcindalo@gmail.com</who>
            <bug_when>2008-05-26 11:16:59 0000</bug_when>
            <thetext>Unless qtiplot is launched from inside the /usr/local/qtiplot
directory, qtiUtil.py is NOT correctly loaded. You get this error in qtiplot&apos;s
console: &quot;Failed to import qtiUtil file!&quot;. But, if the command &quot;qtiplot&quot; is
invoked from within /usr/local/qtiplot, then the file is loaded: &quot;qtiUtil file
successfully imported!&quot;

In my path /usr/local/bin is searched before /usr/bin, so I had to create this script:
===
#!/bin/bash
cd /usr/local/qtiplot &amp;&amp; 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:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>urcindalo@gmail.com</who>
            <bug_when>2008-05-26 11:30:33 0000</bug_when>
            <thetext>I forgot to mention that the location of config files is correctly configured to /usr/local/qtiplot, so that&apos;s not the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grozin@gentoo.org</who>
            <bug_when>2008-05-27 21:15:49 0000</bug_when>
            <thetext>I&apos;ve just committed an improved ebuild to cvs. It installs python files to /usr/lib/python&lt;version&gt;/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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>urcindalo@gmail.com</who>
            <bug_when>2008-05-28 07:46:03 0000</bug_when>
            <thetext>Yes, the bug is gone. Thanks very, very much.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>