SetupTV WebEPG Crash with Updated for 10th AE Update 1 (2014-09-13)

Discussion in 'Plugin Development' started by RonD, September 21, 2014.

  1. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    tried the USA imdb_com WebEPG grabber. SetupTV crqshed wit windows error. Was trying to do a write to tvguide.xml file. Tried again writ to database, also got a crash. Zip has eventlog export ".evtx" file and Server Logs. Not sure if this is the event file format you want. Tried WebEPG with MePo 1.9.0, no errors doing same test/files.



    ManualControl > Refresh DVB EBG, did correct flush of TV Guide EPG Data

    copy/paste of event log error

    Application: SetupTV.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ArgumentException
    Stack:
    at Mediaportal.TV.Server.TVDatabase.EntityModel.ObjContext.ObjectContextManager.Initialize()
    at Mediaportal.TV.Server.TVDatabase.EntityModel.ObjContext.ObjectContextManager.CreateDbContext()
    at Mediaportal.TV.Server.TVDatabase.EntityModel.Repositories.GenericRepository`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(Boolean)
    at Mediaportal.TV.Server.TVDatabase.TVBusinessLayer.SettingsManagement.ListAllSettings()
    at Mediaportal.TV.Server.TVDatabase.TVBusinessLayer.Entities.Cache.EntityCacheHelper.get_SettingCache()
    at Mediaportal.TV.Server.TVDatabase.TVBusinessLayer.SettingsManagement.GetSetting(System.String, System.String)
    at Mediaportal.TV.Server.Plugins.WebEPGImport.WebEPGImport.ThreadFunctionImportTVGuide(System.Object)
    at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart(System.Object)
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Hello Ron

    First, thanks for the report. :)
    Unfortunately I can't open the evtx file and I can't see when the crash occurred in the server log.
    So, can you please do 2 things:
    1. Try to find and post the SetupTV log files.
    2. Tell me what time the crash occurred.
    Thanks,
    mm
     
  4. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    would it help if I saved events as XML? csv?
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Yes, that would give me the time that the crash occurred... but it still wouldn't give me the SetupTV logs.
     
  6. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    in the "native mp2 tv" mega thread there are 3-4 messages on SetupTV Log
    https://forum.team-mediaportal.com/...date-1-2014-09-13.114068/page-60#post-1100321

    https://forum.team-mediaportal.com/...date-1-2014-09-13.114068/page-60#post-1100323

    https://forum.team-mediaportal.com/...date-1-2014-09-13.114068/page-63#post-1100675

    https://forum.team-mediaportal.com/...date-1-2014-09-13.114068/page-63#post-1100677

    None of this shows where/how to find the actual SetupTV log data. No idea where it goes. If I rename the "MediaPortal Setup TV" folder to "MediaPortal Setup TV_OLD". Then run SetupTV it creates a new folder but the log files are always empty.

    I ran MePo2 WebEPG again at 6:47 PDT 01:47 GMT and get the same error. Attached zip file has the 3 event entries in xml, csv, txt versions and a copy of MePo2 server logs. Still no SetupTV log data.
     

    Attached Files:

    • WebEPG1.zip
      File size:
      14.9 KB
      Uploaded:
      September 21, 2014
      Views:
      86
  7. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    As FreakyJ said in the first link, the Setup TV log files should be in c:\ProgramData\Team MediaPortal\MediaPortal Setup TV\log.
    That would certainly be the case if you were running a standalone version of TV Server (as opposed to the MP2 Native TV plugin which you're actually running).

    Since you're running Native TV, I personally can't be absolutely certain where you'll find any of the log data. MP2 redirects logging to different folders and files. I'm not in favour of this because I think it adds confusion, but other people have insisted this is what they want so this is what we have to live with.

    Coming back to Setup TV...
    The log4net config file in the Native TV download seems to point to c:\ProgramData\Team MediaPortal\MediaPortal Setup TV\log, but I don't know that MP2 is not applying some redirect on top of that. All I can say with any confidence is that the log entries are not in Server.log as breese suggested.

    If the log files in c:\ProgramData\Team MediaPortal\MediaPortal Setup TV\log are really empty and there are no alternative log files in the MP2 Server log folder then it is possible that Setup TV is logging into a black hole. Somebody else who is actually running Native TV will need to assist you with this.

    PS: Tag to @morpheus_xx . Please can you look into this.
     
  8. RonD
    • Team MediaPortal

    RonD Test Group

    Joined:
    December 20, 2011
    Messages:
    904
    Likes Received:
    119
    Occupation:
    semi-pro slacker
    Location:
    SillyValley CA
    Ratings:
    +275 / 0
    Home Country:
    United States of America United States of America
    the WebEPG1.zip has a copy of the "MediaPortal Setup TV_OLD" folder and log files. I renamed this, started MePo2 SetupTV, and get a new "MediaPortal Setup TV" folder with 2 more empty log files. I'm pretty sure SetupTV logs are written to a black hole.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!