Unhandled exception caught from main program

An evolving, supported alternative to Rovi
Important Information
★ Download the latest EPG123 here: http://epg123.garyan2.net <> Setup guide here: http://epg123.garyan2.net/downloads/epg123_Guide.pdf

Unhandled exception caught from main program

Post#1 » Fri Sep 29, 2017 11:30 am

This looks to be related to the recent changes to epg123 to delay the task if WMC is currently recording but I might be wrong as nothing shows as "Recording" or "Recorded" in the WMC History Log.

Apparently it happened yesterday too but I'm not sure as the epg123 trace.log from 9/28/2017 just terminated early without any explanation. What I posted is all there is in the 9/28/2017 trace.log.

Code: Select all
[9/29/2017 1:15:00 AM] ===============================================================================
[9/29/2017 1:15:00 AM]  Beginning epg123 update execution.
[9/29/2017 1:15:00 AM] ===============================================================================
[9/29/2017 1:15:00 AM] [ INFO] Beginning EPG123 update execution. 2017-09-29 08:15:00Z
[9/29/2017 1:15:00 AM] [ INFO] DaysToDownload: 21 , PrefixEpisodeTitle: True , AppendEpisodeDesc: True , TMDbCoverArt: True , LogoOverride: True , AutoAddNew: True
[9/29/2017 1:15:01 AM] [ INFO] Token request successful. serverID: 20141201.web.1
[9/29/2017 1:15:01 AM] [ INFO] Status request successful. account expires: 2018-03-24T11:39:31Z , lineups: 1/4 , lastDataUpdate: 2017-09-29T04:26:11Z
[9/29/2017 1:15:01 AM] [ INFO] system status: Online , message: No known issues.
[9/29/2017 1:15:01 AM] [ INFO] epg123 is up to date. version: 1.1.17
[9/29/2017 1:15:01 AM] [ INFO] Successfully retrieved TMDb configurations.
[9/29/2017 1:15:01 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[9/29/2017 1:15:01 AM] Entering buildLineupServices() for 1 lineups.
[9/29/2017 1:15:02 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-CA04768-X.
[9/29/2017 1:15:03 AM] Exiting buildLineupServices(). SUCCESS.
[9/29/2017 1:15:03 AM] Entering getAllScheduleEntryMd5s() for 21 days on 442 stations.
[9/29/2017 1:15:08 AM] [ INFO] Successfully retrieved Md5s for 442 station's daily schedules.
[9/29/2017 1:15:09 AM] [ INFO] Found 5145 cached daily schedules.
[9/29/2017 1:15:13 AM] [ INFO] Successfully retrieved 426 station's daily schedules.
[9/29/2017 1:15:39 AM] [ INFO] Downloaded 4045 daily schedules.
[9/29/2017 1:15:40 AM] [ERROR] Unhandled exception caught from main program. message: Unterminated string. Expected delimiter: ". Path 'programs[29].liveTapeDelay', line 1, position 16384.
[9/29/2017 1:15:46 AM] ===============================================================================
[9/29/2017 1:15:46 AM]  Beginning epg123 client execution.
[9/29/2017 1:15:46 AM] ===============================================================================
[9/29/2017 1:15:46 AM] [ INFO] Beginning epg123 client execution. 2017-09-29 08:15:46Z
[9/29/2017 1:15:46 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False
[9/29/2017 1:15:46 AM] [ INFO] epg123 client version: 1.1.17 for Win7
[9/29/2017 1:15:46 AM] Entering importMxfFile() for file "C:\epg123\epg123.mxf"
[9/29/2017 1:17:36 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[9/29/2017 1:17:36 AM] Exiting importMxfFile(). SUCCESS.
[9/29/2017 1:17:38 AM] [ INFO] Completed the automatch of lineup stations to tuner channels.
[9/29/2017 1:17:38 AM] Entering reindexDatabase()
[9/29/2017 1:17:38 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[9/29/2017 1:17:38 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[9/29/2017 1:17:38 AM] Exiting reindexDatabase(). SUCCESS.
[9/29/2017 1:17:38 AM] [ INFO] Completed EPG123 client execution.
[9/29/2017 1:17:38 AM] [ INFO] EPG123 client execution time was 00:01:52.6308022.


Code: Select all
[9/28/2017 1:15:00 AM] ===============================================================================
[9/28/2017 1:15:00 AM]  Beginning epg123 update execution.
[9/28/2017 1:15:00 AM] ===============================================================================
[9/28/2017 1:15:00 AM] [ INFO] Beginning EPG123 update execution. 2017-09-28 08:15:00Z
[9/28/2017 1:15:00 AM] [ INFO] DaysToDownload: 21 , PrefixEpisodeTitle: True , AppendEpisodeDesc: True , TMDbCoverArt: True , LogoOverride: True , AutoAddNew: True
[9/28/2017 1:15:01 AM] [ INFO] Token request successful. serverID: 20141201.web.1
[9/28/2017 1:15:01 AM] [ INFO] Status request successful. account expires: 2018-03-24T11:39:31Z , lineups: 1/4 , lastDataUpdate: 2017-09-28T01:34:58Z
[9/28/2017 1:15:01 AM] [ INFO] system status: Online , message: No known issues.
[9/28/2017 1:15:01 AM] [ INFO] epg123 is up to date. version: 1.1.17
[9/28/2017 1:15:01 AM] [ INFO] Successfully retrieved TMDb configurations.
[9/28/2017 1:15:01 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[9/28/2017 1:15:01 AM] Entering buildLineupServices() for 1 lineups.
[9/28/2017 1:15:02 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-CA04768-X.
[9/28/2017 1:15:03 AM] Exiting buildLineupServices(). SUCCESS.
[9/28/2017 1:15:03 AM] Entering getAllScheduleEntryMd5s() for 21 days on 443 stations.
[9/28/2017 1:15:07 AM] [ INFO] Successfully retrieved Md5s for 443 station's daily schedules.
[9/28/2017 1:15:09 AM] [ INFO] Found 6753 cached daily schedules.
[9/28/2017 1:15:12 AM] [ INFO] Successfully retrieved 410 station's daily schedules.


The Guide End Date in WMC is 10/17/2017 6:39pm which is only 18½ days out.
Sammy2
 
Posts: 1365
Joined: 24 August 2012
HTPC Specs: Show details

Post#2 » Fri Sep 29, 2017 2:02 pm

Nothing to do with the recent changes. This looks to me like whatever happened on your 9/28 update run corrupted one of the files being written to the cache folder. Use the configuration GUI and click the [Clear Cache] button. A [Save & Execute] after that will rebuild the cache and should import without issue.

Are you running out of space on your drive?
User avatar
garyan2
 
Posts: 2297
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#3 » Fri Sep 29, 2017 2:36 pm

The term "LiveTapeDelay" seemed to indicate this was a sub-routine that allowed WMC to finish recording and for epg123 to try again later so that is why I thought there was an association.

Rebuilding the database.. I've done that before after having that dreaded WMC has "fixed" your Guide when all it does is bork it. This resulted in 2 of every channel which I had to spend considerable time fixing with GuideTool which still shows two channel numbers but only one Station ID associated with one channel number.

I have 43.4Gb out of 238Gb available on my boot drive which is where epg123 runs.

Emby stores a lot of data on this drive but I'd hardly say I am running out of space.

Additionally, my recording drive has 259Gb Free out of 3.63Tb.
Sammy2
 
Posts: 1365
Joined: 24 August 2012
HTPC Specs: Show details

Post#4 » Fri Sep 29, 2017 6:27 pm

Sammy2 wrote:Rebuilding the database.. I've done that before after having that dreaded WMC has "fixed" your Guide when all it does is bork it. This resulted in 2 of every channel which I had to spend considerable time fixing with GuideTool which still shows two channel numbers but only one Station ID associated with one channel number.

For your current problem, just need to rebuild the cache (delete and re-download the files).

For the duplicate channels after a database rebuild, this happens when a lineup (tuner configurations) is imported into a database that already has existing tuner configurations. My code should have stopped the rebuild if it couldn't delete the existing database prior to importing the lineups. However, I've never tested that feature after a "fixed" guide scenario. I'll check it out and see if I can find anything.
User avatar
garyan2
 
Posts: 2297
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#5 » Fri Sep 29, 2017 6:55 pm

Is there anything I can provide to you to help check it out? I have not rebuilt the cache yet.
Sammy2
 
Posts: 1365
Joined: 24 August 2012
HTPC Specs: Show details

Post#6 » Fri Sep 29, 2017 8:50 pm

No, I'm good. I can easily force it to recover the database for me and then try the rebuild ... see where/if anything goes wrong.

Thank you.
User avatar
garyan2
 
Posts: 2297
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#7 » Fri Sep 29, 2017 9:48 pm

This will preserve all previously scheduled series and recordings, right?
Sammy2
 
Posts: 1365
Joined: 24 August 2012
HTPC Specs: Show details

Post#8 » Fri Sep 29, 2017 10:25 pm

Of course. The cache strictly contains all the files used to create your guide listings (the MXF file), it has nothing to do with WMC and/or scheduled recordings.
User avatar
garyan2
 
Posts: 2297
Joined: 27 November 2015
HTPC Specs: Show details
- Gary
Stomping out the Rovi disease, one media center at a time. http://epg123.garyan2.net

Post#9 » Mon Oct 02, 2017 12:18 pm

Just to follow up on this. I rebuilt the cache on Saturday and ran epg123 Client manually. All was well and I've had 3 successful runs since.

What would cause this and is there anything that needs to be done on my part to prevent it in the future?
Sammy2
 
Posts: 1365
Joined: 24 August 2012
HTPC Specs: Show details


Return to EPG123



Who is online

Users browsing this forum: No registered users and 1 guest

cron