Closed CanOfBees closed 3 months ago
hello, ace is an alias for ace-electron, you can call ace-puppeteer instead to avoid the Electron "runner" which is shared between the Ace command line tool and the graphical user interface.
you can also run the Ace Electron runner (instead of Puppeteer) successfully inside a Docker container via a virtual frame buffer as demonstrated here:
https://github.com/daisy/ace/blob/master/Dockerfile
https://github.com/daisy/ace/blob/master/docker.sh
Ace's current integration of Puppeteer doesn't run as fast as Electron, and it uses an older version of the Chromium web browser engine. We decided to make the Electron runner the default also because of consistency issues with Ace App (GUI) which must use Electron (cannot switch to Puppeteer).
I hope this helps.
Hi @danielweck - thanks very much for the pointers; the first option looks like it's going to work quite well for us. I appreciate your time and advice!
Please provide the following details if possible or relevant:
ace -v
command).ace -v
throws the following error:node -v
command).[] your operating system and version. Ubuntu 22.04.4 LTS
[] if the issue is a bug when running Ace: the error message as produced in the log file (you can enable debug logging with the
--verbose
option).I've tried to install the missing requirements (libgtk, libatk, etc) but this is on a headless server. Is there some workaround for this error, short of installing a full X.org server? I've seen suggestions re configuring a $DISPLAY environmental variable or modifying the
puppeteer.launch
syntax but haven't had any luck with those.Thanks in advance for any suggestions!