SABYenc 4.0.0? - SOLVED

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
naviathan
Newbie
Newbie
Posts: 12
Joined: December 23rd, 2010, 2:34 pm

SABYenc 4.0.0? - SOLVED

Post by naviathan »

I'm installing sabnzbd from the git Master and I'm having issues getting it to start properly. The service starts, but in the UI I get this:
SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
I checked and version 3.3.6 is installed so I tried updating pip and then update sabyenc, but it says it's current. Where do I get version 4.0.0?
Last edited by naviathan on February 22nd, 2021, 8:17 am, edited 1 time in total.
Puzzled
Full Member
Full Member
Posts: 160
Joined: September 2nd, 2017, 3:02 am

Re: SABYenc 4.0.0?

Post by Puzzled »

You need to install sabyenc3, not sabyenc. Run
python3 -m pip install -r requirements.txt
to get what you need.
naviathan
Newbie
Newbie
Posts: 12
Joined: December 23rd, 2010, 2:34 pm

Re: SABYenc 4.0.0?

Post by naviathan »

Perfect! Thank you!
JeremyCreekit
Newbie
Newbie
Posts: 8
Joined: October 7th, 2020, 3:22 am

Re: SABYenc 4.0.0? - SOLVED

Post by JeremyCreekit »

I'm having a similar problem on my Asustor NAS. I get these errors on load:

Code: Select all

ERROR 2022-02-01 20:38 Essential modules are missing, downloading cannot start.
ERROR 2022-02-01 20:38 SABYenc module... NOT found! Expecting v4.0.0 - https://sabnzbd.org/sabyenc
When I try to run the following code, I get the below error. Any idea what's going on? I have confirmed that

Code: Select all

pip3 install sabyenc3==4.0.0
Error message:

Code: Select all

