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

Bug #1078955 reported by Hannu Koivisto on 2012-11-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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
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  Edit
Everyone can see this information.

Other bug subscribers