New install - MXF file truncates & therefore does not import

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html
Post Reply
Snoogins34

Posts: 4
Joined: Tue Jul 29, 2014 4:34 pm
Location:

HTPC Specs: Show details

New install - MXF file truncates & therefore does not import

#1

Post by Snoogins34 » Thu Dec 27, 2018 7:54 am

Hello:

I am a new user, and just installed v1.2.8.0 tonight, finally taking the plunge. I went through all the steps in the guide for the Clean Start procedure, etc. However, after completing everything & creating my Scheduled Task, I fired up my new guide, and there were no listings.

I opened up the Config tool again and looked at the trace log. I am seeing this error down towards the end of the "Save & Execute" procedure:

-------------------------------
[12/27/2018 1:17:48 AM] Exiting getAllSeriesImages(). SUCCESS.
[12/27/2018 1:17:48 AM] [ INFO] Completed compiling keywords and keyword groups.
[12/27/2018 1:17:55 AM] [ERROR] Failed to save the MXF file to "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf". Message: There was an error generating the XML document.
[12/27/2018 1:17:55 AM] [ERROR] Failed to create MXF file. Exiting.
[12/27/2018 1:17:55 AM] [ INFO] epg123 update execution time was 00:18:37.5391628.
-------------------------------

The thing is...the MXF file is there in that directory, but if I open it up in something like Notepad++ to look at it, it is truncated - there is no valid XML footer info. The file as listed is about 75MB in size, but it just ends with these lines:

-------------------------------
<Program id="48239" uid="!Program!MV01185309_0000" title="El gran León" description="Ivana es una abogada divorciada. Un día pierde su celular y recibe la llamada del hombre que lo encontró, León Godoy. Desde esa conversación telefónica se establece una gran empatía entre ambos y nace una gran historia de amor." shortDescription="Una mujer pierde su celular y se enamora del hombre que lo encuentra." language="es" year="2017" keywords="k3,k3006,k3011" isComedy="true" isRomance="true" isMovie="true" hasExtendedCastAndCrew="true" hasExtendedSynopsis="true" hasReview="true" hasSimilarPrograms="true" guideImage="i4637">
<ActorRole person="p67911" rank="1" />
<ActorRole person="p67912" rank="2" />
<ActorRole person="p67913" rank="3" />
<ActorRole person="p67914" rank="4" />
<ActorRole person="p67915" rank="5" />
<ActorRole person="p67916" rank="6" />
<ActorRole person="p67917" rank="7" />
<ActorRole person="p67918" rank="8" />
<WriterRole person="p67920" rank="2" />
<DirectorRole person="p67919" rank="1" />
</Program>
<Program id="48240" uid="!Program!MV00459335_0000" title="Chiapas el Corazón del Café" description="Un aventurero inglés, y su joven esposa llegan al Soconusco Chiapaneco. Ahí buscan cumplir su sueño de prosperidad y convertirse en los primeros productores de café en la zona." shortDescription="Un aventurero inglés, y su esposa llegan al Soconusco Chiapaneco en busca de cumplir su sueño." language="es" keywords="k3,k3010"
-------------------------------

I've gone through the "Save & Execute" process in the Configuration Tool twice, and both times it truncated the file. Am I hitting some sort of limit?

I'm using a Windows 7 Enterprise machine as my WMC machine, and there is plenty of free space on the C drive. I looked through the first few pages of the forum here, and didn't see anyone else have this issue. Am I doing something wrong here?

Thanks,
Rob

rimmel

Posts: 86
Joined: Tue Aug 27, 2013 10:36 pm
Location:

HTPC Specs: Show details

#2

Post by rimmel » Thu Dec 27, 2018 12:21 pm

I upgraded epg123 from v1.2.7.0 to v 1.2.8.1. I ran epg123 and got the same error as the previous post. I reverted back to v1.2.7.0 and epg123 ran without errors.

Sancho

Posts: 160
Joined: Wed Jun 13, 2012 9:52 pm
Location:

HTPC Specs: Show details

#3

Post by Sancho » Thu Dec 27, 2018 3:11 pm

rimmel wrote: Thu Dec 27, 2018 12:21 pm I upgraded epg123 from v1.2.7.0 to v 1.2.8.1. I ran epg123 and got the same error as the previous post. I reverted back to v1.2.7.0 and epg123 ran without errors.
Exactly the same scenario for me. Here's the last entry from 1.2.8.1 from trace.log (2nd attempt):

Code: Select all

[12/27/2018 10:00:12 AM] ===============================================================================
[12/27/2018 10:00:12 AM]  Activating the epg123 configuration GUI. version 1.2.8.1
[12/27/2018 10:00:12 AM] ===============================================================================
[12/27/2018 10:00:13 AM] [ INFO] Successfully queried the Task Scheduler for status. Ready. Last Run 12/27/2018 5:01:00 AM; Exit: 0x00000000
[12/27/2018 10:00:13 AM] [ INFO] Token request successful. serverID: 20141201.web.X
[12/27/2018 10:00:13 AM] [ INFO] Status request successful. account expires: 2019-03-23T20:14:55Z , lineups: 1/4 , lastDataUpdate: 2018-12-27T04:44:18Z
[12/27/2018 10:00:13 AM] [ INFO] system status: Online , message: No known issues.
[12/27/2018 10:00:13 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[12/27/2018 10:00:13 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-VA45570-X.
[12/27/2018 10:00:16 AM] ===============================================================================
[12/27/2018 10:00:16 AM]  Beginning epg123 update execution. version 1.2.8.1
[12/27/2018 10:00:16 AM] ===============================================================================
[12/27/2018 10:00:16 AM] [ INFO] Beginning EPG123 update execution. 2018-12-27 15:00:16Z
[12/27/2018 10:00:16 AM] [ INFO] DaysToDownload: 21 , TheTVDBNumbers : True , PrefixEpisodeTitle: False , PrefixEpisodeDescription : False , AppendEpisodeDesc: True , OADOverride : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[12/27/2018 10:00:16 AM] [ INFO] Status request successful. account expires: 2019-03-23T20:14:55Z , lineups: 1/4 , lastDataUpdate: 2018-12-27T04:44:18Z
[12/27/2018 10:00:16 AM] [ INFO] system status: Online , message: No known issues.
[12/27/2018 10:00:16 AM] [ INFO] Successfully retrieved TMDb configurations.
[12/27/2018 10:00:17 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[12/27/2018 10:00:17 AM] Entering buildLineupServices() for 1 lineups.
[12/27/2018 10:00:17 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-VA45570-X.
[12/27/2018 10:00:18 AM] Exiting buildLineupServices(). SUCCESS.
[12/27/2018 10:00:18 AM] Entering getAllScheduleEntryMd5s() for 21 days on 508 stations.
[12/27/2018 10:00:36 AM] [ INFO] Successfully retrieved Md5s for 238 station's daily schedules.
[12/27/2018 10:00:54 AM] [ INFO] Successfully retrieved Md5s for 238 station's daily schedules.
[12/27/2018 10:00:57 AM] [ INFO] Successfully retrieved Md5s for 32 station's daily schedules.
[12/27/2018 10:00:57 AM] [ INFO] Found 10666 cached daily schedules.
[12/27/2018 10:00:57 AM] [ INFO] Downloaded 0 daily schedules.
[12/27/2018 10:01:05 AM] [ INFO] Processed 10666 daily schedules for 508 stations.
[12/27/2018 10:01:05 AM] Exiting getAllScheduleEntryMd5s(). SUCCESS.
[12/27/2018 10:01:05 AM] Entering buildAllProgramEntries() for 52311 programs.
[12/27/2018 10:01:27 AM] [ INFO] Found 52311 cached program descriptions.
[12/27/2018 10:01:27 AM] [ INFO] Processed 52311 program descriptions.
[12/27/2018 10:01:27 AM] Exiting buildAllProgramEntries(). SUCCESS.
[12/27/2018 10:01:27 AM] Entering buildAllGenericSeriesInfoDescriptions() for 9623 series.
[12/27/2018 10:01:30 AM] [ INFO] Found 9623 cached series descriptions.
[12/27/2018 10:01:30 AM] [ INFO] Processed 9623 series descriptions.
[12/27/2018 10:01:30 AM] Exiting buildAllGenericSeriesInfoDescriptions(). SUCCESS.
[12/27/2018 10:01:30 AM] Entering getAllMoviePosters() for 5492 movies.
[12/27/2018 10:01:30 AM] [ INFO] Found 5441 cached movie poster links.
[12/27/2018 10:01:30 AM] [ INFO] Successfully retrieved artwork info for 51 programs.
[12/27/2018 10:01:30 AM] [ INFO] TMDb catalog search for "Diez minutos antes" from 2017 found 0 results.
[12/27/2018 10:01:30 AM] [ INFO] TMDb catalog search for "Diez minutos antes" from 2016 found 0 results.
[12/27/2018 10:01:30 AM] [ INFO] TMDb catalog search for "Diez minutos antes" from 2018 found 0 results.
[12/27/2018 10:01:30 AM] [ INFO] TMDb catalog search for "Los caciques" from 1973 found 0 results.
[12/27/2018 10:01:30 AM] [ INFO] TMDb catalog search for "Los caciques" from 1972 found 0 results.
[12/27/2018 10:01:30 AM] [ INFO] TMDb catalog search for "Los caciques" from 1974 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Avioneta Colombiana" from 2002 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Avioneta Colombiana" from 2001 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Avioneta Colombiana" from 2003 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Tratantes Blancas" from 2017 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Tratantes Blancas" from 2016 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Tratantes Blancas" from 2018 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Perseguido Por la Ley" from 1988 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Perseguido Por la Ley" from 1987 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Perseguido Por la Ley" from 1989 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Horas Violentas" from 1990 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Horas Violentas" from 1989 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Horas Violentas" from 1991 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Mafia nueva" from 2015 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Mafia nueva" from 2014 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Mafia nueva" from 2016 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "El Chrysler 300 IV" from 2010 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "El Chrysler 300 IV" from 2009 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "El Chrysler 300 IV" from 2011 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Era Canijo el VIejo" from 2001 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Era Canijo el VIejo" from 2000 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Era Canijo el VIejo" from 2002 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Lishnij Bilet" from 1982 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Lishnij Bilet" from 1981 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Lishnij Bilet" from 1983 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Happy New Year, Mothers" from 2012 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Happy New Year, Mothers" from 2011 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Happy New Year, Mothers" from 2013 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Stavisky, l'escroc du siècle" from 2014 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Stavisky, l'escroc du siècle" from 2013 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] TMDb catalog search for "Stavisky, l'escroc du siècle" from 2015 found 0 results.
[12/27/2018 10:01:31 AM] [ INFO] Processed 5492 movie poster links.
[12/27/2018 10:01:31 AM] Exiting getAllMoviePosters(). SUCCESS.
[12/27/2018 10:01:31 AM] Entering getAllSeriesImages() for 9623 series.
[12/27/2018 10:01:31 AM] [ INFO] Found 0 cached series image links.
[12/27/2018 10:01:34 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:36 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:38 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:41 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:44 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:46 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:48 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:50 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:52 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:55 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:01:57 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:00 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:02 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:04 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:06 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:09 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:11 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:13 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:16 AM] [ INFO] Successfully retrieved artwork info for 500 programs.
[12/27/2018 10:02:16 AM] [ INFO] Successfully retrieved artwork info for 123 programs.
[12/27/2018 10:02:16 AM] [ INFO] Processed 9623 series image links.
[12/27/2018 10:02:16 AM] Exiting getAllSeriesImages(). SUCCESS.
[12/27/2018 10:02:16 AM] [ INFO] Completed compiling keywords and keyword groups.
[12/27/2018 10:02:19 AM] [ERROR] Failed to save the MXF file to "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf". Message: There was an error generating the XML document.
[12/27/2018 10:02:19 AM] [ERROR] Failed to create MXF file. Exiting.
[12/27/2018 10:02:19 AM] [ INFO] epg123 update execution time was 00:02:02.5850154.
.

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#4

Post by garyan2 » Thu Dec 27, 2018 4:47 pm

Okay, I recommend reverting back to 1.2.7 while I try to duplicate this. This error is probably directly related to some of the code movement I had to do. Could someone tell me their lineup so I can find the issue?

Thank you everyone, and sorry. :(

EDIT: I see Sancho's lineup in the log entries, so I can use that.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#5

Post by garyan2 » Thu Dec 27, 2018 5:14 pm

Well, that didn't take long. I missed a 'null' check for movies, an lo-and-behold each of you had a movie that exposed the problem.

I'm scrubbing through my code again and will post an update soon.

Thank you, and again, sorry.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Snoogins34

Posts: 4
Joined: Tue Jul 29, 2014 4:34 pm
Location:

HTPC Specs: Show details

#6

Post by Snoogins34 » Thu Dec 27, 2018 5:19 pm

No worries! I may be new to EPG123, but not new to the TGB community, so I'm aware of all the great work you've done! I'm just glad it wasn't me doing something dumb... ;)

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#7

Post by garyan2 » Thu Dec 27, 2018 5:42 pm

v1.2.8.2 has just been posted on the server. I did not find anymore "missed" null checks in the changes I did for v1.2.8.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Sancho

Posts: 160
Joined: Wed Jun 13, 2012 9:52 pm
Location:

HTPC Specs: Show details

#8

Post by Sancho » Thu Dec 27, 2018 6:14 pm

garyan2 wrote: Thu Dec 27, 2018 5:42 pm v1.2.8.2 has just been posted on the server. I did not find anymore "missed" null checks in the changes I did for v1.2.8.
Thanks for the quick fix. Seems to have worked.

sunnyevw

Posts: 17
Joined: Sun Jul 02, 2017 11:19 pm
Location:

HTPC Specs: Show details

#9

Post by sunnyevw » Thu Dec 27, 2018 8:50 pm

garyan2 wrote: Thu Dec 27, 2018 5:42 pm v1.2.8.2 has just been posted on the server. I did not find anymore "missed" null checks in the changes I did for v1.2.8.
I have tried to download the updated install file (zip) and Windows Security Essentials "cleans" it immediately. There is something there it doesn't like.

User avatar
garyan2

Posts: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#10

Post by garyan2 » Thu Dec 27, 2018 10:21 pm

sunnyevw wrote: Thu Dec 27, 2018 8:50 pm
garyan2 wrote: Thu Dec 27, 2018 5:42 pm v1.2.8.2 has just been posted on the server. I did not find anymore "missed" null checks in the changes I did for v1.2.8.
I have tried to download the updated install file (zip) and Windows Security Essentials "cleans" it immediately. There is something there it doesn't like.
Sorry, missed this post. See this post for a response (viewtopic.php?p=129520#p129520).
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Snoogins34

Posts: 4
Joined: Tue Jul 29, 2014 4:34 pm
Location:

HTPC Specs: Show details

#11

Post by Snoogins34 » Thu Dec 27, 2018 10:57 pm

Just upgraded to v1.2.8.2 on my WMC, and the MXF file generated just fine. I'm now enjoying my first Rovi-free WMC guide in a looooong time! :)


Thank you, Gary, for the quick response!

rimmel

Posts: 86
Joined: Tue Aug 27, 2013 10:36 pm
Location:

HTPC Specs: Show details

#12

Post by rimmel » Fri Dec 28, 2018 2:30 am

I have 2 HTPCs. I upgraded the first one from v1.2.7.0 to v1.2.8.2 and ran epg123 without errors. I upgraded the second one from v1.2.7.0 to v1.2.8.2 and encountered the same error as described in previous posts. Both use the same lineup (USA-WA46544-X). There must be some more nulls in the guide data somewhere.


Also after the installation of v1.2.8.2 there are two icons on the desktop. One is labeled "EPG123" and the other "EPG123 Configuration".

Post Reply