Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'TuneInSkill' object has no attribute 'skill_name' #4

Closed
Dante1975X opened this issue Jan 21, 2024 · 18 comments
Closed

'TuneInSkill' object has no attribute 'skill_name' #4

Dante1975X opened this issue Jan 21, 2024 · 18 comments
Labels
bug Something isn't working

Comments

@Dante1975X
Copy link

Hi,
I'm new with ovos and really happy with it, but since a week or so, always when I use the TuneInSkill I became an error message as reply. But the skill is still working, the only problem is the error message reply, that there is a problem with the TuneInSkill.

This what I find in the log of the TuneInSkill container.

2024-01-21 00:47:05.374 - skill-ovos-tunein.openvoiceos - ERROR - 'TuneInSkill' object has no attribute 'skill_name' Traceback (most recent call last): File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/events.py", line 78, in wrapper handler(message) File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/common_play.py", line 150, in __handle_ocp_skills_get "skill_name": self.skill_name, ^^^^^^^^^^^^^^^ AttributeError: 'TuneInSkill' object has no attribute 'skill_name'

@goldyfruit
Copy link
Member

goldyfruit commented Jan 21, 2024

Are you using ovos-docker ? If yes, new images have already been build with OpenVoiceOS/OVOS-workshop@f3a571c fix.

@goldyfruit goldyfruit added the bug Something isn't working label Jan 21, 2024
@Dante1975X
Copy link
Author

Yes I'm using ovos-docker with Ubuntu, but I re-pulled all images new yesterday and a view moments ago again and the problem is still there. Do I have to change something in the docker compose files?

@goldyfruit
Copy link
Member

No changes in ovos-docker itself as the images are automatically rebuild everyday. This should have been fixed by during the rebuild with the PR mentioned.

@JarbasAl any idea?

@Dante1975X
Copy link
Author

After a view more re-pulls of the ovos containers the last days, the problem is still existent....And I have the same problem with other ocp skills like soundcloud and youtube-music

@Dante1975X
Copy link
Author

Is there anything I can do by myself to make it work?

@JarbasAl
Copy link
Member

OpenVoiceOS/OVOS-workshop#179 i think this fixes it

@goldyfruit
Copy link
Member

Working for me.

Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.896 - skills - ovos_workshop.skill_launcher:load:525 - INFO - ATTEMPTING TO LOAD PLUGIN SKILL: skill-ovos-tunein.openvoiceos
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.897 - skill-ovos-tunein.openvoiceos - DEBUG - initializing skill settings for skill-ovos-tunein.openvoiceos
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.908 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.stop
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.911 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.stop
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.915 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.stop.ping
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.918 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill.converse.ping
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.921 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.converse.ping
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.924 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill.converse.request
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.928 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.converse.request
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.931 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.activate
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.934 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.deactivate
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.937 - skills - ovos_utils.events:add:163 - DEBUG - Added event: intent.service.skills.deactivated
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.940 - skills - ovos_utils.events:add:163 - DEBUG - Added event: intent.service.skills.activated
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.943 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skill.enable_intent
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.946 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skill.disable_intent
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.949 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skill.set_cross_context
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.952 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skill.remove_cross_context
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.955 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skills.settings.changed
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.958 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill.converse.get_response
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.961 - skills - ovos_utils.events:add:163 - DEBUG - Added event: skill-ovos-tunein.openvoiceos.converse.get_response
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.965 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.query
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.968 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.featured_tracks.play
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.972 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skills.get
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.975 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skill-ovos-tunein.openvoiceos.play
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.977 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skill-ovos-tunein.openvoiceos.pause
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.980 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skill-ovos-tunein.openvoiceos.resume
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.982 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skill-ovos-tunein.openvoiceos.next
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.985 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skill-ovos-tunein.openvoiceos.previous
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.988 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.skill-ovos-tunein.openvoiceos.stop
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.990 - skills - ovos_utils.events:add:163 - DEBUG - Added event: ovos.common_play.search.stop
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.993 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.stop
Jan 24 09:12:48 rpi4b ovos-core[1274]: 2024-01-24 09:12:48.999 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skills.settings.update
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.001 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skills.settings.download
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.005 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skills.settings.upload
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.008 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.skills.settings.upload.meta
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.010 - skills - ovos_utils.events:add:163 - DEBUG - Added event: mycroft.paired
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.036 - skill-ovos-tunein.openvoiceos - INFO - First run of skill-ovos-tunein.openvoiceos
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.050 - skills - ovos_core.skill_manager:_handle_settings_file_change:141 - INFO - skill settings.json change detected for skill-ovos-tunein.openvoiceos
Jan 24 09:12:49 rpi4b ovos-core[1274]: 2024-01-24 09:12:49.052 - skills - ovos_workshop.skill_launcher:_communicate_load_status:503 - INFO - Skill skill-ovos-tunein.openvoiceos loaded successfully

New Docker images for ovos-skill-tunein is available with the latest fix.

Let us know 👍

@Dante1975X
Copy link
Author

with the tunein-container it's still not working for me....but when I install the tunein-skill via skills.list then it's fine!?!

@goldyfruit
Copy link
Member

with the tunein-container it's still not working for me....but when I install the tunein-skill via skills.list then it's fine!?!

Did you pull the new image?

@Dante1975X
Copy link
Author

Yes

@goldyfruit
Copy link
Member

I'm confused, just did a fresh deployment and ovos-skill-tunein container is running fine without error.

╰─λ docker ps -a                                                                                                                                                                                                      0 (02:03.323) < 16:50:45
CONTAINER ID   IMAGE                                        COMMAND                  CREATED              STATUS                             PORTS     NAMES
6820f3fae3be   smartgic/ovos-skill-alerts:alpha             "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_alerts
5acb4c015b0b   smartgic/ovos-skill-tunein:alpha             "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_tunein
7a8adc925427   smartgic/ovos-skill-fallback-unknown:alpha   "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_fallback_unknown
01a6d3e79e7e   smartgic/ovos-skill-volume:alpha             "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_volume
675d233f1935   smartgic/ovos-skill-weather:alpha            "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_weather
9cb822e4eb89   smartgic/ovos-skill-date-time:alpha          "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_date_time
480944002a79   smartgic/ovos-skill-hello-world:alpha        "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_hello_world
80bafe5781df   smartgic/ovos-skill-fallback-chatgpt:alpha   "/bin/sh /usr/local/…"   36 seconds ago       Up 34 seconds                                ovos_skill_fallback_chatgpt
c7f4a81ce41f   smartgic/ovos-skill-jokes:alpha              "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_jokes
e90646007d6d   smartgic/ovos-skill-personal:alpha           "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_personal
2bdba7cc7a91   smartgic/ovos-skill-easter-eggs:alpha        "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_easter_eggs
d9e93a56cb55   smartgic/ovos-skill-wikipedia:alpha          "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_wikipedia
adeda189efb1   smartgic/ovos-skill-parrot:alpha             "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_parrot
7d0cc986ec41   smartgic/ovos-skill-wolfie:alpha             "ovos-skill-launcher…"   36 seconds ago       Up 34 seconds                                ovos_skill_wolfie
2f065d869771   smartgic/ovos-audio:alpha                    "/bin/bash /usr/loca…"   47 seconds ago       Up 34 seconds (health: starting)             ovos_audio
109df2b47b90   smartgic/ovos-core:alpha                     "/bin/bash /usr/loca…"   47 seconds ago       Up 34 seconds (health: starting)             ovos_core
df98ba9ae24d   smartgic/ovos-listener-dinkum:alpha          "/bin/bash /usr/loca…"   47 seconds ago       Up 34 seconds (health: starting)             ovos_listener
6b91b7e53dd8   smartgic/ovos-phal-admin:alpha               "/bin/bash /usr/loca…"   58 seconds ago       Up 34 seconds (health: starting)             ovos_phal_admin
dc6a957e9047   smartgic/ovos-phal:alpha                     "/bin/bash /usr/loca…"   58 seconds ago       Up 34 seconds (health: starting)             ovos_phal
eed7514aba33   smartgic/ovos-cli:alpha                      "sleep infinity"         58 seconds ago       Up 34 seconds                                ovos_cli
94623fe4dea8   smartgic/ovos-messagebus:alpha               "/bin/bash -c ovos-m…"   About a minute ago   Up 35 seconds (health: starting)             ovos_messagebus

╰─λ docker logs -f --tail 2000 ovos_skill_tunein                                                                                                                                                                         0 (0.018s) < 16:50:46
2024-01-24 21:50:14.219 - OVOS - ovos_plugin_manager.templates.audio:<module>:14 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.templates:8. ovos_plugin_manager.templates.audio has been deprecated on ovos-audio, move to ovos_plugin_manager.templates.media
2024-01-24 21:50:14.337 - OVOS - ovos_plugin_manager.audio:<module>:7 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.plugin_entry:4. ovos_plugin_manager.audio has been deprecated on ovos-audio, move to ovos_plugin_manager.media
2024-01-24 21:50:14.565 - OVOS - mycroft:<module>:37 - WARNING - mycroft has been deprecated! please start importing from ovos_core and companion packages
mycroft module remains available for backwards compatibility and will be removed in version 0.2.0
2024-01-24 21:50:15.773 - OVOS - ovos_workshop.skill_launcher:_connect_to_core:589 - WARNING - Skills service not ready yet. Load on ready event.
2024-01-24 21:50:27.435 - OVOS - ovos_workshop.skill_launcher:load_skill:602 - INFO - launching skill
2024-01-24 21:50:27.467 - OVOS - ovos_workshop.skill_launcher:load:525 - INFO - ATTEMPTING TO LOAD PLUGIN SKILL: skill-ovos-tunein.openvoiceos
2024-01-24 21:50:27.644 - skill-ovos-tunein.openvoiceos - INFO - First run of skill-ovos-tunein.openvoiceos
2024-01-24 21:50:27.648 - OVOS - ovos_workshop.skill_launcher:_communicate_load_status:503 - INFO - Skill skill-ovos-tunein.openvoiceos loaded successfully

@goldyfruit
Copy link
Member

Try to update the ovos_core container as well since its running ovos-workshop but shouldn't change anything since you are able to run the skill inside this container.

@Dante1975X
Copy link
Author

Here is the same from me and the error is still there.....I updated all ovos containers today after the change:

