Comments (2)
... 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.
... 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)
- allow anonymous connections via i2p HOT 2
- Create torrents from a list of files HOT 9
- can not share data with the same btdownloadheadless.py client each other. HOT 12
- Unknown type for bencode HOT 10
- AttributeError: 'NatCheck' object has no attribute 'bufferlen' HOT 5
- OSError: [Errno 107] Transport endpoint is not connected HOT 8
- ImportError: cannot import name HTTPSConnection HOT 4
- Error creating announcers HOT 7
- KeyError: b'-UT2210-\xd6b\xd8\xbf\xe0\xcf\xc1\xe9E\x94\x1d\xc6' HOT 4
- KeyError: 0 HOT 3
- how can the btmakemetafile.py support filename include Chinese ? HOT 5
- if the leecher sudden disconnection.how to give hint or exit the download script? HOT 2
- timeout exceeded HOT 3
- Invalid key: path.utf-8 HOT 3
- codec can't decode byte 0xa0 in position 13 HOT 6
- Python3.6 can't work HOT 1
- Please implement --allow-insecure-filename HOT 6
- btmakemetafile fills screen HOT 2
- Downloader doesn't work out of the box?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bittornado.