-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error on multiple instances of ACE #384
Comments
Very interesting, thank you. Could you please try invoking the |
I just tried using P.S.: I did notice a speed diference, though. Using |
This is valuable feedback, thank you. I suspected that the Electron option (now default) would be a net improvement in terms of performance and consistency (same engine in Ace command line and Ace App / GUI), so hopefully we will soon figure out how to fix the "multiple processes" bug. The Puppeteer version currently integrated in Ace is slightly old (compared with Electron which ships a recent NodeJS and Chromium runtime) due to technical limitations / incompatible software dependencies. However I dont anticipate Puppeteer to have become much faster, even with their switch from Chromium to Google Chrome. As you witnessed yourself, in some/many cases we are looking at Ace's Electron integration being twice as fast as with Puppeteer. |
Ever since I upgraded from 1.2.7 to 1.3.1, I'm having trouble on launching multiple instances of ACE simultaneously. It never happened before, but now I'm getting this type of errors on
stdout
:did-fail-load: -3 - - acehttps://0.0.0.0//OEBPS/Text/book-2.html?AXE_RUNNER=2 - true - 6 - 1
did-fail-load: -3 - - acehttps://0.0.0.0//OEBPS/Text/cover.html?AXE_RUNNER=0 - true - 4 - 1
did-fail-load: -3 - - acehttps://0.0.0.0//OEBPS/Text/book-1.html?AXE_RUNNER=1 - true - 5 - 1
When this happens, I get a return code of 1, and no report is generated. Only some books of the batch are affected.
Background:
subprocess.Popen()
to run ACE.stdout
andstderr
are directed tosubprocess.PIPE
PIPE
has a limited size, I'm running ACE in silent mode: args ='ace -s -f -o check_books_path -l user_lang book_path'
threading.Thread()
Workaround:
Temporarily, I've modified the code to rerun ACE on books that get this type of error. Running a second time usually solves the problem. Also, when running a single instance, the error does not happen.
My system:
The text was updated successfully, but these errors were encountered: