GithubHelp home page GithubHelp logo

Comments (2)

tikkel avatar tikkel commented on June 15, 2024

... ok, it is a rights problem. After sudoing bttrack.py starts:

sudo /usr/bin/bttrack.py --port 6969 --dfile /var/lib/bittornado/bttrack.state

from bittornado.

tikkel avatar tikkel commented on June 15, 2024

... but there is the next problem. I want the "--allowed_dir" option. When i starts, comes this Errors:

sudo /usr/bin/bttrack.py --port 6969 --dfile /var/lib/bittornado/bttrack.state --allowed_dir /var/www/blitz/torrents/ warning Error updating allowed torrents. Reparsing.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/BitTornado/Tracker/track.py", line 1104, in parse_allowed
[".torrent"])
File "/usr/lib/python3.4/site-packages/BitTornado/Application/parsedir.py", line 81, in parsedir
torrentinfo, infohash = parse_torrent(path, return_metainfo)
File "/usr/lib/python3.4/site-packages/BitTornado/Application/parsedir.py", line 163, in parse_torrent
data = MetaInfo.read(path)
File "/usr/lib/python3.4/site-packages/BitTornado/Meta/bencode.py", line 198, in read
**kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Meta/Info.py", line 410, in init
super(MetaInfo, self).init(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 167, in init
self.update(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 205, in update
self[key] = arg[key]
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 183, in setitem
val = self.typemapkey
File "/usr/lib/python3.4/site-packages/BitTornado/Meta/Info.py", line 228, in init
self['files'] = params['files']
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 183, in setitem
val = self.typemapkey
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 62, in new_method
for sub in arg)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 62, in
for sub in arg)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 22, in normalize
return targettype(arg)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 167, in init
self.update(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 205, in update
self[key] = arg[key]
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 188, in setitem
raise KeyError('Invalid key: ' + key)
KeyError: 'Invalid key: attr'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/bttrack.py", line 24, in
track(sys.argv[1:])
File "/usr/lib/python3.4/site-packages/BitTornado/Tracker/track.py", line 1199, in track
t = Tracker(config, r)
File "/usr/lib/python3.4/site-packages/BitTornado/Tracker/track.py", line 412, in init
self.parse_allowed()
File "/usr/lib/python3.4/site-packages/BitTornado/Tracker/track.py", line 1109, in parse_allowed
[".torrent"])
File "/usr/lib/python3.4/site-packages/BitTornado/Application/parsedir.py", line 81, in parsedir
torrentinfo, infohash = parse_torrent(path, return_metainfo)
File "/usr/lib/python3.4/site-packages/BitTornado/Application/parsedir.py", line 163, in parse_torrent
data = MetaInfo.read(path)
File "/usr/lib/python3.4/site-packages/BitTornado/Meta/bencode.py", line 198, in read
**kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Meta/Info.py", line 410, in init
super(MetaInfo, self).init(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 167, in init
self.update(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 205, in update
self[key] = arg[key]
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 183, in setitem
val = self.typemapkey
File "/usr/lib/python3.4/site-packages/BitTornado/Meta/Info.py", line 228, in init
self['files'] = params['files']
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 183, in setitem
val = self.typemapkey
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 62, in new_method
for sub in arg)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 62, in
for sub in arg)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 22, in normalize
return targettype(arg)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 167, in init
self.update(*args, **kwargs)
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 205, in update
self[key] = arg[key]
File "/usr/lib/python3.4/site-packages/BitTornado/Types/collections.py", line 188, in setitem
raise KeyError('Invalid key: ' + key)
KeyError: 'Invalid key: attr'

from bittornado.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.