codechurn 9 Posted December 20, 2022 Posted December 20, 2022 I am attempting to edit channel metadata via the browser, however when I select the operation I get an endless spinner. Looking in the Emby server logs I see the following: 2022-12-20 10:53:50.106 Error Server: Error processing request *** Error Report *** Version: 4.7.11.0 Command line: C:\Users\wmc\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service Operating system: Microsoft Windows 10.0.20348 Framework: .NET 6.0.10 OS/Process: x64/x64 Runtime: C:/Users/wmc/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 12 Data path: C:\Users\wmc\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\wmc\AppData\Roaming\Emby-Server\system System.Xml.XmlException: System.Xml.XmlException: 'Polly' is an unexpected token. Expecting whitespace. Line 609329, position 34. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ThrowExpectingWhitespace(Int32 pos) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Skip() at Emby.XmlTV.XmlTvReader.GetChannels(String path) at Emby.XmlTV.XmlTvProvider.GetChannels(ListingsProviderInfo info, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.GetEpgChannelData(IListingsProvider provider, ListingsProviderInfo info, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.QueryChannelsAsync(ChannelManagementQuery query, CancellationToken cancellationToken) at Emby.LiveTV.LiveTvManager.GetTunerChannelsForManagementAsync(ChannelManagementQuery query, CancellationToken cancellationToken) at MediaBrowser.LiveTV.Api.LiveTvService.Get(GetChannelManagementList request) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, 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.Xml TargetSite: Void Throw(System.Exception)
visproduction 315 Posted December 20, 2022 Posted December 20, 2022 Related issue search: https://www.google.com/search?q="System.Xml.XmlException"+"unexpected+token.+Expecting+whitespace."
Luke 42081 Posted December 20, 2022 Posted December 20, 2022 Hi there, please attach the complete emby server log. Thanks.
codechurn 9 Posted December 20, 2022 Author Posted December 20, 2022 There is a lot of stuff going on in that log file..... are you sure you want the whole thing?
Happy2Play 9783 Posted December 21, 2022 Posted December 21, 2022 @codechurn If it is reproducible you can go to scheduled tasks rotate log and reproduce the issue and post log.
codechurn 9 Posted December 21, 2022 Author Posted December 21, 2022 (edited) Definitely reproducible. Here is a log file with just that action captured and trace mode turned on. Also, I noticed that Emby throws an error when following junctions on Windows. I have this and some other scan errors in the original log file. I can share it as well, but like I said... there is a lot of stuff going on in there. embyserver-63807165416.txt Edited December 21, 2022 by codechurn
Luke 42081 Posted January 10, 2023 Posted January 10, 2023 @codechurn one of your xml providers is returning malformed xml. If you can remove that one from Emby Server, then that should resolve this issue.
codechurn 9 Posted January 15, 2023 Author Posted January 15, 2023 I think you are spot on. I think there must have been some bad data being output by EPG123 for a program. After a few days the problem went away. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now