Thread: [Boa Constr] PYTHONPATH ignored
Status: Beta
Brought to you by:
riaan
From: Mike T. <mik...@da...> - 2003-11-26 06:20:36
|
When I run my module/application under Boa, sys.path does NOT include what I've put in PYTHONPATH. If I run my module/application outside the Boa environment, there's no problem. Is there a trick I need to know or is this a bug. Can't find anything in the help and googling showed nothing. Windows XP Boa 0.2.6 -- Mike |
From: Mike T. <mik...@da...> - 2003-11-26 06:40:11
|
"Mike Thompson" <mik...@da...> wrote in message news:bq1fj0$i2u$1...@se...... > When I run my module/application under Boa, sys.path does NOT include what > I've put in PYTHONPATH. > > If I run my module/application outside the Boa environment, there's no problem. > > Is there a trick I need to know or is this a bug. > > Can't find anything in the help and googling showed nothing. > > Windows XP > Boa 0.2.6 > I've accumulated a bit more information about provoking this problem: 1. If I start Boa and run my application/module, it works. 2. If I then run this same application under the debugger, it fails with "Error: No Module named BlahXX" type of problems which indicate the packages in PYTHONPATH are not now in sys.path. 3. If I then go back and run my application/module as I did in step 1 (no debugger), it fails with "Error: No Module named BlahXX" as above. At no time in the process, including step 1, do the packages in PYTHONPATH appear in the Explorer under the sys.path node. -- Mike |
From: Riaan B. <riaan@e.co.za> - 2003-11-28 07:15:08
|
Hi Mike, This issue has been fixed in 0.2.7 (current CVS) (The debugger used to use PYTHONPATH to give path information to the sub-process.) Cheers, Riaan. Mike Thompson wrote: > When I run my module/application under Boa, sys.path does NOT include what > I've put in PYTHONPATH. > > If I run my module/application outside the Boa environment, there's no problem. > > Is there a trick I need to know or is this a bug. > > Can't find anything in the help and googling showed nothing. > > Windows XP > Boa 0.2.6 > > -- > Mike > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Boa-constructor-users mailing list > Boa...@li... > https://lists.sourceforge.net/lists/listinfo/boa-constructor-users > > |