Error in TheTVDB System.FormatException: Input string was not in a correct format. #1024

Closed
opened 2026-02-06 20:24:41 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @agilob on GitHub (Nov 2, 2019).

This exception is logged many times while rescanning library

[08:26:15] [ERR] Error in TheTVDB
System.FormatException: Input string was not in a correct format.
at System.Number.ParseDouble(ReadOnlySpan`1 value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToDouble(String value)
at MediaBrowser.Providers.TV.TheTVDB.TvdbSeriesProvider.MapSeriesToResult(MetadataResult`1 result, Series tvdbSeries, String metadataLanguage)
at MediaBrowser.Providers.TV.TheTVDB.TvdbSeriesProvider.FetchSeriesData(MetadataResult`1 result, String metadataLanguage, Dictionary`2 seriesProviderIds, CancellationToken cancellationToken)
at MediaBrowser.Providers.TV.TheTVDB.TvdbSeriesProvider.GetMetadata(SeriesInfo itemId, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
Originally created by @agilob on GitHub (Nov 2, 2019). This exception is logged many times while rescanning library ``` [08:26:15] [ERR] Error in TheTVDB System.FormatException: Input string was not in a correct format. at System.Number.ParseDouble(ReadOnlySpan`1 value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToDouble(String value) at MediaBrowser.Providers.TV.TheTVDB.TvdbSeriesProvider.MapSeriesToResult(MetadataResult`1 result, Series tvdbSeries, String metadataLanguage) at MediaBrowser.Providers.TV.TheTVDB.TvdbSeriesProvider.FetchSeriesData(MetadataResult`1 result, String metadataLanguage, Dictionary`2 seriesProviderIds, CancellationToken cancellationToken) at MediaBrowser.Providers.TV.TheTVDB.TvdbSeriesProvider.GetMetadata(SeriesInfo itemId, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) ```
OVERLORD added the bugstale labels 2026-02-06 20:24:41 +03:00
Author
Owner

@bugsyb commented on GitHub (Nov 4, 2019):

+1 - found same logs on fresh install (docker)

@bugsyb commented on GitHub (Nov 4, 2019): +1 - found same logs on fresh install (docker)
Author
Owner

@Ashyni commented on GitHub (Jan 16, 2020):

Having a lot of this too. (docker 10.4.3)
May be related to:
https://github.com/dotnet/docs/issues/14455

@Ashyni commented on GitHub (Jan 16, 2020): Having a lot of this too. (docker 10.4.3) May be related to: https://github.com/dotnet/docs/issues/14455
Author
Owner

@Bond-009 commented on GitHub (Jan 16, 2020):

Can you find out what item causes the error?

@Bond-009 commented on GitHub (Jan 16, 2020): Can you find out what item causes the error?
Author
Owner

@agilob commented on GitHub (Jan 20, 2020):

I cant reproduce it right now.

@agilob commented on GitHub (Jan 20, 2020): I cant reproduce it right now.
Author
Owner

@JustAMan commented on GitHub (Jan 20, 2020):

My wild guess is TVDB was returning some error message which we tried to parse as a non-error stuff.

@JustAMan commented on GitHub (Jan 20, 2020): My wild guess is TVDB was returning some error message which we tried to parse as a non-error stuff.
Author
Owner

@stale[bot] commented on GitHub (May 19, 2020):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@stale[bot] commented on GitHub (May 19, 2020): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or nightlies, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@rchovan commented on GitHub (Apr 10, 2021):

Same issue,

[2021-04-10 00:00:52.842 +02:00] [INF] [1] Main: Jellyfin version: "10.7.1"                                                                                                                                
[2021-04-10 00:00:52.919 +02:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_FFMPEG, /
usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_MEDIA_DIR, /media]"]                
[2021-04-10 00:00:52.939 +02:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]                                                                                                                     
[2021-04-10 00:00:52.941 +02:00] [INF] [1] Main: Operating system: "Linux"                                                                                                                                 
[2021-04-10 00:00:52.949 +02:00] [INF] [1] Main: Architecture: X64                                                                                                                                         
[2021-04-10 00:00:52.950 +02:00] [INF] [1] Main: 64-Bit Process: True                                                                                                                                      
[2021-04-10 00:00:52.950 +02:00] [INF] [1] Main: User Interactive: True                                                                                                                                    
[2021-04-10 00:00:52.950 +02:00] [INF] [1] Main: Processor count: 2                                                                                                                                        
[2021-04-10 00:00:52.951 +02:00] [INF] [1] Main: Program data path: "/config"                                                                                                                              
[2021-04-10 00:00:52.951 +02:00] [INF] [1] Main: Web resources path: "/jellyfin/jellyfin-web"                                                                                                              
[2021-04-10 00:00:52.951 +02:00] [INF] [1] Main: Application directory: "/jellyfin/"                                                                                                                       
[2021-04-10 00:00:53.573 +02:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"                                                                      
[2021-04-10 00:00:53.692 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[192.168.2.0/24,127.0.0.1/8]"                                                              
[2021-04-10 00:00:53.692 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"                                                                                       
[2021-04-10 00:00:53.696 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[192.168.2.0/24,127.0.0.1/8]"                                                                 
[2021-04-10 00:00:53.703 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"                                                                                          
[2021-04-10 00:00:53.703 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"                                                                                         
[2021-04-10 00:00:53.821 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies                                                                                                 
[2021-04-10 00:00:53.849 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "8.0.0.0" of "Auto Organize"                                                        
[2021-04-10 00:00:53.852 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "6.0.0.0" of "IPTV"                                                                 
[2021-04-10 00:00:53.852 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "9.0.0.0" of "Open Subtitles"                                                       
[2021-04-10 00:01:10.376 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.7.1.0"                                                                             
[2021-04-10 00:01:10.378 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.7.1.0"                                                                      
[2021-04-10 00:01:10.379 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.7.1.0"                                                                          
[2021-04-10 00:01:10.561 +02:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MigrateDisplayPreferencesDatabase"'                                                            
[2021-04-10 00:01:10.896 +02:00] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration '"MigrateDisplayPreferencesDatabase"'                                                     
System.FormatException: Input string was not in a correct format.                                                                                                                                          
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)                                                                                                                    
   at Jellyfin.Server.Migrations.Routines.MigrateDisplayPreferencesDb.Perform()                                                                                                                            
   at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)                                                                                                       
[2021-04-10 00:01:10.902 +02:00] [FTL] [1] Main: Error while starting server.                                                                                                                              
System.FormatException: Input string was not in a correct format.                                                                                                                                          
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)                                                                                                                    
   at Jellyfin.Server.Migrations.Routines.MigrateDisplayPreferencesDb.Perform()                                                                                                                            
   at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory)                                                                                                       
   at Jellyfin.Server.Program.StartApp(StartupOptions options)                                                                                                                                             
[2021-04-10 00:01:10.910 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"                                                                                            
[2021-04-10 00:01:10.913 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "EmbyTV"                                                                                                 
[2021-04-10 00:01:10.917 +02:00] [INF] [2] Main: Received a SIGTERM signal, shutting down                                                                                                                  
[2021-04-10 00:01:11.924 +02:00] [INF] [1] Main: Jellyfin version: "10.7.1"                                                                                                                                
[2021-04-10 00:01:11.983 +02:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_MEDIA_DIR, /media]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFI
N_DATA_DIR, /config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_CONFIG_DIR, /config/config]"]                
[2021-04-10 00:01:11.987 +02:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]                                                                                                                     
[2021-04-10 00:01:11.988 +02:00] [INF] [1] Main: Operating system: "Linux"                                                                                                                                 
[2021-04-10 00:01:11.989 +02:00] [INF] [1] Main: Architecture: X64                                                                                                                                         
[2021-04-10 00:01:11.997 +02:00] [INF] [1] Main: 64-Bit Process: True                                                             
@rchovan commented on GitHub (Apr 10, 2021): Same issue, ``` [2021-04-10 00:00:52.842 +02:00] [INF] [1] Main: Jellyfin version: "10.7.1" [2021-04-10 00:00:52.919 +02:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_DATA_DIR, /config]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_FFMPEG, / usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_MEDIA_DIR, /media]"] [2021-04-10 00:00:52.939 +02:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"] [2021-04-10 00:00:52.941 +02:00] [INF] [1] Main: Operating system: "Linux" [2021-04-10 00:00:52.949 +02:00] [INF] [1] Main: Architecture: X64 [2021-04-10 00:00:52.950 +02:00] [INF] [1] Main: 64-Bit Process: True [2021-04-10 00:00:52.950 +02:00] [INF] [1] Main: User Interactive: True [2021-04-10 00:00:52.950 +02:00] [INF] [1] Main: Processor count: 2 [2021-04-10 00:00:52.951 +02:00] [INF] [1] Main: Program data path: "/config" [2021-04-10 00:00:52.951 +02:00] [INF] [1] Main: Web resources path: "/jellyfin/jellyfin-web" [2021-04-10 00:00:52.951 +02:00] [INF] [1] Main: Application directory: "/jellyfin/" [2021-04-10 00:00:53.573 +02:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache" [2021-04-10 00:00:53.692 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[192.168.2.0/24,127.0.0.1/8]" [2021-04-10 00:00:53.692 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]" [2021-04-10 00:00:53.696 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[192.168.2.0/24,127.0.0.1/8]" [2021-04-10 00:00:53.703 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]" [2021-04-10 00:00:53.703 +02:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]" [2021-04-10 00:00:53.821 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies [2021-04-10 00:00:53.849 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "8.0.0.0" of "Auto Organize" [2021-04-10 00:00:53.852 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "6.0.0.0" of "IPTV" [2021-04-10 00:00:53.852 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Skipping disabled plugin "9.0.0.0" of "Open Subtitles" [2021-04-10 00:01:10.376 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.7.1.0" [2021-04-10 00:01:10.378 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.7.1.0" [2021-04-10 00:01:10.379 +02:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.7.1.0" [2021-04-10 00:01:10.561 +02:00] [INF] [1] Jellyfin.Server.Migrations.MigrationRunner: Applying migration '"MigrateDisplayPreferencesDatabase"' [2021-04-10 00:01:10.896 +02:00] [ERR] [1] Jellyfin.Server.Migrations.MigrationRunner: Could not apply migration '"MigrateDisplayPreferencesDatabase"' System.FormatException: Input string was not in a correct format. at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type) at Jellyfin.Server.Migrations.Routines.MigrateDisplayPreferencesDb.Perform() at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) [2021-04-10 00:01:10.902 +02:00] [FTL] [1] Main: Error while starting server. System.FormatException: Input string was not in a correct format. at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type) at Jellyfin.Server.Migrations.Routines.MigrateDisplayPreferencesDb.Perform() at Jellyfin.Server.Migrations.MigrationRunner.Run(CoreAppHost host, ILoggerFactory loggerFactory) at Jellyfin.Server.Program.StartApp(StartupOptions options) [2021-04-10 00:01:10.910 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost" [2021-04-10 00:01:10.913 +02:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Disposing "EmbyTV" [2021-04-10 00:01:10.917 +02:00] [INF] [2] Main: Received a SIGTERM signal, shutting down [2021-04-10 00:01:11.924 +02:00] [INF] [1] Main: Jellyfin version: "10.7.1" [2021-04-10 00:01:11.983 +02:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_MEDIA_DIR, /media]", "[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFI N_DATA_DIR, /config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]", "[JELLYFIN_CACHE_DIR, /cache]", "[JELLYFIN_CONFIG_DIR, /config/config]"] [2021-04-10 00:01:11.987 +02:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"] [2021-04-10 00:01:11.988 +02:00] [INF] [1] Main: Operating system: "Linux" [2021-04-10 00:01:11.989 +02:00] [INF] [1] Main: Architecture: X64 [2021-04-10 00:01:11.997 +02:00] [INF] [1] Main: 64-Bit Process: True ```
Author
Owner

@Bond-009 commented on GitHub (Apr 11, 2021):

@rchovan Looks unrelated, please open a new issue

@Bond-009 commented on GitHub (Apr 11, 2021): @rchovan Looks unrelated, please open a new issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#1024