Package: shutter Version: 0.92-0.1 Severity: normal Tags: patch
This error occurs because shutter passed "--attach file:///path/to/image" to xdg-email, but --attach expects a file path, not a URI. Even by the most generous standards, I'm not a perl programmer; however, the following patch works. Maybe someone who knows perl can improve it. --- /usr/bin/shutter 2014-08-10 13:03:15.000000000 +0100 +++ /home/kae/shutter 2016-03-23 21:35:56.939639061 +0000 @@ -6964,7 +6964,7 @@ ); } else { - push( @files_to_email, $session_screens{$key}->{'uri'}->to_string ); + push( @files_to_email, "$session_screens{$key}->{'folder'}"."/"."$session_screens{$key}->{'short'}" ); } my $mail_string = undef; -- System Information: Debian Release: 8.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-0.bpo.1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages shutter depends on: ii imagemagick 8:6.8.9.9-5+deb8u1 ii libfile-basedir-perl 0.03-1 ii libfile-copy-recursive-perl 0.38-1 ii libfile-which-perl 1.09-1 ii libglib-perl 3:1.305-2 ii libgnome2-canvas-perl 1.002-3+b1 ii libgnome2-gconf-perl 1.044-5+b1 ii libgnome2-perl 1.045-1+b1 ii libgnome2-vfs-perl 1.082-1+b1 ii libgnome2-wnck-perl 0.16-3+b1 ii libgtk2-imageview-perl 0.05-2+b1 ii libgtk2-perl 2:1.2492-4 ii libgtk2-unique-perl 0.05-2+b1 ii libimage-magick-perl [perlmagick] 8:6.8.9.9-5+deb8u1 ii libjson-perl 2.61-1 ii libjson-xs-perl 2.340-1+b2 ii liblocale-gettext-perl 1.05-8+b1 ii libnet-dbus-perl 1.1.0-3~bpo8+1 ii libnet-dropbox-api-perl 1.9-1 ii libpath-class-perl 0.35-1 ii libproc-processtable-perl 0.51-1 ii libproc-simple-perl 1.31-1 ii librsvg2-common 2.40.5-1 ii libsort-naturally-perl 1.03-1 ii libwww-mechanize-perl 1.73-2 ii libwww-perl 6.08-1 ii libx11-protocol-perl 0.56-6 ii libxml-simple-perl 2.20-1 ii perlmagick 8:6.8.9.9-5+deb8u1 ii procps 2:3.3.9-9 ii xdg-utils 1.1.1-1 Versions of packages shutter recommends: ii libgoo-canvas-perl 0.06-2+b1 Versions of packages shutter suggests: pn gnome-web-photo <none> ii libimage-exiftool-perl 9.74-1 pn libnet-dbus-glib-perl <none> pn nautilus-sendto <none> -- no debconf information