Sabnzbdplus keeps crashing with TypeError: str, bytes or bytearray expected, not NoneType

Report & discuss bugs found in 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
ash7777
Newbie
Newbie
Posts: 12
Joined: August 8th, 2019, 6:08 pm

Sabnzbdplus keeps crashing with TypeError: str, bytes or bytearray expected, not NoneType

Post by ash7777 »

I have sabnzbdplus version 3.6.0 running under Ubuntu 20.04.4 LTS.

See https://pastebin.com/5DRFKFBC for errors. I included several errors because I see at least two different stacks.

Any suggestions other than deleting the queue?
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Sabnzbdplus keeps crashing with TypeError: str, bytes or bytearray expected, not NoneType

Post by sander »

Code: Select all

File "/usr/share/sabnzbdplus/sabnzbd/newswrapper.py", line 341, in connect
    self.sock.connect((self.host, self.nw.server.port))
TypeError: str, bytes or bytearray expected, not NoneType
I think it goes wrong on connecting to a newsserver. And specifically: host and/or port is not filled out.

Does that ring a bell?
Post Reply