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

Bug: KeyError: 'itunes_author' when using podcast action #23

Open
pncnmnp opened this issue May 20, 2023 · 0 comments
Open

Bug: KeyError: 'itunes_author' when using podcast action #23

pncnmnp opened this issue May 20, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pncnmnp
Copy link
Owner

pncnmnp commented May 20, 2023

When we use the podcast action, at times we might get an error like this:

Traceback (most recent call last):
  File "radio.py", line 967, in <module>
    dialogue.flow()
  File "radio.py", line 739, in flow
    speech = self.podcast_dialogue(rss_feed)
  File "radio.py", line 489, in podcast_dialogue
    "You know, I love listening to podcasts. "
KeyError: 'itunes_author'

This happens because no 'itunes_author' metadata was provided by the RSS feed. We need a fallback condition here.

@pncnmnp pncnmnp self-assigned this May 20, 2023
@pncnmnp pncnmnp added the bug Something isn't working label May 20, 2023
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

1 participant