Revision history [back]
BinDecHex.lua: Error - bad argument to module(..., package.seeall);
Hello, I am having trouble setting wireshark to read OMCI package in Ubuntu 18.04. I was trying to use the https://github.com/antran-ptit/omci-wireshark-dissector/blob/master/ omci.lua and BinDecHex.lua to read OMCI package, which was suggested by Wireshark contribute wiki (https://wiki.wireshark.org/Contrib).
I tried to copy these two files into the my global wireshark lua folder
/usr/lib/x86_64-linux-gnu/wireshark/plugins
and then adding the line
dofile(DATA_DIR.."omci.lua")
in my init.lua.
While running the omci-example.pcap, I received the following 2 error:
[string "/usr/lib/x86_64-linux-gnu/wireshark/plugins/o..."]:43: module 'BinDecHex' not found: no field package.preload['BinDecHex'] no file '/usr/local/share/lua/5.2/BinDecHex.lua' no file '/usr/local/share/lua/5.2/BinDecHex/init.lua' no file '/usr/local/lib/lua/5.2/BinDecHex.lua' no file '/usr/local/lib/lua/5.2/BinDecHex/init.lua' no file '/usr/share/lua/5.2/BinDecHex.lua' no file '/usr/share/lua/5.2/BinDecHex/init.lua' no file './BinDecHex.lua' no file '/usr/local/lib/lua/5.2/BinDecHex.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/BinDecHex.so' no file '/usr/lib/lua/5.2/BinDecHex.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './BinDecHex.so'
Lua: Error during loading: [string "/usr/lib/x86_64-linux-gnu/wireshark/plugins/B..."]:53: bad argument #1 to 'module' (string expected, got nil)
Appearently the BinDecHex.lua doesn't recognize the module(...,package.seeall)? Any idea how to solve this problem?
BinDecHex.lua: Error - bad argument to module(..., package.seeall);
Hello, I am having trouble setting wireshark to read OMCI package in Ubuntu 18.04. I was trying to use the https://github.com/antran-ptit/omci-wireshark-dissector/blob/master/ omci.lua and BinDecHex.lua to read OMCI package, which was suggested by Wireshark contribute wiki (https://wiki.wireshark.org/Contrib).
I tried to copy these two files into the my global wireshark lua folder
/usr/lib/x86_64-linux-gnu/wireshark/plugins
and then adding the line
dofile(DATA_DIR.."omci.lua")
in my init.lua.
While running the omci-example.pcap, I received the following 2 error:
[string
"/usr/lib/x86_64-linux-gnu/wireshark/plugins/o..."]:43:"/usr/lib/x86_64-linux-gnu/wireshark/plugins/o..."]:43: module 'BinDecHex' notfound: nofound: no fieldpackage.preload['BinDecHex'] no filepackage.preload['BinDecHex'] no file '/usr/local/share/lua/5.2/BinDecHex.lua' nofilefile '/usr/local/share/lua/5.2/BinDecHex/init.lua' nofilefile '/usr/local/lib/lua/5.2/BinDecHex.lua' nofilefile '/usr/local/lib/lua/5.2/BinDecHex/init.lua' nofile '/usr/share/lua/5.2/BinDecHex.lua' no filefile '/usr/share/lua/5.2/BinDecHex.lua' no file '/usr/share/lua/5.2/BinDecHex/init.lua' no file'./BinDecHex.lua' no file'./BinDecHex.lua' no file '/usr/local/lib/lua/5.2/BinDecHex.so' nofilefile '/usr/lib/x86_64-linux-gnu/lua/5.2/BinDecHex.so' nofile '/usr/lib/lua/5.2/BinDecHex.so' no filefile '/usr/lib/lua/5.2/BinDecHex.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './BinDecHex.so'Lua: Error during
loading: [string "/usr/lib/x86_64-linux-gnu/wireshark/plugins/B..."]:53: bad argument #1 to 'module' (string expected, got nil)
loading: Appearently the BinDecHex.lua doesn't recognize the module(...,package.seeall)? Any idea how to solve this problem?
BinDecHex.lua: Error - bad argument to module(..., package.seeall);
Hello, I am having trouble setting wireshark to read OMCI package in Ubuntu 18.04. I was trying to use the https://github.com/antran-ptit/omci-wireshark-dissector/blob/master/ omci.lua and BinDecHex.lua to read OMCI package, which was suggested by Wireshark contribute wiki (https://wiki.wireshark.org/Contrib).
I tried to copy these two files into the my global wireshark lua folder
/usr/lib/x86_64-linux-gnu/wireshark/plugins
and then adding the line
dofile(DATA_DIR.."omci.lua")
in my init.lua.
While running the omci-example.pcap, I received the following 2 error:
[string "/usr/lib/x86_64-linux-gnu/wireshark/plugins/o..."]:43: module 'BinDecHex' not found: no field package.preload['BinDecHex'] no file '/usr/local/share/lua/5.2/BinDecHex.lua' no file '/usr/local/share/lua/5.2/BinDecHex/init.lua' no file '/usr/local/lib/lua/5.2/BinDecHex.lua' no file '/usr/local/lib/lua/5.2/BinDecHex/init.lua' no file '/usr/share/lua/5.2/BinDecHex.lua' no file '/usr/share/lua/5.2/BinDecHex/init.lua' no file './BinDecHex.lua' no file '/usr/local/lib/lua/5.2/BinDecHex.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.2/BinDecHex.so' no file '/usr/lib/lua/5.2/BinDecHex.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './BinDecHex.so'
Lua: Error during loading: Appearently the BinDecHex.lua doesn't recognize the module(...,package.seeall)? Any idea how to solve this problem?