Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Downloader doesn't work out of the box? #58

Open
davidawad opened this issue Jul 18, 2018 · 0 comments
Open

Downloader doesn't work out of the box? #58

davidawad opened this issue Jul 18, 2018 · 0 comments

Comments

@davidawad
Copy link

I have a repo that creates some virtual machines for testing this project.

# within the 'seeder' machine
vagrant@vagrant:~/murder$ python3 downloadtorrent.py ../200MB.zip.torrent
saving:         200MB.zip (200.0 MB)
percent done:   0.0
time left:
download to:    /home/vagrant/murder/200MB.zip
download rate:
upload rate:
share rating:
seed status:
peer status:
Traceback (most recent call last):
  File "downloadtorrent.py", line 221, in <module>
    run(sys.argv[1:])
  File "downloadtorrent.py", line 189, in run
    dow.startRerequester()
  File "/home/vagrant/murder/BitTornado/Client/download_bt1.py", line 578, in startRerequester
    announcers = urls_to_announcers(tracker_urls, **kwargs)
  File "/home/vagrant/murder/BitTornado/Client/Announce.py", line 436, in urls_to_announcers
    for tier in trackerlist]
  File "/home/vagrant/murder/BitTornado/Client/Announce.py", line 436, in <listcomp>
    for tier in trackerlist]
  File "/home/vagrant/murder/BitTornado/Client/Announce.py", line 435, in <listcomp>
    return [[Announcer(url, *args, **kwargs) for url in tier]
  File "/home/vagrant/murder/BitTornado/Client/Announce.py", line 98, in __new__
    return cls.subclasses[scheme](tracker_url, port, *args, **kwargs)
KeyError: ''
vagrant@vagrant:~/murder$

to reproduce environment

clone the repo, cd to test/test_cluster, and run make.

$ git clone https://gitlab.com/davidawad/tbd-murder/
$ cd tbd-murder/test/test_cluster
$ make 

This will create some VM's, (the makefile is really simple) and inside of the seeder vm, I can't run the downloader.

Any ideas? Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant