import Fehler

Wenn du dir nicht sicher bist, in welchem der anderen Foren du die Frage stellen sollst, dann bist du hier im Forum für allgemeine Fragen sicher richtig.
matrixnet
User
Beiträge: 35
Registriert: Donnerstag 21. April 2005, 16:45

und jetzt kann ich mein client mit turbt.py starten
ohne fehler aber während schon gestartet ist erst
später taucht immer dieser fehler auf das in cmd angeziegt wird:

Code: Alles auswählen

Traceback (most recent call last):
  File "E:\bit-tests\turbobt\btsession.py", line 881, in Download_Thread
    self.doneflag, 100, self.peer_id, spewflag = self.spewflag, onstartfunc = self.OnStart)
  File "E:\bit-tests\turbobt\BitTorrent\download.py", line 413, in download
    encoder.ever_got_incoming, config['http_proxy'])
TypeError: __init__() takes exactly 23 arguments (24 given)
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Schau dir mal in "download.py" die Zeile 413 an. Dort muß wohl eine Instanz von einer Klasse gemacht werden und ein Parameter ist wohl zuviel.

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
matrixnet
User
Beiträge: 35
Registriert: Donnerstag 21. April 2005, 16:45

den para meter darf ich nicht löschen ist notwendig wegen proxy

Code: Alles auswählen

encoder.ever_got_incoming, config['http_proxy'])
matrixnet
User
Beiträge: 35
Registriert: Donnerstag 21. April 2005, 16:45

wie soll ich es dann machen mit dem http proxy?
der ist notwendig.
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Poste doch mal aus der Datei "E:\bit-tests\turbobt\BitTorrent\download.py" die Zeilen um line 413 herrum...

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
matrixnet
User
Beiträge: 35
Registriert: Donnerstag 21. April 2005, 16:45

habe es den fehler behoben ich hatte in requester.py def __init__ die url_list rausgeschmissen, jetzt ist se wieder drin.

jetzt habe ein fehler hier:

Code: Alles auswählen

turbobt requires wxwindows 2.5.2.8u
Installed wx version: 2.5.3.1
Loading config file: E:\bit-tests\turbobt\btconfig.ini
Loading Images E:\bit-tests\turbobt
Loading Friend List
ERROR: reading friends ini file
Loading RSS Feeds
ERROR: reading from RSS ini file
Loading config file: .\btconfig.ini
loading work state
E:\bit-tests\turbobt\torrents.ini
from ini xampp.torrent
session 100 Adding torrent
False
Starting setup thread
starting dl setup
ending dl setup
trying to resume 100
Entered download thread
Starting download thread 100
check_hashes 1
reordering
2005-04-28 08:52:40,559 INFO: Binding to 'I2P-BT-537703411'
2005-04-28 08:52:40,720 INFO: Bound on j6BWa~THit7ZUXiuCyk~Mj2jdemZ4k9i4HYL0ze8H
vGSpcZDQ1Z6SBV8VgOmwiS3ZfE-GIn3xwvTQFGBER3F2815JApL9y059L~lSMzTaUBy-JB7WgriJ45g3
sDdrXTpp-~pvnOzIiwokP3w-F5N7MOikTJLHXOjvsnXFEkckcrrWNDKEXKeRM~dmuQlFsTf2Ji0XYVnX
lkew6RH0s9ZxbyDcv04IIe9msMEwPgctkEzDopUmtaY1U4x3EYf0vsPzJByL6ci92aybCmhywAkf8bx-
xjEsnp6HB07UXcX1oudA6hVQXu9qz6XhX-QFoxowvJ0lI9qgbZfJFk1OOfioFzzm7e4-wT4dJ-ir0mnV
sPSjGnb8tvBNnrkWa8DGuLMrNuaENWyHWqqqO5JtPK7zvmivKqsYWQ~mZ53WC0ZTHTLoDYffzMrfpn9U
xRoVwLyARqmycooKtzH1vepPzJlPycV0Uu7P1rCAqu5GaU-ECt9qZ05PvmQWy-nuQcOE9HmAAAA.i2p
Syncing Options
announcing to http://eFJdRYFmtjcpx9-Mw3JBdF6fwtb9cHRBR103Q8IGc91Jdfn0iYzK6Xx0oIz
PvpbD4yOlPQm-C-7eTahrAkHa2FMCRTiiVq2a0nBp37W1uTvAToV-MKYPKTdFMxrXxvjS7qaSUXdJRcP
aPexolfx-Gcjh~rN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/scrape?info_hash=
%95%13%C1%AD%887T0-%99%92%E9%16%C2ZAP%9C%25%2A) failed
<urlopen error (11001, 'getaddrinfo failed')>
saving work state
saving options
E:\bit-tests\turbobt\torrents.ini
<btsession.BTSession instance at 0x01B39710> False None
on minimize
was mache ich jetzt?
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Also da kann ich dir auch nicht weiter helfen... Ich kenne mich mit BitTorrent auch nicht aus ;)

