hardcoded /usr/lib/python2.5/site-packages

Bug #675642 reported by Luke Faraone on 2010-11-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
Undecided
Unassigned
groundcontrol (Debian)
Fix Released
Unknown

Bug Description

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?

"""

Changed in groundcontrol (Debian):
status: Unknown → New
Changed in groundcontrol (Debian):
status: New → Confirmed
Changed in groundcontrol (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.