Hello ConTeXist.
For several years, I use very often my library for processing CSV
tables. Even 2 months ago worked flawlessly in both versions (standalone
version and ConTeXt TeXLive 2012). I am update standalone version fairly
often (at least one times for two months).
Unfortunately, today I found out that my latest standalone version fails
to load the library and the compilation is complete with an error message.
I find now that I can not detect and correct a problem in the library.
Maybe in it any longer unsupported commands. Can someone be read from
the attached log file?
Or I'll have to conserve the previous version of the standalone for my
ConTeXt applications?
I can, if necessary, to send my module...
Thanx Jaroslav Hajtmar
Here is content of my log file ... :
C:\$~1da\SKOLA\2012-2013\pz2013>context --autopdf xxxxx
mtx-context | warning: no (local) file './xxxxx', proceeding
mtx-context | run 1: luatex
--fmt="C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
--jobname="xxxxx"
--lua="C:/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
--no-parse-first-line --c:autopdf --c:currentrun=1
--c:fulljobname="./xxxxx" --c:input="./xxxxx" --c:kindofrun=1
--c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.77.0-2013053109 (rev 4635)
\write18 enabled.
(C:/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2013.06.04 21:26 MKIV beta fmt: 2013.6.4 int:
english/english
system > 'cont-new.mkiv' loaded
(C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
system > files > jobname 'xxxxx', input './xxxxx', result 'xxxxx'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
(C:/$~1da/SKOLA/2012-2013/pz2013/xxxxx.tex
fonts > typescripts > unknown library 'loc'
fonts > typescripts > unknown library 'cmr'
fonts > preloading latin modern fonts (third stage)
{C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{C:/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
fonts > 'fallback modern rm 11pt' is loaded
resolvers > modules > 'hl2t-scancsv' is loaded
(../texlibrary//hl2t-scancsv.mkiv
loading > ConTeXt User Module / ScanCSV
! LuaTeX error [string "\directlua "]:80: invalid escape sequence near '\{'.
system > tex > error on line 415 in file
../texlibrary//hl2t-scancsv.mkiv: LuaTeX error ...
405
406 if tempto>tempnumrows then tempto=tempnumrows end
407 if tempfrom>tempnumrows then tempfrom=1 end
408 tempfromI=tempfrom-1
409
410
tex.sprint(tex.ctxcatcodes,'\\newcount\\tempfrom\\tempfrom='..tostring(tempfrom))
--
411
tex.sprint(tex.ctxcatcodes,'\\newcount\\tempfromI\\tempfromI='..tostring(tempfromI))
--
412
tex.sprint(tex.ctxcatcodes,'\\newcount\\tempto\\tempto='..tostring(tempto))
--
413 end -- function thirddata.scancsv.paramcontrol(from, to)
414
415 >> \stopluacode
416
417 %D \section{MACRO DEFINITIONS}
418
419 \def\printline{\ctxlua{thirddata.scancsv.printline()}\par}
420 \def\printall{\ctxlua{thirddata.scancsv.printall()}\par}
421
422 \def\csvreport{
423 \ctxlua{thirddata.scancsv.csvreport()}
424 }
425
<inserted text> ...ion thirddata.scancsv.paramcontrol(from, to)
}
\luat_start_lua_code_indeed ...nd \directlua {#1}}
l.415 \stopluacode
? ) (../texlibrary/lib-lua.tex)
! LuaTeX error [string "\directlua "]:1: attempt to call field
'opencsvfile' (a nil value).
system > tex > error on line 207 in file
C:/$~1da/SKOLA/2012-2013/pz2013/xxxxx.tex: LuaTeX error ...
197
198 \podpisreditele
199
200 \page
201 }
202
203 \def\lineaction{\printaction}
204
205 \starttext
206
207 >> \filelineaction{rozh_4lneprijat-nesplnil.csv}
208
209 \stoptext
210
211
212
\dodoopencsvfile ...ata.scancsv.opencsvfile("#1")}
\else \ctxlua
{thirddata....
<argument> \opencsvfile {rozh_4lneprijat-nesplnil.csv}
\doloopaction
\firstoftwoarguments #1#2n-#1
\doloopLineaction ...ion {\lineaction }{#2}{#3}}}}
<to be read again>
l.207 \filelineaction{rozh_4lneprijat-nesplnil.csv}
? ! LuaTeX error [string "\directlua "]:1: attempt to call field
'opencsvfile' (a nil value).
system > tex > error on line 207 in file
C:/$~1da/SKOLA/2012-2013/pz2013/xxxxx.tex: LuaTeX error ...
197
198 \podpisreditele
199
200 \page
201 }
202
203 \def\lineaction{\printaction}
204
205 \starttext
206
207 >> \filelineaction{rozh_4lneprijat-nesplnil.csv}
208
209 \stoptext
210
211
212
\dodoopencsvfile ...irddata.scancsv.opencsvfile()}
\fi
<to be read again>
\doifsomethingelse
\doloopAction ...-\opencsvfile \doifsomethingelse
{#3}{\doloopfromto
{#2}{#3...
<to be read again>
<to be read again>
l.207 \filelineaction{rozh_4lneprijat-nesplnil.csv}
? ! LuaTeX error [string "\directlua "]:1: attempt to call field
'opencsvfile' (a nil value).
system > tex > error on line 207 in file
C:/$~1da/SKOLA/2012-2013/pz2013/xxxxx.tex: LuaTeX error ...
197
198 \podpisreditele
199
200 \page
201 }
202
203 \def\lineaction{\printaction}
204
205 \starttext
206
207 >> \filelineaction{rozh_4lneprijat-nesplnil.csv}
208
209 \stoptext
210
211
212
\dodoopencsvfile ...irddata.scancsv.opencsvfile()}
\fi
<to be read again>
\bfilehook
\doloopfromto #1#2#3h-\opencsvfile \bfilehook
\paramcontrol {#1}{#2}
\ifnum ...
<to be read again>
<to be read again>
l.207 \filelineaction{rozh_4lneprijat-nesplnil.csv}
? ! LuaTeX error [string "\directlua "]:1: attempt to call field
'paramcontrol' (a nil value).
system > tex > error on line 207 in file
C:/$~1da/SKOLA/2012-2013/pz2013/xxxxx.tex: LuaTeX error ...
197
198 \podpisreditele
199
200 \page
201 }
202
203 \def\lineaction{\printaction}
204
205 \starttext
206
207 >> \filelineaction{rozh_4lneprijat-nesplnil.csv}
208
209 \stoptext
210
211
212
\paramcontrol ...ta.scancsv.paramcontrol(#1, #2);}
\doloopfromto ...\bfilehook \paramcontrol {#1}{#2}
\ifnum \tempfromI >0
\dos...
<to be read again>
<to be read again>
l.207 \filelineaction{rozh_4lneprijat-nesplnil.csv}
?
! Emergency stop.
system > tex > error on line 207 in file
C:/$~1da/SKOLA/2012-2013/pz2013/xxxxx.tex: Emergency stop ...
197
198 \podpisreditele
199
200 \page
201 }
202
203 \def\lineaction{\printaction}
204
205 \starttext
206
207 >> \filelineaction{rozh_4lneprijat-nesplnil.csv}
208
209 \stoptext
210
211
212
\paramcontrol ...ta.scancsv.paramcontrol(#1, #2);}
\doloopfromto ...\bfilehook \paramcontrol {#1}{#2}
\ifnum \tempfromI >0
\dos...
<to be read again>
<to be read again>
Chcete ukonźit d vkovou Łlohu (A/N)?
l.207 \filelineaction{rozh_4lneprijat-nesplnil.csv}
! ==> Fatal error occurred, no output PDF file produced!
C:\$~1da\SKOLA\2012-2013\pz2013>context --purgefiles --all
mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | basic options:
mtx-context |
mtx-context | --run process (one or more) files
(default action)
mtx-context | --make create context formats
mtx-context |
mtx-context | --ctx=name use ctx file (process
management specification)
mtx-context | --interface use specified user interface
(default: en)
mtx-context |
mtx-context | --autopdf close pdf file in viewer and
start pdf viewer afterwards
mtx-context | --purge purge files either or not after
a run (--pattern=...)
mtx-context | --purgeall purge all files either or not
after a run (--pattern=...)
mtx-context |
mtx-context | --usemodule=list load the given module or style,
normally part of the distribution
mtx-context | --environment=list load the given environment file
first (document styles)
mtx-context | --mode=list enable given the modes
(conditional processing in styles)
mtx-context | --path=list also consult the given paths
when files are looked for
mtx-context | --arguments=list set variables that can be
consulted during a run (key/value pairs)
mtx-context | --randomseed=number set the randomseed
mtx-context | --result=name rename the resulting output to
the given name
mtx-context | --trackers=list set tracker variables (show
list with --showtrackers)
mtx-context | --directives=list set directive variables (show
list with --showdirectives)
mtx-context | --silent=list disable logcatgories (show list
with --showlogcategories)
mtx-context | --noconsole disable logging to the console
(logfile only)
mtx-context | --purgeresult purge result file before run
mtx-context |
mtx-context | --forcexml force xml stub
mtx-context | --forcecld force cld (context lua
document) stub
mtx-context | --forcelua force lua stub (like texlua)
mtx-context | --forcemp force mp stub
mtx-context |
mtx-context | --arrange run extra imposition pass,
given that the style sets up imposition
mtx-context | --noarrange ignore imposition
specifications in the style
mtx-context |
mtx-context | --jit use luajittex with jit turned
off (only use the faster virtual machine)
mtx-context | --jiton use luajittex with jit turned
on (in most cases not faster, even slower)
mtx-context |
mtx-context | --once only run once (no multipass
data file is produced)
mtx-context | --batchmode run without stopping and do not
show messages on the console
mtx-context | --nonstopmode run without stopping
mtx-context | --synctex run with synctex enabled
(optional value: zipped, unzipped, 1, -1)
mtx-context |
mtx-context | --generate generate file database etc. (as
luatools does)
mtx-context | --paranoid do not descend to .. and ../..
mtx-context | --version report installed context version
mtx-context |
mtx-context | --global assume given file present elsewhere
mtx-context | --nofile use dummy file as jobname
mtx-context |
mtx-context |
mtx-context | More information about ConTeXt and the tools that come
with it can be found at:
mtx-context |
mtx-context | maillist : ntg-context@ntg.nl /
http://www.ntg.nl/mailman/listinfo/ntg-context
mtx-context | webpage : http://www.pragma-ade.nl /
http://tex.aanhet.net
mtx-context | wiki : http://contextgarden.net
___________________________________________________________________________________
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
___________________________________________________________________________________