EPG123 1.1.4 crashing during import

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

EPG123 1.1.4 crashing during import

Post#1 » Thu Jun 29, 2017 2:03 pm

Been running 1.1.4 for a couple months now, last two days it's started failing for some reason. Yesterday, the following at the tail of the trace log:

Code: Select all
[6/28/2017 2:04:05 AM] Entering writeMxf().
[6/28/2017 2:04:06 AM] Exiting writeMxf(). SUCCESS.
[6/28/2017 2:04:06 AM] Entering writeImageArchive().
[6/28/2017 2:04:06 AM] Exiting writeImageArchive(). SUCCESS.
[6/28/2017 2:04:10 AM] [ INFO] 4797 files deleted from the cache directory during cleanup.
[6/28/2017 2:04:10 AM] [STATS] Generated .mxf file contains 490 services, 8691 series, 42846 programs, and 63036 people with 12944 image links.
[6/28/2017 2:04:10 AM] [STATS] epg123 update execution time was 00:03:09.7762705.
[6/28/2017 2:04:10 AM] ====================== Beginning epg123 client execution. =====================
[6/28/2017 2:04:11 AM] [ INFO] Import=True , Match=True , NoLogo=False
[6/28/2017 2:04:11 AM] [ INFO] import filename = epg123.mxf
[6/28/2017 2:06:38 AM] [ERROR] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
[6/28/2017 2:06:38 AM] [ERROR]    at MediaCenter.Store.OleDB.StoredObjectsEnumerator.MoveNext()
[6/28/2017 2:06:38 AM] [ERROR]    at MediaCenter.Store.OleDB.StoredObjectsRecord.Fetch(Int64 id, StoredObjectKey key)
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.StoredObjects.get_Item(StoredObjectKey key)
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.StoredObjects`1.get_Item(StoredObjectKey key)
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.ObjectStore.InitializeProvider(ObjectStore store, String providerName, String password, Assembly callingAssembly)
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.ObjectStore.Open(String fileName, String providerName, String password, Assembly callingAssembly, Boolean isCollecting)
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.ObjectStore.Open(String fileName, String providerName, String password, Boolean isAdminRequested)
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.ObjectStore.AddObjectStoreReference()
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Store.ObjectStore.get_DefaultSingleton()
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Pvr.FullRescheduleWorker.ThreadSetup()
[6/28/2017 2:06:38 AM] [ERROR]    at Microsoft.MediaCenter.Pvr.SignaledWorker.ThreadProcess()
[6/28/2017 2:06:38 AM] [ERROR]    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[6/28/2017 2:06:38 AM] [ERROR]    at System.Threading.ThreadHelper.ThreadStart()
[6/28/2017 2:06:38 AM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -1073741819
[6/28/2017 2:06:38 AM] [ERROR] Failed to import .mxf file. Exiting.


Hoping it was a data fluke, waited for today's run:

Code: Select all
6/29/2017 2:01:01 AM] [ INFO] epg123 version 1.1.4 , DaysToDownload: 16 , PrefixEpisodeTitle: False , AppendEpisodeDesc: True , TMDbCoverArt: True , LogoOverride: False , AutoAddNew: True
[6/29/2017 2:01:02 AM] [ INFO] Token request successful. serverID: 20141201.web.1
[6/29/2017 2:01:02 AM] [ INFO] epg123 is not up to date. Latest version is 1.1.8 and can be downloaded from http://epg123.garyan2.net.
[6/29/2017 2:01:02 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[6/29/2017 2:01:02 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-CO05459-X.
[6/29/2017 2:01:03 AM] Entering getAllScheduleEntryMd5s() for 16 days on 490 stations.
[6/29/2017 2:01:12 AM] [ INFO] Successfully retrieved Md5s for 490 station's daily schedules.
[6/29/2017 2:01:19 AM] [ INFO] Successfully retrieved 472 station's daily schedules.
...
6/29/2017 2:03:41 AM] Entering writeMxf().
[6/29/2017 2:03:42 AM] Exiting writeMxf(). SUCCESS.
[6/29/2017 2:03:42 AM] Entering writeImageArchive().
[6/29/2017 2:03:42 AM] Exiting writeImageArchive(). SUCCESS.
[6/29/2017 2:03:45 AM] [ INFO] 4677 files deleted from the cache directory during cleanup.
[6/29/2017 2:03:45 AM] [STATS] Generated .mxf file contains 490 services, 8751 series, 43509 programs, and 63112 people with 12968 image links.
[6/29/2017 2:03:45 AM] [STATS] epg123 update execution time was 00:02:44.7702307.
[6/29/2017 2:03:46 AM] ====================== Beginning epg123 client execution. =====================
[6/29/2017 2:03:46 AM] [ INFO] Import=True , Match=True , NoLogo=False
[6/29/2017 2:03:47 AM] [ INFO] import filename = epg123.mxf
[6/29/2017 2:05:34 AM] [ERROR] Process is terminated due to StackOverflowException.
[6/29/2017 2:05:34 AM] [ERROR] Error using loadmxf.exe to import new guide information. Exit code: -2147023895
[6/29/2017 2:05:34 AM] [ERROR] Failed to import .mxf file. Exiting.


Win7 x64 machine, no changes or updates recently. Any of the above make any sense to anyone? Thanks.
-Alan
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#2 » Thu Jun 29, 2017 3:20 pm

Looks like your database is corrupt. All the errors are from loadmxf.exe during the import so there's nothing epg123 can do. A database rebuild should get you back up and running or restore an old backup if you have it and just continue on.

Your first error C000 0005 is an Exception Error, your second error 8007 03E9 is a Fatal Exception Error. I have a feeling it's not going to get any better.
User avatar
garyan2
 
Posts: 2248
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 » Thu Jun 29, 2017 9:18 pm

Thanks. Am pretty confused about this, haven't had a database corruption since, well, ever... When you refer to "database rebuild," are you talking about hitting the EPG123_Client "rebuild WMC database" or something else? Hopefully not ObjectStoreRecoveryTask, I've never seen that work right.
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#4 » Thu Jun 29, 2017 10:47 pm

webminster wrote:Thanks. Am pretty confused about this, haven't had a database corruption since, well, ever... When you refer to "database rebuild," are you talking about hitting the EPG123_Client "rebuild WMC database" or something else? Hopefully not ObjectStoreRecoveryTask, I've never seen that work right.

Yes, the EPG123 Client Rebuild Database button. I don't have a lot of faith in the ObjectStoreRecoveryTask either.
User avatar
garyan2
 
Posts: 2248
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 » Sat Jul 01, 2017 5:44 pm

OK, so finally got to do this on the affected machine, ran the 1.1.4 client and hit the rebuild database button.
Restarted a guide import with EPG123 GUI to watch. The MXF import before and after gets to 77%, then Windows throws a "stopped working" dialog:
Code: Select all
Description:
  Stopped working

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   loadmxf.exe
  Application Version:   6.1.7600.16385
  Application Timestamp:   4a5bb41e
  Fault Module Name:   KERNELBASE.dll
  Fault Module Version:   6.1.7601.18409
  Fault Module Timestamp:   5315a05a
  Exception Code:   e053534f
  Exception Offset:   000000000000940d
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:   1033


Any other ideas where to go next? Delete eHome and redo the setup?
-Alan
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#6 » Sat Jul 01, 2017 5:55 pm

More info... after running the rebuild database, restarted the WMC GUI. Threw an error about guide issue that was corrected, and needing to download guide data. Guide now was all "no data". Tried rerunning an EPG123 run, which died again with the stackoverflow. So definitely in worse shape now...

EDIT: for fun also tried changing from my 16 days down to about 5 days. Got to about 83% import before the load appcrashed.
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#7 » Sat Jul 01, 2017 6:14 pm

webminster wrote:OK, so finally got to do this on the affected machine, ran the 1.1.4 client and hit the rebuild database button.
Restarted a guide import with EPG123 GUI to watch. The MXF import before and after gets to 77%, then Windows throws a "stopped working" dialog:
Code: Select all
Description:
  Stopped working

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   loadmxf.exe
  Application Version:   6.1.7600.16385
  Application Timestamp:   4a5bb41e
  Fault Module Name:   KERNELBASE.dll
  Fault Module Version:   6.1.7601.18409
  Fault Module Timestamp:   5315a05a
  Exception Code:   e053534f
  Exception Offset:   000000000000940d
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:   1033


Any other ideas where to go next? Delete eHome and redo the setup?
-Alan

I suppose it is possible that whatever is causing the problem is in the backup files used for the database rebuild. Here is what I would suggest:

1) upgrade to 1.1.9
2) boot into safe mode and click the database rebuild
3) boot back into normal mode and open WMC. All your channels should be there along with custom numbers but no guide data.
4) perform a manual import using the epg123Client and see what happens.


EDIT: in light of new information ... database rebuild will probably not work. When WMC "recovers", it creates a new database and the backups epg123 needs are no longer there. Do this instead:

1) upgrade to 1.1.9 (because why wouldn't I still suggest this?)
2) perform settings->TV->TV Signal->Set Up TV Signal. If this corrects the problem, then all your scheduled recordings should remain intact
3) perform a manual import using the epg123Client and see what happens.
User avatar
garyan2
 
Posts: 2248
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#8 » Sat Jul 01, 2017 9:06 pm

So OK... I upgraded to 1.1.9, went through LiveTV Setup OK. Ran the client and did th import, seemed OK, but didn't get a guide.

So ran the EPG123 GUI set to 5 days. It ran through, I did get a guide and automatches. ODD THING, I still had series, but no scheduled recordings. And, the Search/title showed 15 days of data, not the 5 I expected.

So went back to EPG123 GUI and reset to 16 days, save and execute. Got to around 75% and loadmxf crashed.
-Alan

EDIT: waiting a while for reindexing to finish, got the scheduled recordings showing again. But the Search/Titles still shows 15 days, which shouldn't be possible... unless rebuild database swapped a bad one in, and running setup didn't replace it...?
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#9 » Sat Jul 01, 2017 10:42 pm

webminster wrote:So OK... I upgraded to 1.1.9, went through LiveTV Setup OK. Ran the client and did th import, seemed OK, but didn't get a guide.

So ran the EPG123 GUI set to 5 days. It ran through, I did get a guide and automatches. ODD THING, I still had series, but no scheduled recordings. And, the Search/title showed 15 days of data, not the 5 I expected.

So went back to EPG123 GUI and reset to 16 days, save and execute. Got to around 75% and loadmxf crashed.
-Alan

EDIT: waiting a while for reindexing to finish, got the scheduled recordings showing again. But the Search/Titles still shows 15 days, which shouldn't be possible... unless rebuild database swapped a bad one in, and running setup didn't replace it...?

[Rebuild Database] simply deletes the current database and imports the backup 'lineups', 'recordings', and 'subscriptions' files. At that point, the guide should be setup exactly as it was except missing the actual guide listings. Import of the most recent guide information will complete the rebuild.

That is why I'm a bit confused with what you said. If the import went well, guide listings should have been there.

At this point, I would recommend a clean start. When a clean start is performed, epg123 will backup the backups. Once you're back up after the clean start, you can import the backup 'recordings' file to get your scheduled recordings back. The backup is located in the [epg123]\backup\backups_YYYYMMDD_HHMMSS.zip file. To import the recordings, run 'c:\windows\ehome\loadmxf.exe -i [pathToFile]\recordings.mxf'. After reindexing, you should have the recording schedule back.
User avatar
garyan2
 
Posts: 2248
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#10 » Sat Jul 01, 2017 11:29 pm

OK, did the clean start (had to go to safe mode). Finished the Live TV setup and the 16 day EPG123 run, this run finished without a crash (+1). Got the schedule reimported. Waiting for the reindexing to complete.

Hopefully I'll see on the run tonight if it continues to run clean. Thanks for the help so far.
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#11 » Tue Jul 04, 2017 6:04 pm

OK, well, a couple of clean run days, so that's good.

Question - going back to recreate the favorite guide lineup i WMC after I lost that... The channel names no longer appear, only the 10005 checkboxes of channel numbers. Didn't this used to show the channel names as well in a previous version? Neither of my machines running 1.1.4 or 1.1.9 show the names.
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#12 » Tue Jul 04, 2017 6:22 pm

webminster wrote:OK, well, a couple of clean run days, so that's good.

Question - going back to recreate the favorite guide lineup i WMC after I lost that... The channel names no longer appear, only the 10005 checkboxes of channel numbers. Didn't this used to show the channel names as well in a previous version? Neither of my machines running 1.1.4 or 1.1.9 show the names.

Yah, and it should show the channel call signs. It has been quite a while since I've heard reports of this behavior and thought it may have been accidentally addressed in previous builds. I'm not sure where it is coming from and I've never been able to recreate it. I'm wondering if WMC is just timing out when trying to build it for display and you end up with nothing visual.
User avatar
garyan2
 
Posts: 2248
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#13 » Tue Jul 04, 2017 6:50 pm

I swear it used to work no problem in 1.0.x... unfortunately I've not found a way to not recreate it on my two machines here. Had to use the guide on one machine to help recreate the lineup on the other, by inspection.
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#14 » Tue Jul 04, 2017 6:52 pm

What about the client GUI? Does it show call signs?
User avatar
garyan2
 
Posts: 2248
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#15 » Tue Jul 04, 2017 7:10 pm

garyan2 wrote:What about the client GUI? Does it show call signs?

Yes:
Capture.PNG


Think it's funny that not only don't the names/calls appear, but it lists checkboxes for all 10000 channels, not just the enabled channels from automatch. The calls or names DO appear as expected in the "Edit channels" WMC settings.
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#16 » Tue Jul 04, 2017 7:21 pm

webminster wrote:Think it's funny that not only don't the names/calls appear, but it lists checkboxes for all 10000 channels, not just the enabled channels from automatch. The calls or names DO appear as expected in the "Edit channels" WMC settings.

I think you just confused me a bit. Where are the names/calls not appearing?

EDIT: oh, right ... this is when editing favorite lineups. So they are fine in the client GUI, they are fine in Edit channels, but not visible in the favorite lineups.
User avatar
garyan2
 
Posts: 2248
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#17 » Tue Jul 04, 2017 7:29 pm

The "favorite lineups" stuff. In Settings / Guide, second entry, after "edit channels". Where you define your own favorites list.

Capture.PNG
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#18 » Tue Jul 04, 2017 7:40 pm

I think I found the problem, stay tuned while I flesh it out. I suspect the information is there, but you can't see it.

I'll be back with pictures!
User avatar
garyan2
 
Posts: 2248
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#19 » Tue Jul 04, 2017 7:50 pm

Optimistic news. But I'd prefer to think you're enjoying a holiday rather than writing code... :-)
webminster
 
Posts: 652
Joined: 20 December 2011
HTPC Specs: Show details
-Alan

Post#20 » Tue Jul 04, 2017 8:08 pm

That "favorites" screen has always been problematic (even when not using EPG123).

It seems that the width of the display field can vary for different WMC systems for some reason. Some users see about 50% of the field, others less, others more. In your case it may be that the field width is just so small that you can't see anything.

I saw a thread about it somewhere, I will see if I can find it...

It is good if Gary can find a solution (at least for EPG123 users.)

EDIT: I can't find the post about the column width, but I did find another report of your issue from someone using EPG123. In this post you can see (second picture) that the listing of the station names is cut off about 50%, the "EDIT CHANNELS" screen after that shows the full station name (as it should be). I have seen screenshots of this screen where only the first 1 or 2 letters of the station name is viewable and the column width seems to vary from system to system with no identified cause.

viewtopic.php?t=10313
Last edited by Space on Tue Jul 04, 2017 8:21 pm, edited 1 time in total.
Space
 
Posts: 1219
Joined: 2 June 2013

Next

Return to EPG123



Who is online

Users browsing this forum: No registered users and 3 guests

cron