If pymacs is running when python-mode is loaded, pymacs can't load pycomplete

Bug #1078955 reported by Hannu Koivisto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Urs Fleisch

Bug Description

Presumably this happens because py-load-pycomplete adds pycomplete-directory to PYTHONPATH environment variable but that environment variable does not have an effect if the python process used by pymacs is already running and is not started with the updated PYTHONPATH. Perhaps python-mode/pycomplete should check if the process is running and if it is, augment its sys.path variable?

Related branches

Changed in python-mode:
milestone: none → 6.1.0
assignee: nobody → Urs Fleisch (ufleisch)
importance: Undecided → High
Revision history for this message
Andreas Roehler (a-roehler) wrote :

thanks for the report.
For the moment extending PYTHONPATH before Pymacs starts should help.

Changed in python-mode:
importance: High → Medium
Changed in python-mode:
status: New → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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