admin@StudyNAS:/volume1/home/admin $  pip3 install sabyenc3==4.0.0
Traceback (most recent call last):
  File "/opt/bin/pip3", line 5, in <module>
    from pip._internal.cli.main import main
  File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main.py", line 9, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/opt/lib/python3.9/site-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/opt/lib/python3.9/site-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
    from pip._internal.cli import cmdoptions
  File "/opt/lib/python3.9/site-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
    from pip._internal.cli.parser import ConfigOptionParser
  File "/opt/lib/python3.9/site-packages/pip/_internal/cli/parser.py", line 12, in <module>
    from pip._internal.configuration import Configuration, ConfigurationError
  File "/opt/lib/python3.9/site-packages/pip/_internal/configuration.py", line 20, in <module>
    from pip._internal.exceptions import (
  File "/opt/lib/python3.9/site-packages/pip/_internal/exceptions.py", line 8, in <module>
    from pip._vendor.requests.models import Request, Response
  File "/opt/lib/python3.9/site-packages/pip/_vendor/requests/__init__.py", line 135, in <module>
    from . import utils
  File "/opt/lib/python3.9/site-packages/pip/_vendor/requests/utils.py", line 41, in <module>
    DEFAULT_CA_BUNDLE_PATH = certs.where()
  File "/opt/lib/python3.9/site-packages/pip/_vendor/certifi/core.py", line 51, in where
    _CACERT_PATH = str(_CACERT_CTX.__enter__())
  File "/opt/lib/python3.9/contextlib.py", line 117, in __enter__
  File "/opt/lib/python3.9/importlib/resources.py", line 175, in _path_from_reader
  File "<frozen importlib._bootstrap_external>", line 1055, in open_resource
FileNotFoundError: [Errno 2] No such file or directory: '/opt/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem'
Details of my installation:
Version: develop [1c27ebc]
Uptime: 17h
Config File: /usr/local/AppCentral/sabnzbdplus/config/sabnzbd.ini
Parameters: "SABnzbd.py" "-f" "/usr/local/AppCentral/sabnzbdplus/config/sabnzbd.ini" "--browser" "0" "--daemon" "--pid" "/usr/local/AppCentral/sabnzbdplus"
Python Version: 3.9.6 (default, Aug 22 2021, 06:41:01) [GCC 8.4.0] [UTF-8]
OpenSSL: OpenSSL 1.1.1k 25 Mar 2021
Multicore Par2 Not available Speed up repairs by installing multicore Par2, it is available for many platforms. https://sabnzbd.org/wiki/installation/multicore-par2
SABYenc: Not available
Thanks!
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc 4.0.0? - SOLVED

Post by sander »

Remarks:

SAByenc is at 4.0.2, so why hard-specify 4.0.0.

And "FileNotFoundError: [Errno 2] No such file or directory: '/opt/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem'" ... not good, and/but not related to sabyenc.

isn't there a handy SABnzbd package for Asustor?
JeremyCreekit
Newbie
Newbie
Posts: 8
Joined: October 7th, 2020, 3:22 am

Re: SABYenc 4.0.0? - SOLVED

Post by JeremyCreekit »

Thanks @sander. I'm just specifying the version that the app asks for, although my main issue is installing any version of SABYenc at all!

I've tried reverting back to a previous SABnzbd Plus package from Asustor's website (specifically this one: https://appdownload.asustor.com) by running first shutting down the app (via the App Central in the ADM OS), and then running this command (I'm not running a Docker version):

Code: Select all

wget -Osabnzbdplus_20201009_any.apk https://appdownload.asustor.com/0010_14587_1602270668_sabnzbdplus_20201009_any.apk && apkg --install sabnzbdplus_20201009_any.apk
...and then restarting SABnzbd Plus, but nothing changes.

My current hypothesis is that I can't manually install SABYenc because I am trying to install it with the wrong version of Python. However, I can't find the path to the correct Python version.

Any suggestions welcome!
JeremyCreekit
Newbie
Newbie
Posts: 8
Joined: October 7th, 2020, 3:22 am

Re: SABYenc 4.0.0? - SOLVED

Post by JeremyCreekit »

SOLVED my problem. From the maintainer of the Asustor package:
The problem is that the Develop branch of SABnzbd has conflicts.

The requirements.txt specifically calls for sabyenc3==4.0.2 but then the service is looking for version 4.0.0!

I assume Sabnzbd will fix this at some point. Until then, switch to master

Via ssh:

```
cd /usr/local/AppCentral/sabnzbdplus/sabnzbdplus/
git pull
git checkout master

```
Then stop/start the app and all should be working again.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc 4.0.0? - SOLVED

Post by sander »

Ah. See discussion & workaround here:

https://github.com/sabnzbd/sabnzbd/comm ... #r66156467
mcsteve
Newbie
Newbie
Posts: 3
Joined: September 24th, 2021, 3:42 pm

Re: SABYenc 4.0.0? - Still experiencing issues.

Post by mcsteve »

Unfortunately I am still experiencing this error. I am no genius when it comes to Linux but have been able to muddle my way through thanks to all of the great forums and Wiki's. After the last QNAP update (Firmware Ver 5.0.0.1932) SABnzbd stopped working. I brought everything up to the latest versions including Entaware and Par2 with Python3 (3.8.6) but SABnzbd continues to give the error:

"Essential modules are missing, downloading cannot start." and
"SABYenc module... NOT found! Expecting v4.0.0...".


When I run "pip install -r requirements.txt --no-binary sabyenc3" the following is returned regarding sabyenc:

"Requirement already satisfied: sabyenc3>=4.0.0 in /share/CACHEDEV1_DATA/.qpkg/Entware/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (4.0.2)"

Below is the log file from my last 2 restarts which appears to show no other errors. Additional help would definitely be appreciated.

Code: Select all

>>>>>>>>>> datetime:'Fri Feb 11 11:05:41 EST 2022',request:'starting',QPKG:'220209b',app:'3.5.0' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
update 'SABnzbd' from remote repository: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: OK
file (/var/run/SABnzbd.pid): exists
daemon: IS active
daemon PID: 15028
daemon listening address: 0.0.0.0
check for UI port 8900 response: UI port responded after 0 seconds
HTTP port 8900: OK
update QPKG icon with UI ports: OK
>>>>>>>>>> datetime:'Fri Feb 11 11:11:30 EST 2022',request:'stopping',QPKG:'220209b',app:'3.5.0' <<<<<<<<<<
daemon: IS active
daemon PID: 15028
stop daemon with SIGTERM: stopped OK in 1 seconds
daemon: NOT active
>>>>>>>>>> datetime:'Fri Feb 11 11:11:55 EST 2022',request:'starting',QPKG:'220209b',app:'3.5.0' <<<<<<<<<<
daemon: NOT active
file (/opt/bin/git): exists
update 'SABnzbd' from remote repository: OK
current git branch: master
file (/opt/bin/python3): exists
load UI ports from application: OK
start daemon: OK
file (/var/run/SABnzbd.pid): exists
daemon: IS active
daemon PID: 10657
daemon listening address: 0.0.0.0
check for UI port 8900 response: UI port responded after 0 seconds
HTTP port 8900: OK
update QPKG icon with UI ports: OK
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc 4.0.0? - SOLVED

Post by sander »

Probably better to report here: https://github.com/sabnzbd/sabnzbd/comm ... #r66156871

The Asustor package maker Clinton-Hall is not here in this forum, AFAIK
mcsteve
Newbie
Newbie
Posts: 3
Joined: September 24th, 2021, 3:42 pm

Re: SABYenc 4.0.0? - SOLVED

Post by mcsteve »

Thanks for the suggestion. I'll post there as well and will continue to hope for those who have solved.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc 4.0.0? - SOLVED

Post by sander »

Oh ... Asustor and QNAP ... is that the same? Or at least the same package store and package maker?
User avatar
OneCD
Hero Member
Hero Member
Posts: 596
Joined: March 4th, 2017, 3:47 pm

Re: SABYenc 4.0.0? - SOLVED

Post by OneCD »

No, Asustor and QNAP are separate.

I've responded to @mcsteve on the QNAP forum. :)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
mcsteve
Newbie
Newbie
Posts: 3
Joined: September 24th, 2021, 3:42 pm

Re: SABYenc 4.0.0? - SOLVED

Post by mcsteve »

Thanks OneCD.... All appears to be good again. Now, If I can just figure out why what you told me to do worked I can add another brick to my knowledge wall :)
Post Reply