For The Record - The rule-based scheduling suite (6 Viewers)

Midget

Portal Pro
October 1, 2007
78
2
Siena
Home Country
Italy Italy
I'm yet in error condition, even with 1.0.14.0

TvScheduler console gives "An unexpected error occurred" in the following pages:
TV Guide; Upcoming Recordings; Edit Schedule

I found this error in the event log:

Code:
System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at TvScheduler.Business.Scheduler.Upcoming.GetUpcomingProgramsOperation.GetPreviouslyRecordedPrograms(TvSchedule tvSchedule, Boolean titleOnly)
   at TvScheduler.Business.Scheduler.Upcoming.GetUpcomingProgramsOperation.NewProgramsOnlyPostProcessing(TvSchedule tvSchedule, List`1 upcomingPrograms, Boolean titleOnly)
   at TvScheduler.Business.Scheduler.Upcoming.GetUpcomingProgramsOperation.GetProgramsUsingRuleEngine(TvSchedule tvSchedule, Int32 preRecordSeconds, Int32 postRecordSeconds)
   at TvScheduler.Business.Scheduler.Upcoming.GetUpcomingProgramsOperation.Execute(TvSchedule tvSchedule, Boolean includeCancelled)
   at TvScheduler.Business.Scheduler.Upcoming.GetAllUpcomingProgramsOperation.Execute(ScheduleType type)
   at TvScheduler.Business.Scheduler.Upcoming.UpcomingProgramsCache.GetAllUpcomingProgramsInternal(ScheduleType type, DateTime untilDateTime, Boolean includeCancelled)
   at TvScheduler.Business.Scheduler.Upcoming.UpcomingProgramsCache.GetAllUpcomingProgramsUntil(ScheduleType type, DateTime untilDateTime, Boolean includeCancelled)
   at TvScheduler.Business.Scheduler.SchedulerFacade.GetAllUpcomingProgramsUntil(ScheduleType type, DateTime untilDateTime, Boolean includeCancelled)
   at TvScheduler.ServiceImplementation.TvSchedulerService.GetAllUpcomingProgramsUntil(ScheduleType type, DateTime untilDateTime, Boolean includeCancelled)
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
I presume this only happens with that one schedule? Could let me know what rules that schedule uses (perhaps send me the RulesXml from the database). And what's in TvScheduleRecordedProgram for that schedule?

Also check that the column Title in TvScheduleRecordedProgram is set to "not null" and Episode is set to "allow null". In older versions the create script for that table was broken, and I fixed that recently. But it's always possible due to upgrading that you're still stuck with a bad table.

Thanks!
 

Midget

Portal Pro
October 1, 2007
78
2
Siena
Home Country
Italy Italy
No no...
Every time I enter in the TV Guide, Upcoming Recordings or every Edit Schedule page I got the "unexpected error" message box.
The error in the event log isn't related (by time) with the message box in the Management Console: it seems to occur at startup.

This error started when I upgraded (here)

:D
 

BKCH

MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    Hi - I just updated again - all very smooth :)

    I have another feature suggestion; is it possible for the web page to determine the resolution of the display that's used so for bigger screens (or resolutions) it could display more channels / programs?? I have a 22" display and the current display only uses a small portion of the available screen space.

    thanks for your great work :)
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Hi - I just updated again - all very smooth :)

    :D

    I have another feature suggestion; is it possible for the web page to determine the resolution of the display that's used so for bigger screens (or resolutions) it could display more channels / programs?? I have a 22" display and the current display only uses a small portion of the available screen space.

    Creating such an EPG table in HTML is hell ;) So to make it fill up the screen is quite complicated, at least if you really want to show more rather than have everything scale up (which would be kinda useless). The only thing I could more easily do is have it show more channels (so make it bigger vertically). But automatically enlarging it horizontally is pretty complex.

    So I'm afraid the EPG will remain fixed-size for now. But never say never... :)
     

    BKCH

    MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    I understand :)

    What about if you allowed the user to select how many channels per page? and perhaps how many hours to show? Could that work??

    Would it be easy to allow the user to select how big the display table is? Currently it defaults to 2 hours 45 minutes wide and 6 channels long (before you have to scroll). Would it be possible / easy to allow the user to select how say 4 hours by 10 channels?? Is that easier than having to determine it dynamically??

    It's not a big deal if it can't be done - just a nice to have :)
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Almost anything can be done ;) It's just a matter of time and energy :D I'll put it on my list, but know I have other things of higher priority right now.
     

    BKCH

    MP Donator
  • Premium Supporter
  • July 25, 2005
    287
    12
    Sydney
    Home Country
    no worries :) thanks for the work you're putting in - this is a great addition to MP.
     

    Users who are viewing this thread

    Top Bottom