Mmmh... ok, I think I see the problem (didn't test it), JALLIB_REPOS is
splitted with ":" in order to extract different repository (typically jallib
+ jaluino). ":" isn't a proper way to split paths under windows, I'll fix
this and check ";" when under windows.

If you could test this: replace ":" by" ";" in jallib.py, line 193:

gdirs = os.environ['JALLIB_REPOS'].split(":")


Cheers,
Seb


2010/2/13 Joep Suijs <[email protected]>

> C:\MyRobot\jal\projects\jallib_test>set jal
> JALLIB_JALV2=c:\jallib\compiler\jalv2.exe
> JALLIB_MATRIX=c:\jallib\sample\testing_matrix.yaml
> JALLIB_PYTHON=c:\Python25\python.exe
> JALLIB_REPOS=c:\jallib\include
> JALLIB_ROOT=c:\jallib
> JALLIB_SAMPLEDIR=c:\jallib\sample
>
> The scipt is attached
>
> 2010/2/13 Sebastien Lelong <[email protected]>:
> > What is your JALLIB_REPOS value ? Can you post your jallib.bat ?
> > I'll try to reproduce here on my windows.
> >
> > Cheers,
> > Seb
> > 2010/2/13 Joep Suijs <[email protected]>
> >>
> >> No (see below).
> >>
> >> The "/" come from jallib.bat, which worked before.
> >> c/*.* is invalid in windows - appart from the slash, there should be a
> >> ":" after the driveletter. I don't see where this path comes from...
> >>
> >> Joep
> >>
> >> C:\MyRobot\jal\projects\jallib_test>c:\Python25\python.exe
> >> c:\jallib\tools\jalli
> >> b.py sample -b C:\jallib\test\board\board_16f877a_startersguide.jal -t
> >> C:\jallib
> >> \test\jal\test_in_and_out.jal -o out.jal
> >> Traceback (most recent call last):
> >>  File "c:\jallib\tools\jallib.py", line 1319, in <module>
> >>    callme(action_args)
> >>  File "c:\jallib\tools\jallib.py", line 632, in do_sample
> >>    generate_one_sample(boardfile,testfile,outfile,deleteiffailed=False)
> >>  File "c:\jallib\tools\jallib.py", line 541, in generate_one_sample
> >>    status = do_compile([outfile],exitonerror=False,clean=True)
> >>  File "c:\jallib\tools\jallib.py", line 199, in do_compile
> >>    dirs.extend(_explore_dir(d))
> >>  File "c:\jallib\tools\jallib.py", line 116, in _explore_dir
> >>    for fd in os.listdir(onedir):
> >> WindowsError: [Error 3] Het systeem kan het opgegeven pad niet vinden:
> >> 'c/*.*'
> >>
> >>
> >> 2010/2/13 Sebastien Lelong <[email protected]>:
> >> > Hi Joep,
> >> > Maybe avoid mixing "\" and "/" in paths ?
> >> >
> >> > Cheers,
> >> > Seb
> >> >
> >> > 2010/2/13 Joep Suijs <[email protected]>
> >> >>
> >> >> Hi Seb,
> >> >>
> >> >> I just don't seem to get along with the sample generation script :(
> >> >>
> >> >> When I run it, I get an error (the system can't find the specified
> path
> >> >> c/*.*):
> >> >> C:\MyRobot\jal\projects\jallib_test>set
> >> >> JALLIB_PYTHON=c:\Python25\python.exe
> >> >>
> >> >> C:\MyRobot\jal\projects\jallib_test>c:\Python25\python.exe
> >> >> c:\jallib/tools/jallib.py sample -b
> >> >> C:\jallib\test\board\board_16f877a_startersguide.jal -t
> >> >> C:\jallib\test\jal\test_in_and_out.jal -o out.jal
> >> >> Traceback (most recent call last):
> >> >>  File "c:\jallib/tools/jallib.py", line 1319, in <module>
> >> >>    callme(action_args)
> >> >>  File "c:\jallib/tools/jallib.py", line 632, in do_sample
> >> >>
>  generate_one_sample(boardfile,testfile,outfile,deleteiffailed=False)
> >> >>  File "c:\jallib/tools/jallib.py", line 541, in generate_one_sample
> >> >>    status = do_compile([outfile],exitonerror=False,clean=True)
> >> >>  File "c:\jallib/tools/jallib.py", line 199, in do_compile
> >> >>    dirs.extend(_explore_dir(d))
> >> >>  File "c:\jallib/tools/jallib.py", line 116, in _explore_dir
> >> >>    for fd in os.listdir(onedir):
> >> >> WindowsError: [Error 3] Het systeem kan het opgegeven pad niet
> vinden:
> >> >> 'c/*.*'
> >> >>
> >> >> The interesting thing is the sample gets generated. I even can get
> all
> >> >> samples generated, but it does not remove the ones that are
> invalid...
> >> >>
> >> >> Suggestions?
> >> >> Joep
> >> >>
> >> >> C:\MyRobot\jal\projects\jallib_test>dir
> >> >> C:\jallib\test\board\board_16f877a_startersguide.jal
> >> >>  Het volume in station C heeft geen naam.
> >> >>  Het volumenummer is DCD3-AE21
> >> >>
> >> >>  Map van C:\jallib\test\board
> >> >>
> >> >> 13-02-2010  13:55             2,283 board_16f877a_startersguide.jal
> >> >>               1 bestand(en)            2,283 bytes
> >> >>               0 map(pen)  217,597,284,352 bytes beschikbaar
> >> >>
> >> >> C:\MyRobot\jal\projects\jallib_test>dir
> >> >> C:\jallib\test\jal\test_in_and_out.jal
> >> >>  Het volume in station C heeft geen naam.
> >> >>  Het volumenummer is DCD3-AE21
> >> >>
> >> >>  Map van C:\jallib\test\jal
> >> >>
> >> >> 13-02-2010  14:19               866 test_in_and_out.jal
> >> >>               1 bestand(en)              866 bytes
> >> >>               0 map(pen)  217,597,284,352 bytes beschikbaar
> >> >>
> >> >> C:\MyRobot\jal\projects\jallib_test>goto end
> >> >>
> >> >> C:\MyRobot\jal\projects\jallib_test>
> >> >> C:\MyRobot\jal\projects\jallib_test>c:\jallib\compiler\jalv2.exe
> >> >> jal 2.4m (compiled Dec 26 2009)
> >> >> no source file, use c:\jallib\compiler\jalv2.exe --help for help
> >> >>
> >> >> --
> >> >> You received this message because you are subscribed to the Google
> >> >> Groups
> >> >> "jallib" group.
> >> >> To post to this group, send email to [email protected].
> >> >> To unsubscribe from this group, send email to
> >> >> [email protected]<jallib%[email protected]>
> .
> >> >> For more options, visit this group at
> >> >> http://groups.google.com/group/jallib?hl=en.
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Sébastien Lelong
> >> > http://www.sirloon.net
> >> > http://sirbot.org
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "jallib" group.
> >> > To post to this group, send email to [email protected].
> >> > To unsubscribe from this group, send email to
> >> > [email protected]<jallib%[email protected]>
> .
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/jallib?hl=en.
> >> >
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "jallib" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<jallib%[email protected]>
> .
> >> For more options, visit this group at
> >> http://groups.google.com/group/jallib?hl=en.
> >>
> >
> >
> >
> > --
> > Sébastien Lelong
> > http://www.sirloon.net
> > http://sirbot.org
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "jallib" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<jallib%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/jallib?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<jallib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to