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.

Hi, i don’t know exactly how BCU analyzes the scoop packages, but since the day i installed scoop, when BCU scans my system it reports a JSON error during the scoop phase: image

System.Text.Json.JsonException
'W' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
   at UninstallTools.Factory.ScoopFactory.GetUninstallerEntries(ListGenerationCallback progressCallback)
   at UninstallTools.Factory.ApplicationUninstallerFactory.GetMiscUninstallerEntries(ListGenerationCallback progressCallback)

Inner: 
System.Text.Json.JsonReaderException
'W' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)

My scoop -v output:

Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
8bc4007c3 winrar: Update to version 6.22

'main' bucket:
ec72ab311 wuzz: Update to version 0.5.0

My scoop list output:

Installed apps:

Name                   Version       Source Updated             Info
----                   -------       ------ -------             ----
7zip                   22.01         main   2023-05-30 16:21:29 
fancontrol             157           extras 2023-05-31 12:55:01 
vcredist2022           14.36.32532.0 extras 2023-05-30 16:24:34 
windowsdesktop-runtime 7.0.5         extras 2023-05-31 12:55:37 
xampp                  8.2.4-0       extras 2023-05-30 16:23:50 

have a nice day

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aetonsicommented, Jul 3, 2023

Yes that works

1reaction
Klocmancommented, Jun 30, 2023

That indeed seems to be the issue, thanks for letting me know. Can you check if this build fixes the issue? net6.0-windows10.0.18362.0.zip

Read more comments on GitHub >

github_iconTop Results From Across the Web

WARN Error parsing JSON at D:\dkal\environments\scoop\ ...
WARN Error parsing JSON at D:\dkal\environments\scoop\scoop_custom\buckets\dodorz\duf.json. The text was updated successfully, ...
Read more >
JSON Error: Here's the scoop :: ARK: Survival Evolved ...
Your client (game) can't get the info, and errors with the JSON error we're all getting. ... JSON Error: Here's the scoop.
Read more >
Macro throws a weird error while parsing content from json
When I scoop out that portion from page source using regex and process the same using JsonConverter , I get the following error:...
Read more >
i cannot install avrdude using scoop : r/embedded
WARN Error parsing JSON at C:\Users\jensv\scoop\buckets\main\bucket\avrdude.json. Couldn't find manifest for 'avrdude'. but i found the avrdude.
Read more >
Scoop Manifests
Assuming that the project name is drumroll , and the current tag is v1.2.3 , the above configuration will generate a drumroll.json manifest...
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