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

RonD

Test Group
  • Team MediaPortal
  • December 20, 2011
    904
    275
    SillyValley CA
    United States of America United States of America
    Country flag
    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)
     

    Attachments

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    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
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    904
    275
    SillyValley CA
    United States of America United States of America
    Country flag
    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.
     

    Attachments

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    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.
    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.
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    904
    275
    SillyValley CA
    United States of America United States of America
    Country flag
    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.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    vuego Updated WebEPG grabber - Dagenstv.com Submit: EPG-Grabbers and tuningdetails 1
    vuego Updated WebEPG grabber - Dagenstv.com Submit: EPG-Grabbers and tuningdetails 1
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    L Service keeps crashing General 5
    U [solved] MediaPortal crashing on startup General Support 10
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    ajs Trakt error when start with MP crash Trakt 1
    R TV server crash with WintTV quadHD General 0
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    atlantic [solved] MP1.24 Pre released crash in TV General Support 12
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    doskabouter 1.23.0 Crash when skipping in a dvd Bugreports 3
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    G MP Crashed during setting up recording. Newcomers Forum 1
    Rob Hexenmeister DVD Skip steps causing crash General Support 2
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    Terra Crash when opening ACTORS list My TVSeries 3
    Terra Crash when searching movies, reproducable Moving Pictures 2
    KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
    Similar threads

























    Top Bottom