Hi Albert, Thanks for the swift response. That did the trick. I am amble to run the include-file filter now. The next thing is that I run into this issue: :~/workspace/lua-filters/include-files$ ./run-it.sh Error running filter include-files.lua: error loading module 'socket.core' from file '/opt/zbstudio/bin/linux/x64/clibs53/socket/core.so': *Dynamic loading not supported* stack traceback: [C]: in ? [C]: in function 'require' /opt/zbstudio/lualibs/socket.lua:12: in main chunk [C]: in function 'require' /opt/zbstudio/lualibs/mobdebug/mobdebug.lua:102: in main chunk [C]: in function 'require' include-files.lua:13: in main chunk I do the following... I set my variables like so: export ZBS=/opt/zbstudio export LUA_PATH="./?.lua;$ZBS/lualibs/?/?.lua;$ZBS/lualibs/?.lua" export LUA_CPATH="$ZBS/bin/linux/x64/?.so;$ZBS/bin/linux/x64/clibs53/?.so" My architecture is: $ uname -i x86_64 pandoc uses LUA5.3 There is some remark in the troubleshooting section about dynamic libraries not enabled: " - *I get dynamic libraries not enabled error.* You may get the following error when loading socket.core on Linux: *error loading module ‘socket.core’ from file ‘/opt/zstudio/bin/linux/x86/clibs/socket/core.so’: dynamic libraries not enabled; check your Lua installation*. This most likely means that the Lua interpreter you are using was built without LUA_USE_DLOPEN option enabled. You can either enable it or statically link your application with luasocket. " I am using the lua that comes with the debugger and pandoc. The troubleshooting section does not really give a pointer where to go next. What could this be? On Monday, 17 January 2022 at 13:06:00 UTC+1 Albert Krewinkel wrote: > > Jacco Steur writes: > > > My goal is debugging LUA filters with the zerobrane ide. > > > > I got stuck on this: > > > > On Ubuntu I installed pandoc 2.5 using sudo apt install pandoc. > > > > [...] > > > > What am I doing wrong here...... > > You are doing everything right, it's just that the pandoc version > shipped by Ubuntu is too old for this. The `pandoc.path` module is a > relatively recent addition that became available in pandoc 2.12, > released about a year ago. You can install a current version with the > help of the *deb* packages published on the official pandoc release > page: https://github.com/jgm/pandoc/releases/latest > > Alternatively, you could use a Docker image that suits your needs, e.g., > , but the .deb installer is > probably easier. > > HTH, > Albert > > PS: This is also a shortcoming of the filter: it would be better if the > filter was checking the pandoc version, returning a meaningful error > message if the version is too old. I'll go and fix that. > > -- > Albert Krewinkel > GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9aaa4fcd-5dad-4278-bd37-0a1e3e4073b1n%40googlegroups.com.