Re: [dev-context] Cron <context@server> /var/www/aanhet.net/context/bin/cron/context-mirror
Hi, Hans made a new release yesterday evening. I do not know what is in it (yet), but consider yourself warned :-) Taco Cron Daemon wrote:
receiving file list ... done ./ context/beta/ context/current/ context/current/cont-exa.zip context/current/cont-ext.zip context/current/cont-fnt.zip context/latest/ context/current/cont-img.zip context/current/cont-mpd.zip context/current/cont-ppc.zip context/current/cont-tmf.zip context/current/cont-win.zip
Taco Hoekwater wrote:
Hi,
Hans made a new release yesterday evening. I do not know what is in it (yet), but consider yourself warned :-)
i just uploaded a current with some patched to texexec (for norbert) texmfstart --verbose texexec --make --all --fast en should generate format and report success texmfstart --verbose texexec --make --all --fast xx reports a failure and exits with code 1 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mit, 10 Jan 2007, Hans Hagen wrote:
i just uploaded a current with some patched to texexec (for norbert)
Thanks a lot, but it is getting worse ;-) Now everything is the other way round!!!! Ahhhhh
texmfstart --verbose texexec --make --all --fast en
should generate format and report success
It reports success, but returns 1, which is bad: execution was successful bagnasciuga:~# echo $? 1 bagnasciuga:~#
texmfstart --verbose texexec --make --all --fast xx
reports a failure and exits with code 1
it reports 0!!
execution failed
bagnasciuga:~# echo $?
0
bagnasciuga:~#
So we are close, but not finished ;-)
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining
Norbert Preining wrote:
On Mit, 10 Jan 2007, Hans Hagen wrote:
i just uploaded a current with some patched to texexec (for norbert)
Thanks a lot, but it is getting worse ;-) Now everything is the other way round!!!! Ahhhhh
texmfstart --verbose texexec --make --all --fast en
should generate format and report success
It reports success, but returns 1, which is bad: execution was successful bagnasciuga:~# echo $? 1 bagnasciuga:~#
texmfstart --verbose texexec --make --all --fast xx
reports a failure and exits with code 1
it reports 0!!
execution failed bagnasciuga:~# echo $? 0 bagnasciuga:~#
So we are close, but not finished ;-)
in scripts/context/ruby/switch.rb i say ... def exit if @error then Kernel.exit(1) else Kernel.exit(0) end end ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mit, 10 Jan 2007, Hans Hagen wrote:
def exit if @error then Kernel.exit(1) else Kernel.exit(0) end end
Maybe ruby switches the 1 <-> 0??? No idea to be honest.
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining
Norbert Preining wrote:
On Mit, 10 Jan 2007, Hans Hagen wrote:
def exit if @error then Kernel.exit(1) else Kernel.exit(0) end end
Maybe ruby switches the 1 <-> 0??? No idea to be honest.
Me neither, but if the first option is the wrong one, then I assume the opposite has to be correct. Taco
Norbert Preining wrote:
On Mit, 10 Jan 2007, Hans Hagen wrote:
def exit if @error then Kernel.exit(1) else Kernel.exit(0) end end
Maybe ruby switches the 1 <-> 0??? No idea to be honest.
if execute(ARGV) then report("\nexecution was successful") if $verbose exit(0) else report("\nexecution failed") if $verbose exit(1) end can you check this at the end of texmfstart,rb? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mit, 10 Jan 2007, Hans Hagen wrote:
if execute(ARGV) then report("\nexecution was successful") if $verbose exit(0) else report("\nexecution failed") if $verbose exit(1) end
can you check this at the end of texmfstart,rb?
Yes it did the trick: On Mit, 10 Jan 2007, Hans Hagen wrote:
i just uploaded a current with some patched to texexec (for norbert)
texmfstart --verbose texexec --make --all --fast en
returns 0
should generate format and report success
texmfstart --verbose texexec --make --all --fast xx
reports a failure and exits with code 1
returns 1
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining
Norbert Preining wrote:
On Mit, 10 Jan 2007, Hans Hagen wrote:
if execute(ARGV) then report("\nexecution was successful") if $verbose exit(0) else report("\nexecution failed") if $verbose exit(1) end
can you check this at the end of texmfstart,rb?
Yes it did the trick:
On Mit, 10 Jan 2007, Hans Hagen wrote:
i just uploaded a current with some patched to texexec (for norbert)
texmfstart --verbose texexec --make --all --fast en
returns 0
should generate format and report success
texmfstart --verbose texexec --make --all --fast xx
reports a failure and exits with code 1
returns 1
ok, i'll upload the fix later today Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, 10 Jan 2007, Hans Hagen wrote:
Norbert Preining wrote:
On Mit, 10 Jan 2007, Hans Hagen wrote:
i just uploaded a current with some patched to texexec (for norbert)
Thanks a lot, but it is getting worse ;-) Now everything is the other way round!!!! Ahhhhh
texmfstart --verbose texexec --make --all --fast en
should generate format and report success
It reports success, but returns 1, which is bad: execution was successful bagnasciuga:~# echo $? 1 bagnasciuga:~#
texmfstart --verbose texexec --make --all --fast xx
reports a failure and exits with code 1
it reports 0!!
execution failed bagnasciuga:~# echo $? 0 bagnasciuga:~#
So we are close, but not finished ;-)
in scripts/context/ruby/switch.rb i say ...
def exit if @error then Kernel.exit(1) else Kernel.exit(0) end end
Maybe set Kernel.exit! rather than exit. exit! bypasses exception handling and at_exit stuff. See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/6482 Aditya
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
Norbert Preining
-
Taco Hoekwater