TV Server Config Bug (1 Viewer)

infinite.loop

Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    news: I was able to enter the TV Groups section ONCE just after scanning. I then set everything up the way I needed it. When coming back from radio-grouping I wasn't able to enter TV Groups anymore (Manual Control neither).
    crystal ball is broken :p

    more detailed explaination please. what happens exactly?
    screeshots + logs missing as well.
     

    rmtucker

    Portal Member
    April 15, 2009
    15
    0
    ok

    I get the same problem with the manual screen and tv groups.

    2009-05-16 23:40:51.312500 [SetupTv]: Exception :Error: UnexpectedRowCountUnclassified
    Gentle.Common.GentleException: The number of returned rows 0 did not match the expected count of 1.
    If concurrency control is enabled this may indicate that the record was updated or deleted by another process.
    at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
    at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
    at Gentle.Common.Check.Verify(Boolean condition, Error error, Object[] args)
    at Gentle.Framework.ObjectFactory.GetInstance(Type type, SqlResult sr, Key key)
    at Gentle.Framework.PersistenceBroker.RetrieveInstance(Type type, Key key, IDbConnection conn, IDbTransaction tr)
    at Gentle.Framework.PersistenceBroker.RetrieveInstance[T](Key key)
    at Gentle.Framework.Broker.RetrieveInstance[T](Key key)
    at TvDatabase.Channel.Retrieve(Int32 id)
    at TvDatabase.GroupMap.ReferencedChannel()
    at SetupTv.Sections.TestService.comboBoxGroups_SelectedIndexChanged(Object sender, EventArgs e)
    at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
    at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
    at SetupTv.Sections.TestService.OnSectionActivated()
    at SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)

    I can not get the manual screen to work either.:(
     

    maxtd

    New Member
    May 15, 2009
    2
    0
    Home Country
    Germany Germany
    sorry about that... :oops:
    here is the error-text. as stated before clean install (with new database etc.) and I was able to use the TV Groups section just once. afterwards same result as metropolis (as seen in his screenshots).

    Code:
    2009-05-17 13:05:36.831583 [SetupTv]: Exception   :Error: UnexpectedRowCountUnclassified
    Gentle.Common.GentleException: The number of returned rows 0 did not match the expected count of 1.
    If concurrency control is enabled this may indicate that the record was updated or deleted by another process.
       bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
       bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
       bei Gentle.Common.Check.Verify(Boolean condition, Error error, Object[] args)
       bei Gentle.Framework.ObjectFactory.GetInstance(Type type, SqlResult sr, Key key)
       bei Gentle.Framework.PersistenceBroker.RetrieveInstance(Type type, Key key, IDbConnection conn, IDbTransaction tr)
       bei Gentle.Framework.PersistenceBroker.RetrieveInstance[T](Key key)
       bei Gentle.Framework.Broker.RetrieveInstance[T](Key key)
       bei TvDatabase.Channel.Retrieve(Int32 id)
       bei TvDatabase.GroupMap.ReferencedChannel()
       bei SetupTv.Sections.TvGroups.mpComboBoxGroup_SelectedIndexChanged(Object sender, EventArgs e)
       bei System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
       bei System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
       bei SetupTv.Sections.TvGroups.InitMapping()
       bei SetupTv.Sections.TvGroups.OnSectionActivated()
       bei SetupTv.SetupTvSettingsForm.ActivateSection(SectionSettings section)
     

    rmtucker

    Portal Member
    April 15, 2009
    15
    0
    Infinityloop

    I did an uninstall/clean database etc,then reinstalled the tv server and everything seems ok now.:D

    Regards
    Mark
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    I did an uninstall/clean database etc,then reinstalled the tv server and everything seems ok now. :D
    I asked because the only time i had this issue (after testing too many svn-builds), it also was resolved by a clean installation.
    It might have been a corruption/faulty data in the DB. :)

    @maxtd
    i have done some quite extensive testing during the last 30 minutes inside TV-Server Configuration.
    And i am not able to reproduce the issue you report.

    Without a specific, step by step description about how to trigger the issue, i can not do anything.
    :sorry:​
     

    thebalance

    MP Donator
  • Premium Supporter
  • August 11, 2008
    113
    0
    Home Country
    United Kingdom United Kingdom
    I've been experiencing the same issue with MP 1.0.2 - I fully configured TV Server before discovering the problem - did I complete reinstall - checked that manual control works fine before scanning for channels (it did) and then scanned for channels and immediately afterwards the manual control page becomes unavailable.

    Does anyone know any other way to force the "refresh epg" action?
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    ... and I was able to use the TV Groups section just once. afterwards same result as metropolis (as seen in his screenshots).
    Seem to have the same problem, could not configure the tv groups, did a complete reinstallation off mp 1.0.2. could get the tv groups page exactly one single time and the never again. when clicking on the tv groups (or the manual control) tab, nothing happens in the content area of the configuration screen (the last shown screen stays visible, except from the heading which changes correctly to tv groups) ...

    maybe there is a bug, though in
    https://forum.team-mediaportal.com/...p-tvserver-setup-57873/index2.html#post419594
    it says there is not.

    log-files attached, any solutions?

    regards, thecubist
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    By the sound of things you have a corrupt sql db, looks like one of the backupsettings versions for the TV channels tuning\sorting etc, was not compatible with MP1.0.2, there is a new version which is, I mention this just in case you have used it ;)

    To delete the MpTvDb database you need sql management express, when you login, it needs to be set to sql server mode, not windows authentication, once changed you can login as sa and MediaPortal, case sensitive.
    Now expand the database, you will see the MpTvDb, right click and select delete, once done close and reconfigure TVServer.

    You are most probably wise to kill tvservice in task manager before doing above :)
     

    thecubist

    MP Donator
  • Premium Supporter
  • April 22, 2009
    31
    0
    Home Country
    Germany Germany
    I did not use Backupsettings at all. Actually I even reinstalled Windows, so there were no old mp settings left for sure. Should I try all this sql things anyways?
     

    Users who are viewing this thread

    Top Bottom