Unable to cast COM object of type 'TsReader' to interface type 'ITSReader' (1 Viewer)

Jay_UK

Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi guys,

    I might be grabbing at straws here, but I've been having this issue on two seperate PCs (one has been recently rebuilt and still shows the issue).

    Both are single seat with MePo 1.2, with TVSeries installed.

    While watching TV (and TVseries running in the background - checking for new episodes and data) I get the following error logged:

    2010-12-30 21:21:57.454155 [ERROR][(30)]: Exception :Unable to cast COM object of type 'TsReader' to interface type 'ITSReader'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B9559486-E1BB-45D3-A2A2-9A7AFE49B24F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    2010-12-30 21:21:57.455155 [ERROR][(30)]: site :Int32 SetMediaPosition(Int64)
    2010-12-30 21:21:57.457156 [ERROR][(30)]: source :Core
    2010-12-30 21:21:57.459156 [ERROR][(30)]: stacktrace: at MediaPortal.Player.BaseTSReaderPlayer.ITSReader.SetMediaPosition(Int64 MediaPos)
    at MediaPortal.Player.BaseTSReaderPlayer.Process()
    at MediaPortal.Player.g_Player.Process()
    at MediaPortalApp.MPProcess()

    As far as I can tell the above error only happens when TVseries is performing a check.

    I think it might be related to the following action:

    00000030 - 30/12/2010 21:21:57 - InfoService: Series, No Ordinary Family/1/7/No Ordinary Mobster, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\No Ordinary Family\-langen-posters/163851-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\163851-1.jpg
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, No Ordinary Family/1/10/No Ordinary Sidekick, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\No Ordinary Family\-langen-posters/163851-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\163851-3.jpg
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, Pioneer One/1/2/The Man From Mars, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Pioneer One\-langen-posters/170551-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\170551-2.jpg


    I could be talking complete bollox, but I'm running out of other ideas (things that could be causing it).

    I didn't think I had the infoservice plugin installed??

    I am going to change TVSeries to not perform regular checks, to see if the error goes away.

    Many thanks,

    J. :D
     

    Ventry

    Portal Pro
    August 19, 2009
    70
    9
    Home Country
    Australia Australia
    Hi guys,

    I might be grabbing at straws here, but I've been having this issue on two seperate PCs (one has been recently rebuilt and still shows the issue).

    Both are single seat with MePo 1.2, with TVSeries installed.

    While watching TV (and TVseries running in the background - checking for new episodes and data) I get the following error logged:

    2010-12-30 21:21:57.454155 [ERROR][(30)]: Exception :Unable to cast COM object of type 'TsReader' to interface type 'ITSReader'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{B9559486-E1BB-45D3-A2A2-9A7AFE49B24F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    2010-12-30 21:21:57.455155 [ERROR][(30)]: site :Int32 SetMediaPosition(Int64)
    2010-12-30 21:21:57.457156 [ERROR][(30)]: source :Core
    2010-12-30 21:21:57.459156 [ERROR][(30)]: stacktrace: at MediaPortal.Player.BaseTSReaderPlayer.ITSReader.SetMediaPosition(Int64 MediaPos)
    at MediaPortal.Player.BaseTSReaderPlayer.Process()
    at MediaPortal.Player.g_Player.Process()
    at MediaPortalApp.MPProcess()

    As far as I can tell the above error only happens when TVseries is performing a check.

    I think it might be related to the following action:

    00000030 - 30/12/2010 21:21:57 - InfoService: Series, No Ordinary Family/1/7/No Ordinary Mobster, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\No Ordinary Family\-langen-posters/163851-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\163851-1.jpg
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, No Ordinary Family/1/10/No Ordinary Sidekick, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\No Ordinary Family\-langen-posters/163851-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\163851-3.jpg
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, Pioneer One/1/2/The Man From Mars, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Pioneer One\-langen-posters/170551-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\170551-2.jpg


    I could be talking complete bollox, but I'm running out of other ideas (things that could be causing it).

    I didn't think I had the infoservice plugin installed??

    I am going to change TVSeries to not perform regular checks, to see if the error goes away.

    Many thanks,

    J. :D

    Had the exact same error last night. Was watching and recording the same channel when windows 7 popped up a box that said MP had stopped working and needed to close.
    However it was 3 hours before that I added a new series to the TV-series plugin and had already watched 3 episodes of said series before turning on TV.
    I rebooted twice and the MP has stopped message kept showing before MP had finished loading. I had to stop the recording via TV setup and change the Timeshift to a separate drive then MP booted properly and I re-started the recording and all has been well since then.
    The same error as the OP was all over the log.
    I have the Error.log but, none other however the error is the same as the OP.
    How long do logs hang around before a new one is created??

    Cheers
    Ventry
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    This most certainly does not have anything to do with the tv-series plugin.
    TSReader is a component to prase Transport Stream files, most commonly from TV.

    As such I suggest you post this in the general support area, would you like me to move the thread, or do you want to open a new one yourself?
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Is it possible that info service or tv series plugins are somehow calling the Process() method (main rendering loop basicly) in some other thread than the main application thread? In the past there have been many plugins that trigger the same issue (no crashes thou).

    Basicly directshow cannot be used from other than the main thread and it will be used from other thread if some plugin calls the Process() directly or indirectly.

    At least the thread id is 30 (not a main thread, since it would have a name)

    Code:
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, No Ordinary Family/1/7/No Ordinary Mobster, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\No Ordinary Family\-langen-posters/163851-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\163851-1.jpg
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, No Ordinary Family/1/10/No Ordinary Sidekick, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\No Ordinary Family\-langen-posters/163851-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\163851-3.jpg
    00000030 - 30/12/2010 21:21:57 - InfoService: Series, Pioneer One/1/2/The Man From Mars, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Pioneer One\-langen-posters/170551-1.jpg, C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\170551-2.jpg

    Is that 00000030 thread id in the tv series log? If yes then we know what caused the wrong thread to be calling the Process(). I guess it is info service bug.

    (note: it would be good to give a name to threads - it will help troubleshooting the treading issues a bit)
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi guys,

    I wasn't sure where to post this, but as I thought it was possibly caused/triggered by (either directly or indirectly) TVSeries, I thought here was a good start.

    That thread (30) is in the MPTVSeries log file.

    As far as I can tell InfoService is not enabled/installed (I will double check later).

    It seems by changing the update checking, it has stopped the issue happening, so something is triggering it from TVSeries.

    Thanks,

    J.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi,

    I have the same error or similar seems related to Infoservice or Tsreader (but i'm not on a clean SVN so).
    Thanks,
    Seb.
     

    Attachments

    • logMP.rar
      96.9 KB
    • logTV.rar
      18.7 KB

    Ventry

    Portal Pro
    August 19, 2009
    70
    9
    Home Country
    Australia Australia
    Ok. Happened again tonight. Which is about 30 mins after it occurred last night.
    Have attached the MP stopped message info and the current Error.log.
    I have noticed some different entries at the bottom of the log that weren't there last night that seem to point to info-service. However I was watching a TV-Series when the crash happened.

    Cheers
    Ventry

    EDIT:
    Never mind.
    Found this thread:
    https://forum.team-mediaportal.com/...leted-throwargumentoutofrangeexception-91438/

    It's possible info-service was to blame. Trying new .dll from thread linked and we'll see what happens.
     

    Attachments

    • MPStoppedWorking.txt
      459 bytes

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    i can easyly reproduce it in tv

    While wathing tv go to side menu and select IMDB
    this is it.
    So this is not tvseries
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    i can easyly reproduce it in tv

    While wathing tv go to side menu and select IMDB
    this is it.
    So this is not tvseries

    It could be both :) --- all places that call Process() from non-main thread are as quilty :)
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    So a question to the more knowledgable (ie the Devs)...

    Is this potentially an issue with a plugin(s), or an issue with MePo code?

    Thanks,

    J.
     

    Users who are viewing this thread

    Top Bottom