pyLoad

pyLoad is a free and open source downloader for 1-click-hosting sites like rapidshare.com or uploaded.to. It supports link decryption as well as all important container formats.

Moderator: Lillian.W@AST

Post Reply
zn4ke
Posts: 6
youtube meble na wymiar Warszawa
Joined: Wed Sep 04, 2013 10:26 pm

pyLoad

Post by zn4ke »

atm im stuck at installing pycurl (libcurl?), which is needed for basic pyLoad (pyload.org) operation (controlled via web interface). some pyLoad package in app-central would be much appreciated, as would be any help in getting the dependencies onto my AS-604T.

cheers
znake
ho66es
Posts: 476
Joined: Wed Mar 13, 2013 5:38 am

Re: pyLoad

Post by ho66es »

can you install with pip? i managed to get pip on my asustor and used it to install packages.
608t
zn4ke
Posts: 6
Joined: Wed Sep 04, 2013 10:26 pm

Re: pyLoad

Post by zn4ke »

thanks for the reply. was going into that direction before. gave it another shot and managed to get pip set up, but as i feared the next problem is getting libcurl installed.

executing
./pip install pycurl

gives me
Exception: `curl-config' not found -- please install the libcurl development files

anything i can find about it involves some apt-get, dkpg, yum or the like. is there some package manager on austor apart form that app-central-thingie? maybe that undocumented apkg from asustor goes into that direction?

any hints are most welcome
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: pyLoad

Post by clinton.hall »

what you can do it set up a Ubuntu VM, do an apt-get install libcurl and then copy the files (probably in /usr/lib or /usr/local/lib) over to your Asustor. (probably need libcurl.so.4.2.0... create a symlink at /usr/local/lib/libcurl.so.4 that points to this file).

You can just search online for libcurl packages and download these direct. extract using 7zip and just get the file(s) you need. but make sure you get the right version (i.e i386/i686 for 3 series and x86_64 for 6 series)
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
zn4ke
Posts: 6
Joined: Wed Sep 04, 2013 10:26 pm

Re: pyLoad

Post by zn4ke »

hello and thanks for the help. i have been messing around with it some more and now i get

Code: Select all

root@MediaNAS:/volume1/.@plugins/AppCentral/python/bin # ./pip install pycurl
Downloading/unpacking pycurl
  You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
  Downloading pycurl-7.19.0.tar.gz (71kB): 71kB downloaded
  Running setup.py egg_info for package pycurl
    Using curl-config (libcurl 7.26.0)
    
Installing collected packages: pycurl
  Running setup.py install for pycurl
    Using curl-config (libcurl 7.26.0)
    building 'pycurl' extension
    x86_64-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/include -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/local/AppCentral/python/include/python2.7 -c src/pycurl.c -o build/temp.linux-x86_64-2.7/src/pycurl.o
    unable to execute x86_64-asustor-linux-gnu-gcc: No such file or directory
    error: command 'x86_64-asustor-linux-gnu-gcc' failed with exit status 1
    Complete output from command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_root/pycurl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_k99U5-record/install-record.txt --single-version-externally-managed:
    Using curl-config (libcurl 7.26.0)

running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/curl

copying python/curl/__init__.py -> build/lib.linux-x86_64-2.7/curl

running build_ext

building 'pycurl' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/src

x86_64-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/include -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/local/AppCentral/python/include/python2.7 -c src/pycurl.c -o build/temp.linux-x86_64-2.7/src/pycurl.o

unable to execute x86_64-asustor-linux-gnu-gcc: No such file or directory

error: command 'x86_64-asustor-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_root/pycurl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_k99U5-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_root/pycurl
Storing complete log in /root/.pip/pip.log
how would i get x86_64-asustor-linux-gnu-gcc working?
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: pyLoad

Post by clinton.hall »

Honestly, I wouldn't try and build/compile on the NAS.

Build /compile on a VM and then copy the final files over to your NAS's python folder.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
paul79
Posts: 1
Joined: Tue Oct 01, 2013 2:04 am

Re: pyLoad

Post by paul79 »

Hello zn4ke, I have the same problem, how did you solve it exactly?

Please Help Me!

Gruß Paul79
zn4ke wrote:hello and thanks for the help. i have been messing around with it some more and now i get

Code: Select all

root@MediaNAS:/volume1/.@plugins/AppCentral/python/bin # ./pip install pycurl
Downloading/unpacking pycurl
  You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
  Downloading pycurl-7.19.0.tar.gz (71kB): 71kB downloaded
  Running setup.py egg_info for package pycurl
    Using curl-config (libcurl 7.26.0)
    
Installing collected packages: pycurl
  Running setup.py install for pycurl
    Using curl-config (libcurl 7.26.0)
    building 'pycurl' extension
    x86_64-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/include -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/local/AppCentral/python/include/python2.7 -c src/pycurl.c -o build/temp.linux-x86_64-2.7/src/pycurl.o
    unable to execute x86_64-asustor-linux-gnu-gcc: No such file or directory
    error: command 'x86_64-asustor-linux-gnu-gcc' failed with exit status 1
    Complete output from command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_root/pycurl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_k99U5-record/install-record.txt --single-version-externally-managed:
    Using curl-config (libcurl 7.26.0)

running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/curl

copying python/curl/__init__.py -> build/lib.linux-x86_64-2.7/curl

running build_ext

building 'pycurl' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/src

x86_64-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/include -I/asustor/cross/as-6xx/trunk/AS-6XX/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/local/AppCentral/python/include/python2.7 -c src/pycurl.c -o build/temp.linux-x86_64-2.7/src/pycurl.o

unable to execute x86_64-asustor-linux-gnu-gcc: No such file or directory

error: command 'x86_64-asustor-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_root/pycurl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_k99U5-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_root/pycurl
Storing complete log in /root/.pip/pip.log
how would i get x86_64-asustor-linux-gnu-gcc working?
zn4ke
Posts: 6
Joined: Wed Sep 04, 2013 10:26 pm

Re: pyLoad

Post by zn4ke »

Well, actually i surrendered. still using my old debian server for pyload or jdownoader on my main box. im not all that much into custom built linux stuff. maybe someday someone packs this into a foolproof installation package via AppCentral. or i might get bored an give it another shot. Untill then... let me know if you make any progress.

regards
znake
zn4ke
Posts: 6
Joined: Wed Sep 04, 2013 10:26 pm

Re: pyLoad

Post by zn4ke »

if someone gets pyload working on the AS-6 series pls report here. still a much wanted feature
gucci86
Posts: 4
Joined: Sat Jan 18, 2014 10:13 pm

Re: pyLoad

Post by gucci86 »

Hello, getting my AS-604T Yesterday, i noticed that its almost impossible to use the Downloadmanager in Relation with Crypted links aka DLC.s , CCF.s

If i Encrytp the Download container to get the single Urls i can´t download them too.

So i triying since yesterday with Optware to get pyload working, but i fail with a libcurl missing failure and finally gave up.
I´m just to noobish in Linux to Deal with this.

It would be nice if Asustor was planning a Jdownloader (Java) or pyload (phyton) Support on his Devices.

Still a very nice Backup Device and a also good Home Center Device since XBMC runs on it.

But the Built in Download Manager has reched his Zenit.

Support for Torrent Files i think, is a Feature where most Users can Dispence to
Post Reply

Return to “pyLoad”