Wireshark 2.6 throws error when loading LUA dissector
Hello,
I did some LUA dissectors to analyze payload data. These dissectors worked fine for Wireshark 2.4.x. After upgrading to Wireshark 2.6.x. All files throw an error:
Lua: Error during loading: However, all Protocols seem to be registered as I can find them in the list of enabled Protocols and they seem to work properly. I did a fresh installation - this did not fix the problem.
I am running on Windows 10 64Bit
The error message should also tell you what it is (at least, the code shows that the Lua state is printed). Are the scripts in the correct location (not sure if that changed between 2.4 and 2.6), and are there no duplicates?
The complete Error message:
I also did a try to remove all Scripts but one, the only difference is the number of errors I get (usually 1 one per file). As the dissector seems to work (apart of this loading issue), I assume that the location is still valid.
And can you show the code (including context) around line 161 referred to in the error message?
-- define dissector and fields
Maybe try:
As in the API specification for the Proto class here.