zidoro / pomatez

Stay Focused. Take a Break.
https://zidoro.github.io/pomatez/
MIT License
4.04k stars 168 forks source link

Bug Report: Pomatez not starting #292

Open Delicious-Bacon opened 2 years ago

Delicious-Bacon commented 2 years ago

Describe the bug pomatez won't start on a fresh install.

To Reproduce

$ pomatez
16:02:40.297 › Checking for update
16:02:40.337 › Error: Error: ENOENT: no such file or directory, open '/opt/Pomatez/resources/app-update.yml'
(node:4307) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/Pomatez/resources/app-update.yml'
(node:4307) 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:4307) [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.
[4307:0906/160240.767596:FATAL:gpu_data_manager_impl_private.cc(442)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

Expected behavior Pomatez starting.

Screenshots N/A

Desktop (please complete the following information):

Additional context N/A

sekwah41 commented 2 years ago

Ive never personally tried running the rpm files.

Though we are looking to do a framework rewrite so hopefully this should covert that too :D

sekwah41 commented 2 years ago

Once the rewrite of the backend of it is done (currently making some tests so I don't mess up this project) ill re-review the bugs like this to check if they still exist.

Delicious-Bacon commented 2 years ago

The Snap version of Pomatez was working well. What kind of package is there? Is there a way to get that package without Snap?

My snapd is having issues with cgroups so I can no longer run Pomatez through Snap.

sekwah41 commented 2 years ago

Usually its something weird with how electron has tried to link the GPU. Opening it in sandbox mode or disabling hardware acceleration usually fixes that for these sorts of apps.

I think its quite a generic electron/node wrapper for snap though I'm only used to electron-builder. Youd need to chat to @roldanjr about the snap config.

Nicodile commented 2 years ago

I usually use the appimage. If you would like to try installing appimagelauncher and run it through there.