patrikx3/onenote

Black Screen on v2022.4.114 (latest AppImage release) using electron 18

remanifest opened this issue · 4 comments

When using the latest package release of v2022.4.114, the application opens up to a black screen on Arch Linux using electron 18:

[992447:0406/110826.862126:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
APPIMAGE env is not defined, current application is not an AppImage
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/unique_ptr.h:659: typename std::add_lvalue_reference<element_type>::type std::unique_ptr<blink::CSSSelector []>::operator const [_Tp = blink::CSSSelector [], _Dp = std::default_delete<blink::CSSSelector []>]: Assertion 'get() != pointer()' failed.
Error sending from webFrameMain: Error: Render frame was disposed before WebFrameMain could be accessed
at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
at BrowserWindow. (/usr/lib/p3x-onenote/src/electron/main/create/window/onenote.js:66:55)
at BrowserWindow.emit (node:events:402:35)

Using the latest npm release sudo npm install -g p3x-onenote --unsafe-perm=true --allow-root results in the package working correctly, so perhaps the AppImage just needs to be updated?

Having the same issue on Arch using this package :

❯ p3x-onenote
[25561:0411/091647.366978:ERROR:browser_main_loop.cc(269)] GLib-GObject: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(electron:25561): Gtk-WARNING **: 09:16:47.379: Theme parsing error: gtk.css:3611:22: 'none' is not a valid color name
[25595:0411/091647.552583:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
APPIMAGE env is not defined, current application is not an AppImage
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../include/c++/11.2.0/bits/unique_ptr.h:659: typename std::add_lvalue_reference<element_type>::type std::unique_ptr<blink::CSSSelector []>::operator[](std::size_t) const [_Tp = blink::CSSSelector [], _Dp = std::default_delete<blink::CSSSelector []>]: Assertion 'get() != pointer()' failed.
Error sending from webFrameMain:  Error: Render frame was disposed before WebFrameMain could be accessed
    at EventEmitter.n.send (node:electron/js2c/browser_init:165:417)
    at EventEmitter.b.send (node:electron/js2c/browser_init:161:2494)
    at BrowserWindow.<anonymous> (/usr/lib/p3x-onenote/src/electron/main/create/window/onenote.js:66:55)
    at BrowserWindow.emit (node:events:402:35)

I have the same problem, but running it with electron17 works fine.

exec /usr/bin/electron17 /usr/lib/p3x-onenote

it is a upstream problem. linut mint work out right away. only mint working, cant fix all destros.

APPIMAGE problem in your destro, missing APPIMAGE...