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 3025] ASN.1: display the real name of SEQUENCE/TYPE OF par

Date: Fri, 31 Oct 2008 02:23:12 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3025





--- Comment #1 from Pascal Quantin <pascal.quantin@xxxxxxxxx>  2008-10-31 02:23:11 PDT ---
You will find attached the automatically generated dissectors files from ASN.1
description with the modified asn2wrs.py file.
Please note that x509ce generation fails to build with the following error.
This as nothing to do with my patch as a non modified asn2wrs.py file generates
the same error:

        "C:\Python25\python.exe" "../../tools/asn2wrs.py"  -b -e  -p x509ce  -c
x509ce.cnf  -s packet-x509ce-template   CertificateExtensions.asn
ASN.1 to Wireshark dissector compiler
../x411/x411-exp.cnf:8: UserWarning: Duplicated MODULE for MTSAbstractService.
P
revious one is at x509ce.cnf:7
  MTSAbstractService  x411
../x411/x411-exp.cnf:52: UserWarning: Too many parameters. Only 3 parameters
are
 allowed
  OriginatingMTACertificate -1 /*imported*/ -1 /*imported*/
../../tools/asn2wrs.py:7010: DeprecationWarning: raising a string exception is
d
eprecated
  raise msg0 + msg1
Traceback (most recent call last):
  File "../../tools/asn2wrs.py", line 7592, in <module>
    eth_main()
  File "../../tools/asn2wrs.py", line 7500, in eth_main
    ectx.conform.read(conf_to_read)
  File "../../tools/asn2wrs.py", line 2524, in read
    if not set_type_to_class(name, par[0], par[1:]):
  File "../../tools/asn2wrs.py", line 7010, in set_type_to_class
    raise msg0 + msg1
Can not define CLASS field ATTRIBUTE.&usage as 'OpenType'
Already defined as 'TypeReference AttributeUsage'
NMAKE : fatal error U1077: 'C:\Python25\python.exe' : code retour '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.exe"' : code retour '0x2'
Stop.


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