``
Beginning with this morning's article, the magfeed script is failing on parsing the Fedora Magazine RSS feed.
~~~~
start.fedoraproject.org build failed
====================================
python2.7 /srv/web/fedora-websites/start.fedoraproject.org/../build.d/build.py -o out -s static -b /
Caching Magazine Feed...
python2.7 /srv/web/fedora-websites/start.fedoraproject.org/build/magfeed.py -o out -s static -b /
Traceback (most recent call last):
File "/srv/web/fedora-websites/start.fedoraproject.org/build/magfeed.py", line 25, in <module>
if image_enclosure['type'] == 'image/jpg':
File "/usr/lib/python2.7/site-packages/feedparser.py", line 375, in __getitem__
return dict.__getitem__(self, key)
KeyError: 'type'
make: *** [rss-cache] Error 1
~~~~
The RSS output contains an `audio/ogg` enclosure, which is maybe causing the problem? Or is maybe a red herring?
~~~
<enclosure url="https://gathman.org/music/ogg/LUX%20MIX_1.ogg" length="2191823" type="audio/ogg"/>
~~~
``
To reply, visit the link below or just reply to this email
https://pagure.io/fedora-websites/issue/1045
_______________________________________________
websites mailing list -- websites@lists.fedoraproject.org
To unsubscribe send an email to websites-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/websites@lists.fedoraproject.org
No comments:
Post a Comment