Invalid date found

Sonarr version (exact version): 2.0.0.5301
Mono version (if Sonarr is not running on Windows): 5.18.0.240
OS: Debian 9 /OMV
Debug logs:
Description of issue: Invalid date found (Parsing problem)

Hallo forum, im hoping you guys can help me :slight_smile:

I have a Tv shows that is called “The Pit” but the real name is “Cukur”
I have been though “Sonarr Scene Naming” and changed that to “Cukur”

BUT now when im trying to search for it i get this error (Debug) :
19-2-7 10:25:34.4|Debug|Parser|Parsing string ‘Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG.mkv’
19-2-7 10:25:34.4|Debug|Parser|Invalid date found: 4/2/2019 12:00:00 AM

Any comments will be appreciated…
Thanks

It may not matter, but what are your long and short date formats set to? Is today 2/7/19 or 7/2/19.

Like I said, It may not matter, but I would be a little surprised if Sonarr didn’t handle the DMY date format, since the majority of the countries in world use it.

Releases overwhelmingly use YYYY-MM-DD for the format, Sonarr attempts to parse releases using MM-DD-YYYY as well, swapping MM and DD if it’s obviously wrong, but in this case it’s ambiguous and Sonarr complains.

I wouldn’t expect Sonarr to do much with this format since it looks like it contains season + episode numbers, in a format it doesn’t understand and at best would be come part of the series title and fail to find a matching series + episode.

I did not know that. Most of the releases I see do not have dates at all. It may make sense to try swapping them even if they are not obviously wrong. DMY is ambiguous the first 12 days of every month (actually only 11–1/1,2/2, etc.). I don’t know how much Sonarr pays attention to the date (i.e. how close it has to be to the data in the database), but that is a third of the time…Of course, it is an edge case, and they should be able to download manually if Sonarr can figure out the series.

I completely missed that. :neutral_face:

Because regular, season-based shows shouldn’t have a date. SxxEyy is the most common format for them.
Only things like daily talkshows are released with a date rather than season and episode number.

Thank you all for you input
I changed the date , and now it seems this is not a issue anymore, but i still got no hit when i try to search for any episodes?
So what should i do or can i do anything?
The episodes from the sites is named like this:
Cukur 2.​Sezon 18.​BLM (04.​02.​2019)

So can i change / edit something to search this out?

These are UI settings, they don’t affect parsing in any way.

This isn’t a format Sonarr can process, you may be able to do something in Jackett to convert Sonarr’s search into this format, but it’d also need to be converted before Sonarr gets the results back, which I believe Jackett can do with some configuration.

Fair enough.

:grin::sunglasses:

Hmm that i must research , cause I have NO IDEA how to configure in Jackett
Any inputs? or place to start with?

I don’t know anything about that, maybe their wiki or support channels have that information though.

Hallo again :slight_smile: and thanks for all you inputs …
I made a little progress yuhuuu :smiley:

I changed/added some keywordsfilters to jackett .yml file and it seems that did the trick BUT
some of the episodes has this “invalid date found” error?
here’s an example:
if i search for episode 17 i have succesfull hit:

19-2-12 13:28:22.9|Info|NzbSearchService|Searching 1 indexers for [The Pit : S02E17]
19-2-12 13:28:22.9|Debug|Torznab|Downloading Feed http://192.168.1.100:9117/api/v2.0/indexers/turktorrent/results/torznab/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&q=Cukur&season=2&ep=17
19-2-12 13:28:24.7|Debug|Torznab|Downloading Feed http://192.168.1.100:9117/api/v2.0/indexers/turktorrent/results/torznab/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&q=Pit&season=2&ep=17
19-2-12 13:28:26.3|Debug|NzbSearchService|Total of 2 reports were found for [The Pit : S02E17] from 1 indexers
19-2-12 13:28:26.3|Debug|NzbSearchService|Setting last search time to: 2/12/2019 1:28:26 PM
**19-2-12 13:28:26.4|Info|DownloadDecisionMaker|Processing 2 releases
19-2-12 13:28:26.4|Debug|DownloadDecisionMaker|Processing release 'Cukur 2.Sezon 17.BLM (28.01.2019) 1080p WEB-DL AAC H.264-TURG' from 'Turk Torrent '
19-2-12 13:28:26.4|Debug|Parser|Parsing string 'Cukur 2.Sezon 17.BLM (28.01.2019) 1080p WEB-DL AAC H.264-TURG'
19-2-12 13:28:26.4|Debug|Parser|Episode Parsed. Cukur 2 Sezon - 017 
19-2-12 13:28:26.4|Debug|Parser|Language parsed: English**
19-2-12 13:28:26.4|Debug|QualityParser|Trying to parse quality for Cukur 2.Sezon 17.BLM (28.01.2019) 1080p WEB-DL AAC H.264-TURG
19-2-12 13:28:26.4|Debug|Parser|Quality parsed: WEBDL-1080p v1
19-2-12 13:28:26.4|Debug|Parser|Release Group parsed: TURG
19-2-12 13:28:26.4|Debug|ParsingService|No matching series Cukur 2 Sezon
19-2-12 13:28:26.4|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series
19-2-12 13:28:26.4|Debug|DownloadDecisionMaker|Processing release 'Cukur 2.Sezon 17.BLM (28.01.2019) 720p HDTV AC3 x264-TURG' from 'Turk Torrent '
19-2-12 13:28:26.4|Debug|Parser|Parsing string 'Cukur 2.Sezon 17.BLM (28.01.2019) 720p HDTV AC3 x264-TURG'
19-2-12 13:28:26.4|Debug|Parser|Episode Parsed. Cukur 2 Sezon - 017 
19-2-12 13:28:26.4|Debug|Parser|Language parsed: English
19-2-12 13:28:26.4|Debug|QualityParser|Trying to parse quality for Cukur 2.Sezon 17.BLM (28.01.2019) 720p HDTV AC3 x264-TURG
19-2-12 13:28:26.4|Debug|Parser|Quality parsed: HDTV-720p v1
19-2-12 13:28:26.4|Debug|Parser|Release Group parsed: TURG
19-2-12 13:28:26.4|Debug|ParsingService|No matching series Cukur 2 Sezon
19-2-12 13:28:26.4|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series

and like you can see this release is rejected BUT can now be seen in sonarr (so i can dl manually)

if i search for episodes 18 i get this:

19-2-12 13:29:04.1|Info|NzbSearchService|Searching 1 indexers for [The Pit : S02E18]
19-2-12 13:29:04.1|Debug|Torznab|Downloading Feed http://192.168.1.100:9117/api/v2.0/indexers/turktorrent/results/torznab/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&q=Cukur&season=2&ep=18
19-2-12 13:29:05.5|Debug|Torznab|Downloading Feed http://192.168.1.100:9117/api/v2.0/indexers/turktorrent/results/torznab/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&q=Pit&season=2&ep=18
19-2-12 13:29:07.5|Debug|NzbSearchService|Total of 2 reports were found for [The Pit : S02E18] from 1 indexers
19-2-12 13:29:07.5|Debug|NzbSearchService|Setting last search time to: 2/12/2019 1:29:07 PM
**19-2-12 13:29:07.5|Info|DownloadDecisionMaker|Processing 2 releases
19-2-12 13:29:07.5|Debug|DownloadDecisionMaker|Processing release 'Cukur 2.Sezon 18.BLM (04.02.2019) 1080p Web-DL AAC x264-TURG' from 'Turk Torrent '
19-2-12 13:29:07.5|Debug|Parser|Parsing string 'Cukur 2.Sezon 18.BLM (04.02.2019) 1080p Web-DL AAC x264-TURG'
19-2-12 13:29:07.5|Debug|Parser|Invalid date found: 4/2/2019 12:00:00 AM**

