pleroma-bot
pleroma-bot copied to clipboard
error
Hello,
Any idea? i get firstime running (with empty tweets folder etc): pleroma-bot --forceDate 2023-02-28
Traceback (most recent call last):
File "/home/joey/.local/lib/python3.10/site-packages/pleroma_bot/cli.py", line 688, in main
post_id = user.post(
File "/home/joey/.local/lib/python3.10/site-packages/pleroma_bot/_utils.py", line 796, in post
post_id = self.post_pleroma(tweet, poll, sensitive, media, cw=cw)
File "/home/joey/.local/lib/python3.10/site-packages/pleroma_bot/_pleroma.py", line 307, in post_pleroma
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://<*>/api/v1/media
Second time running: pleroma-bot --forceDate 2023-02-28
Traceback (most recent call last):
File "/home/joey/.local/lib/python3.10/site-packages/pleroma_bot/cli.py", line 688, in main
post_id = user.post(
File "/home/joey/.local/lib/python3.10/site-packages/pleroma_bot/_utils.py", line 796, in post
post_id = self.post_pleroma(tweet, poll, sensitive, media, cw=cw)
File "/home/joey/.local/lib/python3.10/site-packages/pleroma_bot/_pleroma.py", line 231, in post_pleroma
item = media[key][0]
KeyError: '4nil9b792e439hiuvld'
Posting tweets... : 0%|
i om on the latest version: 1.2.1rc20 Connecting to an pleroma server
My config file
pleroma_base_url: <*>
max_tweets: 40
users:
- twitter_username: <*>
pleroma_username: <*>
pleroma_token: <*>
rss: <*>
signature: true
ofcourze with the right info instead of the <*> :)
Regards, Joey