homeserver@homeserver:~$ docker ps --filter name=ovos
CONTAINER ID   IMAGE                                        COMMAND                  CREATED          STATUS                       PORTS                                       NAMES
f23ba982ebb7   smartgic/ovos-skill-tunein:alpha             "ovos-skill-launcher…"   21 minutes ago   Up 21 minutes                                                            ovos_skill_tunein
0ae484619cd9   smartgic/ovos-skill-personal:alpha           "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_personal
acc3b89569f2   smartgic/ovos-skill-hello-world:alpha        "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_hello_world
6d6a0fa09809   smartgic/ovos-skill-fallback-chatgpt:alpha   "/bin/sh /usr/local/…"   2 hours ago      Up 2 hours                                                               ovos_skill_fallback_chatgpt
4346dcb90506   smartgic/ovos-skill-weather:alpha            "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_weather
08429cbd59ab   smartgic/ovos-skill-alerts:alpha             "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_alerts
748cec798e7b   smartgic/ovos-skill-fallback-unknown:alpha   "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_fallback_unknown
d370036e6c94   smartgic/ovos-skill-date-time:alpha          "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_date_time
b1ede8108c0c   smartgic/ovos-skill-wolfie:alpha             "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_wolfie
dacbd82066f1   smartgic/ovos-skill-stop:alpha               "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_stop
16f4fd4993de   smartgic/ovos-skill-volume:alpha             "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_volume
5fff1d665890   smartgic/ovos-skill-jokes:alpha              "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_jokes
be91ffeca5cb   smartgic/ovos-skill-easter-eggs:alpha        "ovos-skill-launcher…"   2 hours ago      Up 2 hours                                                               ovos_skill_easter_eggs
1ebda29dc45c   smartgic/ovos-audio:alpha                    "/bin/bash /usr/loca…"   2 hours ago      Up About an hour (healthy)                                               ovos_audio
c28ab1a82644   smartgic/ovos-core:alpha                     "/bin/bash /usr/loca…"   2 hours ago      Up 2 hours (healthy)                                                     ovos_core
2d0a76984470   smartgic/ovos-listener-dinkum:alpha          "/bin/bash /usr/loca…"   2 hours ago      Up 2 hours (healthy)                                                     ovos_listener
b776005441f5   smartgic/ovos-phal-admin:alpha               "/bin/bash /usr/loca…"   2 hours ago      Up 2 hours (healthy)                                                     ovos_phal_admin
6aea199d229f   smartgic/ovos-phal:alpha                     "/bin/bash /usr/loca…"   2 hours ago      Up 2 hours (healthy)                                                     ovos_phal
0fe2e52809dc   smartgic/ovos-cli:alpha                      "sleep infinity"         2 hours ago      Up 2 hours                                                               ovos_cli
26e6b654b6b8   smartgic/ovos-messagebus:alpha               "/bin/bash -c ovos-m…"   2 hours ago      Up 2 hours (healthy)                                                     ovos_messagebus
c8e489cbadfb   smartgic/ovos-tts-server-piper:alpha         "/bin/bash -c 'ovos-…"   11 days ago      Up 2 hours                   0.0.0.0:8089->9666/tcp, :::8089->9666/tcp   ovos_tts_piper
homeserver@homeserver:~$ docker logs -f --tail 2000 ovos_skill_tunein 
2024-01-24 22:17:55.239 - OVOS - ovos_plugin_manager.templates.audio:<module>:14 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.templates:8. ovos_plugin_manager.templates.audio has been deprecated on ovos-audio, move to ovos_plugin_manager.templates.media
2024-01-24 22:17:55.339 - OVOS - ovos_plugin_manager.audio:<module>:7 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.plugin_entry:4. ovos_plugin_manager.audio has been deprecated on ovos-audio, move to ovos_plugin_manager.media
2024-01-24 22:17:55.490 - OVOS - mycroft:<module>:37 - WARNING - mycroft has been deprecated! please start importing from ovos_core and companion packages
mycroft module remains available for backwards compatibility and will be removed in version 0.2.0
2024-01-24 22:17:56.194 - OVOS - ovos_workshop.skill_launcher:_connect_to_core:586 - INFO - connected to core
2024-01-24 22:17:56.195 - OVOS - ovos_workshop.skill_launcher:load_skill:602 - INFO - launching skill
2024-01-24 22:17:56.211 - OVOS - ovos_workshop.skill_launcher:load:525 - INFO - ATTEMPTING TO LOAD PLUGIN SKILL: skill-ovos-tunein.openvoiceos
2024-01-24 22:17:56.332 - OVOS - ovos_workshop.skill_launcher:_communicate_load_status:503 - INFO - Skill skill-ovos-tunein.openvoiceos loaded successfully
2024-01-24 22:19:09.421 - OVOS - ovos_utils.file_utils:resolve_resource_file:163 - WARNING - Deprecation version=0.1.0. Caller=ovos_utils.dialog:166. Expected a dict config and got None.
2024-01-24 22:19:09.434 - skill-ovos-tunein.openvoiceos - ERROR - 'TuneInSkill' object has no attribute 'skill_name'
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/events.py", line 78, in wrapper
    handler(message)
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/common_play.py", line 150, in __handle_ocp_skills_get
    "skill_name": self.skill_name,
                  ^^^^^^^^^^^^^^^
AttributeError: 'TuneInSkill' object has no attribute 'skill_name'
2024-01-24 22:19:10.243 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:21:10.238 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:23:10.239 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:25:10.244 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:25:36.528 - OVOS - ovos_utils.file_utils:resolve_resource_file:163 - WARNING - Deprecation version=0.1.0. Caller=ovos_utils.dialog:166. Expected a dict config and got None.
2024-01-24 22:25:36.545 - skill-ovos-tunein.openvoiceos - ERROR - 'TuneInSkill' object has no attribute 'skill_name'
Traceback (most recent call last):
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_utils/events.py", line 78, in wrapper
    handler(message)
  File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_workshop/skills/common_play.py", line 150, in __handle_ocp_skills_get
    "skill_name": self.skill_name,
                  ^^^^^^^^^^^^^^^
