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

Some torrent files cannot be read correctly #30

Open
vinhtq115 opened this issue Dec 29, 2023 · 4 comments
Open

Some torrent files cannot be read correctly #30

vinhtq115 opened this issue Dec 29, 2023 · 4 comments
Labels

Comments

@vinhtq115
Copy link

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'.

@idlesign
Copy link
Owner

idlesign commented Jan 6, 2024

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

@idlesign
Copy link
Owner

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

@vinhtq115
Copy link
Author

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.

@idlesign
Copy link
Owner

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

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

No branches or pull requests

2 participants