String was not recognized as a valid DateTime
#1
For Family Guy and SNL... I get errors that say:

String was not recognized as a valid DateTime

Looks like the year is set to 0 on the thetvdb.com site.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: String was not recognized as a valid DateTime.
   at TVDB.Model.Episode.Deserialize(XmlNode node) in C:\Users\steph\Documents\GitHub\TheTVDBApi\src\TVDB\Model\Episode.cs:line 1282
   at TVDB.Model.SeriesDetails.DeserializeSeries() in C:\Users\steph\Documents\GitHub\TheTVDBApi\src\TVDB\Model\SeriesDetails.cs:line 300
   at ScraperModule.TVDBs.Scraper.GetTVShowInfo(String strID, ScrapeModifiers ScrapeModifiers, ScrapeOptions FilteredOptions, Boolean GetPoster)
   at ScraperModule.TVDBs.Scraper.bwTVDB_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Reply
#2
(2021-03-05, 10:17)john_es Wrote: For Family Guy and SNL... I get errors that say:

String was not recognized as a valid DateTime

Looks like the year is set to 0 on the thetvdb.com site.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: String was not recognized as a valid DateTime.
   at TVDB.Model.Episode.Deserialize(XmlNode node) in C:\Users\steph\Documents\GitHub\TheTVDBApi\src\TVDB\Model\Episode.cs:line 1282
   at TVDB.Model.SeriesDetails.DeserializeSeries() in C:\Users\steph\Documents\GitHub\TheTVDBApi\src\TVDB\Model\SeriesDetails.cs:line 300
   at ScraperModule.TVDBs.Scraper.GetTVShowInfo(String strID, ScrapeModifiers ScrapeModifiers, ScrapeOptions FilteredOptions, Boolean GetPoster)
   at ScraperModule.TVDBs.Scraper.bwTVDB_DoWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I just found this error and an episode of the TV show I was scraping had this in TVDb - November 30, -0001

https://www.thetvdb.com/series/byouin-no...s/official
Confusion is just a state of mind.
Reply

Logout Mark Read Team Forum Stats Members Help
String was not recognized as a valid DateTime0