https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3031
Summary: Generating a dissector with asn2wrs using python 2.6
fails
Product: Wireshark
Version: SVN
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: wmeier@xxxxxxxxxxx
Build Information:
--
The following error message happens for the several asn1 dissectors I tried to
generate using asn2wrs with python 2.6. (Python 2.4 & Python 2.5 seem to work
OK).
$nmake /E /NOLOGO /f makefile.nmake packet-h248.c
"C:\Python26\python.exe" "../../tools/asn2wrs.py" -b -p h248 -c
h248.cnf -s packet-h248-template h248v3.asn
c:\Users\wmeier\Technical\wswm\wsh-svn\tools\yacc.py:74: DeprecationWarning:
the md5 module is deprecated; use hashlib instead
import re, types, sys, cStringIO, md5, os.path
Traceback (most recent call last):
File "../../tools/asn2wrs.py", line 7592, in <module>
ASN.1 to Wireshark dissector compiler
eth_main()
File "../../tools/asn2wrs.py", line 7531, in eth_main
ectx.eth_do_output()
File "../../tools/asn2wrs.py", line 1924, in eth_do_output
self.dupl_report()
File "../../tools/asn2wrs.py", line 1831, in dupl_report
warnings.warn_explicit(msg, UserWarning, '', '')
TypeError: an integer is required
NMAKE : fatal error U1077: 'C:\Python26\python.exe' : return code '0x1'
Stop.
err::: 2
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.