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

KeyError: 'published_parsed' #32

Open
ttrueten opened this issue Nov 20, 2023 · 0 comments
Open

KeyError: 'published_parsed' #32

ttrueten opened this issue Nov 20, 2023 · 0 comments

Comments

@ttrueten
Copy link

Hi there,
Tootbot was running satisfactorily until I wanted to set up a new RSS feed today. I get the following error message:
`---------------------------
20
Traceback (most recent call last):
File "/home/user/.local/lib/python3.10/site-packages/feedparser/util.py", line 156, in getattr
return self.getitem(key)
File "/home/user/.local/lib/python3.10/site-packages/feedparser/util.py", line 113, in getitem
return dict.getitem(self, key)
KeyError: 'published_parsed'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/user/tootbot/tootbot.py", line 133, in
dt = t.published_parsed
File "/home/user/.local/lib/python3.10/site-packages/feedparser/util.py", line 158, in getattr
raise AttributeError("object has no attribute '%s'" % key)
AttributeError: object has no attribute 'published_parsed'
`
What can I do? Is any further information needed? tootbot runs here with Ubuntu 22.04.3 LTS x86_64. The RSS feed is easily displayed in various feed readers...

TIA,
Thomas

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