Say
dazedanon have you encountered this error?
I'm translating this
You must be registered to see the links
for fun and noticed I'm getting this strange error, even after updating to the newest version of your script you made around 2/3 hours ago! This one:
You must be registered to see the links
I'm getting this "RecursionError: maximum recursion depth exceeded" whenever it encounters the end of the file or such when translating a map###.json file and for other files like system.json I'm getting "✗ list index out of range" errors which causes them to not be translated at all.
Using the last version of the script I was using fixes the "✗ list index out of range" error, however the "RecursionError" does still happen from the time to time when translating the map###.json files but not as much...I think.
The error appears like this:
I wonder if it's because when using the module, the number of lines that the script is suppose to report is instead shown as a question mark?
Python:
CommonEvents.json: | | 64/?
In both versions, I can confirm that I encountered a bug where the lines containing "「……。」" were for some reason skipped and instead adding the "..." translated line in the next line, causing the lines to be out-of-order and worse, losing translated lines when reaching the end of the lines. Thankfully the translation history has the lines that are lost so I just manually fixed the placement of lines...
This is the script I was using last that worked (besides the recursion error):
You must be registered to see the links
I don't know which version since that one when the issues appear again...
Ah I'm using Python 3.13.1 with g4f like usual with fully up-to-date requirements too.