asn编译常见报错

TypeError: unsupported operand type(s) for -: 'str' and 'int'

可能是该用列表的地方没用列表。

 

1、 ’-‘不支持,需改为'_'

asn1tools.parser.ParseError: Invalid ASN.1 syntax at line 1021, column 10: 'DataType >!<:: = ENUMERATED{': Expected ::=.

  :: =会报错,不支持空格

3、IMPORTS

posted @ 2018-08-02 16:40  Claire_xu  阅读(372)  评论(0编辑  收藏  举报