casey / intermodal

A command-line utility for BitTorrent torrent file creation, verification, and more
https://imdl.io
Creative Commons Zero v1.0 Universal
487 stars 25 forks source link

Deserialization error #528

Closed DerBunteBall closed 10 months ago

DerBunteBall commented 10 months ago

What does this mean?

error: Failed to deserialize torrent metainfo from `./torrents/torrentfile.torrent`: Deserialization failed: data did not match any variant of untagged enum Mode

Transmission can work with the torrent, fetch it as magnet and so on. Fetching with magnet in intermodal also fails.

Error appers in torrent show and verify commands.

casey commented 10 months ago

It looks like it's failing bencode deserialization for some reason. Are you able to share the .torrent file?

DerBunteBall commented 10 months ago

I could provide more info via Discord DM.

casey commented 10 months ago

Just added you on Discord!

casey commented 10 months ago

Looks like this is a damaged torrent file. The md5sum fields, which is supposed to be hex strings, was raw bytes.