Issue #1045: start.fp.o parses the Magazine RSS feed incorrectly when an article has embedded video

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bcotton added a new comment to an issue you are following:
``
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to websites-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux