torrent cannot be opened because it contains invalid data

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
tmcdanel
Posts: 14
Joined: Mon Apr 06, 2009 4:19 pm

torrent cannot be opened because it contains invalid data

Post by tmcdanel »

I get this message on every torrent i download and try to open:

The torrent file cannot be opened because it contains invalid data.

I tried several different bit torrent clients, including latest Transmission, and both Safari and Firefox. Or is it just me? Can someone explain or confirm this?

There is a bug ticket that may be relevant, tho it seems quite old:
http://trac.transmissionbt.com/ticket/2415
tmcdanel
Posts: 14
Joined: Mon Apr 06, 2009 4:19 pm

Re: torrent cannot be opened because it contains invalid dat

Post by tmcdanel »

Yes. Wise. However the main reason i posted this is that i think Transmission, which i greatly admire, should be robust enough to handle any torrent site that other clients can handle. ie. more in the category of "bug report".
Whosawhatsis
Posts: 7
Joined: Wed Sep 13, 2006 10:21 pm

Re: torrent cannot be opened because it contains invalid dat

Post by Whosawhatsis »

Found the cause of the error in my case. Apparently, some torrent creator(s) put an extra zero-length field in the data about each file. Check your torrent files for the string "pathl0:" to see if you're having the same problem. Removing the "0:" part allows the torrent file to load successfully, but (at least in the case of the private tracker where I got the files I found this in) it makes the tracker not recognize the torrent. So either Transmission needs to be fixed to accept these files with the zero-length field or the people making these files need to remove it (preferably both).
Post Reply