wolfram-js-frontend icon indicating copy to clipboard operation
wolfram-js-frontend copied to clipboard

Unable to launch WLJS

Open xiaoxuan-yu opened this issue 1 year ago • 8 comments

Describe the bug Not able to launch wljs-notebook.

To Reproduce Install the latsest wljs-notebook with deb/appimage, launch the software.

Expected behavior The software do not launch. When trying to launch by terminal, the error message below is printed as the output

Mica-Electron only works on Windows!
Mica-Electron: Disabled
aaahhh...
exiting the server...
(node:1047594) UnhandledPromiseRejectionWarning: Error: Failed to load image from path '/opt/WLJS Notebook/resources/app/Electron/build/256x256_new.png'
    at /opt/WLJS Notebook/resources/app/Electron/main.js:1318:16
    at emitUnhandledRejectionWarning (node:internal/process/promises:200:15)
    at processPromiseRejections (node:internal/process/promises:296:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:1047594) Error: Failed to load image from path '/opt/WLJS Notebook/resources/app/Electron/build/256x256_new.png'
    at /opt/WLJS Notebook/resources/app/Electron/main.js:1318:16

Screenshots image

Desktop (please complete the following information):

  • OS: KUbuntu 22.04
  • Browser [e.g. chrome, safari] or Desktop App: Desktop App

xiaoxuan-yu avatar May 14 '24 06:05 xiaoxuan-yu

Could you, please, try this one?

link

JerryI avatar May 14 '24 07:05 JerryI

We have recently updated the binaries, and probably missed some files in the bundle while packing it for Linux

JerryI avatar May 14 '24 08:05 JerryI

We have updated the releases page link. I checked on Debian 11, now it works

IMG_DCEE277A1775-1

JerryI avatar May 14 '24 20:05 JerryI

The problem that image failed to load seems solved, no error message printed in the terminal. However, the ui seems not able to load correctly. image The output is pasted as below

Mica-Electron only works on Windows!
Mica-Electron: Disabled
aaahhh...
exiting the server...
shortcut required
shortcut required
shortcut required
shortcut required
shortcut required
shortcut required
shortcut required
shortcut required
Electron >> starting powersafe blocker

I fully understand that it is an independent problem, maybe I need to open a new issue?

xiaoxuan-yu avatar May 15 '24 04:05 xiaoxuan-yu

Hmm… Another question. Do you use “_minimal” or normal installation file?

JerryI avatar May 15 '24 05:05 JerryI

the normal one

xiaoxuan-yu avatar May 15 '24 05:05 xiaoxuan-yu

We ve found a Kubuntu machine with @KirillBelovTest and will try to test everything there.

JerryI avatar May 15 '24 11:05 JerryI

We found out the solution.

sudo apt install zenity

Probably this is bad, that we rely on this package, which is missing on some linux distros. In the next release soon we will get rid of this dependency.

JerryI avatar May 18 '24 14:05 JerryI

Must be fixed in #165

JerryI avatar May 19 '24 16:05 JerryI