gPodder Bug Tracker – Bug 1672
raises "InvalidFeed: unknown feed type" on 302/autodiscovered feeds
Last modified: 2012-09-23 20:13:24 BST
Created attachment 735 [details]
gPodder verbose output with Traceback
gPodder raises "InvalidFeed: unknown feed type" on a Feed that redirects to Feedburner.
I've looked into the code (feedcore.py) and found that the _autodiscover_feed comes in place if the feed status is a 302. The autodiscovery then creates a new feed object with the correct 304 state but never returns it to the calling _parse_feed method.
The following change to feedcore.py seems to fix the problem:
> feed = self._autodiscover_feed(feed).feed
I'm testing on gentoo, everything up-to-date, gpodder and necessary deps as ~amd64, but the system is stable (amd64) for the most parts.
The feed this error occurs with: http://www.wrint.de/?feed=podcast
Attached is the verbose output of gpodder.
If more is needed, let me know :)
Thanks, patch merged: http://gpodder.org/commit/e5f778ce
Thanks for the quick reply and merge ;)
Sadly your version of the patch doesn't fix the problem for me.
I've merged the current feedcore.py from the master branch on github with my 3.2.0 gentoo install, and I'm pretty sure the '.feed' at the end is necessary ;)
I've tried running the master branch completely on it's own as well (fresh virtualenv with global site-packages and everything needed for 3.2.0 global available). That doesn't run at all ("AttributeError: 'gPodder' object has no attribute 'toolbar'" in gpodder/gtkui/main.py line 125). I'm not digging into this right now, there could be a lot of things going wrong there.
If I were more used to github, I'd send you a pull request.
Other than that, great program, runs most of the time on my desktop!
(In reply to comment #2)
> Sadly your version of the patch doesn't fix the problem for me.
> I've merged the current feedcore.py from the master branch on github with my
> 3.2.0 gentoo install, and I'm pretty sure the '.feed' at the end is necessary
Yep, just missed that, it should work now: http://gpodder.org/commit/c2599244
Great! I thought it was something like that ;)
Have a nice day sir!