Skills log eror

Can anyone help me fiure out why my skill installations dont work?


Establishing Mycroft Messagebus connection...
 20:24:32.708 | WARNING  | 23789 | ConfigurationSkill | Failed to update settings, will retry later
 20:24:49.576 | ERROR    | 23789 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for mycroft-pairing|21.02
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/settings.py", line 304, in _issue_api_call
    self.api.upload_skill_metadata(self.settings_meta)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 371, in upload_skill_metadata
    return self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
    return self.get_response(response, no_refresh)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 170, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: {'skill_gid': ['Received skill setting definition before manifest for skill mycroft-pairing|21.02']}
 20:24:50.833 | ERROR    | 23789 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for mycroft-joke|21.02
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/settings.py", line 304, in _issue_api_call
    self.api.upload_skill_metadata(self.settings_meta)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 371, in upload_skill_metadata
    return self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
    return self.get_response(response, no_refresh)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 170, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: {'skill_gid': ['Received skill setting definition before manifest for skill mycroft-joke|21.02']}
 20:24:50.998 | ERROR    | 23789 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for fallback-query|21.02
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/settings.py", line 304, in _issue_api_call
    self.api.upload_skill_metadata(self.settings_meta)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 371, in upload_skill_metadata
    return self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
    return self.get_response(response, no_refresh)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 170, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: {'skill_gid': ['Received skill setting definition before manifest for skill fallback-query|21.02']}
 20:24:51.011 | ERROR    | 23789 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for mycroft-reminder|21.02

This snippet is too short and the cause most likely way up there.

Best bet is to truncate the skills log, reboot/restart and hammer the log into pastebin(.com)

1 Like

Like with this issue i think it’s a pairing problem

Here I have shortened the various debuing warnings/errors launching debug warnings

WARNING: You are using pip version 20.0.2; however, version 21.3.1 is available.
You should consider upgrading via the '/home/sean/mycroft-core/.venv/bin/python -m pip install --upgrade pip' command.
Building with 3 cores.
Skipping mimic build.
dev_setup.sh: line 628: .installed: Permission denied
Starting all mycroft-core services
Initializing...
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 voice
Starting background service enclosure
Starting cli
2021-11-29 13:46:28.498 | WARNING  | 146354 | mycroft.configuration.config:_log_old_location_deprecation:175 | 
 ===============================================
 ==             DEPRECATION WARNING           ==
 ===============================================
 You still have a config file at /home/sean/.mycroft/mycroft.conf
 Note that this location is deprecated and will not be used in the future
 Please move it to /home/sean/.config/mycroft
2021-11-29 13:46:28.676 | INFO     | 146354 | mycroft.messagebus.load_config:load_message_bus_config:33 | Loading message bus configs
2021-11-29 13:46:28.678 | WARNING  | 146354 | mycroft.client.text.text_client:load_settings:180 |  ===============================================
2021-11-29 13:46:28.679 | WARNING  | 146354 | mycroft.client.text.text_client:load_settings:181 |  ==             DEPRECATION WARNING           ==
2021-11-29 13:46:28.679 | WARNING  | 146354 | mycroft.client.text.text_client:load_settings:182 |  ===============================================
2021-11-29 13:46:28.680 | WARNING  | 146354 | mycroft.client.text.text_client:load_settings:183 |  You still have a config file at /home/sean/.mycroft_cli.conf
2021-11-29 13:46:28.681 | WARNING  | 146354 | mycroft.client.text.text_client:load_settings:185 |  Note that this location is deprecated and will not be used in the future
2021-11-29 13:46:28.681 | WARNING  | 146354 | mycroft.client.text.text_client:load_settings:187 |  Please move it to /home/sean/.config/mycroft/mycroft_cli.conf

**In debug cli**

Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/skill_loader.py", line 292, in _create_skill_instance
    self.instance = skill_module.create_skill()
  File "/opt/mycroft/skills/mycroft-stock.mycroftai/__init__.py", line 131, in create_skill
    return StockSkill()
  File "/opt/mycroft/skills/mycroft-stock.mycroftai/__init__.py", line 91, in __init__
    raise Exception('Skill has been intentionally disabled by Mycroft')
