[Libreoffice-bugs] [Bug 116211] LO Send by email fails in Writer / Calc / Impress

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 5 11:20:04 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=116211

--- Comment #23 from Bernard Moreton <bernard.moreton at gmail.com> ---
In the current version of LO, 7.1.2.2 (Ubuntu build, on Ubuntu 20.04 LTS),
there has been no change to senddoc since the last installed version (7.0.1.2),
but the behaviour is significantly different.

1
Using the supplied senddoc (7.1.2.2), and trying to send a PDF attachment,

(a)
if Tools/Options/Internet/Email is set as <blank>, 
Claws-mail freezes, so that no ALT-TAB is possible, and has to be shut down,
and I gete a message on Terminal:
 /home/mbm/.claws-mail/mimetmp/.comments: unlink: Is a directory
** (claws-mail:7281): WARNING **: 11:27:50.598: failed to convert encoding of
file name: Invalid byte sequence in conversion input

(b)
If Tools/Options/... is set to /usr/bin/claws-mail
I get an LO error window 'unable to find a working email configuration
and an error on Terminal
"/usr/lib/libreoffice/program/senddoc: 387: /usr/bin/claws-mail: Permission
denied"  (perhaps from AppArmor ???)

(c)
If Tools/Options/... is set to /usr/bin/xdg-email
then focus switches to the Claws-mail client, but no Compose window appears,
and no error message is given,  but the Claws-mail window is frozen, without
focus, and needs to be clicked intofocus before anything more can be done.

2
Using the fix script I suggested some while ago, and trying to send a PDF
attachment,
if Tools/Options/Internet/Email is set to /usr/bin/claws-mail (my standard
client), I get a LO error "unable to find a working email configuration".
If I set the option to either /usr/bin/xdg-email or to <blank>,
I get an error on my Claws-mail client, File <encoded garbge> doesn't exist or
permission denied", and the email clinet is closed altogether when I close the
er3ror message window.
and sometimes (not always) I get an error on my Terminal,
** (claws-mail:7281): WARNING **: 11:27:50.598: failed to convert encoding of
file name: Invalid byte sequence in conversion input

3
I note that in senddoc, against the "sylpheed | claws" entry, there is
ATTACH="${ATTACH:-}${ATTACH:+ }$2"
and against xdg-email there is
MAILTO="${MAILTO:-}${MAILTO:+&}attachment="$(echo "file://$2" |
"${URI_ENCODE}")

The use of URI_ENCODE here is probably not right,  the UTI file usage
(file://$2) certainly doesn't work when passed to Claws-mail, and xdg-email
doesn't seem to recognize it either.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210505/6c957919/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list