Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: knew4v5 2.6.3 Testing

  1. #11
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,318
    Quote Originally Posted by mvallevand View Post
    Your last of logs don't show any kind of real delay 1.5 seconds to get the first http call when I drop the spinner followed by the long standing NextPVR loading issue (probably a pipe error in web.log) for a few seconds of black screen. In v18 the made a change and a plugin can't keep the spinner on during other
    From the time I press the Ok:
    Code:
    2019-04-07 18:03:02.753 T:1860170608   DEBUG: LIRC: - NEW 160 0 KEY_OK devinput (KEY_OK)
    2019-04-07 18:03:02.767 T:1937158160   DEBUG: HandleKey: 11 (0x0b, obc244) pressed, action is Select
    2019-04-07 18:03:02.767 T:1937158160   DEBUG: started alarm with name: parental
    2019-04-07 18:03:02.769 T:1108341616   DEBUG: Thread LanguageInvoker start, auto delete: false
    2019-04-07 18:03:02.769 T:1108341616    INFO: initializing python engine.
    2019-04-07 18:03:02.769 T:1108341616   DEBUG: CPythonInvoker(36, /storage/.kodi/addons/script.kodi.knew4v5/default.py): start processing
    Until the spinner comes up is about 6 seconds:
    Code:
    2019-04-07 18:03:08.318 T:1937158160   DEBUG: Activating window ID: 10160
    2019-04-07 18:03:08.318 T:1937158160   DEBUG: ------ Window Init (DialogBusy.xml) ------
    And then another 5 seconds or so until the NPVR screen comes up:
    Code:
    2019-04-07 18:03:13.417 T:1937158160   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
    2019-04-07 18:03:14.131 T:1219453808   DEBUG: http://192.168.143.10:8866/activity?format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=284fedc46508486f84ba0fca39fc28cb
    2019-04-07 18:03:14.143 T:1219453808   DEBUG: {u'needsRendering': False}
    I was mostly hoping to get the spinner up a little sooner because during that 5-6 second period, there is no visual indication that the key press was recognized and something is happening.
    Attached Files Attached Files

  2. #12
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,067
    I see a lot of extra "helper" addons in there, I'd start by figuring out if you need them. After that see if modifying default.py like this does what you want.

    Code:
        xbmc.executebuiltin(XBMC_DIALOG_BUSY_OPEN)
        try:
            # start script main
            my_settings = XNEWA_Settings()
            my_xnewa = XNEWA_Connect(settings=my_settings)
            xbmc.executebuiltin(XBMC_DIALOG_BUSY_CLOSE)
    Martin

  3. #13
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,318
    Quote Originally Posted by mvallevand View Post
    I see a lot of extra "helper" addons in there, I'd start by figuring out if you need them. After that see if modifying default.py like this does what you want.

    Code:
        xbmc.executebuiltin(XBMC_DIALOG_BUSY_OPEN)
        try:
            # start script main
            my_settings = XNEWA_Settings()
            my_xnewa = XNEWA_Connect(settings=my_settings)
            xbmc.executebuiltin(XBMC_DIALOG_BUSY_CLOSE)
    Martin
    Yes. That change brings up the spinner basically immediately as soon as I press OK. So I know it's starting.

    And I did notice a lot of openweathermap update stuff in there. I'm going to try disabling it.

  4. #14
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,067
    Ok not sure I will add this but will consider it

    Martin

  5. #15
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,067
    2.6.5 is now available addressing the known problems so far.

    - new spinner during initial connection
    - additional fix for utf encoded filename in web client
    - eliminate unnecessary resume point save in web client

    Martin

  6. #16
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,318
    Quote Originally Posted by mvallevand View Post
    2.6.5 is now available addressing the known problems so far.

    - new spinner during initial connection
    - additional fix for utf encoded filename in web client
    - eliminate unnecessary resume point save in web client
    You broke it! Now nothing plays.

    I think it's related to this "error" in the log file:
    Code:
    2019-04-08 20:30:38.699 T:1278190448   DEBUG: expected an indented block (details.py, line 741)
    Attached Files Attached Files

  7. #17
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,318
    Quote Originally Posted by BrettB View Post
    You broke it! Now nothing plays.

    I think it's related to this "error" in the log file:
    Code:
    2019-04-08 20:30:38.699 T:1278190448   DEBUG: expected an indented block (details.py, line 741)
    Probably not that...
    Maybe these errors from the web.log:
    Code:
    2019-04-08 20:40:28.856	[DEBUG][47]	Got Web Request (::ffff:192.168.143.25): /control    size=1280x720&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:28.903	[DEBUG][47]	Starting client instance
    2019-04-08 20:40:29.917	[DEBUG][47]	Client started
    2019-04-08 20:40:29.917	[DEBUG][47]	Unexpected client control error: System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: The system cannot find the file specified.
     
    
    Server stack trace: 
       at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
       at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
       at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at NUtility.IClientControl.ClientGetScreenImage()
       at Cassini.Request.Control()
    2019-04-08 20:40:30.432	[DEBUG][4]	Got Web Request (::ffff:192.168.143.25): /control    media=stop&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:30.432	[DEBUG][4]	Unexpected client control error: System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: The system cannot find the file specified.
     
    
    Server stack trace: 
       at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
       at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
       at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at NUtility.IClientControl.ClientSwipe(String swipe)
       at Cassini.Request.Control()
    2019-04-08 20:40:30.447	[DEBUG][24]	Got Web Request (::ffff:192.168.143.25): /control    size=1280x720&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:30.447	[DEBUG][24]	Unexpected client control error: System.Runtime.Remoting.RemotingException: Failed to connect to an IPC Port: The system cannot find the file specified.
     
    
    Server stack trace: 
       at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
       at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
       at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
       at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
    
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at NUtility.IClientControl.ClientGetScreenImage()
       at Cassini.Request.Control()
    2019-04-08 20:40:30.962	[DEBUG][46]	Got Web Request (::ffff:192.168.143.25): /control    media=stop&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:31.056	[DEBUG][33]	Got Web Request (::ffff:192.168.143.25): /control    size=1280x720&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:31.087	[DEBUG][17]	Got Web Request (::ffff:192.168.143.25): /control    media=stop&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:31.134	[DEBUG][40]	Got Web Request (::ffff:192.168.143.25): /control    format=json&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:31.181	[DEBUG][38]	Got Web Request (::ffff:192.168.143.25): /activity    format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=a5101135cb56490b8663dc58a134b9d9
    2019-04-08 20:40:31.836	[DEBUG][39]	Loading FanArt from: C:\Users\Public\NPVR\Media\Shows
    Attached Files Attached Files

  8. #18
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,067
    No it's related to me having too many source folders not all being in sync 2.6.6 should fix it.

    I test three portable portable kodi setups (v4, v5, and python3) and build into my git and then to github and finally build into anther folder for the repo. I noticed the ident issue in github but I didn't confirm the final build.

    Those errors are the IPC pipe errors on startup I posted about yesterday that are basically outside my control. I've had situations where they can take several seconds to clean up.

    Martin

  9. #19
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,318
    Quote Originally Posted by mvallevand View Post
    No it's related to me having too many source folders not all being in sync 2.6.6 should fix it.
    Better now with 2.6.6!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •