Skills exists (pairing, ...) but doesn't work (msm error 20) (Linux Mint)


#1

Hi! I’m on Linux Mint and I installed Mycroft via git clone. The cli works fine (for example, the version checker works), but Mycroft doesn’t understand me when I try to pair the device… After some googling, I found that issue 772 was somewhat similar and I tried ./msm/msm defaul… This is what happened (deleted the h in https because otherwise I cannot post):

shinkimancer@temple ~ $ cd mycroft-core/
shinkimancer@temple ~/mycroft-core $ ./msm/msm default
=== Checking for default skills
Searching for for ‘mycroft-pairing’…exists
Searching for for ‘mycroft-configuration’…exists
Searching for for ‘mycroft-installer’…exists
Searching for for ‘mycroft-stop’…exists
Searching for for ‘mycroft-naptime’…exists
Searching for for ‘mycroft-playback-control’…exists
Searching for for ‘mycroft-speak’…exists
Searching for for ‘mycroft-volume’…exists
Searching for for ‘mycroft-fallback-duck-duck-go’…exists
Searching for for ‘fallback-aiml’…exists
Searching for for ‘fallback-wolfram-alpha’…exists
Searching for for ‘fallback-unknown’…exists
Searching for for ‘mycroft-alarm’…exists
Searching for for ‘mycroft-audio-record’…exists
Searching for for ‘mycroft-date-time’…exists
Searching for for ‘mycroft-hello-world’…exists
Searching for for ‘mycroft-ip’…exists
Searching for for ‘mycroft-joke’…exists
Searching for for ‘mycroft-npr-news’…exists
Searching for for ‘mycroft-personal’…exists
Searching for for ‘mycroft-reminder’…exists
Searching for for ‘mycroft-singing’…exists
Searching for for ‘mycroft-spelling’…exists
Searching for for ‘mycroft-stock’…exists
Searching for for ‘mycroft-support-helper’…exists
Searching for for ‘mycroft-timer’…exists
Searching for for ‘mycroft-weather’…exists
Searching for for ‘mycroft-wiki’…exists
Searching for for ‘mycroft-version-checker’…exists
Updating installed skills…
10:53:12.675 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
10:53:12.776 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
10:53:15.569 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
10:53:15.594 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
10:53:15.601 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
10:53:15.620 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
10:53:15.644 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
10:53:16.255 - requests.packages.urllib3.connectionpool - DEBUG - ttps://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
10:53:16.260 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
10:53:16.465 - requests.packages.urllib3.connectionpool - DEBUG - ttp://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
10:53:16.469 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
10:53:16.975 - requests.packages.urllib3.connectionpool - DEBUG - ttps://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
10:53:16.980 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
10:53:17.459 - requests.packages.urllib3.connectionpool - DEBUG - ttps://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
10:53:17.466 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/opt/mycroft/web_config_cache.json’ not found
10:53:17.468 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
10:53:17.469 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
Could not connect to websocket, no message sent
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-date-time.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-configuration.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-hello-world.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-pairing.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-audio-record.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-ip.
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (4/4), done.
Da ttps://github.com/MycroftAI/skill-weather
3140da8…08598f4 master -> origin/master

  • [nuovo branch] bugfix/missing-import -> origin/bugfix/missing-import
    remote: Counting objects: 5, done.
    remote: Compressing objects: 100% (2/2), done.
    remote: Total 5 (delta 1), reused 5 (delta 1), pack-reused 0
    Unpacking objects: 100% (5/5), done.
    Da ttps://github.com/mycroftai/fallback-wolfram-alpha
  • [nuovo branch] feature/test -> origin/feature/test
    remote: Counting objects: 30, done.
    remote: Compressing objects: 100% (11/11), done.
    remote: Total 30 (delta 5), reused 17 (delta 5), pack-reused 9
    Unpacking objects: 100% (30/30), done.
    Da ttps://github.com/MycroftAI/skill-npr-news
    ac83b15…ed02b78 master -> origin/master
  • [nuovo branch] feature/modernize -> origin/feature/modernize
  • [nuovo branch] feature/update-url -> origin/feature/update-url
    Checked /opt/mycroft/skills/skill-stop.
    Checked /opt/mycroft/skills/skill-reminder.
    Checked /opt/mycroft/skills/skill-support.
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-stock.
    Installing requirements…
    Checked /opt/mycroft/skills/skill-alarm.
    Installing requirements…
    Checked /opt/mycroft/skills/fallback-duckduckgo.
    Installing requirements…
    Checked /opt/mycroft/skills/skill-speak.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-version-checker.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-volume.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/fallback-unknown.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/mycroft-timer.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-spelling.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-singing.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-playback-control.
    Re-running PIP on requirements.txt
    HEAD ora si trova a 08598f4 Merge pull request #29 from MycroftAI/bugfix/missing-import
    Updated /opt/mycroft/skills/skill-weather.
    Installing requirements…
    Checked /opt/mycroft/skills/fallback-aiml.
    Installing requirements…
    Checked /opt/mycroft/skills/skill-naptime.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-personal.
    Re-running PIP on requirements.txt
    Checked /opt/mycroft/skills/skill-wiki.
    Installing requirements…
    Checked /opt/mycroft/skills/fallback-wolfram-alpha.
    Installing requirements…
    HEAD ora si trova a ed02b78 Merge pull request #11 from MycroftAI/feature/modernize
    Updated /opt/mycroft/skills/skill-npr-news.
    Installing requirements…
    Requirement already satisfied: arrow==0.12.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: duckduckgo2 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: requests==2.13.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: aiml in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: feedparser==5.2.1 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: wikipedia==1.4.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: wolframalpha==3.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: multi-key-dict==2.0.3 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
    Requirement already satisfied: pyowm==2.6.1 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 2))
    Requirement already satisfied: requests==2.13.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 3))
    Requirement already satisfied: requests<3.0.0,>=2.0.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wikipedia==1.4.0->-r requirements.txt (line 1))
    Requirement already satisfied: requests==2.13.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 2))
    Requirement already satisfied: beautifulsoup4 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wikipedia==1.4.0->-r requirements.txt (line 1))
    Requirement already satisfied: six in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wolframalpha==3.0->-r requirements.txt (line 1))
    Requirement already satisfied: jaraco.itertools>=2.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wolframalpha==3.0->-r requirements.txt (line 1))
    Requirement already satisfied: xmltodict in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wolframalpha==3.0->-r requirements.txt (line 1))
    Requirement already satisfied: more-itertools>=2.6 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from jaraco.itertools>=2.0->wolframalpha==3.0->-r requirements.txt (line 1))
    Requirement already satisfied: inflect in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from jaraco.itertools>=2.0->wolframalpha==3.0->-r requirements.txt (line 1))
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    You are using pip version 9.0.1, however version 9.0.3 is available.
    You should consider upgrading via the ‘pip install --upgrade pip’ command.
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    Re-running PIP on requirements.txt
    10:54:15.069 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
    10:54:15.158 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
    10:54:17.140 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
    10:54:17.155 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
    10:54:17.158 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
    10:54:17.170 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
    10:54:17.182 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
    10:54:17.898 - requests.packages.urllib3.connectionpool - DEBUG - ttps://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
    10:54:17.902 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
    10:54:18.305 - requests.packages.urllib3.connectionpool - DEBUG - ttp://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
    10:54:18.309 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
    10:54:18.790 - requests.packages.urllib3.connectionpool - DEBUG - ttps://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
    10:54:18.797 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
    10:54:19.276 - requests.packages.urllib3.connectionpool - DEBUG - ttps://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
    10:54:19.320 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/opt/mycroft/web_config_cache.json’ not found
    10:54:19.322 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
    10:54:19.327 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
    Could not connect to websocket, no message sent
    msm: error 20
    shinkimancer@temple ~/mycroft-core $

