Manual Import fails - weird error

**Sonarr version 2.0.0.5301
OS: Win7 64bit

This has been an issue for about a month (last update?) and has worked flawlessly prior to that. It’s giving a weird message in the log whenever I try import a file.

Couldn’t import episode E:\sonarr\Video.mkv: E:\sonarr\Video.mkv is not a child of E:

Thinking for some reason Sonarr no longer sees the sonarr folder assigned to import, I created a new import folder called Temp and received the same message.

EXCEPTION:
NzbDrone.Common.Disk.NotParentException: E:\sonarr\Video.mkv is not a child of E:
at NzbDrone.Common.Extensions.PathExtensions.GetRelativePath(String parentPath, String childPath) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Common\Extensions\PathExtensions.cs:line 62
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.GetOriginalFilePath(DownloadClientItem downloadClientItem, LocalEpisode localEpisode) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 175
at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import(List`1 decisions, Boolean newDownload, DownloadClientItem downloadClientItem, ImportMode importMode) in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:line 105

I’ve been troubleshooting this some more and have learned something. Apparently, Sonarr has a problem with importing from folders in the root. This only became an issue since the last update (I think).

I created sub folder within the import folder and this time, Sonarr picked up the video. However, it doesn’t make sense that it doesn’t work in a root folder anymore. Sonarr can clearly see the file when I go to select it for manual import but when it tries to import, it thinks the folder doesn’t exists. Hence, E:\sonarr is not a child of E.

This is fixed in develop already, it’ll make its way to master when we merge those changes.

You’re the man markus, thanks!

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