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

Josef Kleber josef.kleber at gmx.de
Fri Jun 29 15:46:35 CEST 2018

Am 29.06.2018 um 13:05 schrieb Josef Kleber:
> Relevant code in getmapdl.lua (/scripts/getmap)
> local http = require("socket.http");
> local ltn12 = require("ltn12")
> local url = require("socket.url")
> So I guess socket.http and ltn12 are found, but no socket.url!

If I use getmapdl.lua with Cygwin's 'lua' (I had to install the lua
socket module), then the script works without problem.

$ lua getmapdl.lua -m gm -l 'Stachus, München' -o muc -i png

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!

url =
url length = 209 bytes
output = muc.png

The downloaded png is ok.

So it seems there is a bug in luatex, missing some parts of the socket
module, at least socket.url!


More information about the tex-live mailing list