← Back to team overview

registry team mailing list archive

[Bug 675642] [NEW] hardcoded /usr/lib/python2.5/site-packages

 

Public bug reported:

Forwarded from Debian.

"""Package: groundcontrol
Version: 1.6.6-1
Severity: minor

$ grep /usr/lib/python2.5 /usr/bin/lp-*
/usr/bin/lp-branch-select:PYTHONPATH=::/usr/lib/python2.5/site-packages/gtk-2.0/:$PYTHONPATH
/usr/bin/python /usr/share/groundcontrol/branch-select.py $1
/usr/bin/lp-groundcontrol:PYTHONPATH=::/usr/lib/python2.5/site-packages/gtk-2.0/:$PYTHONPATH
/usr/bin/python /usr/share/groundcontrol/configure.py $1
/usr/bin/lp-project-search:PYTHONPATH=::/usr/lib/python2.5/site-packages/gtk-2.0/:$PYTHONPATH
/usr/bin/python /usr/share/groundcontrol/project-select.py $1

Fortunately, this directory doesn't exist at all on Debian systems, so
there's no risk of loading a module for wrong Python version.

Perhaps you could avoid mangling PYTHONPATH at all and just make
/usr/bin/lp-branch-select -> /usr/share/groundcontrol/branch-select.py
etc. symlinks?

"""

** Affects: groundcontrol
     Importance: Undecided
         Status: New

** Affects: groundcontrol (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #603333
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603333

** Also affects: groundcontrol (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603333
   Importance: Unknown
       Status: Unknown

-- 
hardcoded /usr/lib/python2.5/site-packages
https://bugs.launchpad.net/bugs/675642
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.



Follow ups

References