MTA99 Posted May 11, 2011 Share Posted May 11, 2011 figured it out. I forgot i was messing around yesterday and i downloaded and installed this. wget http://www.bibliognome.com/unraid/SABnzbdDependencies-2.1-i486-unRAID.tgz once, i install that package, i could run pyload again Did you get SABnzbd running? Did you connect to a news server with SSL? Quote Link to comment
dsmitty166 Posted May 11, 2011 Share Posted May 11, 2011 What happens if you try to build the pycurl package? here you go... SB.txt SB.txt Quote Link to comment
MTA99 Posted May 11, 2011 Share Posted May 11, 2011 That's the pycrypto package not pycurl Quote Link to comment
dsmitty166 Posted May 11, 2011 Share Posted May 11, 2011 That's the pycrypto package not pycurl OPS... Gives me this root@tower:~# python /mnt/cache/.pyload/pyLoadCore.py Fatal Python error: pycurl: libcurl link-time version is older than compile-time version Aborted Quote Link to comment
MTA99 Posted May 11, 2011 Share Posted May 11, 2011 EDIT **ignore that** its been a long night! 0505am here Going back a few pages need to do this to build the pycurl package http://slackbuilds.org/repository/13.1/libraries/pycurl/ Source Code: pycurl-7.19.0.tar.gz SlackBuild: pycurl.tar.gz Download the above files. If you untar 'pycurl.tar.gz' you'll find the following inside • README • pycurl.SlackBuild • pycurl.info • slack-desc Put pycurl-7.19.0.tar.gz and the above files in a folder then enter 'pycurl.SlackBuild' Quote Link to comment
dsmitty166 Posted May 11, 2011 Share Posted May 11, 2011 EDIT **ignore that** its been a long night! 0505am here Going back a few pages need to do this to build the pycurl package http://slackbuilds.org/repository/13.1/libraries/pycurl/ Source Code: pycurl-7.19.0.tar.gz SlackBuild: pycurl.tar.gz Download the above files. If you untar 'pycurl.tar.gz' you'll find the following inside • README • pycurl.SlackBuild • pycurl.info • slack-desc Put pycurl-7.19.0.tar.gz and the above files in a folder then enter 'pycurl.SlackBuild' Results: root@tower:~# cd /boot/packages/pycurl root@tower:/boot/packages/pycurl# ls README* pycurl-7.19.0.tar.gz* pycurl.info* pycurl/ pycurl.SlackBuild* slack-desc* root@tower:/boot/packages/pycurl# pycurl.SlackBuild pycurl-7.19.0/ pycurl-7.19.0/doc/ pycurl-7.19.0/doc/callbacks.html pycurl-7.19.0/doc/curlmultiobject.html pycurl-7.19.0/doc/curlobject.html pycurl-7.19.0/doc/curlshareobject.html pycurl-7.19.0/doc/pycurl.html pycurl-7.19.0/examples/ pycurl-7.19.0/examples/basicfirst.py pycurl-7.19.0/examples/file_upload.py pycurl-7.19.0/examples/linksys.py pycurl-7.19.0/examples/retriever-multi.py pycurl-7.19.0/examples/retriever.py pycurl-7.19.0/examples/sfquery.py pycurl-7.19.0/examples/xmlrpc_curl.py pycurl-7.19.0/python/ pycurl-7.19.0/python/curl/ pycurl-7.19.0/python/curl/__init__.py pycurl-7.19.0/src/ pycurl-7.19.0/src/Makefile pycurl-7.19.0/src/pycurl.c pycurl-7.19.0/tests/ pycurl-7.19.0/tests/test.py pycurl-7.19.0/tests/test_cb.py pycurl-7.19.0/tests/test_debug.py pycurl-7.19.0/tests/test_ftp.py pycurl-7.19.0/tests/test_getinfo.py pycurl-7.19.0/tests/test_gtk.py pycurl-7.19.0/tests/test_internals.py pycurl-7.19.0/tests/test_memleak.py pycurl-7.19.0/tests/test_multi.py pycurl-7.19.0/tests/test_multi2.py pycurl-7.19.0/tests/test_multi3.py pycurl-7.19.0/tests/test_multi4.py pycurl-7.19.0/tests/test_multi5.py pycurl-7.19.0/tests/test_multi6.py pycurl-7.19.0/tests/test_multi_socket.py pycurl-7.19.0/tests/test_multi_socket_select.py pycurl-7.19.0/tests/test_multi_timer.py pycurl-7.19.0/tests/test_multi_vs_thread.py pycurl-7.19.0/tests/test_post.py pycurl-7.19.0/tests/test_post2.py pycurl-7.19.0/tests/test_post3.py pycurl-7.19.0/tests/test_share.py pycurl-7.19.0/tests/test_socketopen.py pycurl-7.19.0/tests/test_stringio.py pycurl-7.19.0/tests/test_xmlrpc.py pycurl-7.19.0/tests/util.py pycurl-7.19.0/COPYING pycurl-7.19.0/COPYING2 pycurl-7.19.0/ChangeLog pycurl-7.19.0/INSTALL pycurl-7.19.0/MANIFEST.in pycurl-7.19.0/Makefile pycurl-7.19.0/README pycurl-7.19.0/TODO pycurl-7.19.0/setup.py pycurl-7.19.0/setup_win32_ssl.py pycurl-7.19.0/PKG-INFO Using curl-config (libcurl 7.19.0) running install running build running build_py creating build creating build/lib.linux-i686-2.6 creating build/lib.linux-i686-2.6/curl copying python/curl/__init__.py -> build/lib.linux-i686-2.6/curl running build_ext building 'pycurl' extension creating build/temp.linux-i686-2.6 creating build/temp.linux-i686-2.6/src gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.6 -c src/pycurl.c -o build/temp.linux-i686-2.6/src/pycurl.o src/pycurl.c:79:31: error: openssl/crypto.h: No such file or directory src/pycurl.c: In function 'pycurl_ssl_lock': src/pycurl.c:393: error: 'CRYPTO_LOCK' undeclared (first use in this function) src/pycurl.c:393: error: (Each undeclared identifier is reported only once src/pycurl.c:393: error: for each function it appears in.) src/pycurl.c: In function 'pycurl_ssl_init': src/pycurl.c:407: warning: implicit declaration of function 'CRYPTO_num_locks' src/pycurl.c:415: warning: implicit declaration of function 'CRYPTO_set_id_callback' src/pycurl.c:416: warning: implicit declaration of function 'CRYPTO_set_locking_callback' error: command 'gcc' failed with exit status 1 root@tower:/boot/packages/pycurl# Quote Link to comment
MTA99 Posted May 11, 2011 Share Posted May 11, 2011 Same crypto error. I don't know what's causing that. Final suggestion. If you can, reboot your box, install the SABnzbd dependencies then run the guide. If that doesn't work we'll need to get some of the unraid gurus to have a look. Quote Link to comment
Choque Posted May 11, 2011 Share Posted May 11, 2011 When I get home from work I could upload all the files you need for pyLoad + write a tutorial on how to install it. I'm running pyLoad on my unRAID server and it's working like a charm. Feed it with DLCs and let it download and unrar them when they're finished. Really nice. Sent from my HTC Desire using Tapatalk Quote Link to comment
MTA99 Posted May 11, 2011 Share Posted May 11, 2011 When I get home from work I could upload all the files you need for pyLoad + write a tutorial on how to install it. I'm running pyLoad on my unRAID server and it's working like a charm. Feed it with DLCs and let it download and unrar them when they're finished. Really nice. Sent from my HTC Desire using Tapatalk Feel feel to hack my guide on page2 What version of unRAID you running? Have you got imaging working for captcha? Quote Link to comment
Choque Posted May 11, 2011 Share Posted May 11, 2011 I'm running 4.7 on my server. Somehow I missed your guide on page 2 Sorry about that Sent from my HTC Desire using Tapatalk Quote Link to comment
dsmitty166 Posted May 11, 2011 Share Posted May 11, 2011 Same crypto error. I don't know what's causing that. Final suggestion. If you can, reboot your box, install the SABnzbd dependencies then run the guide. If that doesn't work we'll need to get some of the unraid gurus to have a look. I will attempt this tomorrow. Sent from my captivate using tapatalk Quote Link to comment
MTA99 Posted May 11, 2011 Share Posted May 11, 2011 I'm running 4.7 on my server. Somehow I missed your guide on page 2 Sorry about that Sent from my HTC Desire using Tapatalk Haha, no worries. Do have a look at it and see if there are any differences. Would also be interested to see what packages you used. Did you build pycurl yourself? Hopefully we can get a guide and some packages together that will run on any system. Once we've done that can think about an unmenu conf. ATM looks like 4.7 has a 100% success rate, 5.x beta 50% Quote Link to comment
Choque Posted May 11, 2011 Share Posted May 11, 2011 Hehe ok, so I'll upload the files this evening then and write a small tutorial. No, I didn't build pycurl myself. But yea, you'll see how I did it when I get home from work in a few hours Sent from my HTC Desire using Tapatalk Quote Link to comment
dsmitty166 Posted May 11, 2011 Share Posted May 11, 2011 Alright...I deleted all of the old files, and started from scratch...installed the dependencies, and then started the guide over again... I still fail on step 7... Attached is the full install log Full_Install.txt Quote Link to comment
MTA99 Posted May 11, 2011 Share Posted May 11, 2011 Could you run these commands and post the output please ldd /usr/lib/python2.6/site-packages/pycurl.so /sbin/ldconfig --print-cache | grep libcurl.so.4 Quote Link to comment
dsmitty166 Posted May 12, 2011 Share Posted May 12, 2011 Could you run these commands and post the output please ldd /usr/lib/python2.6/site-packages/pycurl.so /sbin/ldconfig --print-cache | grep libcurl.so.4 root@tower:~# ldd /usr/lib/python2.6/site-packages/pycurl.so linux-gate.so.1 => (0xb78b0000) libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb785a000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb782a000) libssl.so.0 => /lib/libssl.so.0 (0xb77e2000) libcrypto.so.0 => /lib/libcrypto.so.0 (0xb769a000) libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0xb765b000) librt.so.1 => /lib/librt.so.1 (0xb7652000) libdl.so.2 => /lib/libdl.so.2 (0xb764e000) libz.so.1 => /usr/lib/libz.so.1 (0xb763a000) libpython2.6.so.1.0 => /usr/lib/libpython2.6.so.1.0 (0xb74bb000) libpthread.so.0 => /lib/libpthread.so.0 (0xb74a2000) libc.so.6 => /lib/libc.so.6 (0xb733e000) libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0xb7308000) liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb72fc000) libresolv.so.2 => /lib/libresolv.so.2 (0xb72e5000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb72ce000) /lib/ld-linux.so.2 (0xb78b1000) libutil.so.1 => /lib/libutil.so.1 (0xb72c9000) libm.so.6 => /lib/libm.so.6 (0xb72a3000) liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb7297000) root@tower:~# /sbin/ldconfig --print-cache | grep libcurl.so.4 libcurl.so.4 (libc6) => /usr/lib/libcurl.so.4 root@tower:~# Quote Link to comment
Choque Posted May 12, 2011 Share Posted May 12, 2011 So here's my little pyLoad on unRAID guide. I hope it helps some people Step 1: Download my pyLoad_ready.rar from Multiupload and extract it somewhere on your computer Step 2: Extract the 'pyload-src-v0.4.5.rar' to a folder on one of your unRAID drives (a user share should work too but I would make a dedicated folder on a single drive. For example /drive1/pyLoad/) Step 3: Extract the 'packages_pyLoad.rar' to a folder on your USB drive (I extracted it to /packages/pyLoad/) Step 4: Connect to your unRAID server via Putty or something similiar and navigate to the folder from Step 3 Enter the following to install everything installpkg *.* Step 5: To start pyLoad the first time, do the following Navigate to the folder from Step 2 and start pyLoad with 'python pyLoadCore.py -s' Config pyLoad to your liking. I would suggest to change the config path to a folder on one of your unRAID drives too instead of using a folder on your USB drive Configure the WebUI to your liking. Let the IP be '0.0.0.0' so you can access the WebUI from another computer in your network. You can choose whatever port you like Step 6: To start pyLoad everytime you restart your server, add the following lines in your '/config/go' on the USB drive: installpkg /<Path to the folder from Step 3>/*.* python /<Path to the folder from Step 2>/pyLoadCore.py --daemon Step 7: If you did everything right, you should now be able to open the WebUI by typing '//tower:8000' into the browser of a computer in the same network as your unRAID server (this assumes your server is named 'tower' and you set the port for the WebUI to 8000) Quote Link to comment
MTA99 Posted May 12, 2011 Share Posted May 12, 2011 Nice! Using your package rar I've found the missing packages I had to compile. Clearly my google skills are not match for the mighty Choque. And looks like imaging will work on my box too Using your guide I've updated mine........it's a little more noob friendly ;-) http://lime-technology.com/forum/index.php?topic=10883.msg121782#msg121782 Quote Link to comment
jonlai9 Posted May 13, 2011 Share Posted May 13, 2011 Wow, so much happened here while I didn't come for the last two weeks! Seems like a lot of stuff happened. Does Choque's new guide (2 posts above) summarize what's been going on in the past 6 pages? Re: VPN - I run TomatoUSB (and previously TomatoVPN) firmware on my Buffalo router. If you've got a dd-wrt/tomato compatible router there are plenty of guides out there on getting OpenVPN running. To me at least, it makes sense to run the VPN through the router rather than on the server. The only time your VPN is offline is if your connection has failed or the power is off. In either case you'll be unable to connect where ever the VPN was hosted Running on the router allows me to wake the server (with magic packets) if the power failed or didn't come back up after a reboot. I use the VPN to tunnel my connection when on untrusted networks or behind restrictive firewalls, so its win-win-win Looking to upgrade to an Asus RT-n16 pretty soon. Consolidate the network a little, remove some of the extra boxes and cabling. Thanks, I have TomatoVPN running on my WRT54G as well, but I was confused with how to set things up. I found a few OpenVPN guides but none of them were TomatoVPN-specific and so there were parts that confused me where they didn't quite match up. Can you send me a good guide you used that's perhaps TomatoVPN-specific? Thanks. Quote Link to comment
Choque Posted May 13, 2011 Share Posted May 13, 2011 My guide is basically just the way I did it and I thought I'd share it because it is kinda hassle free. Just download the rar and follow the simple 5 steps to install it and you are good to go. Feel free to give it a try if you want to. Quote Link to comment
MTA99 Posted May 13, 2011 Share Posted May 13, 2011 Wow, so much happened here while I didn't come for the last two weeks! Seems like a lot of stuff happened. Does Choque's new guide (2 posts above) summarize what's been going on in the past 6 pages? Choque's guide will get you up and running. Mine's a bit more "noob friendly" as it walks you through step-by-step Credit to Choque for the missing packages from my original guide. Its now updated to include them. Thanks, I have TomatoVPN running on my WRT54G as well, but I was confused with how to set things up. I found a few OpenVPN guides but none of them were TomatoVPN-specific and so there were parts that confused me where they didn't quite match up. Can you send me a good guide you used that's perhaps TomatoVPN-specific? Thanks. I used this guide but you've probably already seen it as the top result in Google http://blog.johnso.org/2009/08/how-to-setup-openvpn-in-tomato.html All the info you need it there, its just not explained how to do it. Start a new thread in the Lounge and I'll try to help you through the setup. Quote Link to comment
jonlai9 Posted May 14, 2011 Share Posted May 14, 2011 Thanks, I have TomatoVPN running on my WRT54G as well, but I was confused with how to set things up. I found a few OpenVPN guides but none of them were TomatoVPN-specific and so there were parts that confused me where they didn't quite match up. Can you send me a good guide you used that's perhaps TomatoVPN-specific? Thanks. I used this guide but you've probably already seen it as the top result in Google http://blog.johnso.org/2009/08/how-to-setup-openvpn-in-tomato.html All the info you need it there, its just not explained how to do it. Start a new thread in the Lounge and I'll try to help you through the setup. Thanks! I've created a new thread. http://lime-technology.com/forum/index.php?topic=12964.0 Thanks! Quote Link to comment
dsmitty166 Posted May 15, 2011 Share Posted May 15, 2011 So here's my little pyLoad on unRAID guide. I hope it helps some people Step 1: Download my pyLoad_ready.rar from Multiupload and extract it somewhere on your computer Step 2: Extract the 'pyload-src-v0.4.5.rar' to a folder on one of your unRAID drives (a user share should work too but I would make a dedicated folder on a single drive. For example /drive1/pyLoad/) Step 3: Extract the 'packages_pyLoad.rar' to a folder on your USB drive (I extracted it to /packages/pyLoad/) Step 4: Connect to your unRAID server via Putty or something similiar and navigate to the folder from Step 3 Enter the following to install everything installpkg *.* Step 5: To start pyLoad the first time, do the following Navigate to the folder from Step 2 and start pyLoad with 'python pyLoadCore.py -s' Config pyLoad to your liking. I would suggest to change the config path to a folder on one of your unRAID drives too instead of using a folder on your USB drive Configure the WebUI to your liking. Let the IP be '0.0.0.0' so you can access the WebUI from another computer in your network. You can choose whatever port you like Step 6: To start pyLoad everytime you restart your server, add the following lines in your '/config/go' on the USB drive: installpkg /<Path to the folder from Step 3>/*.* python /<Path to the folder from Step 2>/pyLoadCore.py --daemon Step 7: If you did everything right, you should now be able to open the WebUI by typing '//tower:8000' into the browser of a computer in the same network as your unRAID server (this assumes your server is named 'tower' and you set the port for the WebUI to 8000) Here's what I get when running this: When you are ready for system check, hit enter. ## System Check ## Python Version: OK pycurl: OK sqlite3: OK pycrypto: OK OpenSSL: missing py-imaging: OK tesseract: OK PyQt4: missing jinja2: OK beaker: OK JS engine: missing System check finished, hit enter to see your status report. ## Status ## Features available: container decrypting, automatic captcha decryption, Webinterface Featues missing: no SSL available This is needed if you want to establish a secure connection to core or webinterface. If you only want to access locally to pyLoad ssl is not usefull. Gui not available The Graphical User Interface. no JavaScript engine found You will need this for some Click'N'Load links. Install Spidermonkey or ossp-js You can abort the setup now and fix some dependicies if you want. Continue with setup? ([y]/n): Quote Link to comment
MTA99 Posted May 15, 2011 Share Posted May 15, 2011 Do this to install SpiderMonkey wget --directory-prefix=/boot/packages/ http://repository.slacky.eu/slackware-12.1/libraries/spidermonkey/1.7.0/spidermonkey-1.7.0-i486-1ng.tgz installpkg /boot/packages/spidermonkey-1.7.0-i486-1ng.tgz Unless you're going to set-up and use SSL I wouldn't worry about not having it installed. Just continue with the install and you'll be good to go Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.