ConTeXt minimals: Issue with file.iswritable and 'Cg'
I use contextgarden.net/minimals/ and the following problems showed up after an update. a) file.iswritable(cachepath) failed. The directory is writable for the user but not for others. I have not debugged why it failed. Affected file: tex/texmf-linux/bin/luatools b) bin/mtxrun failed at line 5013: Somehow my lua(tex) did not digest the Cg: protocol = Cg(V("letters"),"protocol") * P("://") + Cg(Cc(nil),"protocol"), tex/texmf-linux-64/bin/mtxrun:5013: attempt to call local 'Cg' (a nil value) Any ideas? (I removed the readable check as work around and changed the Cg to P as quick work around.) Tobias PS: I use Fedora 6, which is the dated but centrally installed Linux here.
Tobias Burnus wrote:
I use contextgarden.net/minimals/ and the following problems showed up after an update.
a) file.iswritable(cachepath) failed. The directory is writable for the user but not for others. I have not debugged why it failed. Affected file: tex/texmf-linux/bin/luatools
b) bin/mtxrun failed at line 5013: Somehow my lua(tex) did not digest the Cg: protocol = Cg(V("letters"),"protocol") * P("://") + Cg(Cc(nil),"protocol"),
Neither problem happens here, so I suspect that your 'texlua' is still an older version (didn't get updated somehow). What does 'texlua --version' output? Best wishes, Taco
On 11/04/2009 10:44 AM, Taco Hoekwater wrote:
Tobias Burnus wrote:
I use contextgarden.net/minimals/ and the following problems showed up after an update.
Neither problem happens here, so I suspect that your 'texlua' is still an older version (didn't get updated somehow). What does 'texlua --version' output?
Good point: context/tex/texmf-linux/bin/luatex missed an executable bit -- and surprisingly there is a /usr/local/TeX/bin/i386-linux/texlua "build 915, created on 20071128T092554Z", which gets picked up instead. The problem is that running sh first-setup.sh --extras="t-letter,t-mathsets,t-bib" causes an rsync, which removes the executable bit and thus "./bin/mtx-update.lua --update" fails again. Could someone fix the executable bit at rsync://contextgarden.net/minimals/..../bin/* ? Thanks for the suggestion to check the texlua version. Tobias
On Wed, Nov 4, 2009 at 11:14 AM, Tobias Burnus
On 11/04/2009 10:44 AM, Taco Hoekwater wrote:
Tobias Burnus wrote:
I use contextgarden.net/minimals/ and the following problems showed up after an update.
Neither problem happens here, so I suspect that your 'texlua' is still an older version (didn't get updated somehow). What does 'texlua --version' output?
Good point: context/tex/texmf-linux/bin/luatex missed an executable bit -- and surprisingly there is a /usr/local/TeX/bin/i386-linux/texlua "build 915, created on 20071128T092554Z", which gets picked up instead.
The problem is that running sh first-setup.sh --extras="t-letter,t-mathsets,t-bib" causes an rsync, which removes the executable bit and thus "./bin/mtx-update.lua --update" fails again.
Could someone fix the executable bit at rsync://contextgarden.net/minimals/..../bin/* ?
Thanks for the suggestion to check the texlua version. Yes, I have seen it this night.
-- luigi
On Wed, Nov 4, 2009 at 11:14, Tobias Burnus wrote:
On 11/04/2009 10:44 AM, Taco Hoekwater wrote:
Tobias Burnus wrote:
I use contextgarden.net/minimals/ and the following problems showed up after an update.
Neither problem happens here, so I suspect that your 'texlua' is still an older version (didn't get updated somehow). What does 'texlua --version' output?
Good point: context/tex/texmf-linux/bin/luatex missed an executable bit -- and surprisingly there is a /usr/local/TeX/bin/i386-linux/texlua "build 915, created on 20071128T092554Z", which gets picked up instead.
The problem is that running sh first-setup.sh --extras="t-letter,t-mathsets,t-bib" causes an rsync, which removes the executable bit and thus "./bin/mtx-update.lua --update" fails again.
Could someone fix the executable bit at rsync://contextgarden.net/minimals/..../bin/* ?
Thanks for the suggestion to check the texlua version.
If it doesn't get fixed after updating, please let me know. (This time Hans sent me the binaries via email ... and I forgot to make them executable. Usually they get committed from the same machine where they are compiled, so this has never been a problem so far.) Mojca
Taco Hoekwater wrote:
Tobias Burnus wrote:
I use contextgarden.net/minimals/ and the following problems showed up after an update.
a) file.iswritable(cachepath) failed. The directory is writable for the user but not for others. I have not debugged why it failed. Affected file: tex/texmf-linux/bin/luatools
b) bin/mtxrun failed at line 5013: Somehow my lua(tex) did not digest the Cg: protocol = Cg(V("letters"),"protocol") * P("://") + Cg(Cc(nil),"protocol"),
Neither problem happens here, so I suspect that your 'texlua' is still an older version (didn't get updated somehow). What does 'texlua --version' output?
it means that there is no lpeg.Cg and indeed that is a pretty old luatex then 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 -----------------------------------------------------------------
participants (5)
-
Hans Hagen
-
luigi scarso
-
Mojca Miklavec
-
Taco Hoekwater
-
Tobias Burnus