Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Unable to add "Late Night Linux Family" to vocal - Error Adding Podcast - Parsing error #509

Open
3 tasks
rsramkis opened this issue Jul 9, 2023 · 4 comments

Comments

@rsramkis
Copy link

rsramkis commented Jul 9, 2023

Describe the bug

When trying to add the "Late Night Linux Family" podcast I get the error "Error Adding Podcast. Please make sure you select the correct feed and that it is still available".

When I launch Vocal from terminal I can see:

  1. First time I try to add the podcast:
[INFO 12:17:48.587291] Controller.vala:477: Adding feed https://latenightlinux.com/feed/all
[INFO 12:17:48.587696] Library.vala:345: Adding podcast from file: https://latenightlinux.com/feed/all
Entity: line 1: parser error : attributes construct error
ss/1.0/modules/slash/"	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
                      	                                                        ^
Entity: line 1: parser error : Couldn't find end of Start Tag rss line 1
ss/1.0/modules/slash/"	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
                      	                                                        ^
Entity: line 1: parser error : Extra content at the end of the document
ss/1.0/modules/slash/"	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
                      	                                                        ^
[WARNING 12:17:48.854094] FeedParser.vala:335: Something went wrong during podcast parsing. Abort.
[INFO 12:17:48.854127] Library.vala:354: New podcast found to be null. https://latenightlinux.com/feed/all
  1. The 2nd time I try to add the podcast:
[INFO 12:19:01.550092] Controller.vala:477: Adding feed https://latenightlinux.com/feed/all
[INFO 12:19:01.550185] Library.vala:327: Podcast https://latenightlinux.com/feed/all already being added.

The podcast never gets added.

To Reproduce

Steps to reproduce the behavior:

  1. Launch Vocal.
  2. Use search with keyword "linux".
  3. Click on the '+' to add the "Late Night Linux Family All Episodes' podcast.
  4. You will then receive the error "Error Adding Podcast. Please make sure you select the correct feed and that it is still available"..

Expected behavior

The podcast should add and show under my podvasts.

Screenshots or screen recordings

image

Logs

[INFO 12:04:41.238146] Controller.vala:477: Adding feed https://latenightlinux.com/feed/all
[INFO 12:04:41.238540] Library.vala:345: Adding podcast from file: https://latenightlinux.com/feed/all
Entity: line 1: parser error : attributes construct error
ss/1.0/modules/slash/"	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
                      	                                                        ^
Entity: line 1: parser error : Couldn't find end of Start Tag rss line 1
ss/1.0/modules/slash/"	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
                      	                                                        ^
Entity: line 1: parser error : Extra content at the end of the document
ss/1.0/modules/slash/"	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
                      	                                                        ^
[WARNING 12:04:41.443673] FeedParser.vala:335: Something went wrong during podcast parsing. Abort.
[INFO 12:04:41.443704] Library.vala:354: New podcast found to be null. https://latenightlinux.com/feed/all
[INFO 12:05:08.700998] Controller.vala:477: Adding feed https://latenightlinux.com/feed/all
[INFO 12:05:08.701097] Library.vala:327: Podcast https://latenightlinux.com/feed/all already being added.
[INFO 12:06:48.242529] Controller.vala:477: Adding feed https://latenightlinux.com/feed/all
[INFO 12:06:48.242655] Library.vala:327: Podcast https://latenightlinux.com/feed/all already being added.

Platform Information

  • Linux distrubution: EndeavourOS (arch)
  • OS version: Kernel: 6.4.2-zen1-1-zen
  • Desktop environment: Gnome 44.3
  • Vocal version: 2.4.2 (from Extra Arch Repository).

Please check the applicable option below:

  • I'm using the latest version from git that I've manually compiled
  • I'm using the latest version of the Flatpak, downloaded from Flathub.org
  • [ x] I'm using the latest version available from AppCenter
  • I'm using a different version (please note here) :

Additional context

N\A

@rsramkis
Copy link
Author

rsramkis commented Jul 9, 2023

I also noticed that there is not a graceful message if you try to add a podcast which is already added (an end user receives the same error message I reported above when a podcast was not added).

Thought I might mention this (just in case there is a use case being developed for this).

@rsramkis
Copy link
Author

I've been doing some research on other applications which are failing to add \ download podcasts. With Gnome Podcasts they found an issue where too many re-directs were preventing registering and downloading podcasts. Wonder if Vocal is having similar issues.

https://gitlab.gnome.org/World/podcasts/-/issues/275

@nathandyer
Copy link
Member

Hello @rsramkis, thanks for reporting this issue! I just tested this in the development version (main branch), and am happy to report it seems to be able to add that feed correctly. The issue is with the current stable release. There's still a fair bit of work to get Vocal ready for another release, but I hope to restart that work soon. Apologies for the time it has taken to get a new release out! I'll leave this open until the stable release with the fix is out.

@rsramkis
Copy link
Author

@nathandyer Thanks for the update. When your next release goes out, please let me know and I will re-test. Thanks for your hard work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants