Skip to content
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

Error using gnome-gmail on Ubuntu 20.04 #85

Open
aldolovlc opened this issue Nov 8, 2020 · 1 comment
Open

Error using gnome-gmail on Ubuntu 20.04 #85

aldolovlc opened this issue Nov 8, 2020 · 1 comment

Comments

@aldolovlc
Copy link

After geting the permission token, every time I try to send a mail using

gnome-gmail [email protected]

The browser opens the gmail drafts page, but without any form to write the message.

And if I try to send a file using

gnome-gmail -r file.txt

Python drops this error message:

Traceback (most recent call last):
  File "./gnomegmail.py", line 1009, in <module>
    main()
  File "./gnomegmail.py", line 983, in main
    from_address = fromFromMessage(message)
  File "./gnomegmail.py", line 718, in fromFromMessage
    line = [x for x in message.split('\n') if 'FROM:' in x.upper()][0]
IndexError: list index out of range
@davesteele
Copy link
Owner

As far as the second failure goes, the Gmail API requires a valid To address. I'm not currently running an environment where I can evaluate the first.

gnome-gmail mailto:[email protected]?attach=file.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants