Forum
Installation of PyLoad doenst work - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: Installation of PyLoad doenst work (/thread-1046.html)



Installation of PyLoad doenst work - Baggerfahrer - 28th Jun, 2013 09:08 AM

Hey all,

i'm really new in the business and try to learn, but my knowledge is very basic, this just for information, please consider this when giving an answer; thank you very much Wink

as mentioned, i tried to install pyload on an xbian xbmc 12.2 git: 20130502-32b1a5e by this tutorial: http://jankarres.de/2012/08/raspberry-pi-downloadmanager-pyload-installieren/ (its written in german)

down here you can find the code. as you can see it is not working, but i do not understand why.
could you please help me? thanks a lot!


xbian@xbian ~ $ sudo apt-get update
[sudo] password for xbian:
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://archive.raspberrypi.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://archive.raspberrypi.org wheezy Release
Hit http://apt.xbian.org/ wheezy Release.gpg
Hit http://apt.xbian.org/ wheezy Release
Hit http://archive.raspberrypi.org wheezy/main armhf Packages
Hit http://apt.xbian.org/ wheezy/main armhf Packages
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Ign http://apt.xbian.org/ wheezy/main Translation-en
Get:1 http://mirrordirector.raspbian.org wheezy/main armhf Packages [7413 kB]
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
100% [1 Packages bzip2 0 B]
100% [1 Packages bzip2 0 B]sudo apt-get -y install liblept3
100% [1 Packages bzip2 0 B]sudo apt-get -y install liblept3
100% [1 Packages bzip2 0 B sudo apt-get -y install liblept3
100% [1 Packages bzip2 0 B]cd..
Fetched 1 B in 2min 53s (0 B/s)
Reading package lists... Done

xbian@xbian ~ $

xbian@xbian ~ $ sudo apt-get -y install liblept3
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblept3 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
pyload-cli : Depends: python-pycurl but it is not going to be installed
Depends: python-crypto but it is not going to be installed
Recommends: unrar but it is not going to be installed
Recommends: rhino but it is not going to be installed
Recommends: python-openssl but it is not going to be installed
Recommends: tesseract-ocr but it is not going to be installed
Recommends: tesseract-ocr-eng but it is not going to be installed
Recommends: python-imaging but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

xbian@xbian ~ $ sudo apt-get -y install liblept3
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblept3 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
pyload-cli : Depends: python-pycurl but it is not going to be installed
Depends: python-crypto but it is not going to be installed
Recommends: unrar but it is not going to be installed
Recommends: rhino but it is not going to be installed
Recommends: python-openssl but it is not going to be installed
Recommends: tesseract-ocr but it is not going to be installed
Recommends: tesseract-ocr-eng but it is not going to be installed
Recommends: python-imaging but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

xbian@xbian ~ $ sudo apt-get -y install liblep
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package liblep

xbian@xbian ~ $ cd.......cd..
-bash: cd.......cd..: command not found

xbian@xbian ~ $ sudo apt-get -y install liblep
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package liblep

xbian@xbian ~ $ sudo apt-get -y install python python-crypto python-pycurl python-imaging
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-imaging : Depends: liblcms1 (>= 1.15-1) but it is not going to be installed
python-pycurl : Depends: python-support (>= 0.90.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

xbian@xbian ~ $ tesseract-ocr python-qt4 spidermonkey-bin zip unzip
-bash: tesseract-ocr: command not found

xbian@xbian ~ $ sudo apt-get -y install python python-crypto python-pycurl python-imaging tesseract-ocr python-qt4 spidermonkey-bin zip unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version.
unzip is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-imaging : Depends: liblcms1 (>= 1.15-1) but it is not going to be installed
python-pycurl : Depends: python-support (>= 0.90.0) but it is not going to be installed
python-qt4 : Depends: libqt4-dbus (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-declarative (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-designer (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-help (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-network (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-script (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-scripttools (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-svg (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-test (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-xml (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqt4-xmlpatterns (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqtassistantclient4 (>= 4.6.3) but it is not going to be installed
Depends: libqtcore4 (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqtgui4 (>= 4:4.8.0-1~) but it is not going to be installed
Depends: libqtwebkit4 (>= 2.2.0) but it is not going to be installed
Depends: sip-api-8.1
spidermonkey-bin : Depends: libnspr4 (>= 2:4.9-2~) but it is not going to be installed or
libnspr4-0d (>= 1.8.0.10) but it is not going to be installed
tesseract-ocr : Depends: libtesseract3 but it is not going to be installed
Depends: tesseract-ocr-eng (>= 3.01~) but it is not going to be installed
Depends: tesseract-ocr-osd but it is not going to be installed
Depends: tesseract-ocr-equ but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

xbian@xbian ~ $ sudo apt-get -y build-dep rar unrar-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
xbian@xbian ~ $ wget http://download.pyload.org/pyload-cli-v0.4.9-all.deb
--2013-06-27 22:52:23-- http://download.pyload.org/pyload-cli-v0.4.9-all.deb
Resolving download.pyload.org (download.pyload.org)... 188.165.68.109
Connecting to download.pyload.org (download.pyload.org)|188.165.68.109|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1105062 (1.1M) [application/octet-stream]
Saving to: `pyload-cli-v0.4.9-all.deb.1'

100%[================================================================================​=============>] 1,105,062 842K/s in 1.3s

2013-06-27 22:52:25 (842 KB/s) - `pyload-cli-v0.4.9-all.deb.1' saved [1105062/1105062]


xbian@xbian ~ $ sudo dpkg -i pyload-cli-v0.4.9-all.deb
(Reading database ... 30263 files and directories currently installed.)
Preparing to replace pyload-cli 0.4.9 (using pyload-cli-v0.4.9-all.deb) ...
Unpacking replacement pyload-cli ...
dpkg: dependency problems prevent configuration of pyload-cli:
pyload-cli depends on python-pycurl; however:
Package python-pycurl is not installed.
pyload-cli depends on python-crypto; however:
Package python-crypto is not installed.

dpkg: error processing pyload-cli (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pyload-cli

xbian@xbian ~ $ rm pyload-cli-v0.4.9-all.deb

xbian@xbian ~ $ cd /usr/share/pyload

xbian@xbian /usr/share/pyload $ ./pyLoadCore.py
Traceback (most recent call last):
File "./pyLoadCore.py", line 48, in <module>
from module.network.RequestFactory import RequestFactory
File "/usr/share/pyload/module/network/RequestFactory.py", line 22, in <module>
from Browser import Browser
File "/usr/share/pyload/module/network/Browser.py", line 6, in <module>
from HTTPRequest import HTTPRequest
File "/usr/share/pyload/module/network/HTTPRequest.py", line 20, in <module>
import pycurl
ImportError: No module named pycurl


Re: Installation of PyLoad doenst work - rikardo1979 - 28th Jun, 2013 09:16 AM

please edit your post an get all logs/codes posted an shared via pastebin as mentioned in stickies
-thx-


RE: Installation of PyLoad doenst work - Fred - 28th Jun, 2013 03:21 PM

Yes, please use pastebin.com for this. There are a lot of errors that already suggest solutions. From what I can see now you failed to do the first step right (adding to sources.list). So read the tutorial more carefully.


RE: Installation of PyLoad doenst work - Baggerfahrer - 3rd Jul, 2013 08:23 PM

youre right, thanks for the answer.
it works now, the adding of a new line in the sources.list wasn't done correctly.

thanks for that