The encode to ascii fix was a poor one, but i ment it as an example as to where to start. It will fail if access_token or secret_token will contain a character with no equivalent in ascii:
u'ă'.encode('ascii') #this will fail
You could try to encode to UTF-8 instead of ascii, but i can't guarantee it will work. It gives no errors on my system, but neither did the ascii encoding, so i cant promise it will work. The author of the gwibber plugin may be able to find a more portable and less error prone fix.
The encode to ascii fix was a poor one, but i ment it as an example as to where to start. It will fail if access_token or secret_token will contain a character with no equivalent in ascii:
u'ă'.encode( 'ascii' ) #this will fail
You could try to encode to UTF-8 instead of ascii, but i can't guarantee it will work. It gives no errors on my system, but neither did the ascii encoding, so i cant promise it will work. The author of the gwibber plugin may be able to find a more portable and less error prone fix.