idlesign / torrentool

The tool to work with torrent files.

Home Page:https://github.com/idlesign/torrentool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some torrent files cannot be read correctly

vinhtq115 opened this issue · comments

In my repo, an user is having issue with some of his/her torrent files (link to original issue). I have filtered out files that are causing errors and uploaded them here. These torrent files can be read just fine in qBittorrent (macOS).

The majority of the files throw exceptions when using Torrent.from_file with the exception of file 3.torrent.

` char.ool.exceptions.BencodeDecodingError: Unable to interpret `: file 1, 2, 5
torrentool.exceptions.BencodeDecodingError: Unable to interpret `:` char.: file 4, 6
torrentool.exceptions.BencodeDecodingError: Unable to interpret `` char.: file 7

For file 3.torrent, Torrent.from_file works fine but when I try to read the name property, it throws this error: AttributeError: 'list' object has no attribute 'get'.

Thank you for the report.
I'll try to look further into to the issue the next week.

Though this may be connected with encoding issues, see
https://github.com/idlesign/torrentool/issues?q=is%3Aissue+encoding

I have filtered out files that are causing errors and uploaded them here.

It seems I'm too late: The transfer you requested has been deleted.

I've tried 2.rar from vinhtq115/rename-torrent-from-hash#3 (comment)

Yet was unable to extract files:
unrar

I have filtered out files that are causing errors and uploaded them here.

It seems I'm too late: The transfer you requested has been deleted.

I've tried 2.rar from vinhtq115/rename-torrent-from-hash#3 (comment)

Yet was unable to extract files: unrar

Here is the new link. Unfortunately, I don't remember how I numbered these files few weeks ago so their names are hashes.

This comment seems to be relevant
#2 (comment)
for example encoding GBK is used in 01eee2dfdb657303c6149ea27feee703b4936957.torrent.