Page 1 of 1
Synology installation - following packages are missing: python
Posted: May 20th, 2018, 4:31 am
by xBotRaid
Hello everyone, I was trying to install SABnzbd on my Synology DS118 during the last week. But I wasn't able to... I added the source of the SynoCommunity but every time I hit "install" it shows this prompt:
The following packages are missing in the package server.
Please contact the Synology support team for help.
python
I installed all Python 3 packages and modules. Then I tried installing the MertyMades' version. I was able to install it but not to run/access through the 8080 or 9200 port.
Finally the "Synology support team" weren't able to help me because they said they were not affiliated with the SynoCommunity...
If you know the solution please share it in this forum.
Thank you!
Error:
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 4:45 am
by OneCD
SABnzbd is compatible with Python 2.7.x - not Python 3.
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 5:41 am
by xBotRaid
OneCD wrote: ↑May 20th, 2018, 4:45 am
SABnzbd is compatible with Python 2.7.x - not Python 3.
Python 2.7.12 is installed:
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 9:04 am
by OneCD
What is your default Python?
Try:
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 9:58 am
by xBotRaid
It tells me:
Python 2.7.12
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 10:23 am
by safihre
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 4:09 pm
by xBotRaid
Which of these packages do I have to install? I installed the Python 2.7 package, but after a reboot the same error message still pops up.
As mentioned above, I've already had Python 2.7.12.
Thank you for your help.
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 4:25 pm
by safihre
The python package for your arch. This is also clearly written in the link I posted.
https://github.com/SynoCommunity/spksrc ... logy-model
The Python package offered by Synology is not sufficient. It lacks supporting functionality.
Re: Synology installation - following packages are missing: python
Posted: May 20th, 2018, 4:34 pm
by xBotRaid
Yes, I installed the
rtd1296 (armv8) version of the Python 2.7 (your link) for the DS118, but as mentioned it still shows the same error (picture).
Thank you for every help
EDIT: got it almost running, see next post
Re: Synology installation - following packages are missing: python
Posted: May 21st, 2018, 4:33 am
by xBotRaid
I was now able to install and launch the SABnzbd-demon via this tutorial (German):
http://cytec.us/forum/index.php?page=Th ... readID=155
But now I have 3 errors in SABnzbd (see picture).
One of the errors is due to the missing Sabyenc. When I try to install it with the SABnzbd-Wiki, I get following error:
Re: Synology installation - following packages are missing: python
Posted: May 21st, 2018, 10:18 am
by safihre
Try this sabnzbd:
https://github.com/Safihre/spksrc/relea ... abnzbd-all
It definitely works with the python package I mentioned before
Re: Synology installation - following packages are missing: python
Posted: May 21st, 2018, 12:58 pm
by xBotRaid
I tried to install it, but because I had another version (with errors mentioned above) loaded and it's now giving me an error:
Do you have any idea how to remove the old version?
Re: Synology installation - following packages are missing: python
Posted: May 22nd, 2018, 12:47 am
by safihre
It won't let me see the image!
Re: Synology installation - following packages are missing: python
Posted: May 22nd, 2018, 4:02 pm
by xBotRaid
Sry for the bad image, I re-uploaded it here:
https://www.dropbox.com/s/895suoj60vqjt ... 1.png?dl=0
I have installed it via this german tutorial:
Code: Select all
01. Installation Easy BootStrapInstaller
02. Installation iPKGui
...
Hier sei angemerkt das der Fehler mit
ipkg_download: ERROR: Command failed with return value 127: `wget
.. weg ist wenn man zuerst wget-ssl installiert (hierbei wird wget deinstalliert) und anschließend wieder wget. Zumindet hat mir das geholfen.
Dann konnte ich auch normal ipkg in der SSH Konsole benutzen, was für die Punkte 06-9 nötig war.
...
03. Installation von erforderlichen SABnzbd Paketen nach http://cytec.us/forum/index.php?page...d&threadID=155
...
Folgende hab ich u.a. benutzt:
- 'ipkg install git'.................. -- installiert GIT inkl. aller Abhängigkeiten
- 'ipkg install coreutils'........ -- installiert CoreUtilities
- 'ipkg install textutils'.......... -- installiert TextUtilities
- 'ipkg install gcc'................ -- installiert GNU C-Compiler inkl. aller Abhängigkeiten
- 'ipkg install py27'.............. -- setuptools' installiert Python 2.7 Tools
- 'ipkg install python27' ...... -- Interpreter
- 'ipkg install par2cmdline' .. -- installiert PAR2 zur Reparatur defekter .par-Dateien
... nun Konsole öffnen, wechseln in das Verzeichnis "cd /volume1/@appstore"
04. - 'git clone https://github.com/sabnzbd/sabnzbd.git' -- download von abnzbd
05. Inhalt mit neuer Version von https://github.com/sabnzbd/sabnzbd/r...3.3-src.tar.gz ausgetauscht.
Folgende Pakete nachinstalliert ..
06. /opt/bin/python2.7 -m pip install --upgrade pip
07. /opt/bin/python2.7 -m pip install sabyenc
08. /opt/bin/python2.7 -m pip install cheetah
09. /opt/bin/python2.7 -m pip install yEnc
10. /opt/bin/python2.7 /volume1/@appstore/sabnzbd/tools/make_mo.py -- Einmalig gestartet wegen Spracheinstellung.
11. /opt/bin/python2.7 /volume1/@appstore/sabnzbd/SABnzbd.py -s 192.168.1.12:9090 & -- Erster Start von Sabnzbd.. eingeloggt festgestellt das diverse Pakete noch fehlen. Diese mussten noch nachinstalliert werden. Sind aber die meisten in 06-09 enthalten. Dann zweiter Start .. eingestellt für Remotezugriff mit Passwort, Konfig angepasst. Fertig.
12. Mein Aufruf.. http://source.synology.me:9090/sabnzbd/
So all I did, is installed the packages which did work quite well, except for the two packages "SAByenc" and "yEnc" (giving me the errors mentioned above)
Error with SAByenc and yEnc install (installed like in user
manual of SABnzbd):
Code: Select all
Command "/opt/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-FFOMTV/yEnc/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-vtbIdl/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-FFOMTV/yEnc/
Now I tried to uninstall the "old" SABnzbd to get rid of this error (picture on Dropbox). (Changing the port didn't help)
I just removed the directory with it's files located at cd /volume1/@appstore/sabnzbd.
Now it's empty but still the same issue.
Thanks for any help!
Re: Synology installation - following packages are missing: python
Posted: May 26th, 2018, 10:36 am
by xBotRaid
safihre wrote: ↑May 22nd, 2018, 12:47 am
It won't let me see the image!
I does it work in the second post?
(One before this)