[v2.0.0.5301] NzbDrone.Core.Parser.InvalidDateException: Invalid date found: 4/2/2019 12:00:00 AM
  at NzbDrone.Core.Parser.Parser.ParseMatchCollection (System.Text.RegularExpressions.MatchCollection matchCollection, System.String releaseTitle) [0x004f2] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:760 
  at NzbDrone.Core.Parser.Parser.ParseTitle (System.String title) [0x001ad] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:421 

19-2-12 13:29:07.5|Debug|Parser|Unable to parse Cukur 2.Sezon 18.BLM (04.02.2019) 1080p Web-DL AAC x264-TURG
19-2-12 13:29:07.5|Debug|Parser|Parsing string 'Cukur 2.Sezon 18.BLM (04.02.2019) 1080p Web-DL AAC x264-TURG'
19-2-12 13:29:07.5|Debug|Parser|Invalid date found: 4/2/2019 12:00:00 AM

[v2.0.0.5301] NzbDrone.Core.Parser.InvalidDateException: Invalid date found: 4/2/2019 12:00:00 AM
  at NzbDrone.Core.Parser.Parser.ParseMatchCollection (System.Text.RegularExpressions.MatchCollection matchCollection, System.String releaseTitle) [0x004f2] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:760 
  at NzbDrone.Core.Parser.Parser.ParseTitle (System.String title) [0x001ad] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:421 

19-2-12 13:29:07.5|Debug|Parser|Unable to parse Cukur 2.Sezon 18.BLM (04.02.2019) 1080p Web-DL AAC x264-TURG
19-2-12 13:29:07.5|Debug|ParsingService|No matching series Cukur 2.Sezon 18.BLM (04.02.2019) 1080p Web-DL AAC x264-TURG
19-2-12 13:29:07.5|Debug|DownloadDecisionMaker|Processing release 'Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG' from 'Turk Torrent '
19-2-12 13:29:07.5|Debug|Parser|Parsing string 'Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG'
19-2-12 13:29:07.5|Debug|Parser|Invalid date found: 4/2/2019 12:00:00 AM

[v2.0.0.5301] NzbDrone.Core.Parser.InvalidDateException: Invalid date found: 4/2/2019 12:00:00 AM
  at NzbDrone.Core.Parser.Parser.ParseMatchCollection (System.Text.RegularExpressions.MatchCollection matchCollection, System.String releaseTitle) [0x004f2] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:760 
  at NzbDrone.Core.Parser.Parser.ParseTitle (System.String title) [0x001ad] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:421 

19-2-12 13:29:07.5|Debug|Parser|Unable to parse Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG
19-2-12 13:29:07.5|Debug|Parser|Parsing string 'Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG'
19-2-12 13:29:07.5|Debug|Parser|Invalid date found: 4/2/2019 12:00:00 AM

[v2.0.0.5301] NzbDrone.Core.Parser.InvalidDateException: Invalid date found: 4/2/2019 12:00:00 AM
  at NzbDrone.Core.Parser.Parser.ParseMatchCollection (System.Text.RegularExpressions.MatchCollection matchCollection, System.String releaseTitle) [0x004f2] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:760 
  at NzbDrone.Core.Parser.Parser.ParseTitle (System.String title) [0x001ad] in M:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Parser\Parser.cs:421 

19-2-12 13:29:07.5|Debug|Parser|Unable to parse Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG
19-2-12 13:29:07.6|Debug|ParsingService|No matching series Cukur 2.Sezon 18.BLM (04.02.2019) 720p WEb-DL AAC x264-TURG

Any idea whats going on?

Any help would be appreciatet…

Invalid date because it’s ambiguous to Sonarr whether it’s February 4th or April 2nd, it’s not a format Sonarr will handle and since it can’t part the rest of the title to a season + episode it’s not going to work.

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