[tex-live] Lua module 'socket.url' loading problem with getmap

Josef Kleber josef.kleber at gmx.de
Sat Jul 14 16:14:07 CEST 2018


Dear Akira

Am 14.07.2018 um 12:34 schrieb Akira Kakuto:
> Dear Josef,
> 
>> Unfortunately, I have to report that your diff does not change anything
>> on my side.
> 
> It is very strange!!
> 
> I show results obtained here on Windows.
> Binaries and packages are in the latest TeX Live master.
> 
> (1) xelatex with the original getmap.sty
> (2) lualatex with the original getmap.sty
> (3) xelatex with the modified getmap.sty
> (4) lualatex with the modified getmap.sty
> 
> getmap.png seems to be correct in all 4 cases.
> tokyo.png is broken in (1) and (2).
> tokyo.png is correct in (3) and (4).
> 

In the last 2 hours I have reinstalled TL2018 with no change ;-(

getmap.sty unmodified getmapdl.lua unmodified
pdflatex: tokyo + munich +
xelatex : tokyo - munich +
lualatex: tokyo - munich -

getmap.sty unmodified getmapdl.lua modified
pdflatex: tokyo + munich +
xelatex : tokyo - munich +
lualatex: tokyo - munich -

getmap.sty modified getmapdl.lua modified
pdflatex: tokyo + munich +
xelatex : tokyo + munich +
lualatex: tokyo - munich -

Because of the luatex update, there's no change with (un)modified
getmapdl.lua. After modifying getmap.sty, tokyo.png works with xelatex ,
getmap.png works also with the unmodified version.
Nothing works for me with lualatex, it is always the '3f' error.

Using Cygwin's lua:

modified getmapdl.lua:

jk at HP-kleberj ~
$ lua /cygdrive/c/texlive/2018/texmf-dist/scripts/getmap/getmapdl.lua -m
gm -l "渋谷, 東京"-i png -o tokyo
lua: ...ve/c/texlive/2018/texmf-dist/scripts/getmap/getmapdl.lua:13:
attempt to index global 'socket' (a nil value)
stack traceback:
        ...ve/c/texlive/2018/texmf-dist/scripts/getmap/getmapdl.lua:13:
in main chunk
        [C]: in ?

unmodified getmapdl.lua:

jk at HP-kleberj ~
$ lua /cygdrive/c/texlive/2018/texmf-dist/scripts/getmap/getmapdl.lua -m
gm -l "渋谷, 東京" -i png -o tokyo


WARNING: ZOOM not specified; using ZOOM=17 as default!
WARNING: XSIZE not specified; using XSIZE=600 as default!
WARNING: YSIZE not specified; using YSIZE=400 as default!
WARNING: SCALE not specified, using SCALE=1 as default!
WARNING: TYPE not specified; using roadmap as default!
WARNING: COLOR not specified; using blue as default!
WARNING: NUMBER not specified; using 1 as default!


getmapdl.lua:
url =
http://maps.googleapis.com/maps/api/staticmap?center=%e6%b8%8b%e8%b0%b7%2c%20%e6%9d%b1%e4%ba%ac&size=600x400&zoom=17&markers=size:mid|color:blue|label:1|%e6%b8%8b%e8%b0%b7%2c%20%e6%9d%b1%e4%ba%ac&maptype=roadmap&scale=1&format=png&sensor=false
url length = 243 bytes
output = tokyo.png

:-((

Best,

Josef


More information about the tex-live mailing list