https://bugs.gpodder.org/show_bug.cgi?id=1672

             Bug #: 1672
           Summary: raises "InvalidFeed: unknown feed type" on
                    302/autodiscovered feeds
    Classification: Unclassified
           Product: gPodder
           Version: 3.2.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created attachment 735
  --> https://bugs.gpodder.org/attachment.cgi?id=735
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:
254c254
<                 self._autodiscover_feed(feed)
---
>                 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 :)

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to