AttributeError: 'TuneInSkill' object has no attribute 'skill_name'
2024-01-24 22:27:10.243 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:29:10.240 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:31:10.244 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:33:10.248 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:35:10.244 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:37:10.246 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:39:10.244 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get
2024-01-24 22:40:41.883 - OVOS - ovos_plugin_manager.templates.audio:<module>:14 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.templates:8. ovos_plugin_manager.templates.audio has been deprecated on ovos-audio, move to ovos_plugin_manager.templates.media
2024-01-24 22:40:41.987 - OVOS - ovos_plugin_manager.audio:<module>:7 - WARNING - Deprecation version=0.1.0. Caller=ovos_plugin_manager.plugin_entry:4. ovos_plugin_manager.audio has been deprecated on ovos-audio, move to ovos_plugin_manager.media
2024-01-24 22:40:42.149 - OVOS - mycroft:<module>:37 - WARNING - mycroft has been deprecated! please start importing from ovos_core and companion packages
mycroft module remains available for backwards compatibility and will be removed in version 0.2.0
2024-01-24 22:40:42.878 - OVOS - ovos_workshop.skill_launcher:_connect_to_core:586 - INFO - connected to core
2024-01-24 22:40:42.881 - OVOS - ovos_workshop.skill_launcher:load_skill:602 - INFO - launching skill
2024-01-24 22:40:42.900 - OVOS - ovos_workshop.skill_launcher:load:525 - INFO - ATTEMPTING TO LOAD PLUGIN SKILL: skill-ovos-tunein.openvoiceos
2024-01-24 22:40:43.036 - OVOS - ovos_workshop.skill_launcher:_communicate_load_status:503 - INFO - Skill skill-ovos-tunein.openvoiceos loaded successfully
2024-01-24 22:41:10.250 - OVOS - ovos_bus_client.session:from_message:471 - WARNING - No session context in message:mycroft.volume.get

@goldyfruit
Copy link
Member

Could you please share the docker inspect smartgic/ovos-skill-tunein:alpha output?

@Dante1975X
Copy link
Author

That's the output:

