MycroftAI / enclosure-picroft

Mycroft interface for Raspberry Pi environment
https://mycroft.ai/documentation/picroft
GNU Lesser General Public License v3.0
806 stars 192 forks source link

Error while processing skills #54

Closed SergioML9 closed 6 years ago

SergioML9 commented 6 years ago

Hi,

I'm running picroft on a Raspberry Pi 3. I don't have any microphone yet, so I'm testing it using the command "say_to_mycroft". The problem is that when I trigger my custom skill, after saying the response that I want, Mycroft says "An error occurred while processing a request in SKILL_NAME skill". I have been reading the logs and I can see this message. This message appears in the log also for the pre-installed skills, but it does not says it:

22:01:16.934 - mycroft.skills.main:handle_converse_request:510 - ERROR - Error in converse method for skill 132214865 Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/mycroft_core-0.9.17-py2.7.egg/mycroft/skills/main.py", line 504, in handle_converse_request result = instance.converse(utterances, lang) AttributeError: 'NoneType' object has no attribute 'converse'

Thanks in advance !

nevercast commented 6 years ago

Looks like an issue in the core. Do you mind posting the issue to https://github.com/MycroftAI/mycroft-core ?

Error line here https://github.com/MycroftAI/mycroft-core/blob/dev/mycroft/skills/main.py#L504 Instance comes from here https://github.com/MycroftAI/mycroft-core/blob/dev/mycroft/skills/main.py#L497 Which comes from the skill.

You'll probably have to show source for your skill, or at minimum, a cut down version so that the issue can be reproduced.

Cheers

SergioML9 commented 6 years ago

Sorry, I had a problem while installing my skill and I had different installations of it. Everything has been solved after rebooting. Thanks very much for your early response.

Cheers