Unable to manually import files

Sonarr version (exact version): 2.0.0.5338
Mono version (if Sonarr is not running on Windows): 5.20.1.34
OS: Linux Docker
Description of issue:

For some reason Sonarr has stopped letting me manually import files. When I try to run a manual import I receive the message Unable to load files for manual import. Check logs for more details..

This is what I find in the logs:

Request Failed. GET /api/manualimport: Sequence contains no matching element
System.InvalidOperationException: Sequence contains no matching element
  at System.Linq.Enumerable.Single[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00070] in <798dd06330af4ca3886d7d2be5573af7>:0 
  at NzbDrone.Api.ManualImport.ManualImportModule.AddQualityWeight (NzbDrone.Api.ManualImport.ManualImportResource item) [0x00020] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\ManualImport\ManualImportModule.cs:35 
  at System.Linq.Enumerable+SelectListIterator`2[TSource,TResult].ToList () [0x0002a] in <798dd06330af4ca3886d7d2be5573af7>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <798dd06330af4ca3886d7d2be5573af7>:0 
  at NzbDrone.Api.ManualImport.ManualImportModule.GetMediaFiles () [0x001c4] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\ManualImport\ManualImportModule.cs:28 
  at NzbDrone.Api.REST.RestModule`1[TResource].<set_GetResourceAll>b__32_0 (System.Object options) [0x00000] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\REST\RestModule.cs:111 
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object)
  at Nancy.Routing.Route+<>c__DisplayClass4.<Wrap>b__3 (System.Object parameters, System.Threading.CancellationToken context) [0x00049] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 

I’ve looked at some other posts of people who were having similar issues, but haven’t been able to figure out how to solve my problems. Any ideas?

It’s a bug in v2 that has been fixed in v3. It happens when a filename indicates it’s a certain quality, but the media info conflicts, such as a file that indicates it’s DVD, but the resolution is 720p, not 480p.

Ah, okay, thanks for the clarification. I’ll update my docker container to the v3 beta in that case.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.