transmission doesn't load torrent, ktorrent does

Bug #262411 reported by Vojtěch Látal
Affects Status Importance Assigned to Milestone
Fix Released
transmission (Ubuntu)
Fix Released

Bug Description

Binary package hint: transmission

I wanted to download following torrent using transmission:

$ wget -O /tmp/ucastnici.torrent
$ transmission-remote -a /tmp/ucastnici.torrent responded: "invalid or corrupt torrent file"

When I opened this downloaded file in Ktorrent, there was no problem. Downloading in Ktorrent began.

Is that torrent file seriously corrupted, or is there some mistake while checking torrent file for corruption?

This happens with the same version on my home server which is using unspecified linux distro.

$ apt-cache policy transmission
  Installed: (none)
  Candidate: 1.33-0ubuntu1
  Version table:
     1.33-0ubuntu1 0
        500 intrepid/universe Packages

$ lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and help make Ubuntu better. Unfortunately, I can't reproduce this because the website you linked to is off-line.

Could you please try to add this torrent file to transmission after launching it from the terminal. To do this, go to Applications ->Accessories -> Terminal and then type "transmission" (and press Enter).

Once it is running, please try to load the torrent file again and then post any error messages which are output to the terminal. Could you also attach your ~/.xsession-errors file please.


Changed in transmission:
status: New → Incomplete
Revision history for this message
Vojtěch Látal (vojtik) wrote :

In Transmission's Message Log are two red lines related to this torrent file:
Invalid metadata entry "announce-list"
Invalid metadata entry "announce"

So that torrent file is in some way corrupted... but could it be possible to handle it like Ktorrent does?

No messages (neither error messages) in terminal. There is no debug option for transmission binary.

In ~/.xsession-errors are no error messages related to transmission.

Thanks for your time;-)

Revision history for this message
Charles Kerr (charlesk) wrote :

It appears that the torrent in question has a space at the end of its announce URL, which is causing it to fail Transmission's URL parser test.

This is an error with the torrent, not Transmission, but it still would probably be best for Transmission to strip leading and trailing whitespace from the announce URLs to handle this more gracefully. This is fixed now in

Changed in transmission:
status: Incomplete → Fix Committed
Changed in transmission:
status: Unknown → Fix Released
Revision history for this message
Vojtěch Látal (vojtik) wrote :

Thanks for your work, Charles!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package transmission - 1.40-0ubuntu1

transmission (1.40-0ubuntu1) jaunty; urgency=low

  * New upstream release (LP: #302672)
    - Tracker communication uses fewer resources
    - More accurate bandwidth limits
    - Reduce disk fragmentation by preallocating files (LP: #287726)
    - Stability, security and performance improvements to the RPC /
      Web UI server (closes LP: #290423)
    - Support compression when serving Web UI and RPC responses
    - Simplify the RPC whitelist
    - Fix bug that prevented handshakes with encrypted BitComet peers
    - Fix 1.3x bug that could re-download some data unnecessarily
      (LP: #295040)
    - Option to automatically update the blocklist weekly
    - Added off-hour bandwidth scheduling
    - Simplify file/priority selection in the details dialog
    - Fix a couple of crashes
    - New / updated translations
    - Don't inhibit hibernation by default (LP: #292929)
    - Use "close" animation when sending to notification area (LP: #130811)
    - Fix resize problems (LP: #269872)
    - Support "--version" option when launching from command line
      (LP: #292011)
    - Correctly parse announce URLs that have leading or trailing
      spaces (LP: #262411)
    - Display an error when "Open Torrent" fails (LP: #281463)
  * Dropped 10_fix_crasher_from_upstream.dpatch: Fix is in this
    upstream release.
  * debian/control: Don't just build-depend on libcurl-dev, which is
    a virtual package.

 -- Chris Coulson <email address hidden> Fri, 28 Nov 2008 15:33:48 +0000

Changed in transmission:
status: Fix Committed → Fix Released
Revision history for this message
Vojtěch Látal (vojtik) wrote : Re: [Bug 262411] Re: transmission doesn't load torrent, ktorrent does

Thanks for your help guys.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.