Menu

#145 Alternate python interpreter in debugger loses PYTHONPATH

closed-fixed
None
5
2003-10-14
2003-09-19
No

When running the debugger using an alternative Python
Interpreter (like python_d.exe), the PYTHONPATH set
when boa was started is not honored in the child debug
process. I think the failure is in spawnChild:

76c77,81
< os.environ['PYTHONPATH'] = Preferences.pyPath
---
> if os.environ.has_key('PYTHONPATH'):
> curPath = os.environ['PYTHONPATH']
> else:
> curPath = ''
> os.environ['PYTHONPATH'] = Preferences.pyPath
+ os.pathsep + curPath

Discussion

  • Riaan Booysen

    Riaan Booysen - 2003-10-08
    • assigned_to: nobody --> riaan
    • status: open --> pending-fixed
     
  • Riaan Booysen

    Riaan Booysen - 2003-10-08

    Logged In: YES
    user_id=438

    Yeah, I also had problems with this code and fixed (a little
    differently) it after your previous bug report :)

    Will be available in 0.2.7 CVS.

    Thanks,
    Riaan.

     
  • Riaan Booysen

    Riaan Booysen - 2003-10-14
    • status: pending-fixed --> closed-fixed
     
  • Riaan Booysen

    Riaan Booysen - 2003-10-14

    Logged In: YES
    user_id=438

    Commited in CVS.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.