Page 1 of 1

Can sabyenc be made backward-compatible?

Posted: February 20th, 2018, 4:11 pm
by OneCD
Hello.

From time-to-time sabyenc is updated. Which can cause an error such as this one if using a 'master' branch of SABnzbd: "SABYenc disabled: no correct version found! (Found v3.4.0, expecting v3.3.2)"

This means a manual downgrade of the newer sabyenc:

Code: Select all

pip uninstall -y sabyenc; pip install sabyenc==3.3.2 && /etc/init.d/sabnzbd.sh restart
... until the 'develop' branch becomes the new 'master'.

Is there a way to prevent SABnzbd complaining when it finds a newer version of sabyenc?

Thank you. :)

Re: Can sabyenc be made backward-compatible?

Posted: February 21st, 2018, 8:08 am
by safihre
In this case they are really not backwards compatible, since 3.4.0 has extra output variables.
It's already the case for minor versions (3.3.1 -> 3.3.2) that there are no errors, but for bigger changes they are just not exchangable.
The publishing of 3.4.0 to PyPi was an accident, I reverted that.

Re: Can sabyenc be made backward-compatible?

Posted: February 21st, 2018, 8:23 am
by OneCD
Okiedoke, thanks @safihre. ^-^