You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the metadata scan triggers the following error for some files, but the verbose logs don't identify which files are responsible:
[Error] [WebAPI] Error handling API request '/API/EditModelMetadata' for user 'local': Internal exception: System.NullReferenceException: Object reference not set to an instance of an object.
at SwarmUI.WebAPI.ModelsAPI.EditModelMetadata(Session session, String model, String title, String author, String type, String description, Int32 standard_width, Int32 standard_height, String usage_hint, String date, String license, String trigger_phrase, String prediction_type, String tags, String preview_image, String preview_image_metadata, Boolean is_negative_embedding, String subtype) in /SwarmUI/src/WebAPI/ModelsAPI.cs:line 504
at SwarmUI.WebAPI.API.HandleAsyncRequest(HttpContext context) in /SwarmUI/src/WebAPI/API.cs:line 134
This leaves the Scan UI in a broken state (stuck "Running", incorrect remaining count like -2), requiring an application restart to recover the scan function.
The text was updated successfully, but these errors were encountered:
My theory is you had a model scanned and set for metadata update, where the only available previews on civitai were videos, and Swarm bugged out not being able to imageify a video. If that's accurately the case, it should be fixed now (it will simply not be able to apply the preview image in this case, but otherwise work as intended).
Running the metadata scan triggers the following error for some files, but the verbose logs don't identify which files are responsible:
[Error] [WebAPI] Error handling API request '/API/EditModelMetadata' for user 'local': Internal exception: System.NullReferenceException: Object reference not set to an instance of an object.
at SwarmUI.WebAPI.ModelsAPI.EditModelMetadata(Session session, String model, String title, String author, String type, String description, Int32 standard_width, Int32 standard_height, String usage_hint, String date, String license, String trigger_phrase, String prediction_type, String tags, String preview_image, String preview_image_metadata, Boolean is_negative_embedding, String subtype) in /SwarmUI/src/WebAPI/ModelsAPI.cs:line 504
at SwarmUI.WebAPI.API.HandleAsyncRequest(HttpContext context) in /SwarmUI/src/WebAPI/API.cs:line 134
This leaves the Scan UI in a broken state (stuck "Running", incorrect remaining count like -2), requiring an application restart to recover the scan function.
The text was updated successfully, but these errors were encountered: