CESNET / Netopeer2GUI

Web-based NETCONF management center
Apache License 2.0
25 stars 11 forks source link

Hello, run backend and meet an error. #23

Closed louisshiru closed 3 years ago

louisshiru commented 3 years ago

I dont know how to fix this error. devel depencies were all installed.

*_Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/var/www/html/ncgui/backend/main.py", line 3, in from liberouterapi import socketio, app, config File "/var/www/html/ncgui/backend/liberouterapi/init.py", line 76, in import_modules() File "/var/www/html/ncgui/backend/liberouterapi/bootstrap.py", line 49, in import_modules loaded_mod = import(mod_name, fromlist=[str(mod_name)]) File "/var/www/html/ncgui/backend/liberouterapi/modules/netopeer/init.py", line 17, in from .schemas import File "/var/www/html/ncgui/backend/liberouterapi/modules/netopeer/schemas.py", line 16, in import yang File "/usr/lib/python3/dist-packages/yang.py", line 2991, in class Decimal64(_object): File "/usr/lib/python3/dist-packages/yang.py", line 3000, in Decimal64 __swig_setmethods__["value"] = _yang.Decimal64_value_set AttributeError: module '_yang' has no attribute 'Decimal64_valueset'**

jakubman1 commented 3 years ago

Hello, Which OS are you using? Did this error appear as soon as you started the backend or while doing something? You can also try running the GUI using vagrant to see if you encounter the same error. There is a tutorial on how to run vagrant in README in the vagrant folder.