Trying to use EPG-Buddy on a Windows 7 pro x64 machine. When the grabber is run in any mode (channel list or get the EPG), the following error is thrown:
This is in a VM (using XenServer), but NO other issues are occurring with a multitude of other programs running on this VM. I have 4 windows VM's running perfectly on this server (and have multitudes on similar servers at work), so I don't think this is a VM related problem.
Doing some research on that .Net error, I saw a post where Microsoft says that only way that method throws the mentioned exception is when the year is less than 1 or greater than 9999 and the month is not between 1 and 12. Perhaps some range checking could be added and/or debug logging showing the values supplied to that method?
The EPG-Buddy logs don't show anything - they are just truncating at the time of the error.
EDIT: I just tried it from my office machine desktop (physical machine) and it did the same thing. Only commonality is they are both running 64 bit Windows 7.
C:\Program Files (x86)\EPG-Buddy>"C:\Program Files (x86)\EPG-Buddy\EPG-Grabber.exe" --get_channellist:tvguide
EPG-Grabber v0.81.327 (11/24/2017), c 2017 by lightshock
Receive channel list from TVGuide
Grabbing epg for one day to get channel list...
Unhandled Exception: System.ArgumentOutOfRangeException: Hour, Minute, and Secon
d parameters describe an un-representable DateTime.
at System.DateTime.TimeToTicks(Int32 hour, Int32 minute, Int32 second)
at EPG_Grabber.cTVGuide_com.Hour2Millis()
at EPG_Grabber.cTVGuide_com.GrabEPG(Boolean Silent, Int32 intMaxDays)
at EPG_Grabber.cTVGuide_com.LeseSenderliste()
at EPG_Grabber.mMain.Main()
EPG-Grabber v0.81.327 (11/24/2017), c 2017 by lightshock
Receive channel list from TVGuide
Grabbing epg for one day to get channel list...
Unhandled Exception: System.ArgumentOutOfRangeException: Hour, Minute, and Secon
d parameters describe an un-representable DateTime.
at System.DateTime.TimeToTicks(Int32 hour, Int32 minute, Int32 second)
at EPG_Grabber.cTVGuide_com.Hour2Millis()
at EPG_Grabber.cTVGuide_com.GrabEPG(Boolean Silent, Int32 intMaxDays)
at EPG_Grabber.cTVGuide_com.LeseSenderliste()
at EPG_Grabber.mMain.Main()
This is in a VM (using XenServer), but NO other issues are occurring with a multitude of other programs running on this VM. I have 4 windows VM's running perfectly on this server (and have multitudes on similar servers at work), so I don't think this is a VM related problem.
Doing some research on that .Net error, I saw a post where Microsoft says that only way that method throws the mentioned exception is when the year is less than 1 or greater than 9999 and the month is not between 1 and 12. Perhaps some range checking could be added and/or debug logging showing the values supplied to that method?
The EPG-Buddy logs don't show anything - they are just truncating at the time of the error.
EDIT: I just tried it from my office machine desktop (physical machine) and it did the same thing. Only commonality is they are both running 64 bit Windows 7.
Last edited: