I’ve tried removing and reinstalling. It shows the skill is installed i.e. skills in CLI. But is a different colour when the list of skills are displayed the NPR skill is a different colour.
fallback-unknown.mycroftai
fallback-wolfram-alpha.mycroftai
mycroft-alarm.mycroftai
mycroft-audio-record.mycroftai
mycroft-configuration.mycroftai
mycroft-date-time.mycroftai
mycroft-fallback-duck-duck-go.mycroftai
mycroft-hello-world.mycroftai
mycroft-installer.mycroftai
mycroft-ip.mycroftai
mycroft-joke.mycroftai
mycroft-naptime.mycroftai
mycroft-npr-news.mycroftai
mycroft-pairing.mycroftai
mycroft-pandora.mycroftai
mycroft-personal.mycroftai
mycroft-playback-control.mycroftai
mycroft-reminder.mycroftai
mycroft-singing.mycroftai
mycroft-speak.mycroftai
mycroft-spelling.mycroftai
mycroft-spotify.forslund
mycroft-stock.mycroftai
mycroft-stop.mycroftai
mycroft-support-helper.mycroftai
mycroft-timer.mycroftai
mycroft-version-checker.mycroftai
mycroft-volume.mycroftai
mycroft-weather.mycroftai
mycroft-wiki.mycroftai
plasma-activities-skill.aiix
my log ouput
16:56:08.903 - main:handle_utterance:61 - INFO - Utterance: [‘play news’]
16:56:09.022 - Playback Control Skill - INFO - Resolving Player for: news
16:56:09.037 - mycroft-pandora_mycroftai:_extract_station:389 - INFO - ‘NoneType’ object is not subscriptable
I was having a problem with the NPR news skill.
I am running the “Lighting preview” that is a git install.
The following fixed my problem.
You should be able to run:
cd ~/mycroft-core
Hi Kathy see output
TP/1.1" 200 928
22:54:10.692 - mycroft.configuration.config:load_local:109 - DEBUG - Configuration /etc/mycroft/mycroft.conf loaded
22:54:10.860 - mycroft.configuration.config:load_local:109 - DEBUG - Configuration /home/pi/.mycroft/mycroft.conf loaded
(.venv) pi@picroft:~/mycroft-core $ ls -las /opt/mycroft/skills
total 128
4 drwxr-xr-x 32 pi pi 4096 Oct 30 22:38 .
4 drwxr-xr-x 4 pi pi 4096 Oct 30 16:42 …
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 fallback-unknown.mycroftai
4 drwxr-xr-x 8 pi pi 4096 Oct 30 16:38 fallback-wolfram-alpha.mycroftai
0 -rw-r–r-- 1 pi pi 0 Oct 30 22:40 .msm
4 drwxr-xr-x 9 pi pi 4096 Oct 30 16:38 mycroft-alarm.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 mycroft-audio-record.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-configuration.mycroftai
4 drwxr-xr-x 8 pi pi 4096 Oct 30 16:38 mycroft-date-time.mycroftai
4 drwxr-xr-x 4 pi pi 4096 Oct 30 16:38 mycroft-fallback-duck-duck-go.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-hello-world.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-installer.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 mycroft-ip.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 mycroft-joke.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-naptime.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 21:39 mycroft-npr-news.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:36 mycroft-pairing.mycroftai
4 drwxr-xr-x 5 pi pi 4096 Oct 30 16:42 mycroft-pandora.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-personal.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 mycroft-playback-control.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-reminder.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-singing.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-speak.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-spelling.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 22:38 mycroft-spotify.forslund
4 drwxr-xr-x 8 pi pi 4096 Oct 30 16:38 mycroft-stock.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 mycroft-stop.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-support-helper.mycroftai
4 drwxr-xr-x 7 pi pi 4096 Oct 30 16:38 mycroft-timer.mycroftai
4 drwxr-xr-x 6 pi pi 4096 Oct 30 16:38 mycroft-version-checker.mycroftai
4 drwxr-xr-x 8 pi pi 4096 Oct 30 16:36 mycroft-volume.mycroftai
4 drwxr-xr-x 8 pi pi 4096 Oct 30 16:38 mycroft-weather.mycroftai
4 drwxr-xr-x 8 pi pi 4096 Oct 30 16:38 mycroft-wiki.mycroftai
(.venv) pi@picroft:~/mycroft-core $
I still having no luck with NPR news. Ive check the version and its the latest. When i ask to "play the lates news " I get a spotify error. see scren capture
Have you updated your mycroft-core to the latest version - 18.8.4?
And has your Skill been updated to the latest version, usually by rebooting your Device?
Hi there @Gary_Robinson, when you say it’s not working, what are the specific symptoms?
Is it just the NPR news that doesn’t work? What happens if you change the news to say the BBC broadcast or the NBC broadcast?
Are there any errors in your skills.log for the NPR News Skill - if you’re comfortable sshing in to your device I can walk you through finding the skills.log.
this is from the log
15:42:52.971 - mycroft.skills.core:load_skill:159 - ERROR - Failed to load skill: mycroft-npr-news.mycroftai
Traceback (most recent call last):
File “/home/mycroft/mycroft-core/mycroft/skills/core.py”, line 143, in load_skill
raise e
File “/home/mycroft/mycroft-core/mycroft/skills/core.py”, line 138, in load_skill
skill._register_decorated()
File “/home/mycroft/mycroft-core/mycroft/skills/core.py”, line 559, in _register_decorated
method = getattr(self, attr_name)
File “/opt/mycroft/skills/mycroft-npr-news.mycroftai/init.py”, line 67, in url_rss
for link in data[‘entries’][0][‘links’]:
IndexError: list index out of range
regards
Gary
Super helpful, thank you. These logs showed that the error is occurring in this line of this file; File "/opt/mycroft/skills/mycroft-npr-news.mycroftai/__init__.py", line 53, in url_rss
I took a look at this Python code; url_rss = self.settings.get("url_rss")
This is the setting that is used if a “custom” URL is set. Do you have a custom news URL set and if so, could you please let me know what it is?