Exception: Skill has been intentionally disabled by Mycroft
 13:40:18.853 | ERROR    | 144991 | mycroft.skills.skill_loader:_communicate_load_status:351 | Skill mycroft-stock.mycroftai failed to load

13:40:24.836 | ERROR    | 144991 | mycroft.skills.skill_updater:post_manifest:207 | Could not upload skill manifest
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/skill_updater.py", line 205, in post_manifest
    device_api.upload_skills_data(self.msm.device_skill_state)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 413, in upload_skills_data
    self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
    return self.get_response(response, no_refresh)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 170, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

13:40:25.009 | ERROR    | 144991 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for mycroft-pairing|21.02
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/settings.py", line 304, in _issue_api_call
    self.api.upload_skill_metadata(self.settings_meta)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 371, in upload_skill_metadata
    return self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
    return self.get_response(response, no_refresh)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 170, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: {'skill_gid': ['Received skill setting definition before manifest for skill mycroft-pairing|21.02']}
 13:40:25.189 | ERROR    | 144991 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for mycroft-volume|21.02
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/settings.py", line 304, in _issue_api_call
    self.api.upload_skill_metadata(self.settings_meta)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 371, in upload_skill_metadata
    return self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
    return self.get_response(response, no_refresh)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 170, in get_response
    raise HTTPError(data, response=response)
requests.exceptions.HTTPError: {'skill_gid': ['Received skill setting definition before manifest for skill mycroft-volume|21.02']}
 13:40:25.331 | INFO     | 144991 | QuestionsAnswersSkill | Timeout occured check responses
 13:40:25.362 | ERROR    | 144991 | mycroft.skills.settings:_issue_api_call:306 | Failed to upload skill settings meta for mycroft-reminder|21.02
