Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename error #3

Open
barnett2010 opened this issue Jan 24, 2021 · 1 comment
Open

rename error #3

barnett2010 opened this issue Jan 24, 2021 · 1 comment

Comments

@barnett2010
Copy link

barnett2010 commented Jan 24, 2021

When there are many files, 1000
I can't change name
There will be mistakes

python rename-from-hash.py
Enter torrent folder path:torrentcache
Traceback (most recent call last):
File "rename-from-hash.py", line 13, in
torrent = Torrent.from_file(filepath)
File "C:\Python38\lib\site-packages\torrentool\torrent.py", line 434, in from_
file
torrent = cls(Bencode.read_file(filepath))
File "C:\Python38\lib\site-packages\torrentool\bencode.py", line 204, in read_
file
return cls.decode(contents)
File "C:\Python38\lib\site-packages\torrentool\bencode.py", line 172, in decod
e
raise BencodeDecodingError('Unable to interpret %s char.' % char)
torrentool.exceptions.BencodeDecodingError: Unable to interpret : char.

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

No branches or pull requests

1 participant