Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Freshly installed WS gives init.lua error message box

Date: Mon, 23 Oct 2006 16:27:13 +0100
On 10/21/06, Ulf Lamping <ulf.lamping@xxxxxx> wrote:
LEGO wrote:
> Can you check if wslua_datafile_path is added to the generated
> WSLUA_DECLARE_FUNCTIONS()  ( in declare_wslua.h ) and to
> wslua_register_functions() (in register_wslua.c) ?
>
Yes for .h, no for .c (.c does include datafile_path, so it seems the
prefix is missing), see attached files.

the missing prefix is added by the macro... that's ugly and I'll fix
it but it is not our problem.

I do not have access to a windows box on which to test this so I need help.

Can you:

comment out ('--') the line in question (init.lua:230) and maybe also
231 if the problem happens with that one too...

if the error is gone (it should) you should have the
Tools/Lua/Evaluate menu item, open it and type:
---
local w = TextWindow.new("Globals")

for i,j in pairs(_G) do
 w:append(i .. "\t" ..  tostring(j) .. "\n")
end
---

 click  'Evaluate'
 send the text of the Globals window back to the list.

Thanks

--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan