Jump to content

Trying to delete backdrops leads to GUID error


C.S.
Go to solution Solved by Happy2Play,

Recommended Posts

C.S.

Context: For some time now, since updating to 4.8.3, I've been methodically refreshing metadata (replace all + replace images) for my TV and movie libraries in order to take advantage of the new image cache feature. I say "methodically" because I can't refresh an entire library at once, since I noticed Emby has a habit of sometimes re-identifying titles which I have previously corrected from a mis-identification. What I do is I take a screenshot of a bunch of posters, multi-select them and refresh. Then I go hunt down anything that got moved. Yes, it's a pain, but that's not the problem.

The problem, which I believe started with 4.8.5, is when I go to Edit images and add a new backdrop, I get an error when trying to delete the old one. (And I get the same error when trying to delete the new one I just selected.) I performed this operation successfully on at least 2000 movies before the error started to pop up. At first it was just once in a while, but now I can't delete any of the backdrops I've tried. (Deleting them in windows explorer still works fine.)

The error: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

This is the text generated in the log when I click Delete:

Quote

2024-05-08 16:33:18.078 Info Server: http/1.1 POST http://‌‍‍192.168.1.2:8096/emby/Items/71503_ItemImage_undefined_1/Images/Backdrop/1/Delete?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=738dbf3a-f3fc-41a6-b691-83258eb8e17f&X-Emby-Client-Version=4.8.5.0&X-Emby-Token=‌83b3748b25014dfabeaee8e9beaab290‌&X-Emby-Language=en-us. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
2024-05-08 16:33:18.079 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.6.0
    Command line: C:\Emby\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.19045
    Framework: .NET 6.0.29
    OS/Process: x64/x64
    Runtime: C:/Emby/system/System.Private.CoreLib.dll
    Processor count: 20
    Data path: C:\Emby\programdata
    Application path: C:\Emby\system
    System.FormatException: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
       at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)
       at System.Guid.TryParseExactN(ReadOnlySpan`1 guidString, GuidResult& result)
       at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result)
       at System.Guid..ctor(String g)
       at MediaBrowser.Controller.Library.LibraryManagerExtensions.GetItemById(ILibraryManager manager, ReadOnlySpan`1 id)
       at MediaBrowser.Controller.Library.LibraryManagerExtensions.GetItemById(ILibraryManager manager, String id)
       at Emby.Api.Images.ImageService.Any(DeleteItemImage request)
       at Emby.Server.Implementations.Services.ServiceController.<>c__DisplayClass8_0.<VoidActionDelegate>b__0(Object service, Object request)
       at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req, Type serviceType)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: System.Private.CoreLib
    TargetSite: Void SetFailure(Boolean, System.String)
    
2024-05-08 16:33:18.079 Info Server: http/1.1 Response 500 to ‌‍‍192.168.1.100‌. Time: 1ms. POST http://‌‍‍192.168.1.2:8096/emby/Items/71503_ItemImage_undefined_1/Images/Backdrop/1/Delete?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=738dbf3a-f3fc-41a6-b691-83258eb8e17f&X-Emby-Client-Version=4.8.5.0&X-Emby-Token=‌83b3748b25014dfabeaee8e9beaab290‌&X-Emby-Language=en-us

I noticed this line: at System.Guid..ctor(String g) is kind of weird. It looks like it wants to say Actor but the A has been replaced with a dot. Of course that could have nothing to do with anything, I just thought it looked wrong.

Link to comment
Share on other sites

Happy2Play

Will have to look but is this from a specific client?

Have you tried a different client?

Issue was seen in Linux ET 3.0.19 and required uninstall reinstall mentioned later in that topic.

Appears to be similar/same issue "/emby/Items/71503_ItemImage_undefined_1/Images/Backdrop/1/Delete"

 

  • Thanks 1
Link to comment
Share on other sites

C.S.

Seems to work fine in Chrome. No joy in Firefox. Thanks I should have thought to check that.

Link to comment
Share on other sites

  • Solution
Happy2Play
Posted (edited)
2 minutes ago, C.S. said:

Seems to work fine in Chrome. No joy in Firefox. Thanks I should have thought to check that.

Does seem odd as I would think all browsers would be using the same code/method.  But maybe @Luke has an idea unless it is a browser cache issue.

Edited by Happy2Play
  • Thanks 1
Link to comment
Share on other sites

C.S.

You did it again. Cleared the cache, restarted firefox and now it works. Sorry for the unnecessary post!

  • Thanks 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...