indicator-stinotes.py crashed with UnicodeDecodeError in decode(): 'utf-8' coded can't decode byte 0xae in position 5:invalid start byte

Bug #1462196 reported by Pooja Saxena
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-stickynotes
Fix Released
Medium
Umang Varma

Bug Description

Hello experts,
 I followed the following steps [1] and installed the stickynotes on Ubuntu 14.04. However, unfortunately, it always crashes with the error saying 'Sorry, Ubuntu 14.04 has experienced an internal error'.

The details of this error says the following problem:
--------------
'indicator-stinotes.py crashed with UnicodeDecodeError in decode(): 'utf-8' coded can't decode byte 0xae in position 5:invalid start byte'.

I found this useful post [2] indicating this bug for 14.04, I am not sure if I understand how this patch works. Regarding my python, its
-------------
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2

I would appreciate any suggestions/comments on fixing this bug.

Thanks,
pooja

[1]
---------------
sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes

[2] https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1012602

affects: software-properties (Ubuntu) → indicator-stickynotes
Changed in indicator-stickynotes:
status: New → Invalid
status: Invalid → New
Revision history for this message
Umang Varma (umang) wrote :

It seems your file is corrupted. If you can share your data file, I might try to see if any part of the application itself is causing the corruption.

If you do not have any personal/confidential information stored in your notes, please send me the file ~/.config/indicator-stickynotes in an email.

You can find the file by opening your home folder, press Ctrl+L, type "~/.config", press enter. You should be able see a file named indicator-stickynotes.

The patch you suggested is a patch for a different application. We do not have issues switching to and from utf8 since indicator-stickynotes uses python3.

Changed in indicator-stickynotes:
status: New → Incomplete
Revision history for this message
Pooja Saxena (nrjrasaxena) wrote :

Hello Umang,
Thanks for your reply, I have sent you the file (~/.config/indicator-stickynotes ) in an email.

Revision history for this message
Umang Varma (umang) wrote :

Indicator Stickynotes now offers the user to backup the data in case of a corrupted file and then starts a fresh set of notes. This will be available in the next version.

Changed in indicator-stickynotes:
importance: Undecided → Low
status: Incomplete → Fix Committed
Umang Varma (umang)
Changed in indicator-stickynotes:
milestone: none → 0.5.0
assignee: nobody → Umang Varma (umang)
importance: Low → Medium
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.