Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 2.7.3-3 won't install on DS413j with DSM 4.1-2661 #347

Closed
balleklorin opened this issue Dec 16, 2012 · 8 comments
Closed

Python 2.7.3-3 won't install on DS413j with DSM 4.1-2661 #347

balleklorin opened this issue Dec 16, 2012 · 8 comments
Labels

Comments

@balleklorin
Copy link

Hi,

I tried to install Python 2.7.3-3 via the GUI.
Nothing seem to happen and it will not install sabnzbd afterwards.
I tried to download the -2 version, but the link on this forum does not work.

@juicez
Copy link

juicez commented Dec 17, 2012

I have the same issue with DS411J

@Diaoul
Copy link
Member

Diaoul commented Dec 18, 2012

Is the installation taking a long time? I think DSM may kill the install script if it times out.

@balleklorin
Copy link
Author

Is there a way to measure speed of installation or a log file to check for relevant info?

@Diaoul
Copy link
Member

Diaoul commented Dec 18, 2012

As per the install script there should be a file /usr/local/python/install.log. If not, that's an issue.

Anyway, I label this issue as Synology-related because the install process differs between models and depends on CPU-load: having your NAS busy while installing a SPK might break the whole installation without notice.

@juicez
Copy link

juicez commented Dec 18, 2012

It appears that version of Python isn't compatible with DS411J/DS413J models. I was able to confirm by downloading the pkg from the repo to my pc and trying to install (upload) to NAS manually, says its incompatible.

@Diaoul
Copy link
Member

Diaoul commented Dec 18, 2012

The download should be done within the Package Center. Direct download is only for models without Package Center (old models)

@balleklorin
Copy link
Author

I tried installing it again and chose run after install. It just kind of aborted as if nothing had happened after it was finished downloading.

DS413j> cd /
DS413j> find | grep python
find: ./proc/26362: No such file or directory
find: ./proc/26365: No such file or directory
./volume1/@tmp/@synopackage/python
./volume1/@tmp/@synopackage/python/@SYNOPKG_DOWNLOAD_python
./volume1/xxx/Downloads/spk_python_88f5281_2.7.3-3 (1).spk
./volume1/xxx/Downloads/@eaDir/spk_python_88f5281_2.7.3-3.spk@SynoEAStream
./volume1/xxx/Downloads/@eaDir/spk_python_88f5281_2.7.3-3 (2).spk@SynoEAStream
./volume1/xxx/Downloads/@eaDir/spk_python_88f5281_2.7.3-3 (1).spk@SynoEAStream
./volume1/xxx/Downloads/spk_python_88f5281_2.7.3-3.spk
./volume1/xxx/Downloads/spk_python_88f5281_2.7.3-3 (2).spk
./tmp/DSMTaskMgr/@administrators/@SYNOPKG_DOWNLOAD_python
./tmp/@synopackage/python

Then I pushed the install button again, and it skipped the download part and looked like it went straight into compilation and reported it an astounding success after some time. I guess that this was one of the exceptionally rare occasions when stupidly pushing the same button twice was the magic trick. Just after it appeared it was busy doing stuff at CPU 100% load i got:
DS413j> ps | grep python
26766 root 2976 S /bin/sh /var/packages/python/scripts/postinst
26771 root 11580 R /usr/local/python/bin/python -m compileall -q -f /us
26851 root 2984 S grep python

DS413j> pwd
/usr/local/python
DS413j> more install.log
Python 2.7.3

System installed modules:
Cheetah==2.4.4
Distutils2==1.0a4
MarkupSafe==0.15
PIL==1.1.7
PyAudio==0.2.7
SQLAlchemy==0.7.9
Twisted==12.2.0
distribute==0.6.31
lxml==3.0.1
pyOpenSSL==0.13
pyalsa==1.0.25
pycrypto==2.6
pycurl==7.19.0
python-libtorrent==0.16.5
virtualenv==1.8.3
wsgiref==0.1.2
yenc==0.4.0
zope.interface==4.0.2

Might be there is a bug or incompatibility with the Synnology supplied GUI installation method.

@Diaoul
Copy link
Member

Diaoul commented Dec 19, 2012

Known issue and reported to Synology already: #282 (comment)

@Diaoul Diaoul closed this as completed Dec 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants