[Dev] Chandler Windows startup scripts: RunChandler and RunPython

Ted Leung twl at osafoundation.org
Fri Mar 10 13:48:08 PST 2006


How does all this relate to 
<https://bugzilla.osafoundation.org/show_bug.cgi?id=5287>? 

Ted

Mike Taylor wrote:
> Ack!  I forgot to mention that I figured this out with a lot of help 
> from John (who suggested the possibility and patiently listened to my 
> babbling when I was talking it over with him) and Andi (who verified 
> that it wasn't an issue with bdb which was my first thought.)
>
> On Mar 8, 2006, at 2:10 PM, Mike Taylor wrote:
>
>> While trying to get the quick build tinderboxes to run the Functional 
>> Tests I have located a problem with the RunChandler.bat and 
>> RunPython.bat startup scripts.
>>
>> On Windows we have to tell the OS that we have a custom dll search 
>> path so that Windows will locate our dll's as they are not in any of 
>> the "normal" places the OS looks for them by default.  This is done 
>> for us by chandler.exe and chandlerDebug.exe - a small program that 
>> sets the environment up, calls the OS API to set the search path and 
>> then calls python(_d).
>>
>> The problem is that the RunChandler.bat calls the RunPython.bat and 
>> passes it the parameters to run Chandler.py.  RunPython.bat then 
>> calls python.exe or python_d.exe and passes along those parameters.
>>
>> None of the Run*.bat steps involves the Chandler Launcher so that 
>> means the search path may not be set correctly.
>>
>> Right now I will be modifying RunChandler.bat to use the launcher as 
>> that will fix my tinderbox issue.  After that I need to research the 
>> RunPython issue a bit and then I'll post a proposal here for discussion.
>>



More information about the Dev mailing list