Traceback (most recent call last):
  File "/home/sean/mycroft-core/mycroft/skills/settings.py", line 304, in _issue_api_call
    self.api.upload_skill_metadata(self.settings_meta)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 371, in upload_skill_metadata
    return self.request({
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 64, in request
    return self.send(params)
  File "/home/sean/mycroft-core/mycroft/api/__init__.py", line 147, in send
```
```

Highly unusual.

bash script:
md5sum requirements/requirements.txt requirements/extra-audiobackend.txt requirements/extra-stt.txt requirements/extra-mark1.txt requirements/tests.txt dev_setup.sh > .installed

ie this is the base directory

Do yourself a favour and start from scratch

1 Like

skills log

not a pairing error, i set up a picroft and skills installed both with msm and manual do not work. Mycroft doesn’t recognize “install stock skill” so I did so with both msm and manual. Essentially ant skill that you cannot ask mycroft to install does not work

is there a way to print the entire log file to a text file? Cat returns a massive amount of text that cannot be copied

As far as i know the stock skill is deactivated, so no matter what you do it wont load. ( @gez-mycroft if this is the case, please make this visible in the marketplace; better: drop it)

why do you want to cat (the whole file to another file) when you have the file? if you want to copy it into .txt cp skills.log skills.txt
(which is unnecessary, since we/you could open anything with an editor)

cat skills.log | grep ERROR > somefile.txt is a possibility to dump certain lines into another file. But this is pretty impossible to diagnose. (without context)

Yet, don’t dump another 32mb file (which contained mostly loops)

1 Like

to read errors at the beginning of the script that terminal will not scroll to

Check this out

can’t reproduce (many things). I installed the skill with

mycroft-msm install https://github.com/ChristopherRogers1991/mycroft_routine_skill.git

and voila

2021-12-02 22:35:45.490 | INFO     | 15368 | mycroft.skills.skill_loader:load:185 | ATTEMPTING TO LOAD SKILL: mycroft_routine_skill.christopherrogers1991
2021-12-02 22:35:45.491 | DEBUG    | 15368 | mycroft.skills.skill_loader:remove_submodule_refs:44 | Skill module: mycroft_routine_skill_christopherrogers1991
2021-12-02 22:35:45.626 | INFO     | 15368 | mycroft.skills.settings:get_local_settings:83 | /opt/mycroft/skills/mycroft_routine_skill.christopherrogers1991/settings.json
2021-12-02 22:35:45.627 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft.skill.enable_intent
2021-12-02 22:35:45.627 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft.skill.disable_intent
2021-12-02 22:35:45.628 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft.skill.set_cross_context
2021-12-02 22:35:45.628 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft.skill.remove_cross_context
2021-12-02 22:35:45.629 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft.skills.settings.changed
2021-12-02 22:35:45.629 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.set
2021-12-02 22:35:45.634 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:RunRoutine
2021-12-02 22:35:45.638 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:EnableRoutine
2021-12-02 22:35:45.641 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:ListRoutines
2021-12-02 22:35:45.652 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:DeleteRoutine
2021-12-02 22:35:45.656 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:DisableRoutine
2021-12-02 22:35:45.658 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:ScheduleRoutine
2021-12-02 22:35:45.660 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:CreateRoutine
2021-12-02 22:35:45.662 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:DescribeRoutine
2021-12-02 22:35:45.663 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991:ShowRoutines
2021-12-02 22:35:45.673 | INFO     | 15368 | apscheduler.scheduler | Scheduler started
2021-12-02 22:35:45.674 | DEBUG    | 15368 | apscheduler.scheduler | Looking for jobs to run
2021-12-02 22:35:45.674 | DEBUG    | 15368 | apscheduler.scheduler | No jobs; waiting until a job is added
2021-12-02 22:35:45.674 | WARNING  | 15368 | mycroft_routine_skill_christopherrogers1991 | Routines file not found. Initializing empty dict.
2021-12-02 22:35:45.675 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft.skill.handler.complete
2021-12-02 22:35:45.675 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.run_routine
2021-12-02 22:35:45.675 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.edit_routine
2021-12-02 22:35:45.676 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.rename_routine
2021-12-02 22:35:45.676 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.delete_routine
2021-12-02 22:35:45.677 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.edit_task
2021-12-02 22:35:45.677 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.add_task
2021-12-02 22:35:45.677 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.move_task
2021-12-02 22:35:45.678 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.delete_task
2021-12-02 22:35:45.678 | DEBUG    | 15368 | mycroft.skills.mycroft_skill.event_container:add:153 | Added event: mycroft_routine_skill.christopherrogers1991.skill.mycroft_routine_skill.add_routine
2021-12-02 22:35:45.678 | INFO     | 15368 | mycroft.skills.skill_loader:_check_for_first_run:324 | First run of mycroft_routine_skill.christopherrogers1991
2021-12-02 22:35:45.679 | INFO     | 15368 | mycroft.skills.settings:save_settings:115 | Skill settings successfully saved to /home/sgee/.config/mycroft/skills/mycroft_routine_skill.christopherrogers1991/settings.json
2021-12-02 22:35:45.681 | INFO     | 15368 | mycroft.skills.skill_loader:_communicate_load_status:344 | Skill mycroft_routine_skill.christopherrogers1991 loaded successfully

Does it respond to “create routine”

yes. (tested in german) As i would guess in english, adapt intent is set to “create”+“routine”

btw i would suggest sudo truncate -s0 /var/log/mycroft/skills.log (to clear your log)

Yeah the Stock Skill got removed from the Marketplace, however it’s still in system images created prior to that. So will still show up for a little while longer.

Don’t get it. system images? (So, you can’t edit the db easily?) Mycroft Marketplace

Since it looks like it shows (parts of) README.md, those changes could be hinted at.

Oh it’s still on the web interface. Will trigger a refresh there.

It has already been removed from the mycroft-skills repo that sits behind the marketplace. So it won’t install by voice, and won’t be installed on new devices.

The system images I meant are like Mark 1 or Picroft images that already have the Skill pre-installed - or anyone that setup their Mycroft install when it was a default Skill. They’ll all have the deactivated version of the Skill now.

reboot it and restart again.