Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types.py --Missing document content #866

Open
Karl-ZhangBD opened this issue Jun 16, 2023 · 0 comments
Open

types.py --Missing document content #866

Karl-ZhangBD opened this issue Jun 16, 2023 · 0 comments

Comments

@Karl-ZhangBD
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant