Intermittent "No Signal" "Cannot Start Timeshifting" errors... (1 Viewer)

richardc1983

Portal Pro
October 10, 2012
251
24
Leeds
United Kingdom United Kingdom
Hey there.

I am running 2 x DVBSky S952 cards (total 4 tuners) in my system along with Media Portal. (Logs attached). Came home on 16/11 in the evening and tried changing channels a few times and got an error "no signal" but it was working fine on the channel it was tuned into. If I go into manual control I get the same error messages, I perhaps may get one tuner that works ok but the others will not work. When this happens the one tuner that works may not be the same one each time so it really is confusing as to what the problem is.

Stopping and starting the tv service fixes the problem straight away for a short time. I am getting no discontinuities when it is working that would show that I am having signal problems and up to the other night it has been running very well. Signal has been checked and is perfect no issues whatsoever there and all cables are done up tight so this seems to be a problem with the tv service because as soon as it is stopped and restarted it works fine for a short time before the same issue happens again.

Hopefully someone will be able to work out the issue from the attached logs for me. The issues are driving me crazy. I have gone from having blackgold cards on freeview due the quality of the cards being so poor and them running so hot to freesat which has been trouble free until now.

Thank you.
Richard.
 

FreakyJ

Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    Hey,

    it looks like your database is broken.
    You have to get mysql workbench from here:
    http://www.mysql.de/products/workbench/
    And than follow these steps:
    1. stop MP and TvService
    2. start Mysql Workbench
    3. Select your server from the list in "Open Connection to start Querying"
    3. the Password should be MediaPortal if you haven't changed it.
    4. double click on mptvdb (it is bold now)
    5. copy this sql statement in the window "Query 1"
    repair table canceledschedule;
    repair table card;
    repair table cardgroup;
    repair table cardgroupmap;
    repair table channel;
    repair table channelgroup;
    repair table channellinkagemap;
    repair table channelmap;
    repair table conflict;
    repair table diseqcmotor;
    repair table favorite;
    repair table groupmap;
    repair table history;
    repair table keyword;
    repair table keywordmap;
    repair table pendingdeletion;
    repair table personaltvguidemap;
    repair table program;
    repair table radiochannelgroup;
    repair table radiogroupmap;
    repair table recording;
    repair table satellite;
    repair table schedule;
    repair table server;
    repair table setting;
    repair table softwareencoder;
    repair table timespan;
    repair table tuningdetail;
    repair table tvmoviemapping;
    repair table version;
    6. Press the fifth button from the left (it is a small lightning) and the text says if you hover it : "Execute SQL Script in Connected Server"
    7. close mysql workbench
    8. start the TvService again and everything should work again :)

    Hope this helps ;)
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    United Kingdom United Kingdom
    Thank you for that...

    I followed this wiki last night to "repair" the database... http://wiki.team-mediaportal.com/1_...Troubleshooting/TV/Repairing_database_(MySQL)

    1. Open a command line by clicking start, type "cmd", hit return/enter.
    2. Type (or Copy/Paste) cd C:\Program Files\MySQL\MySQL Server 5.1\bin (this should be the path to the bin subdirectory within your MySQL install folder) and hit return/enter.
    3. Type (or Copy/Paste) mysqlcheck mptvdb --auto-repair -e -u root -p ,and hit return/enter.
    4. A password prompt should appear. The default password is MediaPortal (case sensitive).

    However it had no effect... is the steps you have given different or for a different database?
     

    FreakyJ

    Development Group
  • Team MediaPortal
  • July 25, 2010
    4,023
    1,420
    Germany Germany
    Country flag
    However it had no effect... is the steps you have given different or for a different database?
    No, this is just the way I fix my database if something happens.
    And I can see a lot of sql errors in your logs, so that is the reason why I suggested this steps.
    At least it is worth a try :) And don't forget to stop the tv service first!
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    United Kingdom United Kingdom
    Ok I will get my brother to have a look at it as he's my IT tech lol. I will get him to make sure its all up to date etc.

    Could you see anything else from the logs that might be an issue?
     

    Vasilich

    Test Group
  • Team MediaPortal
  • August 30, 2009
    3,393
    1,170
    Germany, Mayence
    Russian Federation Russian Federation
    Country flag
    have you tried to disable Windows defender?
    or who else can use that graph files generated by MP
    [2013-11-18 01:34:04,198] [Log ] [7 ] [ERROR] -
    Exception :TvLibrary.TvExceptionGraphBuildingFailed: Graph building failed ---> System.Runtime.InteropServices.COMException (0x80030020): A share violation has occurred. (Exception from HRESULT: 0x80030020 (STG_E_SHAREVIOLATION))
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at TvLibrary.Implementations.DVB.FilterGraphTools.SaveGraphFile(IGraphBuilder graphBuilder, String fileName)
    at TvLibrary.Implementations.DVB.TvCardDVBS.BuildGraph()
    --- End of inner exception stack trace ---
    at TvLibrary.Implementations.DVB.TvCardDVBS.BuildGraph()
    at TvLibrary.Implementations.DVB.TvCardDVBS.BeforeTune(Int32& subChannelId, IChannel channel)
    at TvLibrary.Implementations.DVB.TvCardDVBS.Tune(Int32 subChannelId, IChannel channel)
    at TvService.CardTuner.Tune(IUser& user, IChannel channel, Int32 idChannel)
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    United Kingdom United Kingdom
    have you tried to disable Windows defender?
    or who else can use that graph files generated by MP
    [2013-11-18 01:34:04,198] [Log ] [7 ] [ERROR] -
    Exception :TvLibrary.TvExceptionGraphBuildingFailed: Graph building failed ---> System.Runtime.InteropServices.COMException (0x80030020): A share violation has occurred. (Exception from HRESULT: 0x80030020 (STG_E_SHAREVIOLATION))
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    at TvLibrary.Implementations.DVB.FilterGraphTools.SaveGraphFile(IGraphBuilder graphBuilder, String fileName)
    at TvLibrary.Implementations.DVB.TvCardDVBS.BuildGraph()
    --- End of inner exception stack trace ---
    at TvLibrary.Implementations.DVB.TvCardDVBS.BuildGraph()
    at TvLibrary.Implementations.DVB.TvCardDVBS.BeforeTune(Int32& subChannelId, IChannel channel)
    at TvLibrary.Implementations.DVB.TvCardDVBS.Tune(Int32 subChannelId, IChannel channel)
    at TvService.CardTuner.Tune(IUser& user, IChannel channel, Int32 idChannel)
    I havent no, what is this indicating as it doesn't mean much to me?

    Its not been an issue before from what I remember the issues were on Saturday evening about 2200 onwards... then yesterday throughout the evening etc. I repaired the database as per my above post at approx 01:00 so wonder if thats afterwards?

    My brother has just informed me that he has checked windows defender and it has a load of exceptions and also he has checked the database and there are no errors?
     
    Last edited:

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    United Kingdom United Kingdom
    Its just done it again now at 1928 (18/11) Coronation Street should have started at 1928 yet it hadn't done. The channel that was currently on BBC1 HD froze and then I went to change channel and it said "no signal" I went into manual control and one of the tuners was highlighted in red and all other tuners were in idle, when I try to start time shifting on this one it said "tune cancelled" and still says this now on that tuner. At 1930 Coronation Street started recording and all the 3 other tuners will time shift OK. I know starting and stopping the TV service will resolve it temporarily.

    Attached are the latest logs which should highlight the issue at 1928...

    Please help going out of my mind with this.

    Thank you.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Its just done it again now at 1928 (18/11) Coronation Street should have started at 1928 yet it hadn't done.
    TV Server tried with all three tuners, but wasn't able to lock on signal.

    The channel that was currently on BBC1 HD froze and then I went to change channel and it said "no signal" I went into manual control and one of the tuners was highlighted in red and all other tuners were in idle, when I try to start time shifting on this one it said "tune cancelled" and still says this now on that tuner. At 1930 Coronation Street started recording and all the 3 other tuners will time shift OK. I know starting and stopping the TV service will resolve it temporarily.
    Your logs are bizarre. Are you running a standard version of TV Server (because it sure doesn't look like it)?
    I suspect you're running DJBlu's version. If so, please get support from him. These are exactly the sorts of errors that could be caused by his modifications.
     

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

    OP Similar threads Forum Replies Date
    A TV playback intermittently stops on clients Television (MyTV frontend and TV-Server) 4
    E Kein Signal vom Satelliten Installationsprobleme? 3
    D Tuner Suddenly Missing Channels TV-Cards 0
    L Mediaportal 2 - Digital Devices Max M4 - kein Signal bzw. Cards busy Allgemeines Support- und Diskussionsforum 2
    P no signal when scanning for channels using antenna and dual hd General Support 2
    M Scan channels stopped working on Windows 10 Installation, configuration support 1
    porky996t "No Signal" when tuning TV Cards Installation, configuration support 10
    J [solved] Newbie to MediaPortal 2 - Cannot open/run TV programs Newcomers Forum 4
    caveman [solved] Cannot download new version My TVSeries 5
    B xmltv - cannot import tvguide.xml australia Installation, configuration support 0
    T I cannot get a basic media import-what is the best configuration? General 10
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    Baron of L/S [solved] Cannot record MediaPortal 1 Talk 3
    D Cannot get a fully populated UK Freesat EPG (DVB-S) General 14
    K [solved] Cannot get EPG populating in the UK General 7
    Terra [solved] MP TV Server cannot find any channels anymore, DVB viewer works Installation, configuration support 8
    N [solved] Cannot delete recordings from remote client MediaPortal 2 32
    N [fixed] [MP2-786] Cannot play audio playlist with >=1000 entries 2.2 Archive 36
    D [solved] Initital testing with second client - cannot play recorded TV General 33
    U Client cannot tune channels General 1
    G [solved] Cannot skip when programme info is visible Archive 20
    O [solved] Cannot find TV DVB-T2 channels (TBS-6281SE) Newcomers Forum 7
    M Cannot connect after W10 update General Support 5
    Similar threads























    Top Bottom