Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

AUR nor AppImage is starting on ArchLinux #123

Open
ooxkf opened this issue Feb 15, 2023 · 0 comments
Open

AUR nor AppImage is starting on ArchLinux #123

ooxkf opened this issue Feb 15, 2023 · 0 comments

Comments

@ooxkf
Copy link

ooxkf commented Feb 15, 2023

Not sure if this was already on the issue list or not, but I want to let you know about a issue in Arch Linux, built a binary with the AUR packager results in a blank transparent screen and alternatively AppImage shows a blank screen with a background, none of the debugging options work as the output shows the same result as without that paramenters. Please take a look, I hope you can figure out what may be the problem.

I have reinstalled my system recently, and I remember that I had a similar issue with the AUR package back in 2021, I successfully solved the problem that time by replacing AUR build with AppImage.

But this time none of them works. And it is every strange that AppImage which is supposed to work in any Linux environment, can have issues... Please suggest something what may i do, i really love your app and using it on daily basis.

AppImage:

❯ ~/Applications/electronplayer-2.0.8_9ea5b94d3b3c4efa0dea1a2091dce498.AppImage --trace-warnings --unhandled-rejections=strict
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
Adblock engine cache found. Loading it into app.
(node:567342) UnhandledPromiseRejectionWarning: Error: serialized engine version mismatch, expected 47 but got 2
    at Function.deserialize (/tmp/.mount_electrqYNQs4/resources/app.asar/node_modules/@cliqz/adblocker/dist/cjs/src/engine/engine.js:170:19)
    at Timeout.createWindow [as _onTimeout] (/tmp/.mount_electrqYNQs4/resources/app.asar/src/main.js:68:42)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
(node:567342) UnhandledPromiseRejectionWarning: Error: serialized engine version mismatch, expected 47 but got 2
    at Function.deserialize (/tmp/.mount_electrqYNQs4/resources/app.asar/node_modules/@cliqz/adblocker/dist/cjs/src/engine/engine.js:170:19)
    at Timeout.createWindow [as _onTimeout] (/tmp/.mount_electrqYNQs4/resources/app.asar/src/main.js:68:42)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)
(node:567342) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:567342) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:567342) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:567342) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

AUR build (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=electronplayer):

❯ /usr/bin/electronplayer --trace-warnings --unhandled-rejections=strict
Adblock engine cache found. Loading it into app.
(node:570077) UnhandledPromiseRejectionWarning: Error: serialized engine version mismatch, expected 570 but got 516
    at Function.deserialize (/usr/lib/electronplayer/resources/app.asar/node_modules/@cliqz/adblocker/dist/cjs/src/engine/engine.js:120:19)
    at Timeout.createWindow [as _onTimeout] (/usr/lib/electronplayer/resources/app.asar/src/main.js:64:42)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
(Use `electronplayer --trace-warnings ...` to show where the warning was created)
(node:570077) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:570077) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

And i've tried even sandboxing it as suggested by arch wiki (https://wiki.archlinux.org/title/Electronplayer)

❯ /usr/bin/firejail /usr/bin/electronplayer
/bin/sh: warning: shell level (1000) too high, resetting to 1
/bin/sh: warning: shell level (1000) too high, resetting to 1
/bin/sh: warning: shell level (1000) too high, resetting to 1
^C

Screenshot from AUR binary with empty and transparent background:
Screenshot_2023-02-15-22-35-35_2256x1504

Screenshot from AppImage with empty black window:
Screenshot_2023-02-15-22-36-13_2256x1504

Please help suggest what may i do to run it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant