Closed Drakynn closed 1 year ago
It seems to be spitting the above error every 6 hours when it activates to check in and post.
This is a fresh Mastodon server with no pre-existing posts on the account.
I think I see what's happened, looks like the system that finds the most recent image when posting for the very first time is broken.
I'll be able to fix this sometime next week, until then you can bootstrap it by logging in as the bot and posting a public post with the URL of yesterday's APOD page and the hashtag #APOD. Next time it tries to post it will start from there.
BTW you can force the bot to check for a new page now instead of waiting six hours, if you edit its configuration to set yourself as admin like so:
[apod]
class = ...
client_id = ...
...
admin = codl@chitter.xyz
and then send any message to the bot as that admin account.
Manually initializing the first post does solve the problem. Good catch. Thanks.
Took me long enough, but the logic for finding the latest page has been changed and this should not happen again. Thanks for bringing this up!
Bot is authenticating properly when first started, but fails to post content with the following error