Error verifying a torrent with a comment created with `idml`
josecelano opened this issue · 2 comments
josecelano commented
The example file is:
How to reproduce
Create a torrent with a comment:
$ imdl torrent create -c "A comment" example.txt
[1/3] 🧿 Searching `example.txt` for files…
[2/3] 🧮 Hashing pieces…
[3/3] 💾 Writing metainfo to `example.txt.torrent`…
✨✨ Done! ✨✨
Verify the torrent:
$ imdl torrent verify example.txt
[1/2] 💾 Loading metainfo from `example.txt`…
error: Failed to deserialize torrent metainfo from `example.txt`: Error: bencode encoding corrupted (Malformed number of unexpected character: Invalid token starting with 'H' at offset 0)
It works without a comment
casey commented
imdl torrent verify
command takes the torrent to be verified, not the contents. Try again with:
$ imdl torrent verify example.txt.torrent
josecelano commented
imdl torrent verify
command takes the torrent to be verified, not the contents. Try again with:$ imdl torrent verify example.txt.torrent
Upps. Sorry. Thanks.