List Info

Thread: Chandler Windows startup scripts: RunChandler and RunPython




Chandler Windows startup scripts: RunChandler and RunPython
user name
2006-03-08 19:10:55
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.

---
Bear

Build and Release Engineer
Open Source Applications Foundation (OSAF)
bearosafoundation.org
http://www.osafoundation
.org

bearcode-bear.com
http://code-bear.com

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822
40B3 CD29

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev"
mailing list
h
ttp://lists.osafoundation.org/mailman/listinfo/dev
Chandler Windows startup scripts: RunChandler and RunPython
user name
2006-03-08 19:27:16
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.
>
> ---
> Bear
>
> Build and Release Engineer
> Open Source Applications Foundation (OSAF)
> bearosafoundation.org
> http://www.osafoundation
.org
>
> bearcode-bear.com
> http://code-bear.com
>
> PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331
E822 40B3 CD29
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev"
mailing list
> h
ttp://lists.osafoundation.org/mailman/listinfo/dev
>
---
Bear

Build and Release Engineer
Open Source Applications Foundation (OSAF)
bearosafoundation.org
http://www.osafoundation
.org

bearcode-bear.com
http://code-bear.com

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822
40B3 CD29


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev"
mailing list
h
ttp://lists.osafoundation.org/mailman/listinfo/dev
Chandler Windows startup scripts: RunChandler and RunPython
user name
2006-03-10 21:48:08
How does all this relate to 
<https://bugzilla.osafoundation.org/show_bug.cgi?id=5
287>? 

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.
>>

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev"
mailing list
h
ttp://lists.osafoundation.org/mailman/listinfo/dev
Chandler Windows startup scripts: RunChandler and RunPython
user name
2006-03-10 22:20:24
IMO it's a perfect example of that bug - with all of the
different ways 
of starting Chandler we have a couple "paths"
that do not get used all 
that often so this issue was dormant until now.

Next week I want to start a discussion here about a solution
I have 
thought about that would answer these concerns.

On Mar 10, 2006, at 4:48 PM, Ted Leung wrote:

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

---
Bear

Build and Release Engineer
Open Source Applications Foundation (OSAF)
bearosafoundation.org
http://www.osafoundation
.org

bearcode-bear.com
http://code-bear.com

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822
40B3 CD29


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev"
mailing list
h
ttp://lists.osafoundation.org/mailman/listinfo/dev
Chandler Windows startup scripts: RunChandler and RunPython
user name
2006-03-10 22:40:32
That's music to my ears!

Mike Taylor wrote:
> IMO it's a perfect example of that bug - with all of
the different 
> ways of starting Chandler we have a couple
"paths" that do not get 
> used all that often so this issue was dormant until
now.
>
> Next week I want to start a discussion here about a
solution I have 
> thought about that would answer these concerns.
>
> On Mar 10, 2006, at 4:48 PM, Ted Leung wrote:
>
>> How does all this relate to 
>> <https://bugzilla.osafoundation.org/show_bug.cgi?id=5
287>?
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev"
mailing list
h
ttp://lists.osafoundation.org/mailman/listinfo/dev
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )