Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pocket Sync keeps crashing while downloading required files for CPS2 (including alternative files) #281

Open
tarikalmashni opened this issue May 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@tarikalmashni
Copy link

I just started the download of the alternative required files for CPS2 now for the 10th time. Pocket Sync keeps crashing without any feedback.
It does download a few since the "missing" amount is decreasing each time I re-launch it but it stills crashes, thus it takes ages to get all the files.

Here's the content of the log file:
[2024-05-07][14:25:29][INFO][pocket_sync::install_zip] Zip Task Started [2024-05-07][14:25:29][DEBUG][reqwest::connect] starting new connection: https://github.com/ [2024-05-07][14:25:29][DEBUG][pocket_sync] Command: get_news_feed [2024-05-07][14:25:29][DEBUG][reqwest::connect] starting new connection: https://openfpga-cores-inventory.github.io/ [2024-05-07][14:25:29][DEBUG][pocket_sync] Command: get_firmware_versions_list [2024-05-07][14:25:29][DEBUG][reqwest::connect] starting new connection: https://www.analogue.co/ [2024-05-07][14:25:29][INFO][pocket_sync::install_zip] Zip Task listening for file drop [2024-05-07][14:25:29][INFO][pocket_sync::install_zip] Zip Task listening for install-core [2024-05-07][14:25:29][DEBUG][reqwest::async_impl::client] redirecting 'https://github.com/neil-morrison44/pocket-sync/releases/latest/download/latest.json' to 'https://github.com/neil-morrison44/pocket-sync/releases/download/v4.8.1/latest.json' [2024-05-07][14:25:29][DEBUG][reqwest::async_impl::client] redirecting 'https://github.com/neil-morrison44/pocket-sync/releases/download/v4.8.1/latest.json' to 'https://objects.githubusercontent.com/github-production-release-asset-2e65be/556993170/476496cd-cddf-4b91-87ff-adb5375999e0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240507%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240507T142529Z&X-Amz-Expires=300&X-Amz-Signature=db8ffaeac60773fd1445205e7b6f39ad4984fffbe1ea989801fced7bd991f6de&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=556993170&response-content-disposition=attachment%3B%20filename%3Dlatest.json&response-content-type=application%2Foctet-stream' [2024-05-07][14:25:29][DEBUG][reqwest::connect] starting new connection: https://objects.githubusercontent.com/ [2024-05-07][14:25:30][DEBUG][pocket_sync] Command: open_pocket [2024-05-07][14:25:32][DEBUG][pocket_sync] Command: open_pocket_folder H:\ [2024-05-07][14:25:32][INFO][pocket_sync::checks] Watching files and folders at H:\.... [2024-05-07][14:25:32][DEBUG][pocket_sync] Command: walkdir_list_files - Saves [2024-05-07][14:25:32][DEBUG][pocket_sync] Command: read_text_file - pocket-sync.json [2024-05-07][14:25:32][DEBUG][pocket_sync] Command: backup_saves [2024-05-07][14:25:32][DEBUG][pocket_sync] Command: read_text_file - Analogue_Pocket.json [2024-05-07][14:25:32][DEBUG][pocket_sync] Command: list_files - Memories/Screenshots [2024-05-07][14:25:33][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20230830_172256.png [2024-05-07][14:25:36][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20240227_215229.png [2024-05-07][14:25:39][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20231118_182247.png [2024-05-07][14:25:43][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20231222_223738.png [2024-05-07][14:25:46][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20240401_165849.png [2024-05-07][14:25:49][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20240503_183144.png [2024-05-07][14:25:52][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20231123_232555.png [2024-05-07][14:25:55][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20230916_184326.png [2024-05-07][14:26:00][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20231202_233553.png [2024-05-07][14:26:03][DEBUG][pocket_sync] Command: read_binary_file - Memories/Screenshots/20230917_171351.png [2024-05-07][14:26:04][WARN][tao::platform_impl::platform::event_loop::runner] NewEvents emitted without explicit RedrawEventsCleared [2024-05-07][14:26:04][WARN][tao::platform_impl::platform::event_loop::runner] RedrawEventsCleared emitted without explicit MainEventsCleared

@tarikalmashni tarikalmashni added the bug Something isn't working label May 7, 2024
@neil-morrison44
Copy link
Owner

@tarikalmashni looks like that log file is just for the app starting up, if it crashes again if you grab the log file before reopening it’ll probably contain useful info

@LDOG-LONDON
Copy link

LDOG-LONDON commented May 15, 2024

Hello I am seeing the same problem with CPS2 and alternate files. I also saw this crash for CPS1 with alternate files. Here is the pocket sync log
Pocket Sync - Crash.log

This looks like the error causing the crash
[2024-05-15][12:49:14][ERROR][panic] thread 'tokio-runtime-worker' panicked at 'called Result::unwrap()on anErr value: Runtime(FailedToSendMessage)': src\required_files\mod.rs:166

@neil-morrison44
Copy link
Owner

One of the fixes that went into v4.9.0 should help with this — previously it was re-scanning the required files every time it'd download a new file (which would have been a lot with required files on), now it'll know not to do that until it's finished.

Going to optimistically close this one as completed, but I'll reopen if it comes up again.

@LDOG-LONDON
Copy link

Hey I tried v4.9.0 out and it looks like all the alternative files downloaded, but after that was completed pocket sync crashed when checking the required files. This was tested on CPS1 alternate files.

Here's the log
Pocket Sync.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants