Page 1 of 1

Impossible to launch 2.1.0 under macOS Sierra

Posted: August 1st, 2017, 7:40 am
by limonair
Hello,

=== Informations ===
Version: 2.1.0
OS: macOS Sierra
Install-type: OSx .app
Is the issue reproducible? yes


I updated from 0.7.20 (!) to 2.1.0 and can't launch SABnzbd (color wheel spinning indefinitely).

I tried to launch the app under terminal and here is what I get :

Code: Select all

./SABnzbd 
Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.pyc", line 810, in __bootstrap_inner
  File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd . py", line 1886, in run
  File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd . py", line 1075, in main
  File "sabnzbd/decorators.pyc", line 31, in newFunction
  File "sabnzbd/config.pyc", line 692, in read_config
  File "sabnzbd/config.pyc", line 740, in _read_config
  File "sabnzbd/utils/configobj.pyc", line 1242, in __init__
  File "sabnzbd/utils/configobj.pyc", line 1302, in _load
  File "sabnzbd/utils/configobj.pyc", line 1412, in _handle_bom
  File "sabnzbd/utils/configobj.pyc", line 1509, in _decode
  File "encodings/cp1252.pyc", line 15, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 33: character maps to <undefined>

^CTraceback (most recent call last):
  File "PyObjCTools/AppHelper.pyc", line 239, in runEventLoop
  File "sabnzbd/osxmenu.pyc", line 74, in awakeFromNib
  File "sabnzbd/osxmenu.pyc", line 106, in buildMenu
KeyboardInterrupt
You can see I interrupted the program with ctrl+c.

Any idea why it's not launching ?

Re: Impossible to launch 2.1.0 under macOS Sierra

Posted: August 1st, 2017, 8:02 am
by safihre
Seems to be due to something that went wrong with your config.

What if you remove your sabnzbd.ini file and try to start it then? Location here: https://sabnzbd.org/wiki/advanced/directory-setup
This will reset your settings, but it's worth a try to see if it starts.

Re: Impossible to launch 2.1.0 under macOS Sierra

Posted: August 1st, 2017, 8:47 am
by limonair
safihre wrote: August 1st, 2017, 8:02 am Seems to be due to something that went wrong with your config.

What if you remove your sabnzbd.ini file and try to start it then?
This will reset your settings, but it's worth a try to see if it starts.
Thanks, it helped starting the new version.
I just had to reconfigure the server and settings (took me 30 sec) !