Legacy 4.0.1 Failing to run as a Service [Windows 7]
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Legacy 4.0.1 Failing to run as a Service [Windows 7]
I have just updated my Win7 machine from legacy 32-bit v3.7.2 to 4.0.1 and it no longer stayed running as a service. It starts and then stops a few seconds later. It does run as a normally run exe. The last line in the log is”loading postproc queue”. Any advice would be appreciated.
Re: Legacy 4.0.1 Failing to run as a Service [Windows 7]
The Event Log shows the following error with Event ID 3
The instance's SvcRun() method failed
Traceback (most recent call last):
File "win32serviceutil_py", line 1067, in SvcRun
File "SABnzbd_py", line 1684, in SvcDoRun
File "SABnzbd_py", line 1255, in main
File "sabnzbd\decorators_py", line 39, in call_func
File "sabnzbd\__init__py", line 315, in initialize
File "sabnzbd\dirscanner_py", line 69, in __init__
File "asyncio\locks_py", line 164, in __init__
File "asyncio\events_py", line 639, in get_event_loop
RuntimeError: There is no current event loop in thread 'Dummy-1'.
The instance's SvcRun() method failed
Traceback (most recent call last):
File "win32serviceutil_py", line 1067, in SvcRun
File "SABnzbd_py", line 1684, in SvcDoRun
File "SABnzbd_py", line 1255, in main
File "sabnzbd\decorators_py", line 39, in call_func
File "sabnzbd\__init__py", line 315, in initialize
File "sabnzbd\dirscanner_py", line 69, in __init__
File "asyncio\locks_py", line 164, in __init__
File "asyncio\events_py", line 639, in get_event_loop
RuntimeError: There is no current event loop in thread 'Dummy-1'.
Re: Legacy 4.0.1 Failing to run as a Service [Windows 7]
I have no Windows 7 system to fix this.. Can you maybe enable Debug logging in the Status window when running SABnzbd not as a service and then check the full logs after trying to run as a service.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Legacy 4.0.1 Failing to run as a Service [Windows 7]
Ok I have done that....how would you like me to send you the log file. Trying to post the text here just gives me 'New users are not allowed to post links'
Re: Legacy 4.0.1 Failing to run as a Service [Windows 7]
The last lines of the log are:
2023-06-02 17:08:12,288::INFO::[postproc:135] Loading postproc queue
2023-06-02 17:08:12,289::DEBUG::[filesystem:1193] [sabnzbd\postproc.py.load] Loading data for postproc2.sab
2023-06-02 17:08:12,289::DEBUG::[filesystem:1152] [sabnzbd\filesystem.py.load_admin] Loading data for postproc2.sab from \\?\C:\Users\anthony\AppData\Local\sabnzbd\admin\postproc2.sab
2023-06-02 17:08:12,288::INFO::[postproc:135] Loading postproc queue
2023-06-02 17:08:12,289::DEBUG::[filesystem:1193] [sabnzbd\postproc.py.load] Loading data for postproc2.sab
2023-06-02 17:08:12,289::DEBUG::[filesystem:1152] [sabnzbd\filesystem.py.load_admin] Loading data for postproc2.sab from \\?\C:\Users\anthony\AppData\Local\sabnzbd\admin\postproc2.sab
Re: Legacy 4.0.1 Failing to run as a Service [Windows 7]
You can send it to me at [email protected]
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate