Synology installation - following packages are missing: python

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
xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Synology installation - following packages are missing: python

Post by xBotRaid » May 20th, 2018, 4:31 am

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:
Image

User avatar
OneCD
Full Member
Full Member
Posts: 192
Joined: March 4th, 2017, 3:47 pm

Re: Synology installation - following packages are missing: python

Post by OneCD » May 20th, 2018, 4:45 am

SABnzbd is compatible with Python 2.7.x - not Python 3. ;)
Stuff I like: Apache BASH CouchPotato CRON Debian DNSMasq Entware-3x FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickRage Transmission Usenet VirtualBox WordPress XFCE

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 20th, 2018, 5:41 am

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:
Image

User avatar
OneCD
Full Member
Full Member
Posts: 192
Joined: March 4th, 2017, 3:47 pm

Re: Synology installation - following packages are missing: python

Post by OneCD » May 20th, 2018, 9:04 am

What is your default Python?

Try:

Code: Select all

python -V
Stuff I like: Apache BASH CouchPotato CRON Debian DNSMasq Entware-3x FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickRage Transmission Usenet VirtualBox WordPress XFCE

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 20th, 2018, 9:58 am

It tells me:
Python 2.7.12

User avatar
safihre
Administrator
Administrator
Posts: 2754
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Synology installation - following packages are missing: python

Post by safihre » May 20th, 2018, 10:23 am

You need the test package from SynoCommunity: https://github.com/SynoCommunity/spksrc/issues/3138

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 20th, 2018, 4:09 pm

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.

User avatar
safihre
Administrator
Administrator
Posts: 2754
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Synology installation - following packages are missing: python

Post by safihre » May 20th, 2018, 4:25 pm

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.

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 20th, 2018, 4:34 pm

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
Last edited by xBotRaid on May 21st, 2018, 4:43 am, edited 1 time in total.

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 21st, 2018, 4:33 am

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).

Image

One of the errors is due to the missing Sabyenc. When I try to install it with the SABnzbd-Wiki, I get following error:


Image

User avatar
safihre
Administrator
Administrator
Posts: 2754
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Synology installation - following packages are missing: python

Post by safihre » May 21st, 2018, 10:18 am

Try this sabnzbd: https://github.com/Safihre/spksrc/relea ... abnzbd-all

It definitely works with the python package I mentioned before :)

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 21st, 2018, 12:58 pm

safihre wrote:
May 21st, 2018, 10:18 am
Try this sabnzbd: https://github.com/Safihre/spksrc/relea ... abnzbd-all

It definitely works with the python package I mentioned before :)
I tried to install it, but because I had another version (with errors mentioned above) loaded and it's now giving me an error:
Image

Do you have any idea how to remove the old version?

User avatar
safihre
Administrator
Administrator
Posts: 2754
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Synology installation - following packages are missing: python

Post by safihre » May 22nd, 2018, 12:47 am

It won't let me see the image!

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 22nd, 2018, 4:02 pm

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!

xBotRaid
Newbie
Newbie
Posts: 12
Joined: May 20th, 2018, 4:22 am

Re: Synology installation - following packages are missing: python

Post by xBotRaid » May 26th, 2018, 10:36 am

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)

Post Reply