Wireshark mailing list archives
Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int()
From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Thu, 5 Dec 2013 01:04:39 +0100
On Wed, Dec 04, 2013 at 02:50:37PM +0000, Kukosa, Tomas wrote:
I have updated Ply in our SVN (rev 53782) to the current version. Please check if it helps and works with Python 3.
I run make in asn/ and I hit one error in isdn-sup /usr/bin/python ../../tools/asn2wrs.py \ -b -k \ -p isdn-sup \ -c ./isdn-sup.cnf \ -s ./packet-isdn-sup-template \ -D . \ -O ../../epan/dissectors \ Addressing-Data-Elements.asn Basic-Service-Elements.asn Embedded-Q931-Types.asn General-Errors.asn Advice-of-Charge-Operations.asn Closed-User-Group-Service-Operations.asn Conference-Add-On-Operations.asn Diversion-Operations.asn MCID-Operations.asn User-To-User-Signalling-Operations.asn Freephone-Operations.asn ASN.1 to Wireshark dissector compiler Traceback (most recent call last): File "../../tools/asn2wrs.py", line 8028, in <module> eth_main() File "../../tools/asn2wrs.py", line 7967, in eth_main ectx.eth_do_output() File "../../tools/asn2wrs.py", line 2130, in eth_do_output self.eth_output_tables() File "../../tools/asn2wrs.py", line 1931, in eth_output_tables self.eth_output_table(fx, rep) File "../../tools/asn2wrs.py", line 1984, in eth_output_table objs_ord.sort(cmp=partial(cmp_fn, cmp_flds=sort_flds, objs=objs)) TypeError: 'cmp' is an invalid keyword argument for this function Everything else regenerate fine (thanks!), got small diff (not related to your change) and commited it in r53791. Kuba. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Jakub Zawadzki (Dec 03)
- Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Kukosa, Tomas (Dec 03)
- Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Jakub Zawadzki (Dec 03)
- Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Kukosa, Tomas (Dec 04)
- Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Jakub Zawadzki (Dec 04)
- Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Jakub Zawadzki (Dec 03)
- Re: ASN dissector (re)generation: TypeError: unorderable types: slice() >= int() Kukosa, Tomas (Dec 03)