Hi,
I ran into some errors and decided to remove and reinstall sabnzbd+ (on Ubuntu). Now , when starting, I get :
AttributeError: module 'sabctools' has no attribute 'NNTPResponse'
When I open python in a cmd box and import sabctools, I get the same for __version__
Any thoughts?
Thanks..
module 'sabctools' has no attribute 'NNTPResponse'
Forum rules
Help us help you:
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.
Re: module 'sabctools' has no attribute '
update your sabctools to current version 9.1.0
And I guess you're running from source, Janneman? See https://github.com/sabnzbd/sabnzbd/#:~: ... %2Dm%20pip
And I guess you're running from source, Janneman? See https://github.com/sabnzbd/sabnzbd/#:~: ... %2Dm%20pip
Re: module 'sabctools' has no attribute 'NNTPResponse'
OR: much easier ... use the PPA. It will care of dependencies
See https://sabnzbd.org/wiki/installation/i ... buntu-repo
See https://sabnzbd.org/wiki/installation/i ... buntu-repo
Re: module 'sabctools' has no attribute 'NNTPResponse'
Yes, I am using PPA .
apt list --installed |grep sab
python3-sabctools/noble,now 9.1.0-0ubuntu1~jcfp1~24.04 amd64 [installed]
sabnzbdplus/noble,noble,now 4.6.0~alpha2-0ubuntu1~jcfp1~24.04 all [installed]
apt list --installed |grep sab
python3-sabctools/noble,now 9.1.0-0ubuntu1~jcfp1~24.04 amd64 [installed]
sabnzbdplus/noble,noble,now 4.6.0~alpha2-0ubuntu1~jcfp1~24.04 all [installed]
Re: module 'sabctools' has no attribute 'NNTPResponse'
PS.
I found a suggstion that ' module x has no attribute' was down to module x being too big to be imported , see : " How to Resolve Module Has No Attribute - Python Error Messages" by Analyst Rising om Youtube.
I found a suggstion that ' module x has no attribute' was down to module x being too big to be imported , see : " How to Resolve Module Has No Attribute - Python Error Messages" by Analyst Rising om Youtube.
Re: module 'sabctools' has no attribute 'NNTPResponse'
Same here.
So do the below and post output
So do the below and post output
Code: Select all
sander@zwarte:~$ apt list --installed |grep sab
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
lto-disabled-list/noble,now 47 all [installed,automatic]
python3-sabctools/noble,now 9.1.0-0ubuntu1~jcfp1~24.04 amd64 [installed,automatic]
sabnzbdplus/noble,now 4.6.0~alpha2-0ubuntu1~jcfp1~24.04 all [installed]
sander@zwarte:~$
sander@zwarte:~$ python3
Python 3.12.3 (main, Nov 6 2025, 13:44:16) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
>>> sabctools.__version__
'9.1.0'
>>>Re: module 'sabctools' has no attribute 'NNTPResponse'
mmmm strange enough its says 8.2.5...
Re: module 'sabctools' has no attribute 'NNTPResponse'
pip3 list says :
sabctools 8.2.5
sabctools 8.2.5
Yes. Listed twice
sabctools 8.2.5
sabctools 8.2.5
Yes. Listed twice
Re: module 'sabctools' has no attribute 'NNTPResponse'
Yes, so, that means you installed sabctools both via pip and apt. Not good.
If you use the PPA, remove the pip versions.
If you use the PPA, remove the pip versions.
Re: module 'sabctools' has no attribute 'NNTPResponse'
Thanks. Have to find out how, since pip3 uninstall does not work...
Re: module 'sabctools' has no attribute 'NNTPResponse'
Took a risk by using pip3 uninstall --break-packages and everything seems to be working. Thanks again.
Re: module 'sabctools' has no attribute 'NNTPResponse'
Good!
Mixing pip and apt is horror.
Therefore current Ubuntu does not allow global installations of pip modules: you must install them in a venv. A bit of a learning curve, but then it's better.
Mixing pip and apt is horror.
Therefore current Ubuntu does not allow global installations of pip modules: you must install them in a venv. A bit of a learning curve, but then it's better.
