Python errors on startup

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
combspecialist
Newbie
Newbie
Posts: 16
Joined: July 1st, 2011, 10:30 am

Python errors on startup

Post by combspecialist »

Been getting this for a while when sab first starts at logon after a reboot:

Code: Select all

Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
Traceback (most recent call last):
  File "sabnzbd\utils\systrayiconthread.pyo", line 164, in notify
  File "sabnzbd\utils\systrayiconthread.pyo", line 238, in execute_menu_option
  File "sabnzbd\sabtray.pyo", line 101, in browse
  File "sabnzbd\panic.pyo", line 239, in launch_a_browser
TypeError: argument of type 'NoneType' is not iterable
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
close failed: [Errno 28] No space left on device
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Python WNDPROC handler failed
Traceback (most recent call last):
  File "sabnzbd\utils\systrayiconthread.pyo", line 164, in notify
  File "sabnzbd\utils\systrayiconthread.pyo", line 238, in execute_menu_option
  File "sabnzbd\sabtray.pyo", line 101, in browse
  File "sabnzbd\panic.pyo", line 239, in launch_a_browser
TypeError: argument of type 'NoneType' is not iterable
Python WNDPROC handler failed
TypeError: restart() takes exactly 2 arguments (5 given)
Simply waiting for Windows to finish starting up then launching sab manually solves it but I'm curious what the problem is. I could write a script to simply sleep for a while then lanuch sab but thought I'd see if it can be fixed properly first.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Python errors on startup

Post by shypike »

It looks like SABnzbd is started before Windows Explorer is ready.
You can opt to start SABnzbd as a Scheduled Task, choose "at login" with a delay.
Post Reply