$ rpm -q lua-json lua-lpeg lua-json-1.2.2-3.fc19.noarch lua-lpeg-0.12-1.fc19.x86_64 $ lua -ljson lua: /usr/share/lua/5.1/json/decode/strings.lua:90: loop body may accept empty string stack traceback: [C]: ? /usr/share/lua/5.1/json/decode/strings.lua:90: in function 'buildCaptureString' /usr/share/lua/5.1/json/decode/strings.lua:111: in function 'buildCapture' /usr/share/lua/5.1/json/decode/strings.lua:126: in function 'load_types' /usr/share/lua/5.1/json/decode.lua:86: in function 'buildDecoder' /usr/share/lua/5.1/json/decode.lua:112: in main chunk [C]: in function 'require' /usr/share/lua/5.1/json.lua:5: in main chunk [C]: ? [C]: ? lua-json must be upgraded to a newer version ! luajson v1.3.2 Release Notes ============================ User Visible Changes -------------------- One of the main changes in this release is compatibility with LPeg 0.12 and …
An additional detail, lua-lpeg-0.10.2 as shipped with Fedora 19 should work. It is just the update to lua-lpeg-0.12 that broke the system.
I'm getting the same problem: [root@erika nginx]# rpm -q lua-json lua-lpeg lua-json-1.2.2-3.fc19.noarch lua-lpeg-0.12-1.fc19.i686 [root@erika nginx]# lua -ljson lua: /usr/share/lua/5.1/json/decode/strings.lua:90: loop body may accept empty string stack traceback: [C]: ? /usr/share/lua/5.1/json/decode/strings.lua:90: in function 'buildCaptureString' /usr/share/lua/5.1/json/decode/strings.lua:111: in function 'buildCapture' /usr/share/lua/5.1/json/decode/strings.lua:126: in function 'load_types' /usr/share/lua/5.1/json/decode.lua:86: in function 'buildDecoder' /usr/share/lua/5.1/json/decode.lua:112: in main chunk [C]: in function 'require' /usr/share/lua/5.1/json.lua:5: in main chunk [C]: ? [C]: ? in addtional my distro infos (Linux erika 3.11.6-201.fc19.i686 #1 SMP Sat Nov 2 14:51:59 UTC 2013 i686 i686 i386 GNU/Linux)
I'm solve just updating my luajson library: [ademar@erika ademar]$ luarocks new_version luajson Wrote luajson-1.3.2-2.rockspec [ademar@erika ademar]$ su -c 'luarocks install luajson-1.3.2-2.rockspec' [ademar@erika ademar]$ lua -ljson Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio > is shows that the bug is at version "lua-json-1.2.2-3".
lua-json-1.3.2-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/lua-json-1.3.2-2.fc19
Package lua-json-1.3.2-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing lua-json-1.3.2-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1135/lua-json-1.3.2-2.fc19 then log in and leave karma (feedback).
lua-json-1.3.2-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.