Comments (5)
Also have some trouble with loading this skill in 20.2.x
:
tail /var/log/mycroft/skills.log -n 1000 | grep kodi
2020-03-23 13:43:12.439 | INFO | 1905 | mycroft.skills.skill_loader:load:114 | ATTEMPTING TO LOAD SKILL: kodi-skill.pcwii
2020-03-23 13:43:14.441 | INFO | 1905 | mycroft.skills.settings:get_local_settings:78 | /opt/mycroft/skills/kodi-skill.pcwii/settings.json
File "/opt/mycroft/skills/kodi-skill.pcwii/__init__.py", line 64, in initialize
2020-03-23 13:43:15.504 | ERROR | 1905 | mycroft.skills.skill_loader:_communicate_load_status:286 | Skill kodi-skill.pcwii failed to load
2020-03-23 13:48:44.112 | INFO | 3288 | mycroft.skills.skill_loader:load:114 | ATTEMPTING TO LOAD SKILL: kodi-skill.pcwii
2020-03-23 13:48:47.535 | INFO | 3288 | mycroft.skills.settings:get_local_settings:78 | /opt/mycroft/skills/kodi-skill.pcwii/settings.json
File "/opt/mycroft/skills/kodi-skill.pcwii/__init__.py", line 64, in initialize
The settings.json file doesn't exist after fresh install so perhaps that is the problem. I will see if I can get it started.
from kodi-skill.
I created a faked settings.json
file and now get this error:
mycroft.skills.skill_loader:_create_skill_instance:249 | Skill initialization failed with AttributeError("'dict' object has no attribute 'set_changed_callback'")
Traceback (most recent call last):
File "/opt/mycroft/mycroft/skills/skill_loader.py", line 243, in _create_skill_instance
self.instance.initialize()
File "/opt/mycroft/skills/kodi-skill.pcwii/__init__.py", line 64, in initialize
self.settings.set_changed_callback(self.on_websettings_changed)
AttributeError: 'dict' object has no attribute 'set_changed_callback'
So there has perhaps been a slight API change for skills.
from kodi-skill.
I am experiencing the same problem. If you need someone to test any new developments, let me know.
from kodi-skill.
@Nyndroth, @scottsweb, @tempuser0012 Thanks for the info. There was a breaking change in 20.2 that changed the syntax of the 'set_changed_callback' (basically a notification if the web settings are updated. I have corrected this and it should work as expected.
from kodi-skill.
Thanks, will give it a test.
from kodi-skill.
Related Issues (11)
- Newbie Issues with kodi-skill HOT 2
- request audio control
- Play Movie/Film command not working HOT 3
- add other languages
- Issue with playing movies
- We'd really like to have the Kodi Skill on the 18.08 branch of mycroft-skills
- Could you elaborate on line 111?
- Trying to show german movies HOT 1
- Skill not appearing in home.mycroft.ai HOT 5
- Feature request: Play Favorites HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kodi-skill.