Hi! I just upgraded ConTeXt minimals (from the status-of-update.lua file: ["info"]={ ["comment"]="this file contains the settings of the last 'mtxrun --script update ' run", ["count"]=3, ["date"]="2010-03-20 09:14:09", ["runtime"]=90.688, ["version"]=0.1, }, ) When I want to compile the file on which I am working, I get: C:\Programmes\ConTeXt\tex\texmf-mswin\bin\mtxrun.lua:2161: stack overflow So, I am stuck. What is the solution? Alain
Alain Delmotte wrote:
When I want to compile the file on which I am working, I get: C:\Programmes\ConTeXt\tex\texmf-mswin\bin\mtxrun.lua:2161: stack overflow
The same happens to me, but only when I invoke "context.exe". It works fine with "context.cmd". (The same holds true for mtxrun.exe vs. mtxrun.cmd and probably others.) (Using recent minimals from the garden.) Best Regards, Andreas.
Hi! Andreas Schneider a écrit :
Alain Delmotte wrote:
When I want to compile the file on which I am working, I get: C:\Programmes\ConTeXt\tex\texmf-mswin\bin\mtxrun.lua:2161: stack overflow
The same happens to me, but only when I invoke "context.exe". It works fine with "context.cmd". (The same holds true for mtxrun.exe vs. mtxrun.cmd and probably others.)
(Using recent minimals from the garden.)
Same here; as I am using TeXworks, I redefined mtxrun to mtxrun.cmd and
it worked!
I did upgrade to see if the other problem was solved
See the message from Aditya about "Re: [NTG-context] Unable to use
example from Excursion" 19/03/2010 16:03
message id:
fixed in next beta
The bug is still present in 2010.03.18. Here is a minimal example: \definetype[typeTEX][option=tex, style=type] \starttext \placefigure [top,bottom] [fig:something] {Do \type{\undefined} and \typeTEX{\undefined} work?} {} \stoptext which gives .../... Best regards, Alain
Best Regards, Andreas.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 20-3-2010 12:30, Andreas Schneider wrote:
Alain Delmotte wrote:
When I want to compile the file on which I am working, I get: C:\Programmes\ConTeXt\tex\texmf-mswin\bin\mtxrun.lua:2161: stack overflow
The same happens to me, but only when I invoke "context.exe". It works fine with "context.cmd". (The same holds true for mtxrun.exe vs. mtxrun.cmd and probably others.)
can you add a print in line 2161 and see what path is reported? function file.collapse_path(str) print(str) str = gsub(str,"\\","/") if find(str,"/") then ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi! Hans Hagen a écrit :
On 20-3-2010 12:30, Andreas Schneider wrote:
Alain Delmotte wrote:
When I want to compile the file on which I am working, I get: C:\Programmes\ConTeXt\tex\texmf-mswin\bin\mtxrun.lua:2161: stack overflow
The same happens to me, but only when I invoke "context.exe". It works fine with "context.cmd". (The same holds true for mtxrun.exe vs. mtxrun.cmd and probably others.)
can you add a print in line 2161 and see what path is reported?
function file.collapse_path(str)
print(str)
str = gsub(str,"\\","/") if find(str,"/") then It starts compiling, then give: .../... C:/Programmes/ConTeXt/tex/texmf mtx-\mtxrun.lua mtxrun.lua . c:/adel/texmf/tex/context// c:/adel/texmf/tex/plain/base// c:/adel/texmf/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-project/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-project/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-project/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-fonts/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-fonts/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-fonts/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-local/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-local/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-local/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-context/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-context/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-context/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-mswin/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-mswin/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-mswin/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf-extra/tex/context// !!C:/Programmes/ConTeXt/tex/texmf-extra/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf-extra/tex/generic// !!C:/Programmes/ConTeXt/tex/texmf/tex/context// !!C:/Programmes/ConTeXt/tex/texmf/tex/plain/base// !!C:/Programmes/ConTeXt/tex/texmf/tex/generic// mtxrun.lua mtx-\mtxruns.lua mtxruns.lua mtxruns.lua mtx-\mtxrun.lua \mtxrun.lua /mtxrun.lua /mtxrun.lua /mtxrun.lua /mtxrun.lua
followed by 16371 (or so) /mtxrun.lua before /mtxrun.lua stack overflow Alain
Hans Hagen wrote:
can you add a print in line 2161 and see what path is reported?
function file.collapse_path(str)
print(str)
str = gsub(str,"\\","/") if find(str,"/") then
It seems to happen only when the executables are called with absolute paths: #c:\Temp\ctx>c:\context\tex\texmf-mswin\bin\context.exe c:/context/tex/texmf-mswin/bin c:/context/tex/texmf-mswin/bin/.. c:/context/tex/texmf-mswin/bin/../.. C:/context/tex/texmf-local/web2c C:/context/tex/texmf-context/web2c C:/context/tex/texmf/web2c C:/context/tex/texmf-local/web2c/texmfcnf.lua C:/context/tex/texmf-context/web2c/texmfcnf.lua C:/context/tex/texmf/web2c/texmfcnf.lua C:/context/tex/texmf-local/web2c/texmf.cnf C:/context/tex/texmf-context/web2c/texmf.cnf C:/context/tex/texmf/web2c/texmf.cnf C:/context/tex/texmf/web2c/texmfcnf.lua C:/context/tex C:/context/tex/texmf/web2c/texmf.cnf C:/context/tex C:/context/tex/texmf-cache C:/context/tex/texmf-cache C:/context/tex/texmf-cache C:/context/tex/texmf-project C:/context/tex/texmf-fonts C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf-extra !!C:/context/tex/texmf C:/context/tex/texmf-project C:/context/tex/texmf-fonts C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf-extra C:/context/tex/texmf C:/context/tex/texmf-project C:/context/tex/texmf-project C:/context/tex/texmf-fonts C:/context/tex/texmf-fonts C:/context/tex/texmf-local C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf-context C:/context/tex/texmf-extra C:/context/tex/texmf-extra C:/context/tex/texmf C:/context/tex/texmf C:/context/tex/texmf-local C:/context/tex/texmf-mswin C:/context/tex/texmf-context C:/context/tex/texmf mtx-\context.lua context.lua . C:/context/tex/texmf-project/tex/context// C:/context/tex/texmf-project/tex/plain/base// C:/context/tex/texmf-project/tex/generic// C:/context/tex/texmf-fonts/tex/context// C:/context/tex/texmf-fonts/tex/plain/base// C:/context/tex/texmf-fonts/tex/generic// C:/context/tex/texmf-local/tex/context// C:/context/tex/texmf-local/tex/plain/base// C:/context/tex/texmf-local/tex/generic// C:/context/tex/texmf-mswin/tex/context// C:/context/tex/texmf-mswin/tex/plain/base// C:/context/tex/texmf-mswin/tex/generic// C:/context/tex/texmf-context/tex/context// C:/context/tex/texmf-context/tex/plain/base// C:/context/tex/texmf-context/tex/generic// C:/context/tex/texmf-extra/tex/context// C:/context/tex/texmf-extra/tex/plain/base// C:/context/tex/texmf-extra/tex/generic// !!C:/context/tex/texmf/tex/context// !!C:/context/tex/texmf/tex/plain/base// !!C:/context/tex/texmf/tex/generic// context.lua mtx-\contexts.lua contexts.lua contexts.lua mtx-\context.lua \context.lua /context.lua /context.lua /context.lua [......] /context.lua /context.lua /context.lua /context.lua /context.lua /context.lua /context.lua /context.lua stack overflow
On 29-3-2010 13:28, Andreas Schneider wrote:
Hans Hagen wrote:
can you add a print in line 2161 and see what path is reported?
function file.collapse_path(str)
print(str)
str = gsub(str,"\\","/") if find(str,"/") then
It seems to happen only when the executables are called with absolute paths:
aha, now i get it too! thanks for nailing that down; i'll have a look at it 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 29-3-2010 15:35, Hans Hagen wrote:
On 29-3-2010 13:28, Andreas Schneider wrote:
Hans Hagen wrote:
can you add a print in line 2161 and see what path is reported?
function file.collapse_path(str)
print(str)
str = gsub(str,"\\","/") if find(str,"/") then
It seems to happen only when the executables are called with absolute paths:
aha, now i get it too! thanks for nailing that down; i'll have a look at it
i found the place where the recursion occurs but that's not really the problem the problem is in the runner which does not stip the path right will be fixed in next beta ----------------------------------------------------------------- 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 -----------------------------------------------------------------
2010/3/29 Hans Hagen
On 29-3-2010 15:35, Hans Hagen wrote: i found the place where the recursion occurs but that's not really the problem
the problem is in the runner which does not stip the path right
will be fixed in next beta
In the new beta also has problem in TeXworks: MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known) MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'mtx-contexts.lua' MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'context.lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' from the command line: MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
On 30-3-2010 1:22, views63 wrote:
2010/3/29 Hans Hagen
: On 29-3-2010 15:35, Hans Hagen wrote: i found the place where the recursion occurs but that's not really the problem
the problem is in the runner which does not stip the path right
will be fixed in next beta
In the new beta also has problem
in TeXworks:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known) MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'mtx-contexts.lua' MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'context.lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
from the command line:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
no problem here if i download a minimal ... can others confirm this? 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 Tue, Mar 30 2010, Hans Hagen wrote:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
no problem here if i download a minimal ... can others confirm this?
Yes. Same problem on linux-x86_64 after "first-setup-sh". Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Am 30.03.2010 um 10:41 schrieb Peter Münster:
On Tue, Mar 30 2010, Hans Hagen wrote:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
no problem here if i download a minimal ... can others confirm this?
Yes. Same problem on linux-x86_64 after "first-setup-sh".
I've the same problem with osx-64 … Greeting Andreas
On Tue, Mar 30, 2010 at 9:34 AM, Hans Hagen
On 30-3-2010 1:22, views63 wrote:
2010/3/29 Hans Hagen
: In the new beta also has problem
in TeXworks:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known) MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'mtx-contexts.lua' MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'context.lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
from the command line:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
idem in i586 linux -- luigi
On 30-3-2010 11:54, luigi scarso wrote:
On Tue, Mar 30, 2010 at 9:34 AM, Hans Hagen
wrote: On 30-3-2010 1:22, views63 wrote:
2010/3/29 Hans Hagen
: In the new beta also has problem
in TeXworks:
MTXrun | fileio: no cnf files found (TEXMFCNF may not be set/known) MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'mtx-contexts.lua' MTXrun | fileio: remembering file 'mtx-context.lua' MTXrun | fileio: remembering file 'context.lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
from the command line:
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
idem in i586 linux
indeed there is a problem on some platforms (i finaly found a vm that had the problem) ... i'll upload a new beta 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 (7)
-
Alain Delmotte
-
Andreas Harder
-
Andreas Schneider
-
Hans Hagen
-
luigi scarso
-
Peter Münster
-
views63