mikedld / bt-migrate

Torrent state migration tool
GNU General Public License v3.0
89 stars 15 forks source link

Aborted (core dumped) #17

Open slmingol opened 4 years ago

slmingol commented 4 years ago

Encountering the following:

$ ./BtMigrate --source rtorrent --source-dir ~/rtorrent/sessions --target transmission --target-dir ~/.config/transmission-daemon --max-threads 1 --verbose
...
...
terminate called after throwing an instance of 'Exception'
  what():  Info hashes don't match: 4fa6f5d1c78e94a1508eff9b36fb505f1d212d40 vs. E96CE1F4C5CC291C0013E3590B2BA4A3D0BBCF10
Aborted (core dumped)
jeff47 commented 3 years ago

Confirmed, same problem.

$./BtMigrate --source rtorrent --source-dir /media/rtorrent/session --target transmission --target-dir /media/transmission/transmission-home/torrents/ --dry-run

terminate called after throwing an instance of 'Exception'
  what():  Info hashes don't match: 5b8ede0aab0b43e175d1d1a66c094127af227fc7 vs. 9DBA2B1C220535F9A9A395BA67B57ADCB1DE6C6C
Aborted (core dumped)

At the very least, it would be nice if BtMigrate output the name of the torrent causing the problem.

mikedld commented 3 years ago

There're a few other cases where skipping torrents would make sense, will do something about this. In the meantime, you could try passing --verbose to get more information.