Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugs in parsing feeds #10

Open
abbra opened this issue Aug 25, 2024 · 1 comment
Open

bugs in parsing feeds #10

abbra opened this issue Aug 25, 2024 · 1 comment

Comments

@abbra
Copy link
Contributor

abbra commented Aug 25, 2024

Now that we recovered build process, I can see that some updates cause issues with the current code. The following example comes from https://github.com/freeipa/freeipa-planet/actions/runs/10547421891/job/29220082170:

DEBUG:planet:Last Modified: 2024-08-25T13:37:26+00:00
ERROR:planet.runner:Update of <https://floblanc.wordpress.com/tag/freeipa/feed/> failed
Traceback (most recent call last):
  File "/opt/app-root/src/planet/planet/__init__.py", line 245, in run
    channel.update()
  File "/opt/app-root/src/planet/planet/__init__.py", line 653, in update
    self.update_entries(info.entries)
  File "/opt/app-root/src/planet/planet/__init__.py", line 759, in update_entries
    item.update(entry)
  File "/opt/app-root/src/planet/planet/__init__.py", line 882, in update
    if item.type == 'text/html':
  File "/opt/app-root/src/planet/planet/feedparser.py", line 237, in __getattr__
    raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'type'
@abbra
Copy link
Contributor Author

abbra commented Aug 25, 2024

This affects all wordpress-based feeds, it seems. As a result, none of their entries are visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant