Hey,
I just migrated my sabnzbd setup on my QNAP from the stable 7.20 release to the newer 8 beta3 (using the QPKG Wilson Hall is maintaining). Doing so, I also dug a bit into the python that was used, installed QNapWare to get up-to-date python binaries, etc.
Turns out using the latest (stripped down) python from QNapWare, the python module "webbrowser" isn't available. Which totally makes sense on any kind of head-less devices BTW.
The current SABNzbd code does use webbrowser (panic.py), and actually protects the call to openURL with a try catch, but does the import at the top of the panic.py.
In my case, without that library I can't start sabnzbd. Better move the import into the try/catch section!
fix hard dependency to webbrowser
Forum rules
Help us help you:
Help us help you:
- 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: fix hard dependency to webbrowser
Good idea, will be implemented.
Re: fix hard dependency to webbrowser
Will be fixed in next release.

