Page 1 of 1
sabyenc not found
Posted: October 26th, 2017, 10:20 am
by dagger78
Hi,
i tried getting sab to use sabyenc on my synology without success.
Logfile:
Code: Select all
WARNING SABYenc module... NOT found! Expecting v3.3.1
But it is installed:
Code: Select all
sab@dmes_nas:~# python --version
Python 2.7.13
sab@dmes_nas:~# pip list
Cheetah (2.4.4)
pip (9.0.1)
sabyenc (3.3.1)
sab@dmes_nas:~# python -c "import sabyenc ; print sabyenc.__version__ "
3.3.1
Everything seems to be installed and the right version but sab still does not recognize or accept it. I do not have python3/pip3 installed as it was the case in another thread here.
Any hints are much appreciated.
Re: sabyenc not found
Posted: October 26th, 2017, 10:30 am
by safihre
Why don't you use the SynoCommunity package?
It comes with the correct SABYenc.
But it seems to be a classic case of multiple python's installed.
You should find the one that runs SABnzbd, I think it should be listed on the first page of the Config.
Re: sabyenc not found
Posted: October 26th, 2017, 11:22 am
by dagger78
I would love to use the synocommunity pkg (especially for multicore par which is also not found by sab but that is another topic) but it is not available for the 718+ although it has a x86 cpu. I don't know why. Pkg selection for the 718 is VERY limited. Not even git is available.
On the config page it says: Python Version: 2.7.13 (default, Sep 25 2017, 23:51:57) [GCC 6.3.0] [UTF-8]
Is there any way to see the python path sab uses? Above i used my sab user to execute the commands and when i start sab from the same session it should have the same environment as the user that executes the command. So sab should be using the above listed python with the sabyenc module. At least that is my understanding. Please correct me if i am wrong.
my sabyenc is in /volume1/@entware/lib/python2.7/site-packages and which python gives /opt/bin/python if that helps.
Re: sabyenc not found
Posted: October 26th, 2017, 11:35 am
by dagger78
Ok got it.
Do not understand it but it works (i have no clue how i ended up with two python installs).
/opt/bin/python was just a symlink to /opt/bin/python2.7.
Redirecting that link to /volume1/@entware/bin/python2.7 worked.
Thnx.
Re: sabyenc not found
Posted: October 26th, 2017, 11:44 am
by safihre
Good!
The SynoCommunity is not working well with DSM6 yet, probably you use that?
They are working on it, slowly.
Re: sabyenc not found
Posted: October 26th, 2017, 12:14 pm
by dagger78
Did not know there were problems with DSM6. Have been using it for roughly a year on my old synology and had no issues with synocommunity.
Re: sabyenc not found
Posted: October 26th, 2017, 12:38 pm
by safihre
Not really problems with running the packages, but installing goes wrong for new systems.
Older synology systems that were updated from older DSM versions work, new installations only half of the time.