On starting TV: Msg "Unknown Error" (1 Viewer)

pet.heyn

Portal Member
January 28, 2013
5
0
Home Country
Germany Germany
After months of successful use, suddenly MP TV stops working.

After start it looks ok. When clicking "TV" msg "Unknown Error" is shown.
No TV...:(

I've created the log and attached it!

Regards
Peter
 

JimCatMP

Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    Looks like Database problem - from log, one of several messages...........

    2013-01-28 10:09:27.525240 [TVService(6)]: TvControllerException: Error: StatementErrorUnclassified
    Gentle.Common.GentleException: Update Program set state=0 where state<>0; ---> MySql.Data.MySqlClient.MySqlException: Table '.\mptvdb\program' is marked as crashed and should be repaired

    Check Forum for correct command to fix TV DB (I know it's there, I don't have time to search for it just at the moment though:-

    TTFN - JCMP.
     

    pet.heyn

    Portal Member
    January 28, 2013
    5
    0
    Home Country
    Germany Germany
    ...looks as if I got it?

    Found the CD to specify before sql-command.
    Then it worked - reported corrected errors.

    Started MP, "TV" - bad news: same problem as before.

    After some time I thought of TV Service!!! Stopped it.
    Again repaired SQL. Restarted service.

    At least TV was startable now!
    Before finally verifying I must restart PC - MP sometimes mocks around when moved between monitors (with differing solutions).

    Will try!

    Thanks
    Peter
     

    pet.heyn

    Portal Member
    January 28, 2013
    5
    0
    Home Country
    Germany Germany
    Thanks a lot: problem solved!

    After restart everything was fine!

    That is: after stopping TV-Service, fixing the TV DB (i.e. sql-db), and starting again the problem was gone!

    Thanks again!
     

    pet.heyn

    Portal Member
    January 28, 2013
    5
    0
    Home Country
    Germany Germany
    Just for info: the same happened again today.
    The reason, I think: a complete freeze of windows this morning. (No TV active that time, but tvservice is always running...)

    For all searching for the solution:
    open an administrative(!) command window
    net stop tvservice
    cd \program files\mysql\mysql server 5.1\bin
    mysqlcheck -u root -pMediaPortal --auto-repair --all-databases
    net start tvservice
    Then started MP: everything OK now!

    Thanks - and have fun!
     

    pet.heyn

    Portal Member
    January 28, 2013
    5
    0
    Home Country
    Germany Germany
    OK: this is the 3rd time...
    In between the time I know what's the error if MP says "Unknown Error" :-(

    But I also seem to know the reason for the problem: some hours before PC was hang up, again(!), on a problem of Virtual Box. And as TVServer is always running it can't close the data base as it should...
     

    Users who are viewing this thread

    Similar threads

    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching live TV. I've now ticked the box to "Use EVR for LiveTV", with a default display refresh rate of 50Hz. In combination with tweaking some of the Nvidia 3D settings for the MP executable only, I now have a...
    After many hours of troubleshooting I've given up and accepted that it's just "one of these things" when using madVR for watching...
    Every so often, when I switch to a TV channel, my MP client stops accepting user inputs, either from the remote or keyboard/mouse...
    Replies
    30
    Views
    8K
    Apologies Pablik. My bad. I neglected to run WMI Manager and check Properties as you advised. Sure enough, it produced this error: I tried to run winmgmt /resetrepository, but there were conflicts with running services. So I stopped those services (Malwarebytes & IP Helper), then stopped the winmgmt service. I was then able to run...
    Apologies Pablik. My bad. I neglected to run WMI Manager and check Properties as you advised. Sure enough, it produced this error...
    Hi, Was using v1.33 without issue. Then started receiving error message "Unknown error occurred" when trying to watch TV. Upgraded...
    Replies
    7
    Views
    2K
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
    Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
    Replies
    4
    Views
    1K
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    1K
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be. :( Perhaps someone else will post with some suggestions. :unsure: -- from CyberSimian in the UK
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be...
    Would appreciate it if someone could solve (or point me in the right direction to resolve) this issue. I have “MultiSeat”...
    Replies
    4
    Views
    1K
    Top Bottom