Wireshark mailing list archives
asn2wrs AttributeError: Node instance has no attribute 'AddTag'
From: lhasa wireshark <lhasawireshark () gmail com>
Date: Fri, 27 Mar 2015 16:25:50 +0100
Hello, While trying to build an asn.1 dissector the asn2wrs.py tool gives the following error: /usr/bin/python ../../tools/asn2wrs.py \ -b \ -p xyz \ -c ./xyz.cnf \ -s ./packet-xyz-template \ -D . \ -O ../../epan/dissectors \ asnfile1.asn asnfile2.asn asnfile3.asn ASN.1 to Wireshark dissector compiler Traceback (most recent call last): File "../../tools/asn2wrs.py", line 8050, in <module> eth_main() File "../../tools/asn2wrs.py", line 7981, in eth_main ast.extend(yacc.parse(f.read(), lexer=lexer, debug=pd)) File "/home/xyz/git/wireshark/tools/yacc.py", line 313, in parse return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc) File "/home/xyz/git/wireshark/tools/yacc.py", line 1033, in parseopt_notrack p.callable(pslice) File "../../tools/asn2wrs.py", line 6435, in p_TaggedType_1 t[0].AddTag(t[1]) AttributeError: Node instance has no attribute 'AddTag' make: *** [../../epan/dissectors/packet-xyz.c] Error 1 Is this a bug. Is there someone who can give me some clue. Regards, John
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- asn2wrs AttributeError: Node instance has no attribute 'AddTag' lhasa wireshark (Mar 27)
- Re: asn2wrs AttributeError: Node instance has no attribute 'AddTag' Anders Broman (Mar 30)