-
Notifications
You must be signed in to change notification settings - Fork 69
Description
Describe the bug
Hello, thank you very much for creating this software.
However, when I was using it, I found that the Metadata of some pictures could not be read and showed an error.
But, I can read it normally when using other tools(SDIMV v1.2.1).
In addition, when I use this software to drag a large number of pictures from the UI to another folder, after the copy is completed. Both the folder and this software will get stuck and unresponsive.
Version:
1.9
Tool:
A1111
To Reproduce
Expected behavior
Affected Image(s)
https://files.catbox.moe/uahynx.png
Screenshots
//==============
'{' is an invalid start of a property name. Expected a '"'. LineNumber: 0 | BytePositionInLine: 1.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.Utf8JsonReader.ReadSingleSegment() at System.Text.Json.Utf8JsonReader.Read() at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter) at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 json, JsonDocumentOptions options)
at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
at Diffusion.IO.Metadata.ReadRuinedFooocusParameters(String data)
at Diffusion.IO.Metadata.ReadFromFileInternal(String file)
at Diffusion.IO.Metadata.ReadFromFile(String file)
//==============
//==============
The given key was not present in the dictionary.
at System.Text.Json.JsonElement.GetProperty(String propertyName)
at Diffusion.IO.Metadata.ReadFooocusParameters(String data)
at Diffusion.IO.Metadata.ReadRuinedFooocusParameters(String data)
at Diffusion.IO.Metadata.ReadFromFileInternal(String file)
at Diffusion.IO.Metadata.ReadFromFile(String file)
//==============
Additional context
Add any other context about the problem here.



