Skip to content

types.py --Missing document content #866

@Karl-ZhangBD

Description

@Karl-ZhangBD

I'm compiling and installing netopeer-server and I'm having a problem with the following error being reported. I checked the contents of types.py and found that there is indeed no ModuleType module, but it appears in yacc.py, how should I fix this?
The error is as follows:
File "/usr/local/lib/python2.7/dist-packages/pyang-2.5.3-py2.7.egg/pyang/xpath_parser.py", line 357, in
parser = yacc.yacc(tabmodule="xpath_parsetab", debug=False, write_tables=False)
File "/usr/local/lib/python2.7/dist-packages/pyang-2.5.3-py2.7.egg/pyang/yacc.py", line 3242, in yacc
if isinstance(tabmodule, types.ModuleType):
AttributeError: 'module' object has no attribute 'ModuleType'
Command 'pyang -p /home/work/netopeer/server/config/ -f yin /home/work/netopeer/server/config/ietf-netconf-server.yang' failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions