Hi all
So… I had Mycroft up and running then a few days ago my system crashed (hard lockup). I had to restart it. Strangely Mycroft did start but was not listening (pavucontrol said that no application was recording sound). After searching a little bit on that I decided to try and re-install it… Did that 3 times already, on the last one I made sure to delete /opt/mycroft as well as my .mycroft folder in my home folder to have something clean.
All 3 times I had similar problems…
Starting Mycroft in debug mode the CLI first shows this kind of error:
16:39:12.806 - msm.mycroft_skills_manager - ERROR - Error running install_or_update on mycroft-fallback-duck-duck-go: PipRequirementsException(
Pip returned code 1:
Collecting duckduckgo2 (from -r /opt/mycroft/skills/mycroft-fallback-duck-duck-go.mycroftai/requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/6c/2f/33c29da133061032843aed6630bdcda8456dbb5f6026e091ff6a3176c8e7/duckduckgo2-0.242.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-k8gpj5xd/duckduckgo2/setup.py", line 2, in <module>
from duckduckgo import __version__
File "/tmp/pip-install-k8gpj5xd/duckduckgo2/duckduckgo.py", line 2, in <module>
import urllib2
ModuleNotFoundError: No module named 'urllib2'
--------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-k8gpj5xd/duckduckgo2/
)
16:39:12.879 - msm.skill_entry - INFO - Successfully installed mycroft-configuration
16:39:13.006 - msm.skill_entry - INFO - Successfully installed mycroft-npr-news
16:39:13.389 - msm.skill_entry - INFO - Successfully installed mycroft-ip
16:39:13.541 - msm.skill_entry - INFO - Successfully installed mycroft-wiki
16:39:13.580 - msm.mycroft_skills_manager - ERROR - Error running install_or_update on mycroft-weather: PipRequirementsException(
Pip returned code 1:
Collecting multi-key-dict==2.0.3 (from -r /opt/mycroft/skills/mycroft-weather.mycroftai/requirements.txt (line 1))
Collecting pyowm==2.6.1 (from -r /opt/mycroft/skills/mycroft-weather.mycroftai/requirements.txt (line 2))
Requirement already satisfied: requests==2.13.0 in ./.venv/lib/python3.6/site-packages (from -r /opt/mycroft/skills/mycroft-weather.mycroftai/requirements.txt (line 3)) (2.13.0)
~~~~ll packages due to an EnvironmentError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/seb/mycroft-core/.venv/lib/python3.6/site-packages/netifaces-0.10.7.dist-info/METADATA'
)
16:39:13.593 - msm.mycroft_skills_manager - ERROR - Error running install_or_update on mycroft-alarm: PipRequirementsException(
Pip returned code 1:
Collecting arrow==0.12.0 (from -r /opt/mycroft/skills/mycroft-alarm.mycroftai/requirements.txt (line 1))
~~~~ment already satisfied: python-dateutil in ./.venv/lib/python3.6/site-packages (from arrow==0.12.0->-r /opt/mycroft/skills/mycroft-alarm.mycroftai/requirements.txt (line 1)) (2.6.0)
Collecting backports.functools-lru-cache==1.2.1 (from arrow==0.12.0->-r /opt/mycroft/skills/mycroft-alarm.mycroftai/requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/d1/0e/c473e3c37c34fea699d85d5b9e3caf712813c4cd2dcc0a5a64ec2a6867f7/backports.functools_lru_cache-1.2.1-py2.py3-none-any.whl
~~~~y satisfied: six>=1.5 in ./.venv/lib/python3.6/site-packages (from python-dateutil->arrow==0.12.0->-r /opt/mycroft/skills/mycroft-alarm.mycroftai/requirements.txt (line 1)) (1.10.0)
~~~~ll packages due to an EnvironmentError: [Errno 2] Aucun fichier ou dossier de ce type: '/home/seb/mycroft-core/.venv/lib/python3.6/site-packages/netifaces-0.10.7.dist-info/METADATA'
)
And then I have multiple occurrences of this, mentioning different Python dependencies:
16:39:31.118 - mycroft.skills.core:load_skill:105 - INFO - ATTEMPTING TO LOAD SKILL: mycroft-date-time.mycroftai with ID -1046588894825522079
16:39:31.124 - mycroft.skills.core:load_skill:144 - ERROR - Failed to load skill: mycroft-date-time.mycroftai
Traceback (most recent call last):
File "/home/seb/mycroft-core/mycroft/skills/core.py", line 115, in load_skill
('.py', 'rb', imp.PY_SOURCE)
File "/usr/lib64/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/mycroft/skills/mycroft-date-time.mycroftai/__init__.py", line 16, in <module>
import tzlocal
ModuleNotFoundError: No module named 'tzlocal'
On my second try Mycroft was listening - I got it to do simple tasks like telling its version - but now it won’t even pair anymore.
I have no idea what to do next… Suggestions?
This is on OpenSUSE 15.0 and I installed using git.
Python 3.6.5