Jump to content

The problem with opening some torrent files


Zoom

Recommended Posts

In some files apparently created azureus now contains a wrong date(integer) format

Creation Date 1.241597771E+12 integer

Revision Date 1.24162372499E+12 integer

:Creation Datei1.241597771E+12e3:

:Revision Datei1.24162372499E+12e12:

If manually edited (BEncode Editor ) to correct an integer then the file opens normally.

Can you do so uTorrent opening such files?

example: http://isohunt.com/download/87880033/encore+une+fois+1997.torrent

Link to comment
Share on other sites

Report the bug with Vuze devs, as this one seems to be a violation of BEncoding specs. Integers are supposed to be integers base-10, not some number in scientific notation (which can contain non-integer characters/values). If they really want to store their numbers in that way, they'll need to store it as a binary key instead of an integer. I suspect it may simply be a mistake in the encoder, though (not converting bigints into the fully expanded string-integer representation, or something).

Weird that BEncode Editor even opens the file correctly (though admittedly, it does have a deliberately loose encoding/decoding implementation).

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

I'm a Vuze dev. The standard creation date in that torrent is

13:creation datei1241623674e

The trailing 'e' being part of the next dictionary definition.

Now there *IS* another field in there that happens to have the same name

13:Creation Datei1.241597771E+12e

BUT

this is within a separate dictionary within 'azureus_properties' which is outside of the infohash and use to store some of our own details of the content for Azureus use. Addition of such key values to the torrent is entirely within the bencoding spec.

I have no idea why it happens to be in a float format though, not my work!

Hmm, actually I agree that it is screwy as its claiming to be an integer (sorry, I thought it was in as a string).

Checking other torrents we have generated I see they are correct (for example

Creation Datei1232533738000e3

). I can only assume that this torrent has been put some other decoder/encoder which has trashed the value. I'll check some more torrents

(you'll be pleased to know that Azureus can't open this torrent either...)

update: here's is the original source for the torrent:

http://www.vuze.com/details/7N44BWBFWR6BA4YSPXJHP475XULEXNBK.html

if you click on the 'torrent' link you will get a torrent that works just fine.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...