Build an open future with us.

Invest in Mycroft and become a community partner.

How to debug errors in skill


#1

Hi,

Currently my mark 1 will successfully tell me the weather when I ask for it, BUT after doing so will say to me “An error occured whilst processing request in weather skill”.

How can I find out just what that error is, and so how to fix it?


#2

Firstly, try using the Support Skill to help generate information for a support ticket:

If you’re comfortable SSH’ing into your Mark 1, you can have a look at the logs.

Kind regards,
Kathy


#3

I’m seeing this quite a bit in the skills log:

20:41:54.896 - mycroft.skills.settings:_poll_skill_settings:386 - ERROR - 
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/mycroft_core-0.9.14-py2.7.egg/mycroft/skills/settings.py", line 383, in _poll_skill_settings
    self.update_remote()
  File "/usr/local/lib/python2.7/site-packages/mycroft_core-0.9.14-py2.7.egg/mycroft/skills/settings.py", line 363, in update_remote
    self.save_skill_settings(skills_settings)
  File "/usr/local/lib/python2.7/site-packages/mycroft_core-0.9.14-py2.7.egg/mycroft/skills/settings.py", line 211, in save_skill_settings
    self[field['name']] = field['value']
KeyError: 'value'

This happened after I sudo rm -Rf ed the skills folder and did sudo msm default.


#4

Thanks for pointing that out, we’ve identified an issue on our end that caused that error and will be pushing a fix for it within a day.