question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When checking for update, an error occurs

See original GitHub issue

Flow Launcher version: 1.8.3 OS Version: Microsoft Windows NT 10.0.19042.0 IntPtr Length: 8 x64: True

Python Path: Date: 10/07/2021 22:48:31 Exception: System.Exception: Couldn’t acquire lock, is another instance running at Squirrel.SingleGlobalInstance…ctor(String key, TimeSpan timeOut) at Squirrel.UpdateManager.<acquireUpdateLock>b__32_0() at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Squirrel.UpdateManager.CheckForUpdate(Boolean ignoreDeltaUpdates, Action1 progress) at Flow.Launcher.Core.Updater.UpdateApp(IPublicAPI api, Boolean silentUpdate) in C:\projects\flow-launcher\Flow.Launcher.Core\Updater.cs:line 45 at Flow.Launcher.ViewModel.SettingWindowViewModel.UpdateApp() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\SettingWindowViewModel.cs:line 49 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 2021-10-07.txt

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
taooceroscommented, Oct 11, 2021

Same error,it happens everytime:

Flow Launcher version: 1.8.3
OS Version: Microsoft Windows NT 10.0.19042.0
IntPtr Length: 8
x64: True

Python Path: 
Date: 10/08/2021 14:28:02
Exception:
System.Text.Json.JsonException: The JSON value could not be converted to System.Collections.Generic.List`1[Flow.Launcher.Core.Updater+GithubRelease]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.
   at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)
   at System.Text.Json.Serialization.Converters.IEnumerableDefaultConverter`2.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, TCollection& value)
   at System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonConverter jsonConverter, Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase)
   at System.Text.Json.JsonSerializer.ReadAsync[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options, CancellationToken cancellationToken)
   at Flow.Launcher.Core.Updater.GitHubUpdateManager(String repository) in C:\projects\flow-launcher\Flow.Launcher.Core\Updater.cs:line 120
   at Flow.Launcher.Core.Updater.UpdateApp(IPublicAPI api, Boolean silentUpdate) in C:\projects\flow-launcher\Flow.Launcher.Core\Updater.cs:line 41
   at Flow.Launcher.ViewModel.SettingWindowViewModel.UpdateApp() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\SettingWindowViewModel.cs:line 49
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

I think this error may occur because you are in China😂 so unable to fetch the actual json value. We are considering moving some direct link to github to cdn, but haven’t completed.

0reactions
taooceroscommented, Oct 11, 2021

We are considering moving some direct link to github to cdn, but haven’t completed.

@taooceros it’s done/fixed in the dev branch right?

The issue for China is not. However, I am not sure how to fix it…

Read more comments on GitHub >

github_iconTop Results From Across the Web

If your iPhone or iPad won't update
"Unable to Check for Update. An error occurred while checking for a software update." An iPhone showing the "Unable to Install Update" alert ......
Read more >
How To Fix “An Error Occurred While Checking For A Software ...
Check if You Are Connected to the Network · Reset Network Settings · Free Up Memory Space · Delete the Previous Beta Profile...
Read more >
Software Update Problem: Unable to check for ...
Try each step until you resolve your issue · Try updating your software via iTunes (Windows and macOS Mojave and below) or Finder...
Read more >
[9 Solutions] Fix an Error Occurred While Checking for A ...
Solution 1. Restart your device. How do I fix unable to check for updates? When it is unable to check for update iOS...
Read more >
Fix "Unable to Check for Update" error on iPhone or iPad
Force quit and reopen the Settings app · Restart or force restart your iPhone · Turn off VPN · Try a different Wi-Fi...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found