• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Stacktrace Scanning Movies Library

     
    • 0 Vote(s) - 0 Average

    SOLVED: Stacktrace Scanning Movies Library

    Xanadu
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #1
    2024-09-03, 10:34 PM (This post was last modified: 2024-09-04, 06:19 PM by Xanadu. Edited 2 times in total.)
    Hey!

    Server version: 10.9.10
    Web version: 10.9.10
    Build version: 10.9.10
    running in docker on Synology.

    I'm getting a translator stack trace when trying to scan my newly added Movies library:

    Code:
    System.TypeInitializationException: The type initializer for 'ICU4N.Text.Transliterator' threw an exception.
    ---> System.TypeInitializationException: The type initializer for 'ICU4N.Globalization.UCultureInfo' threw an exception.
    ---> System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
    en is an invalid culture identifier.
      at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
      at ICU4N.Globalization.UCultureInfo..cctor()
      --- End of inner exception stack trace ---
      at ICU4N.Globalization.UCultureInfo.get_CurrentCulture()
      at ICU4N.Impl.ICUResourceBundle.GetBundleInstance(String baseName, String localeID, Assembly root, OpenType openType)
      at ICU4N.Impl.ICUResourceBundle.GetBundleInstance(String baseName, String localeID, Assembly root, Boolean disableFallback)
      at ICU4N.Util.UResourceBundle.<>c__DisplayClass25_0.<GetRootType>b__0(String key)
      at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
      at ICU4N.Util.UResourceBundle.GetRootType(String baseName, Assembly root)
      at ICU4N.Util.UResourceBundle.InstantiateBundle(String baseName, String localeName, Assembly root, Boolean disableFallback)
      at ICU4N.Util.UResourceBundle.GetBundleInstance(String baseName, String localeName, Assembly root, Boolean disableFallback)
      at ICU4N.Util.UResourceBundle.GetBundleInstance(String baseName, String localeName, Assembly root)
      at ICU4N.Text.Transliterator..cctor()
      --- End of inner exception stack trace ---
      at ICU4N.Text.Transliterator.GetInstance(String id)
      at Jellyfin.Extensions.StringExtensions.<>c.<.cctor>b__8_0()
      at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
      at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
      at System.Lazy`1.CreateValue()
      at Jellyfin.Extensions.StringExtensions.Transliterated(String text)
      at MediaBrowser.Controller.Entities.BaseItem.ModifySortChunks(ReadOnlySpan`1 name)
      at MediaBrowser.Controller.Entities.BaseItem.CreateSortName()
      at MediaBrowser.Controller.Entities.BaseItem.get_SortName()
      at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItem(BaseItem item, BaseItem topParent, String userDataKey, SqliteCommand saveItemStatement)
      at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItemsInTransaction(ManagedConnection db, IEnumerable`1 tuples)
      at Emby.Server.Implementations.Data.SqliteItemRepository.SaveItems(IReadOnlyList`1 items, CancellationToken cancellationToken)
      at Emby.Server.Implementations.Library.LibraryManager.CreateItems(IReadOnlyList`1 items, BaseItem parent, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal2(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Controller.Entities.Folder.ValidateChildrenInternal(IProgress`1 progress, Boolean recursive, Boolean refreshChildMetadata, Boolean allowRemoveRoot, MetadataRefreshOptions refreshOptions, IDirectoryService directoryService, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.ProviderManager.RefreshCollectionFolderChildren(MetadataRefreshOptions options, CollectionFolder collectionFolder, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.ProviderManager.RefreshItem(BaseItem item, MetadataRefreshOptions options, CancellationToken cancellationToken)
      at MediaBrowser.Providers.Manager.ProviderManager.StartProcessingRefreshQueue()

    My TV library is totally fine.  Both libraries are also available and fully functional in Plex (and have been for many years), so I know it's not a permissions issue.

    What else do you need to know?

    Thank you!
    M.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-03, 10:41 PM (This post was last modified: 2024-09-03, 10:43 PM by TheDreadPirate. Edited 1 time in total.)
    Set this docker environment variable to 0.

    DOTNET_SYSTEM_GLOBALIZATION_INVARIANT
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Xanadu
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    #3
    2024-09-04, 06:18 PM
    (2024-09-03, 10:41 PM)TheDreadPirate Wrote: Set this docker environment variable to 0.

    DOTNET_SYSTEM_GLOBALIZATION_INVARIANT

    That worked perfectly.  It's odd to me that the TV library was fine but the Movies blew up, but whatever.  The scanner is chewing on the drives as I type.

    THANK YOU!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-04, 06:44 PM
    This issue would only happen if you have any file or folder names that contain non-English characters. Some systems set that variable to 1, others 0. Mine defaults to 0.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    nonnenmacher85
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #5
    2024-10-07, 01:14 PM (This post was last modified: 2024-10-07, 01:16 PM by nonnenmacher85.)
    hallo zusammen, ich habe das selbe Problem und ich würde gerne wissen wo ich diese variable finden kann um sie auf 0 zu setzen?
    liebe grüse nonnenmacher85

    Hello everyone, I have the same problem and would like to know where I can find this variable to set it to 0? dear gruse nunnenmacher85
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-07, 01:24 PM
    Depends on how you run your docker container.  If you are using docker compose, you'd add that variable to the environments section of your compose file.

    Code:
        environment:
          - DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=0
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode