Skill not appearing in home.mycroft.ai
Closed this issue · 5 comments
It might not be loading correctly. I'm using a Mark I and I believe it is up to date. Looking in the skills log I see some messages about deprecated settings functions or something. I will past the log entries when I get to my computer later.
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
handler(message)
File "/opt/mycroft/skills/kodi-skill.pcwii/init.py", line 592, in handle_play_film_intent
movie_name = self.movie_regex(message.data.get('utterance'))
File "/opt/mycroft/skills/kodi-skill.pcwii/init.py", line 394, in movie_regex
LOG.info(my_movie)
UnboundLocalError: local variable 'my_movie' referenced before assignment
2019-11-25 21:08:28.203 | INFO | 15189 | Playback Control Skill | Resolving Player for: home alone
2019-11-25 21:08:28.221 | INFO | 15189 | mycroft.skills.settings:save_settings:109 | Skill settings successfully saved to /opt/mycroft/skills/mycroft-playback-control.mycroftai/settings.json
2019-11-25 21:08:28.305 | INFO | 15189 | mycroft-pandora_mycroftai:_extract_station:426 | generator raised StopIteration
2019-11-25 21:08:28.321 | INFO | 15189 | mycroft.skills.settings:save_settings:109 | Skill settings successfully saved to /opt/mycroft/skills/mycroft-spotify.forslund/settings.json
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
2019-11-25 21:08:28.376 | INFO | 15189 | mycroft.skills.settings:save_settings:109 | Skill settings successfully saved to /opt/mycroft/skills/mycroft-npr-news.mycroftai/settings.json
2019-11-25 21:08:28.399 | INFO | 15189 | mycroft.skills.settings:save_settings:109 | Skill settings successfully saved to /opt/mycroft/skills/mycroft-pandora.mycroftai/settings.json
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
2019-11-25 21:08:28.740 | INFO | 15189 | Playback Control Skill | No matches
2019-11-25 21:08:44.767 | INFO | 15189 | kodi-skill_pcwii:handle_play_film_intent:583 | Called Play Film Intent
2019-11-25 21:08:44.785 | ERROR | 15189 | mycroft.skills.mycroft_skill.mycroft_skill:on_error:785 | An error occurred while processing a request in Kodi Skill
Traceback (most recent call last):
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper
handler(message)
File "/opt/mycroft/skills/kodi-skill.pcwii/init.py", line 592, in handle_play_film_intent
movie_name = self.movie_regex(message.data.get('utterance'))
File "/opt/mycroft/skills/kodi-skill.pcwii/init.py", line 394, in movie_regex
LOG.info(my_movie)
UnboundLocalError: local variable 'my_movie' referenced before assignment
Ok, this is what I get when I first install the skill.
2019-11-25 21:18:06.921 | INFO | 15189 | mycroft.skills.skill_loader:load:112 | ATTEMPTING TO LOAD SKILL: kodi-skill.pcwii
2019-11-25 21:18:06.986 | INFO | 15189 | mycroft.skills.settings:get_local_settings:78 | /opt/mycroft/skills/kodi-skill.pcwii/settings.json
2019-11-25 21:18:08.210 | WARNING | 15189 | mycroft.skills.settings:set_changed_callback:443 | DEPRECATED - set the settings_change_callback attribute
2019-11-25 21:18:08.218 | INFO | 15189 | kodi-skill_pcwii:on_websettings_changed:100 | Websettings have changed! Updating path data
2019-11-25 21:18:08.232 | ERROR | 15189 | kodi-skill_pcwii:on_websettings_changed:116 | 'kodi_ip'
2019-11-25 21:18:08.404 | INFO | 15189 | mycroft.skills.skill_loader:_check_for_first_run:251 | First run of kodi-skill.pcwii
2019-11-25 21:18:08.419 | WARNING | 15189 | mycroft.skills.settings:store:439 | DEPRECATED - use mycroft.skills.settings.save_settings()
2019-11-25 21:18:08.434 | INFO | 15189 | mycroft.skills.settings:save_settings:109 | Skill settings successfully saved to /opt/mycroft/skills/kodi-skill.pcwii/settings.json
2019-11-25 21:18:08.451 | INFO | 15189 | mycroft.skills.skill_loader:_communicate_load_status:270 | Skill kodi-skill.pcwii loaded successfully
2019-11-25 21:18:08.777 | WARNING | 15189 | mycroft.skills.settings:_update_settings_meta:302 | DEPRECATION WARNING: The "name" attribute in the settingsmeta file is no longer supported.
Update: Not sure what happened the first time isntalling the skill but it never appeared in home.mycroft.ai. After reinstalling it just now it has appeared.
Another update: It is showing up in home.mycroft.ai and I have my setting entered and I can see that they are updating in the settings.json. I know they are correct because I have 2 other kodi remote clients connected and working. However, nothing works when I try to use the skill.