mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-21 08:56:07 -04:00
[GH-ISSUE #32] [BUG] Program freezes after authorising in browser and then won't re-open #10
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jontstaz on GitHub (May 24, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop-app/issues/32
The database seems to get corrupted during this process and the program wont open again unless I delete the
drop.dbfile in my~/.local/share/dropdirectory. I'm on Arch Linux. I manually compiled the program but the same thing happens with the AppImage as well.. It makes the program unusable. Please help.@DecDuck commented on GitHub (May 24, 2025):
Can you share the log files also present in ~/.local/share/drop?
@jontstaz commented on GitHub (May 25, 2025):
There's only 1 line present:
2025-05-24T20:21:39.032677081+10:00 | INFO | src/lib.rs:180 - detected games missing: │ []@DecDuck commented on GitHub (May 25, 2025):
Can you try starting it from the terminal with
RUST_LOG=debugas an environment variable, and then sending us the logs again?Can you also provide us with the name & tag of the Docker image you're using, and any logs from the server?
And what branch/tag did you compile yourself, and what AppImage did you download?
Sorry for all the questions :/
@quexeky commented on GitHub (May 25, 2025):
Aight that makes sense.
We've updated the aur package - could you try installing drop-oss-app (https://aur.archlinux.org/drop-oss-app.git)?
(drop-oss-app-bin hasn't been updated properly)
@Pacodastre commented on GitHub (May 25, 2025):
I have the same issue. I can provide some details.
After the app has crashed, I tried to restart it and I got the following error in the terminal:
I can get the app working again by deleting
~/.local/share/dropand~/.local/share/drop-app.I also observed a slightly different behavior. After I authorized the app in the browser, I waited a few minutes without doing anything. I then enter the code provided by the web app into the desktop app, and I got the following error:
The app didn't crash. It let me try a second time, but crashed after inputting the code.
I saw that the Xwayland process is taking up to 40% cpu usage in top while the app is trying to authenticate.
Here is the error logs:
Let me know if you want a full rust backtrace.
@DecDuck commented on GitHub (May 25, 2025):
Thanks.
Could you check the image tag for the server and client version?
@Pacodastre commented on GitHub (May 25, 2025):
I use the following:
server:
decduck/drop-oss:v0.2.0-beta(docker image)client:
Drop Desktop Client_0.3.0-rc-1_amd64.AppImage(generated from source)@quexeky commented on GitHub (May 25, 2025):
That's going to be it is my guess - the v0.2.0 and v0.3.0 client and server are incompatible. Could you try with the drop desktop client 0.2.0 or 0.2.1?
Either that or upgrate the server to nightly
@DecDuck commented on GitHub (May 25, 2025):
To upgrade to nightly, you can checkout the docs here: https://docs.droposs.org/docs/next/guides/quickstart
@jontstaz commented on GitHub (May 26, 2025):
Well, I updated to the nightly image for the server and I have the latest binary (tried both the AUR packages + the latest 0.2.1 AppImage from this repo but am getting the same issue on all of the above..
And the application displays the following message:
Also, the server logs spit out the following 4 lines each time this happens:
@quexeky commented on GitHub (May 26, 2025):
The [Vue Router warn] issues are expected - we haven't implemented pages for them.
Your version still don't match. You either need nightly and the client generated from source, or the v0.2.0-beta tag and the downloaded client (0.2.0). We don't have a v0.3.0 AUR package for the client yet, which is the only version compatible with the current nightly server.
@Pacodastre commented on GitHub (May 26, 2025):
Downgrading the client fixed the issue. Thanks!
[BUG] Program freezes after authorising in browser and then won't re-opento [GH-ISSUE #32] [BUG] Program freezes after authorising in browser and then won't re-open