Essential modules are missing, downloading cannot start.
SABCTools disabled: no correct version found! (Found v7.1.2, expecting v8.1.0)
I've looked through the forum and found some instances of this problem over the years. However, I haven't found a solution to my specific problem. I'm running ubuntu 22.04 and I've had sabnzbdplus running for 6 months. I've been maintaining OS patching weekly. I just upgraded the OS and now sabnzbdplus no longer downloads giving me the two errors above. I've tried looking for this version 7.1.2 the error message gave me. I've tried as my login, the sabnzbd service account, and the root account:
myself@myhost:~$ sudo su - sabnzbd
$ python3 -c 'import sabctools; print(sabctools.__path__)'
['/usr/local/lib/python3.10/dist-packages/sabctools']
$ python3
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
>>> sabctools.version
'8.1.0'
>>> sabctools.__path__
['/usr/local/lib/python3.10/dist-packages/sabctools']
>>>
$ exit
myself@myhost:~$ sudo su -
root@myhost:~# python3
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
>>> sabctools.version
'8.1.0'
>>> sabctools.__path__
['/usr/local/lib/python3.10/dist-packages/sabctools']
>>>
root@myhost:~# exit
logout
myself@myhost:~$ python3
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
>>> sabctools.version
'8.1.0'
>>> sabctools.__path__
['/usr/local/lib/python3.10/dist-packages/sabctools']
>>>
Any help would be appreciated.
Essential modules are missing, downloading cannot start.
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.
-
- Newbie
- Posts: 3
- Joined: January 20th, 2024, 10:24 am
Re: Essential modules are missing, downloading cannot start.
Note to self: instead of just "SABCTools disabled: no correct version found! (Found v7.1.2, expecting v8.1.0)", SABnzbd should print the sabctools.__path__
Jim:
* no python-venv involved?
* no different python version?
* no docker, snap, etc?
Very ugly brute force method to find sabctools stuff;
Or even lazier:
So I have sabctools 7.1.0 inside a venv
Jim:
* no python-venv involved?
* no different python version?
* no docker, snap, etc?
Very ugly brute force method to find sabctools stuff;
Code: Select all
sudo find / | grep -i sabctools | grep -vi docker
Code: Select all
sander@haring1:~$ sudo find / | grep -i sabctools | grep -vi docker | grep -ie dist-info$
/home/sander/my-python3-venv/lib/python3.8/site-packages/sabctools-7.1.0.dist-info
/home/sander/.local/lib/python3.8/site-packages/sabctools-8.1.0.dist-info
-
- Newbie
- Posts: 3
- Joined: January 20th, 2024, 10:24 am
Re: Essential modules are missing, downloading cannot start.
No python-venv, different python version, docker, snap, etc. I'm old and didn't want to learn yet another abstraction layer.
Here's the output from the global find. It still only shows version 8.1.0.
(I had to truncate some of the output because the forum editor kept telling me I wasn't allowed to post links yet.)
sudo find / | grep -i sabctools | grep -vi docker
/var/lib/dpkg/info/python3-sabctools.prerm
/var/lib/dpkg/info/python3-sabctools.md5sums
/var/lib/dpkg/info/python3-sabctools.postinst
/var/lib/dpkg/info/python3-sabctools.list
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/REQUESTED
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/INSTALLER
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/WHEEL
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/METADATA
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/RECORD
/usr/local/lib/python3.10/dist-packages/sabctools
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/local/lib/python3.10/dist-packages/sabctools/__pycache__
/usr/local/lib/python3.10/dist-packages/sabctools/__pycache__/
/usr/local/lib/python3.10/dist-packages/sabctools/__pycache__/
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/share/doc/python3-sabctools
/usr/share/doc/python3-sabctools/copyright
/usr/share/doc/python3-sabctools/
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/WHEEL
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/METADATA
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/RECORD
/usr/lib/python3/dist-packages/sabctools
/usr/lib/python3/dist-packages/sabctools/
/usr/lib/python3/dist-packages/sabctools/
/usr/lib/python3/dist-packages/sabctools/py.typed
/usr/lib/python3/dist-packages/sabctools/
/usr/lib/python3/dist-packages/sabctools/__pycache__/
/usr/lib/python3/dist-packages/sabctools/
Here's the output from the global find. It still only shows version 8.1.0.
(I had to truncate some of the output because the forum editor kept telling me I wasn't allowed to post links yet.)
sudo find / | grep -i sabctools | grep -vi docker
/var/lib/dpkg/info/python3-sabctools.prerm
/var/lib/dpkg/info/python3-sabctools.md5sums
/var/lib/dpkg/info/python3-sabctools.postinst
/var/lib/dpkg/info/python3-sabctools.list
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/REQUESTED
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/INSTALLER
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/WHEEL
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/METADATA
/usr/local/lib/python3.10/dist-packages/sabctools-8.1.0.dist-info/RECORD
/usr/local/lib/python3.10/dist-packages/sabctools
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/local/lib/python3.10/dist-packages/sabctools/__pycache__
/usr/local/lib/python3.10/dist-packages/sabctools/__pycache__/
/usr/local/lib/python3.10/dist-packages/sabctools/__pycache__/
/usr/local/lib/python3.10/dist-packages/sabctools/
/usr/share/doc/python3-sabctools
/usr/share/doc/python3-sabctools/copyright
/usr/share/doc/python3-sabctools/
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/WHEEL
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/METADATA
/usr/lib/python3/dist-packages/sabctools-8.1.0.dist-info/RECORD
/usr/lib/python3/dist-packages/sabctools
/usr/lib/python3/dist-packages/sabctools/
/usr/lib/python3/dist-packages/sabctools/
/usr/lib/python3/dist-packages/sabctools/py.typed
/usr/lib/python3/dist-packages/sabctools/
/usr/lib/python3/dist-packages/sabctools/__pycache__/
/usr/lib/python3/dist-packages/sabctools/
Re: Essential modules are missing, downloading cannot start.
My guess is that the sabctools 7.1.2 is in /usr/local/lib/python3.10/dist-packages/sabctools/ or maybe in /usr/lib/python3/dist-packages/sabctools/
There are clever tools to find that out, but I'm not good at them.
and
A brute force method to solve it, is uninstalling python3-sabctools a few times, and then verify there is no python module sabctools anymore.
Oh, and if you installed sabctools via pip, then also uninstall via pip.
There are clever tools to find that out, but I'm not good at them.
Code: Select all
sander@haring1:~$ dpkg -S /usr/lib/python3/dist-packages/sabctools/sabctools.cpython-38-x86_64-linux-gnu.so
python3-sabctools: /usr/lib/python3/dist-packages/sabctools/sabctools.cpython-38-x86_64-linux-gnu.so
and
Code: Select all
sander@haring1:~$ apt policy python3-sabctools
python3-sabctools:
Installed: 8.1.0-0ubuntu1~jcfp1~20.04
Candidate: 8.1.0-0ubuntu1~jcfp1~20.04
Version table:
*** 8.1.0-0ubuntu1~jcfp1~20.04 500
500 http://ppa.launchpad.net/jcfp/ppa/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
A brute force method to solve it, is uninstalling python3-sabctools a few times, and then verify there is no python module sabctools anymore.
Oh, and if you installed sabctools via pip, then also uninstall via pip.
-
- Newbie
- Posts: 3
- Joined: January 20th, 2024, 10:24 am
Re: Essential modules are missing, downloading cannot start.
Thanks for your help troubleshooting this. I wasn't able to resolve the issue with the 7.1.2 version. I ended up building a new server and installing sabnzbdplus again.