terminalizer icon indicating copy to clipboard operation
terminalizer copied to clipboard

Can't render

Open AllanOricil opened this issue 5 years ago • 7 comments
trafficstars

Everything looks good. I can run terminalizer init, terminalizer config, terminalizer record testing, but terminalizer render testing does not work!. I had the sequence of errors below fixed one by one until I got to one that seems it can't be fixed. Could you help to understand why electron displays Error: /usr/local/lib/node_modules/terminalizer/node_modules/electron/dist/electron: /lib/x86_64-linux-gnu/libdbus-1.so.3: on a VM?

The first error right after trying to render for the first time: image

To fix it, I installed libnss3-dev.

Installing libnss3-dev image

Then I ran the render command again and now the libXss was missing. Then I installed it too.

Installing libXss image

Then I got this error that I can't fix :/ image

AllanOricil avatar May 29 '20 16:05 AllanOricil

I learned it is an electron issue. It won't work on headless machines.

AllanOricil avatar May 29 '20 17:05 AllanOricil

Hello . I had a similar problem with wsl2. In the end, the render command isn't working (no files are generated when I run it), but I seem to have resolved the dependencies. #121

takanotume24 avatar Aug 05 '20 09:08 takanotume24

Hello . I had a similar problem with wsl2. In the end, the render command isn't working (no files are generated when I run it), but I seem to have resolved the dependencies. #121

@takanotume24 I installed all the dependencies. The problem of missing dependencies stopped and then the electron error message appeared. The error only happens on VMs. When I installed on windows it worked after installing all the dependencies.

AllanOricil avatar Aug 06 '20 14:08 AllanOricil

I'm having the same issue mentioned in #121, terminalizer render demo simply exits without any messages. I'm also on WSL2. @takanotume24 were you able to solve the issue?

giggio avatar Dec 06 '20 01:12 giggio

WSL2.

@giggio there is no way to solve it. If you search in the electron repo you will see that this error occurs when running electron in headless mode, like in a vm/WSL2/container.

AllanOricil avatar Dec 06 '20 12:12 AllanOricil

So maybe when WSL2 has desktop support it'll work. I was able to render on Windows.

giggio avatar Dec 06 '20 16:12 giggio

So maybe when WSL2 has desktop support it'll work. I was able to render on Windows.

yes, on windows everything render without a problem.

AllanOricil avatar Dec 06 '20 17:12 AllanOricil