Closed simonbcn closed 8 years ago
The default version of python in Arch is Python 3.5.1
If I execute python2 gnome-gmail.py
it doesn't show the unicode error but it fails in oauth process. It opens my default browser (Firefox 44.0.2) with the oauth page but when I press "Allow", the browser closes and gnome-gmail shows an error "400: Bad Request".
If I execute, from console, gnome-gmail
works and it opens the gmail URL in default browser but if I execute gnome-gmail any-text
it fails.
For the 400 error, note #10 and #22, patched in 2.0-1.
./gnome-gmail launches a url in a browser. gnome-gmail any-text works with the GMail API, and thus needs OAuth2.
gnome-gmail is for python 3 or 2?
Python 3 compatibility is recent, and not well tested.
Ok, I have changed /usr/bin/gnome-gmail
to execute it with python2 and now it works well.
hi dave, an arch user of my package has encountered same error. but from console only, supposedly for the use of utf-8 or not. same spanish locale of simonbcn. culprit is the localization string of the preamble message '_("Mime message attached")' to "Mensaje MIME incluído": accented i except in "UnicodeEncodeError: 'ascii' codec can't encode character... bla bla" we are testing a patch that i will commit as soon as i have some positive feedback
pull https://github.com/davesteele/gnome-gmail/pull/43 this should be conclusive
It works for me.
Firefox 44.0.2 Arch Linux 64 bits
I'm trying to write an email from the link "Contact Developer" in this page: http://add0n.com/fastest-gmail.html but it shows this error:
My locales: