-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creates Email in Draft but no attachment #73
Comments
I'm guessing it's the nemo action
which calls this python script #!/usr/bin/python3 -OOt
import argparse
from itertools import chain
from subprocess import call
parser = argparse.ArgumentParser()
parser.add_argument('filelist', help='list of absolute paths separated by /#/')
args = parser.parse_args()
command = ['xdg-email'] + list(chain.from_iterable(('--attach', arg) for arg in args.filelist.split('/#/')))
call(command) It uses xdg-email. Maybe xdg-email is the wrong tool or the command is bad. Is there a better more direct way to invoke gnome-gmail?? |
from command line seems like attaching a file is creating a parsing error? this works but this gives error
|
Is there a space in the name of the file that failed? The "-r" option is not intended to be used that way. The attachment becomes part of the mailto:
Either "attach" or "attachment" may be used. I'm not sure right now if a valid, fully formed recipient is required. As a general rule, I use "xdg-open mailto:...". It would be interesting to know what the "command" is coming out of that script. |
Running Linux Mint 19 (Ubuntu 18.04 under hood) with nemo file manager. Installed latest gnome-gmail deb 2.5.6.
Set up as preferred ap. Send as Email nemo action works but
Can't tell the version of the gmail api but I assume it's the latest.
Let me know how to provide you logs or more info that will help track this down.
Does your app create it's own nemo action file? Maybe that's the problem?
The text was updated successfully, but these errors were encountered: