MycroftAI / docker-mycroft

Mycroft Development Environment inside Docker!
97 stars 63 forks source link

Mycroft Docker - Error after updates #73

Closed GoldenbyteGH closed 3 years ago

GoldenbyteGH commented 3 years ago

Python Exception after "git pull" comand on mycroft-core folder

(.venv) root@686b055bb9b2:/opt/mycroft# ./start-mycroft.sh cli Initializing... Changing ownership of /opt/mycroft to user: with group: root Starting background service bus CAUTION: The Mycroft bus is an open websocket with no built-in security measures. You are responsible for protecting the local port 8181 with a firewall as appropriate. Starting background service skills Starting cli _Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details import(pkg_name) File "/opt/mycroft/mycroft/init.py", line 17, in from mycroft.api import Api File "/opt/mycroft/mycroft/api/init.py", line 22, in from mycroft.configuration import Configuration File "/opt/mycroft/mycroft/configuration/init.py", line 15, in from .config import Configuration, LocalConf, RemoteConf File "/opt/mycroft/mycroft/configuration/config.py", line 25, in from mycroft.util.json_helper import load_commented_json, merge_dict File "/opt/mycroft/mycroft/util/init.py", line 24, in from mycroft.util.format import nice_number File "/opt/mycroft/mycroft/util/format.py", line 34, in from lingua_franca import get_default_loc ImportError: cannot import name 'get_defaultloc'

To Reproduce When a new skill is added, mycroft suggest to update using "git pull" command, but it causes the reported error

>> Your version is outdated. The latest version is 21 oh 2, release 0. To upgrade run 'git pull' in the mycroft-core folder and restart me.

Environment (please complete the following information):

I've tried to pull a new version from DokerHub, but I am not able to download the 21.x

TheLastProject commented 3 years ago

This doesn't sound like a docker issue, could you please recreate your issue on https://github.com/MycroftAI/mycroft-core/issues?

forslund commented 3 years ago

I think this is that a new requirement has been installed in core, can you try to run the dev_setup.sh in the mycroft-core folder as well to update the requirements?

GoldenbyteGH commented 3 years ago

@forslund it worked thanks!