I had a torrent fail to download a couple of weeks ago and when attempting to remove the release from the Activity Menu teh below error gets generated in the log. The release is not removed.
I am running the latest Dev Build (Version 2.0.0.3312)
Request Failed: PendingRelease with ID 1062187064 does not exist
NzbDrone.Core.Datastore.ModelNotFoundException: PendingRelease with ID 1062187064 does not exist
at NzbDrone.Core.Datastore.BasicRepository`1.Get(Int32 id) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Datastore\BasicRepository.cs:line 80
at NzbDrone.Core.Download.Pending.PendingReleaseService.RemovePendingQueueItems(Int32 queueId) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Pending\PendingReleaseService.cs:line 157
at NzbDrone.Api.Queue.QueueActionModule.Remove(Int32 id) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Queue\QueueActionModule.cs:line 58
at NzbDrone.Api.Queue.QueueActionModule.<.ctor>b__3(Object x) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Queue\QueueActionModule.cs:line 39
at CallSite.Target(Closure , CallSite , Func`2 , Object )
at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)
I had posted an issue to GitHub issues regarding nearly this exact same issue. I am currently on the same dev build as Harroguk.
Looks to be nearly the exact same error too. I do not have any torrent clients configured.
Request Failed: PendingRelease with ID 1798420619 does not exist
NzbDrone.Core.Datastore.ModelNotFoundException: PendingRelease with ID 1798420619 does not exist
at NzbDrone.Core.Datastore.BasicRepository`1<NzbDrone.Core.Download.Pending.PendingRelease>.Get (int) <0x0024b>
at NzbDrone.Core.Download.Pending.PendingReleaseService.RemovePendingQueueItems (int) [0x00006] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Pending\PendingReleaseService.cs:157
at NzbDrone.Api.Queue.QueueActionModule.Remove (int) [0x00204] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Queue\QueueActionModule.cs:58
at NzbDrone.Api.Queue.QueueActionModule.<.ctor>b__3 (object) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Queue\QueueActionModule.cs:39
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object) <IL 0x00038, 0x00085>
at Nancy.Routing.Route/<>c__DisplayClass4.<Wrap>b__3 (object,System.Threading.CancellationToken) <IL 0x0005f, 0x00108>
Torrent client is uTorrent 2.2.1 however I am pretty sure that is not relevant. The torrent was never downloaded (As far as I can see) because the torrent site pulled it during the waiting period (I prefer NZB and have a 3 hour wait scheduled so that it can get them from there first).
Only thing of note in the Debug logs when running RSS Sync is the below which refers directly to the release that I cant get rid of.
The file is NOT on my disk, and is NOT in my torrent client. It is also NO LONGER available on the torrent site I use.
Couldn't add report to download queue. Man.Finds.Food.s01e15.NYC.Steak.Easy-WEBRip: Invalid URI: The hostname could not be parsed
System.UriFormatException: Invalid URI: The hostname could not be parsed.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at System.UriBuilder..ctor(String uri)
at NzbDrone.Common.Http.HttpRequest..ctor(String url, HttpAccept httpAccept) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpRequest.cs:line 13
at NzbDrone.Core.Download.TorrentClientBase`1.DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:line 102
at NzbDrone.Core.Download.TorrentClientBase`1.DownloadFromWebUrl(RemoteEpisode remoteEpisode, String torrentUrl) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:line 121
at NzbDrone.Core.Download.TorrentClientBase`1.Download(RemoteEpisode remoteEpisode) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:line 85
at NzbDrone.Core.Download.DownloadService.DownloadReport(RemoteEpisode remoteEpisode) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\DownloadService.cs:line 57
at NzbDrone.Core.Download.ProcessDownloadDecisions.ProcessDecisions(List`1 decisions) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\ProcessDownloadDecisions.cs:line 76
The log looks like
SceneMappingService Updating Scene mappings 08:44
RssSyncService RSS Sync Completed. Reports found: 597, Reports grabbed: 0 08:41
ProcessDownloadDecisions Couldnt add report to download queue. Man.Finds.Food.s01e15.NYC.Steak.Easy-WEBRip: Invalid URI: The hostname could not be parsed. 08:41
DownloadDecisionMaker Processing 597 releases 08:41
RssSyncService Starting RSS Sync 08:41
Database Log database compressed 08:41
Database Vacuuming Log database 08:41