Page 1 of 2
"Not a bencoded file" error on tracker upload
Posted: Sun Oct 14, 2012 8:09 pm
by Augustulus
Howdy y'all. After I updated to the latest edition of Qbittorrent I have been getting this error on Waffles. Is there an easy fix for this issue?
Re: "Not a bencoded file" error on tracker upload
Posted: Sun Oct 14, 2012 8:21 pm
by Seigo
I experience problems with created torrents aswell. Latest v3.0.6 for Windows does not seem to create correct torrent files.
I've ha no problems with previous versions. I had to create a new torrent file with uTorrent which worked properly.
uTorrent created torrent file was almost double the size of the qBitorrent created file, something is not right..
Any torrents I have created with qBitorrent v3.0.6 have been so far been rejected by trackers because of errors.
Re: "Not a bencoded file" error on tracker upload
Posted: Mon Oct 15, 2012 7:18 pm
by sledgehammer_999
I can confirm. You cannot even add it to qbt. qbt rejects the torrent with various messages about the bencoded data. I suspect a bug in libtorrent. I will make a bug report in qbt.
Re: "Not a bencoded file" error on tracker upload
Posted: Mon Oct 15, 2012 7:23 pm
by sledgehammer_999
Re: "Not a bencoded file" error on tracker upload
Posted: Mon Oct 15, 2012 8:52 pm
by Tomaso
This might already be fixed..
[quote="libtorrent trunk"]
* optimized the torrent creator optimizer to scale significantly better with more files
[/quote]
[quote="libtorrent commits"]
merged make_torrent update from RC_0_16
merged make_torrent fixes from RC_0_16
[/quote]
Re: "Not a bencoded file" error on tracker upload
Posted: Mon Oct 15, 2012 11:34 pm
by samsat
Yes I can confirm this bug. Thank you for the fix.

Re: "Not a bencoded file" error on tracker upload
Posted: Tue Oct 16, 2012 9:19 am
by Tomaso
[quote="samsat"]Thank you for the fix.[/quote]
Don't thank me, I'm only quoting the libtorrent changelog.
I don't even know if those fixes will do anything for this exact problem, it just sounds like they could.
Re: "Not a bencoded file" error on tracker upload
Posted: Tue Oct 16, 2012 11:46 am
by sledgehammer_999
I will try out the RC_0_16 branch and report back if it has been fixed upstream.
Re: "Not a bencoded file" error on tracker upload
Posted: Tue Oct 16, 2012 12:49 pm
by sledgehammer_999
Nope. It isn't fixed in the RC_0_16 branch.
Re: "Not a bencoded file" error on tracker upload
Posted: Tue Oct 16, 2012 5:30 pm
by Seigo
Thanks for the input! Looks like I have to go back to v3.0.4/3.0.5 until the issues are fixed.
Re: "Not a bencoded file" error on tracker upload
Posted: Wed Oct 17, 2012 12:28 pm
by Tomaso
[quote="Seigo"]
Thanks for the input! Looks like I have to go back to v3.0.4/3.0.5 until the issues are fixed.
[/quote]
sledgehammer_999's qBittorrent v3.0.5 was built on the same libtorrent version as v3.0.6, which is v0.16.4.
..so if going back to v3.0.5 fixes it, then this is probably a qBittorrent bug.
qBittorrent v3.0.4 was built on libtorrent v0.16.3 though.
Re: "Not a bencoded file" error on tracker upload
Posted: Wed Oct 17, 2012 2:28 pm
by sledgehammer_999
And I was coming here to comment on the same thing. qBittorrent 3.0.5 works so something changed in 3.0.6 and introduced a regression.
It probably involves the fix for the issue #133
Re: "Not a bencoded file" error on tracker upload
Posted: Wed Oct 17, 2012 2:37 pm
by sledgehammer_999
I updated the bug report. Let's see what Chris thinks.
Re: "Not a bencoded file" error on tracker upload
Posted: Wed Oct 17, 2012 4:24 pm
by sledgehammer_999
I have probably fixed it. Awaiting for Chris to accept the fix.
Re: "Not a bencoded file" error on tracker upload
Posted: Wed Oct 17, 2012 6:40 pm
by Seigo
[quote="sledgehammer_999"]
I have probably fixed it. Awaiting for Chris to accept the fix.
[/quote]
Excellent! Good job!
