ChrisRichner / ARGUS-TV-GuideEnhancer

Electronic Program Guide Enhancer for Argus TV
https://code.google.com/p/ftr-guide-enhancer/
Apache License 2.0
1 stars 3 forks source link

Error causes Guide Enricher to stop #16

Closed aswede closed 9 years ago

aswede commented 9 years ago

I am using Guide Enricher (2.3.0.42695) with Argus 2.3RC. I am not sure if there is a pattern to this, but usually after running Argus / GuideEnricher for 6-8 weeks I start having issues, beginning with Argus crashing. After rebooting Argus works fine, but GuideEnricher is not. In the log I will typically see something like what you can see from below - it seems GE is not able to match a show, using all different methods, and then it crashes.

If I disable the show just before the error, in Argus, and restart GuideEnricher the error re-occurs after not being able to match a different show.

Could you give some ideas what I should be looking for that may cause this error?

Thanks,

Anders

2015-03-09 06:45:17 [5] DEBUG GuideEnricher.tvdb.TvdbLibAccess - SD-TvDb: Search for Madam Secretary return 1 results 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.tvdb.TvdbLibAccess - SD-TvDb: series: Madam Secretary id: 281623 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.Enricher - Beginning enrichment of episodes for series Madam Secretary 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.tvdb.TvdbLibAccess - Starting lookup for Madam Secretary - Tamerlane 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.EpisodeMatchMethods.MatchMethodBase - [Episode Title] Correctly matched Madam Secretary - Tamerlane as S01E16 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.tvdb.TvdbLibAccess - SD-TvDb: Search for Once Upon a Time (2011) return 1 results 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.tvdb.TvdbLibAccess - SD-TvDb: series: Once Upon a Time (2011) id: 248835 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.Enricher - Beginning enrichment of episodes for series Once Upon a Time 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.tvdb.TvdbLibAccess - Starting lookup for Once Upon a Time - Enter the Dragon 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.EpisodeMatchMethods.MatchMethodBase - [Episode Title] Could not match Once Upon a Time - Enter the Dragon 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.EpisodeMatchMethods.MatchMethodBase - [Original Air Date] Could not match Once Upon a Time - Enter the Dragon 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.EpisodeMatchMethods.MatchMethodBase - [Three or Four Digit Season Episode] Could not match Once Upon a Time - Enter the Dragon 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.EpisodeMatchMethods.MatchMethodBase - [No Punctuation] Could not match Once Upon a Time - Enter the Dragon 2015-03-09 06:45:17 [5] DEBUG GuideEnricher.EpisodeMatchMethods.MatchMethodBase - [Remove common words] Could not match Once Upon a Time - Enter the Dragon 2015-03-09 06:45:17 [5] ERROR GuideEnricher.Service - Error enriching System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Text.RegularExpressions.Regex.Match(String input) at GuideEnricher.EpisodeMatchMethods.FirstSentenceInDescriptionMatchMethod.Match(GuideEnricherProgram enrichedGuideProgram, List`1 episodes) at GuideEnricher.tvdb.TvdbLibAccess.EnrichProgram(GuideEnricherProgram existingProgram, TvdbSeries tvdbSeries) at GuideEnricher.Enricher.EnrichProgramsInSeries(GuideEnricherSeries series, TvdbSeries OnlineSeries) at GuideEnricher.Enricher.EnrichSeries(GuideEnricherSeries series) at GuideEnricher.Enricher.EnrichUpcomingPrograms() at GuideEnricher.Service.Enrich(Object state, ElapsedEventArgs eventArgs)

Malyngo commented 9 years ago

This bug (https://github.com/ChrisRichner/ARGUS-TV-GuideEnhancer/issues/8) should be fixed since version 2.3.1 The "FirstSentenceInDescriptionMatchMethod" is using a Regex and wasn't checking if the value that should be checked is null, this causes the crash.

If you do not wish to upgrade right now, you can also disable the FirstSentenceInDescriptionMatchMethod and the InQuotesInDescriptionMatchMethod in the config. Those are the two match methods that are affected by this bug.

aswede commented 9 years ago

Excellent ... thanks!! I'll upgrade when I get home this evening.

Anders

Sent from my iPad

On Mar 9, 2015, at 08:25, Rainer Ziller notifications@github.com wrote:

This bug (#8) should be fixed since version 2.3.1 The "FirstSentenceInDescriptionMatchMethod" is using a Regex and wasn't checking if the value that should be checked is null, this causes the crash.

If you do not wish to upgrade right now, you can also disable the FirstSentenceInDescriptionMatchMethod and the InQuotesInDescriptionMatchMethod in the config. Those are the two match methods that are affected by this bug.

— Reply to this email directly or view it on GitHub.

ChrisRichner commented 9 years ago

Hi Anders,

Any news about the issue you're faced?

aswede commented 9 years ago

Sorry for the delay in getting back to you ... like you suggested moving to a more recent version of Guide Enhancer solved the problem. Thanks!

However, I have two other things to report.

I keep running in to the issue that when the same TV series program is shown more then once the first time is enriched correctly, the second time there is no enhancement. I am attaching a picture of what it looks like in Argus - look at the show The Americans - the first time it looks OK, the second time it is not enhanced.

Second issue is the Show "Black Sails" - it is usually not enhanced, and when it is every episode is listed as S01E01. I am attaching a picture as well.

I am also including the current log file from Guide Enhancer.

Anders

On Mon, Mar 16, 2015 at 6:23 AM, Chris Richner notifications@github.com wrote:

Hi Anders,

Any news about the issue you're faced?

— Reply to this email directly or view it on GitHub https://github.com/ChrisRichner/ARGUS-TV-GuideEnhancer/issues/16#issuecomment-81589335 .

ChrisRichner commented 9 years ago

Hi aswede

Where did you include the mentioned screenshots?

Chris

aswede commented 9 years ago

Sorry for the delay in getting back to you. Screenshots included.

Anders black sails the americans

ChrisRichner commented 9 years ago

I see, are you able to share the xmltv file with me so that I can debug exactly your scenario?

aswede commented 9 years ago

Perhaps I misunderstood what you asked for .. I am using SchedulesDirect to receive the EPG in XML format. I used the Getdata command but the xml file is too big to copy paste here. Can I send you / upload an attachement somehow?

Christoph21x commented 9 years ago

Hi Anders! I followed this issue and your problems and I've got some questions - could you please check them and reply to all/each of them?

I start with the screenshot that you uploaded:

  1. What I see, is that the same episode of "The Americans" first was recognized, the second broadcast not. You also mentioned "Sleepy Hollow" - but that's not shown on the screenshot --> My question: is it always a repetition of an episode that is not recognized or was this just an incidence?
  2. Can you describe the Argus schedule for these series? 2.1 Is it "record only once"? 2.2 Does it have other conditions/restrictions (other than default) set?
  3. You say you get EPG through SchedulesDirect. 3.1 Do you get both, XMLTV import AND EPG? Or only EPG? 3.2 If both, what is your Argus setting (Scheduler->Settings)? XMLTV overwrites EPG or vice-versa?

From my perception, from what you describe, this could also be a SYSTEM issue (combination of systems), rather than just a "pure EG" one...

Greetz - Chris

aswede commented 9 years ago

Can I email you the file?

Anders

Sent from my iPhone

On Mar 30, 2015, at 02:07, Chris Richner notifications@github.com wrote:

I see, are you able to share the xmltv file with me so that I can debug exactly your scenario?

— Reply to this email directly or view it on GitHub.