Any idea what's causing this? Fresh Win 11 install and I have even tried reinstalling.
Unhandled Exception In Script ... TimeoutError: timed out
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.
Re: Unhandled Exception In Script
No image visible
Re: Unhandled Exception In Script
The site is not allowing me to attach any links as a 'new user'. I can't even paste the text as it is detected as a link.
Re: Unhandled Exception In Script
Post the URL with dots in it
Re: Unhandled Exception In Script
h.t.t.p.s:././.i.m.g.u.r.c.o.m./.a./.C.S.K.U.Y.E.l.
Re: Unhandled Exception In Script
So: https://imgur.com/a/CSKUYEl
(Sorry: I should have said "Post the URL with dots replaced with spaces. Anyway, it worked)
ChatGPT converted it to text
(Sorry: I should have said "Post the URL with dots replaced with spaces. Anyway, it worked)
ChatGPT converted it to text
Code: Select all
Unhandled exception in script
Failed to execute script 'SABnzbd' due to unhandled exception: timed out
Traceback (most recent call last):
File "SABnzbd.py", line 1723, in <module>
File "SABnzbd.py", line 1218, in main
File "sabnzbd\decorators.py", line 44, in call_func
File "sabnzbd\__init__.py", line 314, in initialize
File "sabnzbd\dirscanner.py", line 68, in __init__
File "asyncio\events.py", line 823, in new_event_loop
File "asyncio\events.py", line 720, in new_event_loop
File "asyncio\windows_events.py", line 316, in __init__
File "asyncio\proactor_events.py", line 640, in __init__
File "asyncio\proactor_events.py", line 785, in _make_self_pipe
File "socket.py", line 646, in socketpair
File "socket.py", line 295, in accept
TimeoutError: timed out
Re: Unhandled Exception In Script
I've never seen this.
The SAB specific thing is dirscanner. But then a time-out in socket (which is network, not disk).
Weird.
It's on Windows, so first guess is firewall/viruscanner blocking access, and thus causing a time-out.
What firewall and virusscanner are you using?
And: did you fill out anything for "Watched Folder" (so: http://127.0.0.1:8080/sabnzbd/config/fo ... irscan_dir ). If so: remove that
The SAB specific thing is dirscanner. But then a time-out in socket (which is network, not disk).
Weird.
It's on Windows, so first guess is firewall/viruscanner blocking access, and thus causing a time-out.
What firewall and virusscanner are you using?
And: did you fill out anything for "Watched Folder" (so: http://127.0.0.1:8080/sabnzbd/config/fo ... irscan_dir ). If so: remove that
Re: Unhandled Exception In Script ... TimeoutError: timed out
Windows 11. No 3rd party firewall/virus scanner. The 'Watched Folder' field is blank.
Re: Unhandled Exception In Script ... TimeoutError: timed out
I would do this:
Stop SABnzbd
uninstall SABnzbd
find and delete %userprofile%\AppData\Local\sabnzbd\sabnzbd.ini and the whole directory %userprofile%\AppData\Local\sabnzbd
Then: install SABnzbd, click allow if Windows asks for it, and run it ... do you get the wizard? If not: you did not delete the SABnzbd.ini etc. Go back to step one.
If you get the wizard: only fill out one new server. Does it work? Can SABnzbd download? No errors?
Stop SABnzbd
uninstall SABnzbd
find and delete %userprofile%\AppData\Local\sabnzbd\sabnzbd.ini and the whole directory %userprofile%\AppData\Local\sabnzbd
Then: install SABnzbd, click allow if Windows asks for it, and run it ... do you get the wizard? If not: you did not delete the SABnzbd.ini etc. Go back to step one.
If you get the wizard: only fill out one new server. Does it work? Can SABnzbd download? No errors?
Re: Unhandled Exception In Script ... TimeoutError: timed out
This is during startup in an internal part of Python.
Could you maybe try the latest Beta release? What version did you use now? I feel I fixed this problem before.
Sanders suggestion is also good to start with clean ini.
Could you maybe try the latest Beta release? What version did you use now? I feel I fixed this problem before.
Sanders suggestion is also good to start with clean ini.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Unhandled Exception In Script ... TimeoutError: timed out
I haven't seen this error since manually adding Sab to Win's firewall exclusion. Thanks everyone for your replies and support. I'll continue to monitor and try other suggestions if I do see this error popping up again.