ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 4889] New: Lua: syntax error during precompilation of `C:\

Date: Fri, 18 Jun 2010 07:48:36 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4889

           Summary: Lua: syntax error during precompilation of
                    `C:\projects\wireshark\wireshark-gtk2\init.lua'
           Product: Wireshark
           Version: SVN
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jyoung@xxxxxxx


Created an attachment (id=4804)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4804)
init.lua file installed in Windows build folder

Build Information:
C:\projects\wireshark>wireshark-gtk2\tshark.exe -v
tshark: Lua: syntax error during precompilation of
`C:\projects\wireshark\wireshark-gtk2\init.lua':
[string "C:\projects\wireshark\wireshark-gtk2\init.lua"]:280: 'end' expected
(to close 'if' at line 31) near '<eof>'
TShark 1.5.0 (SVN Rev 33251 from /trunk)

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GLib 2.22.4, with WinPcap (version unknown), with libz
1.2.3, without POSIX capabilities, without libpcre, with SMI 0.4.8, with c-ares
1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with Gcrypt 1.4.5, with
MIT Kerberos, with GeoIP.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.1
(packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.5, Gcrypt 1.4.5.

Built using Microsoft Visual C++ 9.0 build 30729

C:\projects\wireshark>
--
The following Lua error is reported by tshark (and Wireshark within a pop-up)
when run from the Windows build folder:

> Lua: syntax error during precompilation of `C:\projects\wireshark\wireshark-gtk2\init.lua':
> [string "C:\projects\wireshark\wireshark-gtk2\init.lua"]:280: 'end' expected (to close 'if' at line 31) near '<eof>'

If this init.lua file is deleted then both tshark and wireshark can be started
from the build folder without any compliants.   When 'nmake -f Makefile.name
all' is run again the defective init.lua file is restored to the build folder.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.