Package: azureus
Version: 2.5.0.4-1
Severity: important

Azureus' Desktop Entry (/usr/share/applications/azureus.desktop)
specifies "azureus %U" as Exec= line. However, Azureus doesn't accept
URL parameters in the form "azureus file:///home/user/file.torrent", so
when double-clicking on a .torrent file in Nautilus, Azureus will start
with the following error:

"'file:///home/username/download/torrentfile.torrent' konnte nicht 
geƶffnet werden: Not a File"

Replacing the line

"Exec=azureus %U"
with
"Exec=azureus %F"

fixes the problem for local files. This would "break" the .desktop entry
for URLs, so you probably want to edit the parameters in the
/usr/bin/azureus script, so parameters starting with "file://" will have
this prefix stripped, so the azureus program will receive URLs as URLs
and local files as path (i.e. "/home/[...]").

The format of the "Exec" value is described here:
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

How to reproduce:

1.) Double-click on a ".torrent" file in your filesystem
2.) Azureus opens and displays the aforementioned error message

When replacing the "Exec=" line as described above:

1.) Double-click on a ".torrent" file in your filesystem
2.) Azureus opens the file correctly, asking to download the torrent

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages azureus depends on:
pn  java-gcj-compat | java-virtua <none>     (no description available)
ii  libcommons-cli-java           1.0-10     API for working with the command l
ii  liblog4j1.2-java              1.2.15-1   Logging library for java
ii  libseda-java                  3.0-3      the Staged Event-Driven Architectu
ii  libswt-gtk-3.2-java           3.2.2-1    Standard Widget Toolkit for GTK Ja
ii  sun-java5-jre [java2-runtime] 1.5.0-13-1 Sun Java(TM) Runtime Environment (

azureus recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to