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 4846] New: asn2wrs.py uses string exceptions which are not

Date: Sun, 6 Jun 2010 05:28:42 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4846

           Summary: asn2wrs.py uses string exceptions which are not
                    supported on Python >=2.6
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Extras
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: balint.reczey@xxxxxxxxxxxx


Build Information:
TShark 1.2.8

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.24.1, with libpcap 1.1.1, with libz 1.2.3.4, with
POSIX capabilities (Linux), with libpcre 8.2, with SMI 0.4.8, with c-ares
1.7.1,
with Lua 5.1, with GnuTLS 2.8.6, with Gcrypt 1.4.5, with MIT Kerberos, with
GeoIP.

Running on Linux 2.6.32-5-686-bigmem, with libpcap version 1.1.1, GnuTLS 2.8.6,
Gcrypt 1.4.5.

Built using gcc 4.4.4.

--
Following the link in
http://www.pubbs.net/201006/debian/8783-possible-mass-bug-filing-string-exceptions-removed-in-python-26.html
, the problem in asn2wrs.py can be found easily:


./wireshark-dev_1.2.8-1/usr/share/pyshared/asn2wrs.py:            raise
"cross-module duplicates for " + ident
./wireshark-dev_1.2.8-1/usr/share/pyshared/asn2wrs.py:        raise "Try to
dummy import for existing type :" + ident


Current trunk still contains the problem.

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