Package: transmission-daemon
Version: 2.92-2
Severity: normal
File: transmission

Dear Maintainer,

While attempting to download a purchase from Humble Bundle, which provides 
.torrent download options, I stumbled across an issue triggered by the torrent 
file for MiniMetro.  transmission-daemon's directory watch feature failed to 
load the file with a metadata error.  Attempting to use transmission-show 
resulted in the same error:

[2017-05-07 19:40:24.417] dinosaurpoloclub/MiniMetro-gamma19a-linux.tar.gz: 
Invalid metadata entry "path"
Error parsing .torrent file "MiniMetro-gamma19a-linux.tar.gz.torrent"

I was able to open the file using the Python library "bencode", and saw that 
there was no "path" metadata entry, and that the torrent was for a single file 
with the info/name entry "dinosaurpoloclub/MiniMetro-gamma19a-linux.tar.gz".

Removing "dinosaurpoloclub/" from that entry was enough to allow the torrent to 
work.  I did a bit of searching, and it looks like having a full path in the 
info/name entry is valid (although I've never seen it before, bep 3 doesn't 
seem to prohibit it)

It may also be worth noting that the "dinosaurpoloclub" folder did not exist on 
my computer


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages transmission-daemon depends on:
ii  adduser              3.115
ii  init-system-helpers  1.48
ii  libc6                2.24-10
ii  libcurl3-gnutls      7.52.1-5
ii  libevent-2.0-5       2.0.21-stable-3
ii  libminiupnpc10       1.9.20140610-2.1
ii  libnatpmp1           20110808-4+b1
ii  libssl1.1            1.1.0e-1
ii  libsystemd0          232-22
ii  lsb-base             9.20161125
ii  transmission-common  2.92-2
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages transmission-daemon recommends:
ii  transmission-cli  2.92-2

transmission-daemon suggests no packages.

-- Configuration Files:
/etc/transmission-daemon/settings.json [Errno 13] Permission denied: 
'/etc/transmission-daemon/settings.json'

-- no debconf information

Reply via email to