NextPVR Forums

Full Version: Must Stop NPVR Service then Start NPVR Service after reboot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Windows 10
NextPVR 3.6.6
Ceton InfiniTV 6 ETH
Kodi 15.2

All,
Every time I reboot my [Windows 10] machine, I must Stop the NPVR Service and then Start the NPVR Service before I can tune to any channels. Every time I start the service (after getting the "stopped" popup), I get the following error.

Quote:Unable to start service: System.ServiceProcess.TimeoutException: Time out has
expired and the operation has not been completed.
at
System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus
desiredStatus, TimeSpan timeout)
at NCtrl.Program.Main(String[] args)
Can you post the logs showing the problem?
Here they are.. I hope this helps
just a complete hunch but try (in services) setting the recording service to Automatic (Delayed start)
So what do those logs shows? ie, did you reboot, then try to use live tv, and got an error message that said what?

Without a bit of context, it's hard to know what to look for in those logs.
NEW LOGS ATTACHED

I rebooted, opened NextPVR to the EPG which loaded fine (I didnt even try Kodi live TV) selected a channel from the EPG grid but I didnt get the option to "Watch"

I stopped the service, Opened NextPVR to the EPG, selected a channel from the EGP Grid and I get the option to Watch but clicking it returns
Quote:Unable to connect with recording service

Starting the NPVR Service produces this error
Quote:Unable to start service: System.ServiceProcess.TimeoutException: Time out has
expired and the operation has not been completed.
at
System.ServiceProcess.ServiceController.WaitForSta tus(ServiceControllerStatus
desiredStatus, TimeSpan timeout)
at NCtrl.Program.Main(String[] args)

Once I click OK open NextPVR, select a channel from the EPG Grid I now get
Quote: Unhandled exception has occurred in a component of your application. If you vclick continue, the application will ignore this error and attempt to continue. Object reference not set to an instance of an object

This time I was never able to watch a channel.. I keep getting the the same error. This is when I pulled the logs

This appeared under "Details"
Quote:See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DShowHelper.ConnectFilters(IBaseFilter* pFilterUpstream, IBaseFilter* pFilterDownstream, _AMMediaType* mediatype)
at DShowHelper.ConnectFilters(IBaseFilter* pFilterUpstream, IBaseFilter* pFilterDownstream)
at Native.PlaybackNative.PlayLiveStream(IntPtr hwndIntPtr, String filename, Int32 serviceType, String& message)
at NextPVR.Players.PlaybackProxyFactory.StartLiveStreamPlaybackProxy(IntPtr window, String target, Int32 serviceType, String& reason)
at NextPVR.Players.LiveTvPlayer.StartLiveTV(Channel channel, String& reason)
at NextPVR.ControllerForm.PlayLiveTV(Channel channel)
at NextPVR.TV.ShowDetailsPopup.HandleCommand(String command)
at NextPVR.TV.ShowDetailsPopup.HandleButtonCommand(String buttonName)
at NUtility.Controls.UiButtonList.OnKeyDown(KeyEventArgs e)
at NextPVR.TV.ShowDetailsPopup.OnKeyDown(KeyEventArgs e)
at NextPVR.ControllerForm.OnKeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at NextPVR.ControllerForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NextPVR
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NextPVR.exe
----------------------------------------
NUtility
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
NShared
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NShared.DLL
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.85.0
Win32 Version: 1.0.85.0
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/System.Data.SQLite.DLL
----------------------------------------
System.Data.Entity
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Unmanaged
Assembly Version: 1.0.5826.13894
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/Unmanaged.DLL
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
SlimDX
Assembly Version: 4.0.13.43
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/SlimDX.DLL
----------------------------------------
taglib-sharp
Assembly Version: 2.0.4.0
Win32 Version: 2.0.4.0
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/taglib-sharp.DLL
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
ManagedUPnP
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/ManagedUPnP.DLL
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
EiEiOhh Wrote:I rebooted, opened NextPVR to the EPG which loaded fine (I didnt even try Kodi live TV) selected a channel from the EPG grid but I didnt get the option to "Watch"
I've never seen any reports of this with NextPVR's TV Guide, so I'm sure you must have chosen a future or past show. It'll always show the 'watch' button if the start time was before now, and the end time was after now.

That said, if you can reproduce this, I'm happy to give you patch with more logging to tell use why the watch button isn't showing up.
EiEiOhh Wrote:Starting the NPVR Service produces this error
Quote:Unable to start service: System.ServiceProcess.TimeoutException: Time out has
expired and the operation has not been completed.
at
System.ServiceProcess.ServiceController.WaitForSta tus(ServiceControllerStatus
desiredStatus, TimeSpan timeout)
at NCtrl.Program.Main(String[] args)
Did it restart the recording service anyway? If so, I might just need to bump up the time out for machines that might be slower at restarting the recording service, so you don't see this timeout message.
EiEiOhh Wrote:I stopped the service, Opened NextPVR to the EPG, selected a channel from the EGP Grid and I get the option to Watch but clicking it returns
Quote:Unable to connect with recording service
If you run service.msc, and view the detals of the NextPVR Recording Service, is it set to autostart? I'm working if it's set to manual start.
The recording service IS set to autostart.
Upon reboot, the service is "STOPPED"
If I start the service without first stopping it, I get this error and service has started ...
Quote:Unable to start service: System.ServiceProcess.TimeoutException: Time out has
expired and the operation has not been completed.
at
System.ServiceProcess.ServiceController.WaitForSta tus(ServiceControllerStatus
desiredStatus, TimeSpan timeout)
at NCtrl.Program.Main(String[] args)
If I try to start it with the above error message still open, the service is started but I get this error
Quote:Unhandled exception has occurred in a component of your application. If you vclick continue, the application will ignore this error and attempt to continue. Object reference not set to an instance of an object
Once I close all error messages and "Start Service" I finally get the services started window.

But, I still must stop the services and start the services on every reboot
Pages: 1 2