homeserver@homeserver:~$ docker inspect smartgic/ovos-skill-tunein:alpha
[
    {                                                                                                                                                                                           
        "Id": "sha256:da47abb97d45ae69e32827eb6476203f7ad8bf6eeada853060d05b25ad2839ce",                                                                                                        
        "RepoTags": [                                                                                                                                                                           
            "smartgic/ovos-skill-tunein:alpha"                                                                                                                                                  
        ],                                                                                                                                                                                      
        "RepoDigests": [                                                                                                                                                                        
            "smartgic/ovos-skill-tunein@sha256:8546d96def4761959bb8b7cdce61c72d7e016a0e6b50d9de19c801a851f42794"                                                                                
        ],                                                                                                                                                                                      
        "Parent": "",                                                                                                                                                                           
        "Comment": "buildkit.dockerfile.v0",                                                                                                                                                    
        "Created": "2024-01-24T14:14:47.045351322Z",                                                                                                                                            
        "Container": "",                                                                                                                                                                        
        "ContainerConfig": {                                                                                                                                                                    
            "Hostname": "",                                                                                                                                                                     
            "Domainname": "",                                                                                                                                                                   
            "User": "",                                                                                                                                                                         
            "AttachStdin": false,                                                                                                                                                               
            "AttachStdout": false,                                                                                                                                                              
            "AttachStderr": false,                                                                                                                                                              
            "Tty": false,                                                                                                                                                                       
            "OpenStdin": false,                                                                                                                                                                 
            "StdinOnce": false,                                                                                                                                                                 
            "Env": null,                                                                                                                                                                        
            "Cmd": null,                                                                                                                                                                        
            "Image": "",                                                                                                                                                                        
            "Volumes": null,                                                                                                                                                                    
            "WorkingDir": "",                                                                                                                                                                   
            "Entrypoint": null,                                                                                                                                                                 
            "OnBuild": null,                                                                                                                                                                    
            "Labels": null                                                                                                                                                                      
        },                                                                                                                                                                                      
        "DockerVersion": "",                                                                                                                                                                    
        "Author": "",                                                                                                                                                                           
        "Config": {                                                                                                                                                                             
            "Hostname": "",                                                                                                                                                                     
            "Domainname": "",                                                                                                                                                                   
            "User": "ovos",                                                                                                                                                                     
            "AttachStdin": false,                                                                                                                                                               
            "AttachStdout": false,                                                                                                                                                              
            "AttachStderr": false,                                                                                                                                                              
            "Tty": false,                                                                                                                                                                       
            "OpenStdin": false,                                                                                                                                                                 
            "StdinOnce": false,                                                                                                                                                                 
            "Env": [                                                                                                                                                                            
                "PATH=/home/ovos/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",                                                                                       
                "IS_OVOS_CONTAINER=true",
                "VIRTUAL_ENV=/home/ovos/.venv"
            ],
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": [
                "ovos-skill-launcher",
                "skill-ovos-tunein.openvoiceos"
            ],
            "OnBuild": null,
            "Labels": {
                "org.opencontainers.image.created": "2024-01-24T14:14:20Z",
                "org.opencontainers.image.description": "Listen to radios with TuneIn",
                "org.opencontainers.image.documentation": "https://openvoiceos.github.io/community-docs",
                "org.opencontainers.image.source": "https://github.com/OpenVoiceOS/ovos-docker",
                "org.opencontainers.image.title": "Open Voice OS OCI TuneIn skill image",
                "org.opencontainers.image.vendor": "Open Voice OS",
                "org.opencontainers.image.version": "0.0.8"
            }
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 760020907,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/a3fefca3fab92887f0de0e1f7b2ad537b215a092f16981b9071404d1cf7fb45e/diff:/var/lib/docker/overlay2/bcbe36e324e9c496269b5b09ae211b034e5c6e97e5d54a62762281292f5ecd71/diff",
                "MergedDir": "/var/lib/docker/overlay2/5e715f9b5683b22f4921ceda0dea56b2bc9cff30af07e42e4ca036bf4bb85c76/merged",
                "UpperDir": "/var/lib/docker/overlay2/5e715f9b5683b22f4921ceda0dea56b2bc9cff30af07e42e4ca036bf4bb85c76/diff",
                "WorkDir": "/var/lib/docker/overlay2/5e715f9b5683b22f4921ceda0dea56b2bc9cff30af07e42e4ca036bf4bb85c76/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:1bb475414a7e92af2a683b7864916ccb9fa4155aa029b4b7fc3b10d35ce93739",
                "sha256:8aea20a232c98831cb25ed5a5abda8d0d5db103ad757ac76aa7d1074649cd853",
                "sha256:206e6cbf16f4d3ceddf8149e3b0b24fb1aa94ad0c27a35981864f27af229b334"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

@goldyfruit
Copy link
Member

I got the same.

docker inspect smartgic/ovos-skill-tunein:alpha                                                                                                                                                                   0 (02:26.812) < 15:20:27
[
    {
        "Id": "sha256:da47abb97d45ae69e32827eb6476203f7ad8bf6eeada853060d05b25ad2839ce",
        "RepoTags": [
            "smartgic/ovos-skill-tunein:alpha"
        ],
        "RepoDigests": [
            "smartgic/ovos-skill-tunein@sha256:8546d96def4761959bb8b7cdce61c72d7e016a0e6b50d9de19c801a851f42794"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2024-01-24T14:14:47.045351322Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "ovos",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/home/ovos/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "IS_OVOS_CONTAINER=true",
                "VIRTUAL_ENV=/home/ovos/.venv"
            ],
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": [
                "ovos-skill-launcher",
                "skill-ovos-tunein.openvoiceos"
            ],
            "OnBuild": null,
            "Labels": {
                "org.opencontainers.image.created": "2024-01-24T14:14:20Z",
                "org.opencontainers.image.description": "Listen to radios with TuneIn",
                "org.opencontainers.image.documentation": "https://openvoiceos.github.io/community-docs",
                "org.opencontainers.image.source": "https://github.com/OpenVoiceOS/ovos-docker",
                "org.opencontainers.image.title": "Open Voice OS OCI TuneIn skill image",
                "org.opencontainers.image.vendor": "Open Voice OS",
                "org.opencontainers.image.version": "0.0.8"
            }
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 759998217,
        "GraphDriver": {
            "Data": null,
            "Name": "btrfs"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:1bb475414a7e92af2a683b7864916ccb9fa4155aa029b4b7fc3b10d35ce93739",
                "sha256:8aea20a232c98831cb25ed5a5abda8d0d5db103ad757ac76aa7d1074649cd853",
                "sha256:206e6cbf16f4d3ceddf8149e3b0b24fb1aa94ad0c27a35981864f27af229b334"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

I really don't have any other idea. Did three deployments since yesterday and I didn't get this issue since latest @JarbasAl's commit.

@Dante1975X
Copy link
Author

A few minutes ago I pulled all ovos-containers again. Now the bug is gone...It seems that there is a time lag at my location in Germany with updates of the docker images???

@goldyfruit
Copy link
Member

goldyfruit commented Jan 25, 2024

A few minutes ago I pulled all ovos-containers again. Now the bug is gone...It seems that there is a time lag at my location in Germany with updates of the docker images???

Might be, but at least its fixed! Thanks for letting us know 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants