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

[bug] Resynchronize library with Sharenite cancels itself #22

Open
BloodShed-Oni opened this issue Nov 8, 2023 · 2 comments
Open

[bug] Resynchronize library with Sharenite cancels itself #22

BloodShed-Oni opened this issue Nov 8, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@BloodShed-Oni
Copy link

When using the 'Resynchronize library with Sharenite' the process will run for a minute and then end with this error message.
image

Here's the extension log

08-11 16:00:22.287|ERROR|Sharenite#Sharenite:Sharenite synchronization failed.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Sharenite.Services.ShareniteAccountClient.<SynchroniseGames>d__20.MoveNext() in C:\Users\dawid\Projects\Playnite\playnite-sharenite\Services\ShareniteAccountClient.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Sharenite.Sharenite.<>c__DisplayClass15_0.<SynchroniseGames>b__0(GlobalProgressActionArgs args) in C:\Users\dawid\Projects\Playnite\playnite-sharenite\Sharenite.cs:line 76
   at Playnite.ViewModels.ProgressViewViewModel.<>c__DisplayClass22_0.<ActivateProgress>b__0() in C:\projects\playnite\source\Playnite\ViewModels\ProgressViewViewModel.cs:line 91
@XenorPLxx
Copy link
Contributor

I knew this day would come eventually :).

I'd probably have to reimplement code to do partial sends instead of trying to send a huge library at once.

As a way around for now, you can use filters for partial sync, e.g. select only one category/tag/platform, ctrl+a, right click on any game and choose 'Synchronize... Sharenite' option, repeat for all filters.

@XenorPLxx XenorPLxx added the bug Something isn't working label Nov 12, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Ongoing development Nov 12, 2023
@XenorPLxx XenorPLxx added this to the Road to 1.0 milestone Nov 12, 2023
@XenorPLxx
Copy link
Contributor

Referencing JosefNemec/Playnite@c8b8c7e as potential additional improvement to the process

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
Status: 📋 Backlog
Development

No branches or pull requests

2 participants