1.29.0 [solved] 5073: 1.28 Pre-release XML importer change (issue?) (1 Viewer)

TBacker

Portal Member
June 23, 2011
39
12
Home Country
United States of America United States of America
Country flag
Just installed 1.28, and the new XML EPG importer refuses to import the xml spit out by EPG-Buddy. Older versions of MP1 ingest it fine.

My setup:
  • Client/Server, TV Server running on a Windows 10 Pro x64 box.
  • EPG data path: Schedules Direct > mc2xml > intermediate folder > EPG-Buddy XML import / processing > intermediate folder 2 > picked up by TV Server XML import.
I was able to get things running by swapping in the XmlTvImport.dll from 1.27. I don't know if the dll interface has changed internally, but it seems to work fine for now.

Here is the error:
Code:
[2021-05-12 22:07:50,066] [Log    ] [SetupTv  ] [INFO ] - plugin:xmltv importing files in C:\!EPG\Processed\\tvguide.lst
[2021-05-12 22:07:50,066] [Log    ] [SetupTv  ] [INFO ] - plugin:xmltv importing C:\!EPG\Processed\TVGuide_1.xml
[2021-05-12 22:07:50,378] [Log    ] [SetupTv  ] [INFO ] - xmltv import C:\!EPG\Processed\TVGuide_1.xml
[2021-05-12 22:07:50,487] [Log    ] [SetupTv  ] [ERROR] - XML tv import error loading C:\!EPG\Processed\TVGuide_1.xml err:For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
   at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlReader.ReadToDescendant(String name)
   at TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
[2021-05-12 22:07:50,519] [Log    ] [SetupTv  ] [INFO ] - Xmltv: imported 0 channels, 0 programs status:C:\!EPG\Processed\TVGuide_1.xml: Invalid XML file:For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.;
[2021-05-12 22:07:50,519] [Log    ] [SetupTv  ] [INFO ] - Xmltv: waiting for database to finish inserting imported programs.
[2021-05-12 22:07:50,519] [Log    ] [SetupTv  ] [INFO ] - plugin:xmltv import done

I will attach the source file it wouldn't process.

I have also let them know on the EPG-Buddy thread in case this is a new XML formatting requirement that they need to meet.
 

Attachments

  • TVGuide_1.xml
    16.5 MB · Views: 0

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    3,953
    2,187
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    Just installed 1.28, and the new XML EPG importer refuses to import the xml spit out by EPG-Buddy. Older versions of MP1 ingest it fine.

    My setup:
    • Client/Server, TV Server running on a Windows 10 Pro x64 box.
    • EPG data path: Schedules Direct > mc2xml > intermediate folder > EPG-Buddy XML import / processing > intermediate folder 2 > picked up by TV Server XML import.
    I was able to get things running by swapping in the XmlTvImport.dll from 1.27. I don't know if the dll interface has changed internally, but it seems to work fine for now.

    Here is the error:
    Code:
    [2021-05-12 22:07:50,066] [Log    ] [SetupTv  ] [INFO ] - plugin:xmltv importing files in C:\!EPG\Processed\\tvguide.lst
    [2021-05-12 22:07:50,066] [Log    ] [SetupTv  ] [INFO ] - plugin:xmltv importing C:\!EPG\Processed\TVGuide_1.xml
    [2021-05-12 22:07:50,378] [Log    ] [SetupTv  ] [INFO ] - xmltv import C:\!EPG\Processed\TVGuide_1.xml
    [2021-05-12 22:07:50,487] [Log    ] [SetupTv  ] [ERROR] - XML tv import error loading C:\!EPG\Processed\TVGuide_1.xml err:For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
        at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
       at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.XmlReader.ReadToDescendant(String name)
       at TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
    [2021-05-12 22:07:50,519] [Log    ] [SetupTv  ] [INFO ] - Xmltv: imported 0 channels, 0 programs status:C:\!EPG\Processed\TVGuide_1.xml: Invalid XML file:For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.;
    [2021-05-12 22:07:50,519] [Log    ] [SetupTv  ] [INFO ] - Xmltv: waiting for database to finish inserting imported programs.
    [2021-05-12 22:07:50,519] [Log    ] [SetupTv  ] [INFO ] - plugin:xmltv import done

    I will attach the source file it wouldn't process.

    I have also let them know on the EPG-Buddy thread in case this is a new XML formatting requirement that they need to meet.
    Good catch! Will fix it asap
     

    Nordfinn

    Portal Member
    January 18, 2014
    13
    2
    Home Country
    United States of America United States of America
    Country flag
    Where do I put the .dll to fix this issue? In what folder?
     

    TBacker

    Portal Member
    June 23, 2011
    39
    12
    Home Country
    United States of America United States of America
    Country flag
    Where do I put the .dll to fix this issue? In what folder?

    64-bit Windows:
    C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\Plugins

    32-bit Windows:
    C:\Program Files\Team MediaPortal\MediaPortal TV Server\Plugins

    You will have to stop the TV service before swapping them, then just restart the service.
     

    Users who are viewing this thread

    Similar threads

    Just for your information: couldn't find the ns*.tmp file...
    Just for your information: couldn't find the ns*.tmp file...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    39
    Views
    2K
    • Sticky
    It's very strange, but you can see that it happens. The logic of NSIS is a complete mystery. :)
    It's very strange, but you can see that it happens. The logic of NSIS is a complete mystery. :)
    We have just released MediaPortal 1.28 Summer Breeze Highlights of this release Bugfixes: [MP1-5053] - TV framerate is not...
    Replies
    12
    Views
    806
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-4969] - Fix typo in...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    2K
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-4966] - Update Bass...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    2K
    MP1 MP2 XMLTV import stucks DE
    Thank you. I thought I did this before. Now I had all reinstalled and it works again.
    Thank you. I thought I did this before. Now I had all reinstalled and it works again.
    A few days ago MP2 stops to import EPG data from xmlTV Log file says [2016-05-11 14:18:21,723] [14978 ] [SetupTv ] [DEBUG] -...
    Replies
    14
    Views
    3K
    Top Bottom