This bug was fixed in the package simple-scan - 3.26.3-0ubuntu1

---------------
simple-scan (3.26.3-0ubuntu1) bionic; urgency=medium

  * New upstream stable release:
    - Fix email sending failing with PDF attachments (LP: #1743096)

 -- Robert Ancell <robert.anc...@canonical.com>  Mon, 22 Jan 2018
15:42:39 +1300

** Changed in: simple-scan (Ubuntu Bionic)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to simple-scan in Ubuntu.
https://bugs.launchpad.net/bugs/1743096

Title:
  Simple Scan not sending mail

Status in simple-scan package in Ubuntu:
  Fix Released
Status in simple-scan source package in Artful:
  Triaged
Status in simple-scan source package in Bionic:
  Fix Released

Bug description:
  [Impact]
  Simple scan is unable to send email with PDF attachments.

  [Test Case]
  1. Open Simple Scan
  2. Scan a document in text mode (the default)
  3. Email the document

  Expected result:
  Email client opens with attached .pdf file

  Observed result:
  Nothing occurs. Running 'simple-scan -d' from the command line shows an error 
about trying to run the invalid command 'xdg-email--attach'.

  [Regression Potential]
  Low. Adds back in a missing space character that got dropped in some 
refactoring.

  Original description:

  This is my first bug report so I hope I'm making sense:

  Simple scan doesn't send mail when trying to send a scanned document.
  Using simple-scan -d I get this error:

  [+9.63s] WARNING: app-window.vala:1208: Unable to email document:
  Failed to execute child process “xdg-email--attach” (No such file or
  directory)

  Looking through the code within app-window.vala on lines 1194 - 1196 I
  see:

              var command_line = "xdg-email";
              if (type == "pdf")
                  command_line += "--attach %s".printf (file.get_path ());

  I'm thinking there should be a space " " prior to --attach on line
  1196.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1743096/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to