Error on start

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
thermodust
Newbie
Newbie
Posts: 5
Joined: February 6th, 2018, 2:46 pm

Error on start

Post by thermodust »

I get an error on line 1733 when trying to start sab but only if the config folder exists.
Feb 06 13:43:13 Sherwood-PC sabnzbd[2076]: Starting SABnzbd
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: Traceback (most recent call last):
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: File "SABnzbd.py", line 1733, in <module>
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: main()
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: File "SABnzbd.py", line 884, in main
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: https_port = int(arg)
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: ValueError: invalid literal for int() with base 10: ''
Feb 06 13:43:15 Sherwood-PC systemd[1]: sabnzbd.service: control process exited, code=exited status=1
Feb 06 13:43:15 Sherwood-PC systemd[1]: Failed to start LSB: SABnzbd binary newsgrabber.
Feb 06 13:43:15 Sherwood-PC systemd[1]: Unit sabnzbd.service entered failed state.
PS.
How do I show you the code error if the board won't let me paste the code as it thinks its a link. "New users are not allowed to post links"

@safihre Haza worked, now able to post error. thanks
Last edited by thermodust on February 6th, 2018, 3:50 pm, edited 2 times in total.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Error on start

Post by safihre »

After 3 posts you can post anything, so just respond twice to this post and then you can in the 3th post put "links" :P
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
thermodust
Newbie
Newbie
Posts: 5
Joined: February 6th, 2018, 2:46 pm

Re: Error on start

Post by thermodust »

Alright I'll post
thermodust
Newbie
Newbie
Posts: 5
Joined: February 6th, 2018, 2:46 pm

Re: Error on start

Post by thermodust »

a few more
thermodust
Newbie
Newbie
Posts: 5
Joined: February 6th, 2018, 2:46 pm

Re: Error on start

Post by thermodust »

times to this post
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Error on start

Post by safihre »

Oke so it seems something is wrong in your config file.
Try to open it (location: https://sabnzbd.org/wiki/advanced/directory-setup) and find the line that says:
https_port =
And delete it.
Then try to start SABnzbd again.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
thermodust
Newbie
Newbie
Posts: 5
Joined: February 6th, 2018, 2:46 pm

Re: Error on start

Post by thermodust »

Okay. That helped narrow it down, it still complained but it gave me a place to start and an idea. If you delete it still gives the same error.

However, you can delete it or not but you need to change "enable_https_verification" in the config and set it to zero. Once I did that sab had no problem starting.
User avatar
safihre
Administrator
Administrator
Posts: 5362
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Error on start

Post by safihre »

I see now that this error is thrown when parsing command-line arguments.
So your start script includes the "--https" switch but then doesn't provide a correct integer port.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
rorrantia
Newbie
Newbie
Posts: 7
Joined: February 12th, 2018, 7:14 am

Re: Error on start

Post by rorrantia »

Good to know
rorrantia
Newbie
Newbie
Posts: 7
Joined: February 12th, 2018, 7:14 am

Re: Error on start

Post by rorrantia »

The 3 post rule
rorrantia
Newbie
Newbie
Posts: 7
Joined: February 12th, 2018, 7:14 am

Re: Error on start

Post by rorrantia »

Thanks
Post Reply