Aber mal eine Frage: Was hast du überhaupt vor??? Warum nutzt du nicht einfach BitTorrent wie es ist?

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
matrixnet
User
Beiträge: 35
Registriert: Donnerstag 21. April 2005, 16:45

ich bin wieder weitergekomen,dank euch

jetzt hab diese probs:

Code: Alles auswählen

Traceback (most recent call last):
  File "E:\bit-tests\turbobt\btsession.py", line 881, in Download_Thread

    self.doneflag, 100, self.peer_id, spewflag = self.spewflag, onstartfunc = se
lf.OnStart)
  File "E:\bit-tests\turbobt\BitTorrent\download.py", line 456, in downl
oad
    rawserver.listen_forever(encoder)
  File "E:\bit-tests\turbobt\BitTorrent\SamServer.py", line 374, in list
en_forever
    func()
  File "E:\bit-tests\turbobt\BitTorrent\DownloaderFeedback.py", line 152
, in display
    status['spew'] = self.collect_spew()
  File "E:\bit-tests\turbobt\BitTorrent\DownloaderFeedback.py", line 51,
 in collect_spew
    rec["ip"], rec["port"] = c.get_address()
  File "E:\bit-tests\turbobt\BitTorrent\Connecter.py", line 50, in get_a
ddress
    return self.connection.get_address()
  File "E:\bit-tests\turbobt\BitTorrent\Encrypter.py", line 44, in get_a
ddress
    return self.connection.get_address()
AttributeError: SingleSocket instance has no attribute 'get_address'

hoffe werde diese probs auch lösen?!
Benutzeravatar
jens
Python-Forum Veteran
Beiträge: 8502
Registriert: Dienstag 10. August 2004, 09:40
Wohnort: duisburg
Kontaktdaten:

Also ich muß nochmals nachfragen: Was hast du überhaupt vor??? Warum nutzt du nicht einfach BitTorrent wie es ist?

GitHub | Open HUB | Xing | Linked in
Bitcoins to: 1JEgSQepxGjdprNedC9tXQWLpS424AL8cd
matrixnet
User
Beiträge: 35
Registriert: Donnerstag 21. April 2005, 16:45

was ich vorhabe ist ich habe den clienten umgeändert zu einem I2P Bittorrent clienten..

deswegen.
Es funktioniert nur bestimmte sachen gehen eben nicht. die downloads gehen schon aber unstabil ,und optionen funktionieren nicht.
siehe screenshots ich will diese fehler beheben

während den downloads gibts keine infos zu den peers
http://img106.echo.cx/img106/8003/turbobt8gw.jpg



hier auch keine infos von den peers , ip usw.
http://img50.echo.cx/img50/3029/turbobt24js.jpg

ich muss irgendwie lösen


Code: Alles auswählen

 Traceback (most recent call last):
  File "E:\bit-tests\turbobt\btsession.py", line 881, in Download_Thread

    self.doneflag, 100, self.peer_id, spewflag = self.spewflag, onstartfunc = se
lf.OnStart)
  File "E:\bit-tests\turbobt\BitTorrent\download.py", line 456, in downl
oad
    rawserver.listen_forever(encoder)
  File "E:\bit-tests\turbobt\BitTorrent\SamServer.py", line 374, in list
en_forever
    func()
  File "E:\bit-tests\turbobt\BitTorrent\DownloaderFeedback.py", line 152
, in display
    status['spew'] = self.collect_spew()
  File "E:\bit-tests\turbobt\BitTorrent\DownloaderFeedback.py", line 51,
 in collect_spew
    rec["ip"], rec["port"] = c.get_address()
  File "E:\bit-tests\turbobt\BitTorrent\Connecter.py", line 50, in get_a
ddress
    return self.connection.get_address()
  File "E:\bit-tests\turbobt\BitTorrent\Encrypter.py", line 44, in get_a
ddress
    return self.connection.get_address()
AttributeError: SingleSocket instance has no attribute 'get_address' 
Antworten