UnicodeDecodeError when pressing "Show All" or "New Note"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-stickynotes |
Fix Released
|
Medium
|
Umang Varma |
Bug Description
Hi.
When I press the "Show All" button at the top of Ubuntu 14.04 Unity, I get this error:
Traceback (most recent call last):
File "/opt/extras.
self.
File "/opt/extras.
note.
File "/opt/extras.
self.gui = self.gui_
File "/opt/extras.
self.
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 17: ordinal not in range(128)
When I press "New Note" I get this one instead:
Traceback (most recent call last):
File "/opt/extras.
self.nset.new()
File "/opt/extras.
note.show()
File "/opt/extras.
self.gui = self.gui_
File "/opt/extras.
self.
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 17: ordinal not in range(128)
I tried creating a backup of /home/<
Traceback (most recent call last):
File "/opt/extras.
encoding=
FileNotFoundError: [Errno 2] No such file or directory: '/home/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/extras.
main()
File "/opt/extras.
indicator = IndicatorSticky
File "/opt/extras.
self.
File "/opt/extras.
self.new()
File "/opt/extras.
note.show()
File "/opt/extras.
self.gui = self.gui_
File "/opt/extras.
self.
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 17: ordinal not in range(128)
If I create a new empty "indicator-
It has happened since I've run one of the Ubuntu 14.04 packages updates a while ago, but I can't remember when (1 or 2 weeks ago I believe)
Changed in indicator-stickynotes: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.5.0 |
importance: | Undecided → Medium |
Further info. I read that maybe this is a problem with the default locale encoding used in Ubuntu and in Python 3 (when reading a file)
Here is my ~/.pam_environment file just in case then:
LANGUAGE=en en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 en_US.UTF- 8 ON=en_US. UTF-8
LANG=en_US.UTF-8
LC_NUMERIC=
LC_TIME=en_US.UTF-8
LC_MONETARY=
LC_PAPER=
LC_NAME=en_US.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
PAPERSIZE=letter