Jump to content


Photo

Emby Looking for File with Wrong Casing

4.2.0.1 linux docker

  • Please log in to reply
5 replies to this topic

#1 AstroGeek OFFLINE  

AstroGeek

    Newbie

  • Members
  • 8 posts
  • Local time: 06:23 PM

Posted 26 April 2019 - 01:48 PM

Version: Emby Server 4.2.0.1

 

Environment: Docker

 

While looking through my Emby server log today to trace down a separate issue I was seeing, I ran across hundreds of the following messages.

2019-04-26 05:10:58.230 Error App: Error in TheTVDB
	*** Error Report ***
	Version: 4.2.0.1
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Unix 4.19.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: /config
	Application directory: /system
	System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file '/config/cache/tvdb/76924/en-us.xml'.
	File name: '/config/cache/tvdb/76924/en-us.xml'
	   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at Tvdb.TvdbSeriesProvider.FetchSeriesInfo(MetadataResult`1 result, String seriesXmlPath, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.FetchSeriesData(MetadataResult`1 result, String seriesDataPath, String metadataLanguage, Dictionary`2 seriesProviderIds, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
	
2019-04-26 05:10:58.230 Info HttpClient: GET https://api.themoviedb.org/3/tv/903?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=credits,images,keywords,external_ids,videos,content_ratings&language=en-US&include_image_language=en-US,en,null,en

The issue is that it's trying to locate the file 'en-us.xml', which doesn't exist in the cache directory path, but the file 'en-US.xml' does exist in the provided path.

 

This appears to be an issue where proper casing is not being used and causing a file not found exception within a Linux environment.

 

Right now I'm unable to tell is this is causing any ill effects, but I wanted to make sure it was reported so it could be looked at.



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129475 posts
  • Local time: 08:23 PM

Posted 26 April 2019 - 08:41 PM

Hi, thanks for the report. We'll take a look.

#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129475 posts
  • Local time: 08:23 PM

Posted 01 May 2019 - 02:28 AM

Hi, do you still have that en-US file? What are the date timestamps on it?



#4 AstroGeek OFFLINE  

AstroGeek

    Newbie

  • Members
  • 8 posts
  • Local time: 06:23 PM

Posted 03 May 2019 - 12:49 PM

The en-US for this particular title is dated May 3, 2019.

 

I went back to have a look at my most recent log and see that the same error was thrown again for this particular title at 05:12am this morning (05/03/2019).

2019-05-03 05:12:46.155 Info HttpClient: GET https://www.thetvdb.com/api/B89CE93890E9419B/series/76924/all/en.zip
2019-05-03 05:12:47.388 Error App: Error in TheTVDB
	*** Error Report ***
	Version: 4.2.0.1
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Unix 4.19.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///system/System.Private.CoreLib.dll
	Processor count: 12
	Program data path: /config
	Application directory: /system
	System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file '/config/cache/tvdb/76924/en-us.xml'.
	File name: '/config/cache/tvdb/76924/en-us.xml'
	   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at Tvdb.TvdbSeriesProvider.FetchSeriesInfo(MetadataResult`1 result, String seriesXmlPath, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.FetchSeriesData(MetadataResult`1 result, String seriesDataPath, String metadataLanguage, Dictionary`2 seriesProviderIds, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
	
2019-05-03 05:12:47.388 Info HttpClient: GET https://api.themoviedb.org/3/tv/903?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=credits,images,keywords,external_ids,videos,content_ratings&language=en-US&include_image_language=en-US,en,null,en

Contents of /config/cache/tvdb/76924 directory

-rw-r--r--   1 docker users 25735 May  3 05:12 en-US.xml
-rw-r--r--   1 docker users  1262 May  3 05:12 episode-abs-3.xml
-rw-r--r--   1 docker users  1343 May  3 05:12 episode-abs-2.xml
-rw-r--r--   1 docker users  1433 May  3 05:12 episode-abs-1.xml
-rw-r--r--   1 docker users  1262 May  3 05:12 episode-1-3.xml
-rw-r--r--   1 docker users  1343 May  3 05:12 episode-1-2.xml
-rw-r--r--   1 docker users  1433 May  3 05:12 episode-1-1.xml
-rw-r--r--   1 docker users 25735 May  3 05:12 en.xml
-rw-r--r--   1 docker users 11281 May  3 05:12 banners.xml
-rw-r--r--   1 docker users   515 May  3 05:12 actors.xml
-rw-r--r--   1 docker users  1214 May  3 05:12 episode-abs-6.xml
-rw-r--r--   1 docker users  1238 May  3 05:12 episode-abs-5.xml
-rw-r--r--   1 docker users  1265 May  3 05:12 episode-abs-4.xml
-rw-r--r--   1 docker users  1310 May  3 05:12 episode-2-5.xml
-rw-r--r--   1 docker users  1419 May  3 05:12 episode-2-4.xml
-rw-r--r--   1 docker users  1353 May  3 05:12 episode-2-3.xml
-rw-r--r--   1 docker users  1365 May  3 05:12 episode-2-2.xml
-rw-r--r--   1 docker users  1305 May  3 05:12 episode-2-1.xml
-rw-r--r--   1 docker users  1214 May  3 05:12 episode-1-6.xml
-rw-r--r--   1 docker users  1238 May  3 05:12 episode-1-5.xml
-rw-r--r--   1 docker users  1265 May  3 05:12 episode-1-4.xml
-rw-r--r--   1 docker users  1375 May  3 05:12 episode-3-6.xml
-rw-r--r--   1 docker users  1439 May  3 05:12 episode-3-5.xml
-rw-r--r--   1 docker users  1394 May  3 05:12 episode-3-4.xml
-rw-r--r--   1 docker users  1453 May  3 05:12 episode-3-3.xml
-rw-r--r--   1 docker users  1404 May  3 05:12 episode-3-2.xml
-rw-r--r--   1 docker users  1416 May  3 05:12 episode-3-1.xml
-rw-r--r--   1 docker users  1535 May  3 05:12 episode-2-6.xml


#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 129475 posts
  • Local time: 08:23 PM

Posted 03 May 2019 - 02:14 PM

Do you have an nfo file for this series?

#6 AstroGeek OFFLINE  

AstroGeek

    Newbie

  • Members
  • 8 posts
  • Local time: 06:23 PM

Posted 04 May 2019 - 08:54 AM

I do.

 

In the base directory of the show is a file named tvshow.nfo, with the following contents.

<?xml version="1.0" encoding="utf-8"?>
<tvshow xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <id>76924</id>
  <imdb>tt0262150</imdb>
  <tmdb>903</tmdb>
  <uniqueid type="tvdb" default="true">76924</uniqueid>
  <uniqueid type="imdb" default="false">tt0262150</uniqueid>
  <uniqueid type="tmdb" default="false">903</uniqueid>
  <title>Black Books</title>
  <language>en-US</language>
  <episodeguide>
    <url>http://www.thetvdb.com/api/1D62F2F90030C444/series/76924/all/en-US.zip</url>
  </episodeguide>
  <rating>8.9</rating>
  <votes>52</votes>
  <genre>Comedy</genre>
  <mpaa>TV-PG</mpaa>
  <premiered>2000-09-29</premiered>
  <studio>Channel 4</studio>
  <status>Ended</status>
  <plot>Black Books is a second-hand bookshop in London run by an Irishman named Bernard Black. He is probably the planet's worst-suited person to run such an establishment: he makes no effort to sell, closes at strange hours on a whim, is in a perpetual alcoholic stupor, abhors his customers (sometimes physically abusing them) and is often comatose at his desk. Help comes in the lumpy shape of Manny Bianco, a hairy, bumbling individual who (almost by osmosis) becomes Bernard's assistant. Manny is not exactly great at the job either but he is a million times better than Bernard. Next door is Fran, an anxious, frustrated woman who runs a sort of new-age shop selling the most unlikely bits of arty junk. Fran is friends with Bernard and, through him, with Manny; together the trio become embroiled in escapades that are sometimes extreme or violent or fantastically ludicrous, and always bizarre.</plot>
  <runtime>25</runtime>
  <actor>
    <name>Dylan Moran</name>
    <role>Bernard Black</role>
    <order>0</order>
    <thumb>http://thetvdb.com/banners/actors/50841.jpg</thumb>
    <tvdbid>50841</tvdbid>
  </actor>
  <actor>
    <name>Bill Bailey</name>
    <role>Manny Bianco</role>
    <order>1</order>
    <thumb>http://thetvdb.com/banners/actors/50842.jpg</thumb>
    <tvdbid>50842</tvdbid>
  </actor>
  <actor>
    <name>Tamsin Greig</name>
    <role>Fran Katzenjammer</role>
    <order>2</order>
    <thumb>http://thetvdb.com/banners/actors/50840.jpg</thumb>
    <tvdbid>50840</tvdbid>
  </actor>
  <seasons>
    <seasondetails>
      <season>-1</season>
      <title>* All Seasons</title>
      <locked>false</locked>
    </seasondetails>
    <seasondetails>
      <season>1</season>
      <title>Season 01</title>
      <tvdb>11702</tvdb>
      <locked>false</locked>
    </seasondetails>
    <seasondetails>
      <season>2</season>
      <title>Season 02</title>
      <tvdb>11703</tvdb>
      <locked>false</locked>
    </seasondetails>
    <seasondetails>
      <season>3</season>
      <title>Season 03</title>
      <tvdb>11704</tvdb>
      <locked>false</locked>
    </seasondetails>
  </seasons>
  <locked>false</locked>
</tvshow>






Also tagged with one or more of these keywords: 4.2.0.1, linux, docker

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users