Thanks.


#2

So, msm error 20 is Skill already installed - you can see the whole list of msm error codes. When you run msm default, it tries to install all the default Skills, so this is why the error is occurring. You could try:
msm update skill-pairing just to make sure it’s updated.

If you can’t get a pairing code, there’s a few things to try:

  • Is your audio working - ie can Mycroft hear the request for ‘pair my device’?
  • If you start up the CLI using ./start-mycroft cli what happens?

#3

I tried to update with msm, but the same errors have occurred. Mycroft undestands the wake word and listens, but doesn’t understand the voice commands. With the cli some skill works (“check version”), but Mycroft doesn’t undestand the “pair my device”.

Here the output of the msm update:

shinkimancer@temple ~ $ cd mycroft-core/
shinkimancer@temple ~/mycroft-core $ ./msm/msm update skill-pairing
Updating installed skills…
16:32:09.979 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
16:32:10.085 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
16:32:12.917 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
16:32:12.933 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
16:32:12.935 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
16:32:12.946 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
16:32:12.970 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
16:32:13.641 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
16:32:13.645 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
16:32:13.892 - requests.packages.urllib3.connectionpool - DEBUG - http://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
16:32:13.895 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
16:32:14.335 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
16:32:14.341 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
16:32:14.766 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
16:32:14.772 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/opt/mycroft/web_config_cache.json’ not found
16:32:14.773 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
16:32:14.774 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
Could not connect to websocket, no message sent
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-date-time.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-configuration.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-hello-world.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-pairing.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-audio-record.
fatal: No such ref: HEAD
Skipped /opt/mycroft/skills/skill-ip.
Checked /opt/mycroft/skills/mycroft-timer.
Re-running PIP on requirements.txt
Checked /opt/mycroft/skills/skill-version-checker.
Re-running PIP on requirements.txt
Checked /opt/mycroft/skills/skill-stop.
Re-running PIP on requirements.txt
Checked /opt/mycroft/skills/skill-playback-control.
Re-running PIP on requirements.txt
Checked /opt/mycroft/skills/skill-speak.
Re-running PIP on requirements.txt
fatal: Unable to create ‘/opt/mycroft/skills/skill-stock/.git/index.lock’: File già esistente.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
fatal: Unable to create ‘/opt/mycroft/skills/skill-volume/.git/index.lock’: File già esistente.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
fatal: Unable to create ‘/opt/mycroft/skills/fallback-duckduckgo/.git/index.lock’: File già esistente.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
Checked /opt/mycroft/skills/skill-naptime.
Checked /opt/mycroft/skills/skill-reminder.
Checked /opt/mycroft/skills/fallback-unknown.
Checked /opt/mycroft/skills/skill-support.
Checked /opt/mycroft/skills/skill-personal.
Checked /opt/mycroft/skills/skill-spelling.
Checked /opt/mycroft/skills/skill-volume.
Checked /opt/mycroft/skills/skill-singing.
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Checked /opt/mycroft/skills/fallback-wolfram-alpha.
Installing requirements…
Checked /opt/mycroft/skills/skill-weather.
Installing requirements…
Checked /opt/mycroft/skills/skill-wiki.
Installing requirements…
Checked /opt/mycroft/skills/fallback-aiml.
Installing requirements…
Checked /opt/mycroft/skills/skill-npr-news.
Installing requirements…
Checked /opt/mycroft/skills/skill-alarm.
Installing requirements…
Checked /opt/mycroft/skills/skill-stock.
Installing requirements…
Checked /opt/mycroft/skills/fallback-duckduckgo.
Installing requirements…
Requirement already satisfied: duckduckgo2 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: wolframalpha==3.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: feedparser==5.2.1 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: arrow==0.12.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: wikipedia==1.4.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: aiml in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: multi-key-dict==2.0.3 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: pyowm==2.6.1 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: requests==2.13.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: requests==2.13.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: requests<3.0.0,>=2.0.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wikipedia==1.4.0->-r requirements.txt (line 1))
Requirement already satisfied: requests==2.13.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied: beautifulsoup4 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wikipedia==1.4.0->-r requirements.txt (line 1))
Requirement already satisfied: six in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wolframalpha==3.0->-r requirements.txt (line 1))
Requirement already satisfied: jaraco.itertools>=2.0 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wolframalpha==3.0->-r requirements.txt (line 1))
Requirement already satisfied: xmltodict in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from wolframalpha==3.0->-r requirements.txt (line 1))
Requirement already satisfied: more-itertools>=2.6 in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from jaraco.itertools>=2.0->wolframalpha==3.0->-r requirements.txt (line 1))
Requirement already satisfied: inflect in /home/shinkimancer/.virtualenvs/mycroft/lib/python2.7/site-packages (from jaraco.itertools>=2.0->wolframalpha==3.0->-r requirements.txt (line 1))
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Re-running PIP on requirements.txt
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Re-running PIP on requirements.txt
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
Re-running PIP on requirements.txt
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
Re-running PIP on requirements.txt
16:33:00.574 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
16:33:00.671 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
16:33:04.379 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
16:33:04.396 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
16:33:04.397 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
16:33:04.412 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
16:33:04.429 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
16:33:04.982 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
16:33:04.986 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
16:33:05.255 - requests.packages.urllib3.connectionpool - DEBUG - http://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
16:33:05.258 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
16:33:05.814 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
16:33:05.821 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
16:33:06.262 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
16:33:06.292 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/opt/mycroft/web_config_cache.json’ not found
16:33:06.293 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
16:33:06.295 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
Could not connect to websocket, no message sent
shinkimancer@temple ~/mycroft-core $

And here the voice log:

20:20:00.155 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
20:20:00.468 - root - INFO - Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
20:20:04.088 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
20:20:04.090 - mycroft.configuration.config:load_local:128 - DEBUG - Configuration /home/shinkimancer/mycroft-core/mycroft/configuration/mycroft.conf loaded
20:20:04.091 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
20:20:04.093 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
20:20:04.179 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:20:04.988 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
20:20:04.999 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
20:20:05.210 - requests.packages.urllib3.connectionpool - DEBUG - http://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
20:20:05.214 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
20:20:05.715 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
20:20:05.723 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:20:06.212 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:20:06.222 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/opt/mycroft/web_config_cache.json’ not found
20:20:06.223 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/etc/mycroft/mycroft.conf’ not found
20:20:06.224 - mycroft.configuration.config:load_local:133 - DEBUG - Configuration ‘/home/shinkimancer/.mycroft/mycroft.conf’ not found
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,‘IEC958 Playback Default’,0,0,0): No such file or directory
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,‘IEC958 Playback Default’,0,0,0): No such file or directory
ALSA lib setup.c:548:(add_elem) Cannot obtain info for CTL elem (MIXER,‘IEC958 Playback Default’,0,0,0): No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
20:20:09.351 - mycroft.client.speech.listener:create_wake_word_recognizer:246 - INFO - creating wake word engine
20:20:09.364 - mycroft.client.speech.hotword_factory:create_hotword:268 - INFO - creating hey mycroft
20:20:10.439 - mycroft.client.speech.listener:create_wakeup_recognizer:264 - INFO - creating stand up word engine
20:20:10.441 - mycroft.client.speech.hotword_factory:create_hotword:268 - INFO - creating wake up
20:20:10.590 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:20:11.030 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
20:20:11.034 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
20:20:11.241 - requests.packages.urllib3.connectionpool - DEBUG - http://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
20:20:11.243 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
20:20:11.750 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
20:20:11.764 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:20:12.281 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:20:12.289 - mycroft.messagebus.client.ws:on_open:61 - INFO - Connected
20:20:14.918 - mycroft.client.speech.mic:listen:523 - DEBUG - Waiting for wake word…
20:20:26.279 - main:handle_complete_intent_failure:81 - INFO - Failed to find intent.
20:21:30.783 - mycroft.client.speech.mic:listen:528 - DEBUG - Recording…
20:21:30.784 - main:handle_record_begin:35 - INFO - Begin Recording…
20:21:33.846 - main:handle_record_end:40 - INFO - End Recording…
20:21:33.972 - mycroft.session:get:76 - INFO - New Session Start: fa1f0f6d-6ff9-4ece-826b-2cc3ce2123c1
20:21:33.973 - main:handle_wakeword:56 - INFO - Wakeword Detected: hey mycroft
20:21:34.131 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:34.781 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “POST /v1/stt?lang=en-US&limit=1 HTTP/1.1” 401 38
20:21:34.786 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:34.830 - mycroft.client.speech.mic:listen:523 - DEBUG - Waiting for wake word…
20:21:35.266 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:21:35.332 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:36.030 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “POST /v1/stt?lang=en-US&limit=1 HTTP/1.1” 401 38
20:21:36.036 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:36.614 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:21:36.619 - mycroft.client.speech.listener:transcribe:176 - WARNING - Access Denied at mycroft.ai
20:21:36.621 - main:handle_utterance:61 - INFO - Utterance: [‘pair my device’]
20:21:36.635 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:37.126 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
20:21:37.129 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
20:21:37.344 - requests.packages.urllib3.connectionpool - DEBUG - http://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
20:21:37.346 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
20:21:37.790 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
20:21:37.797 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:38.375 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:21:48.118 - mycroft.client.speech.mic:listen:528 - DEBUG - Recording…
20:21:48.119 - main:handle_record_begin:35 - INFO - Begin Recording…
20:21:50.748 - main:handle_record_end:40 - INFO - End Recording…
20:21:50.774 - main:handle_wakeword:56 - INFO - Wakeword Detected: hey mycroft
20:21:50.798 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:51.456 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “POST /v1/stt?lang=en-US&limit=1 HTTP/1.1” 401 38
20:21:51.461 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:51.738 - mycroft.client.speech.mic:listen:523 - DEBUG - Waiting for wake word…
20:21:51.932 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:21:51.950 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:52.631 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “POST /v1/stt?lang=en-US&limit=1 HTTP/1.1” 401 38
20:21:52.636 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:53.057 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:21:53.061 - mycroft.client.speech.listener:transcribe:176 - WARNING - Access Denied at mycroft.ai
20:21:53.062 - main:handle_utterance:61 - INFO - Utterance: [‘pair my device’]
20:21:53.081 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:53.555 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device/ HTTP/1.1” 301 106
20:21:53.558 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): api.mycroft.ai
20:21:53.823 - requests.packages.urllib3.connectionpool - DEBUG - http://api.mycroft.ai:80 “GET /v1/device HTTP/1.1” 302 0
20:21:53.825 - requests.packages.urllib3.connectionpool - DEBUG - Resetting dropped connection: api.mycroft.ai
20:21:54.946 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/device HTTP/1.1” 401 38
20:21:54.951 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
20:21:55.729 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “GET /v1/auth/token HTTP/1.1” 401 38
20:22:20.877 - mycroft.messagebus.client.ws:on_error:72 - WARNING - Could not send message because connection has closed


#4

It may sound wrong but, try turning the mic level down.

I had a similar problem and reducing the mic level helped quite a bit.

I still need a good mic as I am using the one on the computer.

I make no guarantees as I am new to this myself.

C


#5

@shinkimancer thanks for the logs. I’m not sure exactly what’ happening here.

Just to be clear, are you typing the Utterance pair my device into the command line or are you speaking pair my device?

Have you tried both?


#6

I tried both, and after typing Hey Mycroft, pair my device, Mycroft answer that he doesn’t understand me.

If I have to guess: the fatal: No such ref: HEAD after the msm update is a git error. The skill directory is present but doesn’t work as a git repository. Now I will try to delete a skill directory and run a ./msm default

Thanks again!


#7

This worked, at least for the pairing skill. Now the device is paired. I will try this method also for the other skills.


#8

Thanks for the update! Please do keep us updated on how you go.


#9

Deleting manually the “compromised” folders (the ones with the fatal: No such ref: HEAD) and a ./msm/msm default worked. Just out of curiosity, I started a virtual machine with Debian and another one with Mint and could not replicate the bug so… everything is fine and the problem was on my machine, I guess? :thinking:

Thanks again and see you on other topics!