Page 1 of 3 123 LastLast
Results 1 to 15 of 282

Thread: [HowTo] pyload installieren

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374

    Post [HowTo] pyload installieren


    Dieser Thread ist die Weiterführung des von FastJack erstellten HowTo's. (Danke an FastJack!!)



    Hallo zusammen,

    dieses How-To beschreibt stichpunktartig die installation und konfiguration des Downloadmanagers pyload.

    1. Installation benötigter Packete
    Code:
    ipkg install python
    ipkg install py25-crypto
    ipkg install py25-curl
    ipkg install libcurl
    ipkg install py25-openssl (aktuellste Version)
    ipkg install py25-django
    ipkg install tesseract-ocr
    ipkg install unzip
    ipkg install screen
    ipkg install nano
    ipkg install sqlite
    ipkg install wget-ssl
    ipkg install py25-pil
    2. Download der letzten Stabe Version
    Code:
    mkdir /opt/pyload
    cd /opt/pyload
    wget http://get.pyload.org/get/
    unzip pyload-v0.*
    3. Anpassen der Config
    Code:
    cd pyload
    cd module
    cd config
    vi core.xml
    - Hier jeweils im abschnitt remote das passwort und den loginname abändern
    - Unter Webinterface den gewünschten Port anändern. (Default 8001)
    - Unter General -> download_folder = /tmp/harddisk/pyload. Diesen Ordner natürlich noch anlegen mit:
    Code:
    mkdir /tmp/harddisk/pyload
    - unter general use_reconnect = true und reconnect_method = ./reconnect.sh eintragen

    Auf folgender Seite findet Ihr die Configurations Datei nochmal genau erklärt: http://pyload.org/de:configuration

    In der Datei reconnect.sh muss folgendes stehen: (Ist von mir nur auf dem WL500gp getestet!)
    Code:
    #!/bin/sh
    killall pppd >/dev/null 2>&1
    sleep 5s
    pppd file /tmp/ppp/options.wan0 >/dev/null 2>&1
    sleep 5s
    ping -c 1 www.heise.de >/dev/null 2>&1
    Die Datei reconnect.sh ausführbar machen:
    Code:
    chmod +x reconnect.sh

    4. Starten von pyload
    Ihr startet das Programm dann indem Ihr im pyload Verzeichniss python pyLoadCore.py eingebt.
    Das macht Ihr am besten aus der Console am Anfang, da pyload erst noch ein paar Fehler ausspuckt.
    Diese verschwinden aber nachdem Ihr pyload ein paar mal gestartet habt und alle Dateien/Ordner angelegt wurden.

    Zusätzlich in der neuesten Version muss folgender Befehl für das Webinterface ausgeführt werden:
    Code:
    python module/web/manage.py syncdb
    Code:
    alias pyloadstart="cd /opt/pyload ; screen -dmS pyload python pyLoadCore.py"
    export PATH=$PATH:/opt/pyload
    unter /opt/etc/profile hinzufügen. Damit könnt Ihr mit dem Befehl pyloadstart pyload im Screen starten. Weiterhin sind damit alle Befehle von pyload im Pfad enthalten.
    Zum connecten der Screen Session screen -r eingeben.

    Alternativ könnt Ihr folgendes Script verwenden, welches es ermöglicht über initd pyload automatisch zu starten.

    Code:
    cd /opt/etc/init.d
    vi S90pyloadstart
    folgendes einfügen:
    Code:
    #!/bin/sh
    
    prefix="/opt"
    PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
    NAME="screen"
    
    start() {
            echo "Starting Service: $NAME"
            cd /opt/pyload
            screen -dmS pyload python pyLoadCore.py
            }
    
    stop() {
            if [ -n "`pidof $NAME`" ]; then
                echo "Stopping Service: $NAME"
                killall $NAME 2> /dev/null
            fi
            }
    
    case "$1" in
            start)
                    start
                    ;;
            stop)
                    stop
                    ;;
            restart)
                    stop
                    sleep 4
                    start
                    ;;
            *)
                    echo "Usage: $0 (start|stop|restart)"
                    exit 1
                    ;;
    esac
    
    exit 0
    und das ganze noch ausführbar machen
    Code:
    chmod +x /opt/etc/init.d/S90pyloadstart
    Zusätzlich bitte darauf achten das kein Webserver etc. auf Port 8080 läuft, da pyload seinen eigenen Webserver mitbringt.

    Das wars soweit, viel Spaß mit pyload.


    You can find this How-To translatet to english from !gm at this URL: http://wl500g.info/showthread.php?t=21844
    Last edited by carterb; 10-06-2010 at 08:08.
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  2. #2
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    sieht interessant aus, Danke!!!
    Last edited by carterb; 07-04-2010 at 23:42.
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  3. #3
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    Hi FastJack!

    Bei mir taucht ein Problem auf - habe die Zeilen ein paar mal abgetippt und kopiert - trotzdem meckert ./pyLoadCore.py immer:
    Code:
    [admin@server pyload]$ ./pyLoadCore.py
    Traceback (most recent call last):
      File "./pyLoadCore.py", line 54, in <module>
        from module.web.WebServer import WebServer
      File "/tmp/mnt/disc0_3/pyload/module/web/WebServer.py", line 287
        def run(self):
          ^
    IndentationError: expected an indented block
    [admin@server pyload]$
    Meine Asus config: Als AP, den reconnect.sh habe ich zwar auch gemacht, aber nur mit ping -c 1, alles andere fehlt.

    uname -a gibt mir: Linux server 2.4.37 #1 2009-03-05 21:06:01 MSK mips GNU/Linux
    und meine WebServer.py :
    Code:
        
    def run(self):                                                                                                           
        self.core.logger.info("Starting Webinterface on host %s, port %s" % (self.core.config['webinterface']['host'],self.core.c
            run(host=self.core.config['webinterface']['host'], port=int(self.core.config['webinterface']['port']), quiet=True)
    Werde mich etwas einlesen.....
    LG Helmut
    Alle HowTo's, all howto's

    RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
    RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
    Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n

  4. #4

    Arrow

    Erstmal Vielen Dank für das How-To
    schön, dass es so schnell ging

    also gleich ausprobiert
    hatte n ähnliches Problem wie newbiefan:

    nano --nowrap WebServer.py
    ^dann klappts mit dem kopieren

    es ist wichtig, dass jeder Block-Ebene 4 Leerzeichen vorrangehen

    Viele Grüße gm

    PS: wenn ichs laufen hab übersetz ich das How-To in Englische, damit ich der Community auch mal was gebe

    edit: läuft und sieht schick aus - dlc Container Support ist noch nciht fertig, oder?
    Last edited by !gm; 30-10-2009 at 01:54.

  5. #5
    Join Date
    Jul 2007
    Location
    Austria
    Posts
    1,336
    Quote Originally Posted by !gm View Post
    nano --nowrap WebServer.py
    ^dann klappts mit dem kopieren

    es ist wichtig, dass jeder Block-Ebene 4 Leerzeichen vorrangehen
    Super Danke!
    Newbiefan
    Alle HowTo's, all howto's

    RT-N16 1.9.2.7-rtn-r3121, Samba, VSFTP, Lightthpd, PHP, Perl, MySQL, Serendipity, Aria2web, HDD 640GB
    RT-N66U, 16GB MicroSD/ 2 Partitions, 2,5" HDD 1TB, running with Merlin's FW and Entware, 16 Mbit A1,
    Netgear DGND 3700V2, QNAP TS119PII 4 TB, QNAP TS209 2 TB Raid1, Backup Synology DS107+ 1 TB, HP CP1515n

  6. #6
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    118
    genau den Fehler hatte ich auch immer wieder, super das Du das rausgefunden hast wie man das umgehen kann, danke Klar kannst gerne ins Englische übersetzen. Das mit dem DLc geht, allerdings merke ich gerade das ich den Teil vergessen habe, da muss man ne Datei neu runterladen das füge ich gleich noch an

  7. #7
    Join Date
    Jul 2007
    Location
    Germany, Bonn
    Posts
    374
    Hi,

    so ich habs mal mit dem neuen Paket versucht.
    Leider folgende Fehlermeldung:
    Code:
    [admin@ASUS_WL500GP pyload]$ python pyLoadCore.py
    /opt/bin/pyload/module/download_thread.py:91: Warning: 'with' will become a reserved keyword in Python 2.6
    Traceback (most recent call last):
      File "pyLoadCore.py", line 48, in <module>
        from module.file_list import File_List
      File "/opt/bin/pyload/module/file_list.py", line 24, in <module>
        from download_thread import Status
      File "/opt/bin/pyload/module/download_thread.py", line 91
        with open("%s.info" % e.getFile(), "w") as f:
                ^
    SyntaxError: invalid syntax
    Ne Idee?
    Regards / Grüße,
    Oliver

    [How-To] Sane Scanner-Server mit XSane Frontend "german"
    [How-To] Sane Scanner-Server with XSane Frontend "english"

    Router: Wl500gP v1 nach Wengi's HowTo mit FW 1.9.2.7-d-r599
    Speicher: Trekstor DataStation maxi 1 Tb
    Clients: Kathrein UFS910 FullHD Sat Receiver, PS3, PCs, Canon MP830 an Sane Scanner-Server, Kyocera-Mita FS1020D über Printserver

  8. #8
    Vielleicht, es ist ja eine Meldung von pycurl oder curl, der Fehler wird von einem Modul "pyLoNG" verursacht, dass:

    Handle the case of long arguments (used by *_LARGE options)

    the *_LARGE options now take curl_off_t types as parameters and this will make it possible to handle large files on windows too.

  9. #9
    hallo, ich bins schon wieder

    iwie lädt pyload nur jeden 2. download ... denk mal nicht das das normal ist oder?
    ich bin der festen überzeugung das ich das problem hier schonmal iwo gelesen habe ... aber ich finds einfach nicht mehr ...

  10. #10
    hallo,
    ich habe pyload nach der anleitung installiert. wenn ich es jetzt starten möchte, bekomme ich die meldung:

    Code:
    could not find ssl certificate: ssl.crt
    was habe ich vergessen?

    danke für die hilfe!

  11. #11
    Bitte im HowTo nichtmehr auf die Dev Version verweisen, gibt nur doppelt so viel Support/Tip ist oft unstable
    besser http://update.pyload.org/do-download nutzen für die letzte stable!

    @mcbyk: ssl Zertifikat erstellen oder in der Config ssl deaktivieren
    Wenn du pyLoad real nutzen willst oben genannte stable nutzen

  12. #12
    Hallo,

    ich habe Pyload auch installiert, bekomme aber immer eine Checksumfehler bei rapidshare links. Vielleicht kann mir jemand sagen woran das liegen könnte.

    16.12.2009 16:07:36: INFO Plugin Index erstellt
    16.12.2009 16:07:53: INFO Added 3 packages to queue
    16.12.2009 16:07:54: INFO No Updates for pyLoad
    16.12.2009 16:07:54: INFO Auth XMLRPC Server Started
    16.12.2009 16:07:54: INFO Downloadzeit: True
    16.12.2009 16:07:55: INFO Get links from: links.txt
    16.12.2009 16:07:55: INFO Parsed link from links.txt: 1
    16.12.2009 16:07:55: INFO Download starts: http://rapidshare.com/files/XXXX/XXXX
    16.12.2009 16:08:11: INFO Checksum not matched! ('XXXXX')
    16.12.2009 16:08:11: WARNING Download failed: http://rapidshare.com/files/XXXX/XXXX| global name 'local_file' is not defined
    Last edited by rockplus; 16-12-2009 at 15:58.

  13. #13
    Sollte nun gehen

  14. #14
    Funktioniert leider immer noch nicht

    16.12.2009 16:46:02: INFO Downloadzeit: True
    16.12.2009 16:46:03: INFO Get links from: links.txt
    16.12.2009 16:46:03: DEBUG Checksum not implemented for links.txt
    checksum check returned: True, 10
    16.12.2009 16:46:03: INFO Parsed link from links.txt: 1
    16.12.2009 16:46:04: INFO Download starts: http://rapidshare.com/files/XXXXX
    16.12.2009 16:47:32: INFO Checksum not matched! ('XXXXX')
    16.12.2009 16:47:33: WARNING Download failed: http://rapidshare.com/files/XXXXX | Checksum error: 1

    hab mal das auskommentierte Print wieder einkommentiert um zu sehen was zurückkommt !
    Last edited by rockplus; 16-12-2009 at 16:38.

  15. #15
    Also irgendwas stimmt da nicht, 5 ist Can't get checksum, 10 wäre Checksum not implemented
    Schick mir bitte mal den Link

Page 1 of 3 123 LastLast

Similar Threads

  1. HowTo for aMule and PyLoad on Entware ???
    By QMax in forum WL-500gP Tutorials
    Replies: 3
    Last Post: 02-03-2014, 01:33
  2. pyLoad - ìåíåäæåð çàêà÷åê
    By ryzhov_al in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 155
    Last Post: 29-05-2013, 19:46
  3. Alle Howto's, all howto's
    By newbiefan in forum German Discussion - Deutsch (DE)
    Replies: 17
    Last Post: 29-03-2013, 13:57
  4. [How To] Firmware installieren und konfigurieren
    By wengi in forum German Discussion - Deutsch (DE)
    Replies: 547
    Last Post: 15-04-2012, 12:30
  5. [HOWTO] WL-HDD + Dbox2
    By akbor in forum German Discussion - Deutsch (DE)
    Replies: 14
    Last Post: 07-02-2008, 20:05

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •