MediaPortal.xml full of spaces, no XML (1 Viewer)

richardb70

Portal Member
April 26, 2012
8
0
55
Home Country
Great Britain (UK) Great Britain (UK)
Hi,

Strange problem with 1.3.0 last night. MePo crashed on startup, ditto if you went via config, so no logs to post, sorry. Windows reported some XML issues so I painstakingly went through all the XML files I could find, first of all looking for 0 bytes and then checking each one for content. Turns out my mediaportal.xml (and its backup) were full of spaces but no XML. No idea at all how this happened. Seems the "cure" is to delete these files and then re-do all the config from scratch.

Any ideas how these files could have been corrupted so badly? Before I tracked it down, I tried to reinstall MePo using the installer, and maybe I'm being thick but as it detected I already had an installation, it did nothing, so the advice here:

http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/12_Installation#Reinstall

Doesn't seem quite right. Many thanks in advance!

Specs: Windows 7, Celeron CPU, 4Gb, SSD, GT440 GPU.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Hello richardb70

    First, apologies for any inconvenience.
    Sounds like you've got some kind of file corruption happening there. That could have been caused by the crash on startup, or by some other unexpected power loss, hard reboot, BSOD etc. Usually files are cached in memory and only occasionally actually written back to the HDD. When "catastrophic" events happen, they prevent or disrupt the process of writing the file from memory to HDD.

    As you've said, the only solution if you have no other backup is to delete and redo.

    mm
     

    richardb70

    Portal Member
    April 26, 2012
    8
    0
    55
    Home Country
    Great Britain (UK) Great Britain (UK)
    Thanks for the reply, much appreciated. Hopefully this will crop up in Google searches if anyone else has the same issue.
     

    Users who are viewing this thread

    Top Bottom