gPodder import error: AttributeError: object has no attribute 'description'
When trying to import my gPodder-sailfish database, it never finishes and shows no error message in the UI. But at the CLI I get the following traceback:
[D] onReceived:85 - got message from python: import channel http://feeds.feedburner.com/Methodischinkorrekt
[D] onReceived:151 - got message from python: import channel http://feeds.feedburner.com/Methodischinkorrekt
[D] onReceived:85 - got message from python: PodcastFactory: From disk
[D] onReceived:151 - got message from python: PodcastFactory: From disk
[D] onReceived:85 - got message from python: import channel http://www.hoaxilla.de/podcast/hoaxilla.xml
[D] onReceived:151 - got message from python: import channel http://www.hoaxilla.de/podcast/hoaxilla.xml
[D] onReceived:85 - got message from python: PodcastFactory: From disk
[D] onReceived:151 - got message from python: PodcastFactory: From disk
[D] onReceived:85 - got message from python: import channel http://omegataupodcast.net/category/podcast/feed/
[D] onReceived:151 - got message from python: import channel http://omegataupodcast.net/category/podcast/feed/
[D] onReceived:85 - got message from python: PodcastFactory: From disk
[D] onReceived:151 - got message from python: PodcastFactory: From disk
[D] onReceived:85 - got message from python: import channel https://www.youtube.com/feeds/videos.xml?channel_id=UCKJl-VnkXmc_avlAMO36gKA
[D] onReceived:151 - got message from python: import channel https://www.youtube.com/feeds/videos.xml?channel_id=UCKJl-VnkXmc_avlAMO36gKA
[D] unknown:0 - "PyOtherSide error: Traceback (most recent call last):\n\n File \"/usr/share/harbour-podqast/python/feedparser.py\", line 398, in __getattr__\n return self.__getitem__(key)\n\n File \"/usr/share/harbour-podqast/python/feedparser.py\", line 356, in __getitem__\n return dict.__getitem__(self, key)\n\nKeyError: 'description'\n\n\nDuring handling of the above exception, another exception occurred:\n\n\nTraceback (most recent call last):\n\n File \"/usr/share/harbour-podqast/qml/components/FeedParser.py\", line 204, in import_gpodder\n imported = pclist.import_gpodder()\n\n File \"/usr/share/harbour-podqast/python/podcast/podcastlist.py\", line 112, in import_gpodder\n self.add(pod)\n\n File \"/usr/share/harbour-podqast/python/podcast/podcastlist.py\", line 39, in add\n podcast = PodcastFactory().get_podcast(url)\n\n File \"/usr/share/harbour-podqast/python/podcast/podcast.py\", line 336, in get_podcast\n podcast = Podcast(url)\n\n File \"/usr/share/harbour-podqast/python/podcast/podcast.py\", line 39, in __init__\n self.description = self.feed.feed.description\n\n File \"/usr/share/harbour-podqast/python/feedparser.py\", line 400, in __getattr__\n raise AttributeError(\"object has no attribute '%s'\" % key)\n\nAttributeError: object has no attribute 'description'\n"
[D] onError:147 - python error: Return value of PyObject call is NULL: Traceback (most recent call last):
File "/usr/share/harbour-podqast/python/feedparser.py", line 398, in __getattr__
return self.__getitem__(key)
File "/usr/share/harbour-podqast/python/feedparser.py", line 356, in __getitem__
return dict.__getitem__(self, key)
KeyError: 'description'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/harbour-podqast/qml/components/FeedParser.py", line 204, in import_gpodder
imported = pclist.import_gpodder()
File "/usr/share/harbour-podqast/python/podcast/podcastlist.py", line 112, in import_gpodder
self.add(pod)
File "/usr/share/harbour-podqast/python/podcast/podcastlist.py", line 39, in add
podcast = PodcastFactory().get_podcast(url)
File "/usr/share/harbour-podqast/python/podcast/podcast.py", line 336, in get_podcast
podcast = Podcast(url)
File "/usr/share/harbour-podqast/python/podcast/podcast.py", line 39, in __init__
self.description = self.feed.feed.description
File "/usr/share/harbour-podqast/python/feedparser.py", line 400, in __getattr__
raise AttributeError("object has no attribute '%s'" % key)
AttributeError: object has no attribute 'description'
Either some podcast doesn't have any description or podqast may struggle with importing the YouTube channels I also subscribed to in gPodder. I don't really have time to investigate it further right now, but might be able to do so in the next days. If required, I can also submit you my gPodder database over a more private channel.
Looking forward to trying out your app.