-
Notifications
You must be signed in to change notification settings - Fork 40
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
Infinite Status: 'JOB_STATE_FAILED' loop + duplicate tweets on relaunch #109
Comments
Hi @cleterrier please could you try with version 0.14.0? |
Hi @marcomaroni-github, I was using 0.12.0 when I started the import (about a month ago) and I had the same problem with both the infinite JOB_STATE_FAILED loop and the duplicate tweets creation. I updated to 0.14.1 on Dec 15 (transferring the .env and tweets_mapping.json files to the new install), hoping to resolve the problems, but to no avail. I just launch import with 0.14.0 in a similar way (after transferring the env and json files), will report what happens. For now it seems to be still creating duplicate posts (which might be logical if each time the script is killed by quitting the terminal the json file is not updates?), let's see if the JOB_STATE_FAILED loop appears. |
0.14.0 stopped on the following error:
I am relaunching it |
After relaunch, I hit the JOB_STATE_FAILED error on another tweet with 0.14.0. Nothing seems to appear in the Terminal, full log is below. Not sure why it says 0.12.0 in the first line, I unzipped 0.14.0, did
The import.log says for the problematic tweet:
and so on. |
btw I found why the log says 0.12 even for the 0.14.0 and 0.14.1 version, it's hardcoded here: twitter-to-bluesky/package.json Line 3 in 591500f
|
Yes right I forgot to change the version in the package.json |
Anything I can do to address the bug itself (JOB_STATE_FAILED loop even with a VIDEO_UPLOAD_RETRIES parameter)? |
Hi,
I'm using version 0.14.1, I have the following .env (under Intel MacOS):
and use the
npm run start_log
command.The log states at start:
Despite the
VIDEO_UPLOAD_RETRIES=10
andIGNORE_VIDEO_ERRORS=1
, within every batch of post creation (below the daily limit), I usually get into an infiniteStatus: JOB_STATE_FAILED
loop in the log, which corresponds to an XRPCError in the Terminal (sorry I don't have the exact error on hand, but it is video-related). Here is how it starts in the log for a given tweet:and it keeps going until I stop it.
Moreover, if I stop and relaunch the import (quitting terminal, relaunching it, restart with
npm run start_log
), it restarts the import but duplicates the posts. See for example this post duplicated five times over the last days: https://bsky.app/search?q=from%3A%40christletgo.bsky.social+%23BonneMereI now have an account that is full of duplicates so I will have to nuke it and start fresh for ~30K tweets. Before doing that, I'd like to be sure that the
Status: JOB_STATE_FAILED
problem is solved. Thank you!The text was updated successfully, but these errors were encountered: