SN (v0.4.6) crashes in Trusty 14.04.2 w/ Unity
[Trusty 14.04.2 v 3.16.9-41-generic on an x86_64 machine]
indicator-
No other user (with login rights) on the same platform is affected.
The disappearance of SN coincided with the clock (indicator-
In the menatime the clock has been reestablished by reconfiguring it with:
$ dconf reset -f /com/canonical/
I use SN _all the time_. I am interested in helping to solve that issue.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Cedric Bhihe
- Solved:
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
Steps I undertook in the hope of restoring the Unity bar applets' functionality (datetime-indicator and Sticky Notes):
$ sudo dpkg-reconfigure --frontend noninteractive tzdata
$ sudo killall unity-panel-service
-> no result, no change
$ sudo restart lightdm
-> causes the system to reboot
-> the applet icon for stickynotes on the unity bar has disappeared.
Revision history for this message
![]() |
#2 |
Further steps:
I checked the Ubuntu Service Center for the package indicator-
It was shown as installed, but _curiously_ the install missed an installation date.
So I proceeded with purging the package and re-installing it.
$ sudo apt-get purge -y indicator-
The following packages will be REMOVED:
indicator-
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 492 kB disk space will be freed.
Removing indicator-
Purging configuration files for indicator-
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+
Rebuilding /usr/share/
$ sudo apt-get install indicator-
[...]
The following NEW packages will be installed:
indicator-
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.0 kB of archives.
After this operation, 492 kB of additional disk space will be used.
Get:1 http://
Fetched 50.0 kB in 0s (70.2 kB/s)
Selecting previously unselected package indicator-
(Reading database ... 561263 files and directories currently installed.)
Preparing to unpack .../indicator-
Unpacking indicator-
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+
Rebuilding /usr/share/
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up indicator-
No change. Stickynotes app-indicator still does not appear on the Unity bar.
& sudo killall unity-panel-service
No change.
Revision history for this message
![]() |
#3 |
Other Unity bar app-indicators work fine:
- Dropbox, Skype, Psensor, Moz Thunderbird
Others are correctly integrated in the Unity Sound indicator: Clementine and VLC.
I have no other indicators except for the two missing ones:
- indicator-datetime
- indicator-
Revision history for this message
![]() |
#4 |
Can you run indicator-
Revision history for this message
![]() |
#5 |
Hello ! Thank you for your response.
Here is the result of running indicator-
$ indicator-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
indicator = IndicatorSticky
File "/usr/bin/
self.
File "/usr/share/
note.
File "/usr/share/
self.gui = self.gui_
File "/usr/share/
self.
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 17: ordinal not in range(128)
After multiple re-boots since yesterday the indicator still does not
show on the Unity bar.
*Cédric*
cedric dot bhihe at gmail dot com
-------
On 06/23/15 23:11, Umang Varma wrote:
> Your question #268452 on indicator-
> https:/
>
> Status: Open => Needs information
>
> Umang Varma requested more information:
> Can you run indicator-
> indicator-
>
Revision history for this message
![]() |
#7 |
Hi !
- I reworded my first post to make it more readable.
- Upon session login, I see an error message put out by the Ubuntu OS to report on SN's crash:
Traceback is identical to that spewed out when running from terminal:
$ /usr/bin/
=======
Sorry, Ubuntu 14.04 has experienced an internal error.
If you notice further problems, try restarting the computer.
ExecutablePath:
/usr/
Package:
indicator-
ProblemType:
Crash
Title:
indicator-
ordinal not in range(128)
Traceback:
Traceback (most recent call last):
File "/usr/bin/
File "/usr/bin/
indicator = IndicatorSticky
File "/usr/bin/
File "/usr/share/
note.show(*args)
File "/usr/share/
self.gui = self.gui.
File "/usr/share/
self.
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 17: ordinal not in range(128)
ApportVersion:
2.14.
Architecture:
amd64
CrashCounter:
1
CurrentDesktop:
Unity
Date:
Sat Jun 27 08:31:58 2015
Dependencies:
I cannot copy by hand all 80 of them !
DistroRelease:
Ubuntu 14.04
InstallationDate:
2014-05-09
InstallationMedia:
Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
InterpreterPath:
/usr/
PackageArchitec
all
ProcCmdline:
/usr/bin/python3 /usr/bin/
ProcCwd:
/home/ckb
ProcEnviron:
LANGUAGE=
LC_
LC_
PATH=(custom, user)
LC_
XDG_
LC_
LANG=
SHELL=/bin/bash
LC_
LC_
LC_
LC_
ProcMaps:
lookup Dropbox public file:
https:/
ProcStatus
lookup Dropbox public file:
https:/
ProcVersionSign
Ubuntu 3.16.0-
PythonArgs:
['/usr/
SourcePackage:
indicator-
Revision history for this message
![]() |
#8 |
When trying to contribute a review on indicator-
in the Ubuntu Software Center, I get the error message:
=======
Failed to submit review:
Error Details:
Server's response was:
package indicator-
=======
Revision history for this message
![]() |
#9 |
Hi,
Given that there is a UnicodeDecodeError, you should expect that you get the message about the crash. However, since indicator-
I will try to investigate what is causing the error and post any changes here. Thank you for taking the time to share this information.
Revision history for this message
![]() |
#10 |
Could you download this, extract, and run indicator-
https:/
I hope that this fixes your problem.
Revision history for this message
![]() |
#11 |
@umang: Thanks a lot.
In the meantime I fixed the problem late the day before yesterday.
Here is what had happened.
In an effort to have an environment consitent between different Linux OS among them two servers, I set my locale to
export LC_ALL=C
in my .bashrc
I knew I did not have to do this on the particular machine on which the problem occured with `stickynotes` because:
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=en_IE.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=en_IE.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
already gave me a satisfactorily compatible environment with other remote machines set to the spanish locale, BUT for the sake of clenliness I went ahead and overrode all LC_* parameters by setting LC_ALL=C.
I went back to my log book where I write down the chronology of every change I make on every system I control. I do this to ease recovery from errors as I am a near-noob still. Doing so I noticed that just at the approximate time I started seeing `indicator-
So in the end it appears that all the apparent corruption was due to the fact that LC_ALL=C seems to conflict with some indicator apps at `unity`'s level.
I hope this will help in preventing future problem for other users and I do thank you again for your attention and time and dedication. I am truly very happy that I can have sticky notes again as I run a thoroughly paperless operation.
Cheers,
-cedric
Revision history for this message
![]() |
#12 |
@umang: Thanks a lot.
In the meantime I fixed the problem late the day before yesterday.
Here is what had happened.
In an effort to have an environment consitent between different Linux OS among them two servers, I set my locale to
export LC_ALL=C
in my .bashrc
I knew I did not have to do this on the particular machine on which the problem occured with `stickynotes` because:
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=en_IE.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=en_IE.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
already gave me a satisfactorily compatible environment with other remote machines set to the spanish locale, BUT for the sake of clenliness I went ahead and overrode all LC_* parameters by setting LC_ALL=C.
I went back to my log book where I write down the chronology of every change I make on every system I control. I do this to ease recovery from errors as I am a near-noob still. Doing so I noticed that just at the approximate time I started seeing `indicator-
So in the end it appears that all the apparent corruption was due to the fact that LC_ALL=C seems to conflict with some indicator apps at `unity`'s level.
I hope this will help in preventing future problem for other users and I do thank you again for your attention and time and dedication. I am truly very happy that I can have sticky notes again as I run a thoroughly paperless operation.
Cheers,
-cedric
Revision history for this message
![]() |
#13 |
PS: Perhaps making indicator-
Revision history for this message
![]() |
#14 |
Hi Cedric,
You're right, this has to do with the open() function in python3: https:/
The latest version fixes this by specifying the encoding (of the stylesheet) as "utf-8", thus making it "immune".
It would be great if you could change your settings back to ones that were causing you a problem and check if Indicator Stickynotes still crashes. I expect that it should not crash now.
Revision history for this message
![]() |
#15 |
Absolutely no problem. I will report here tomorrow. Now is too late to play. Thank you for confirming. Really nice on your part.
Revision history for this message
![]() |
#16 |
Hi Umang !
All good. Everything checks.
- sourced my ~/.bashrc with LC_ALL=C
- saw how my terminal ceases to be able to display extended characters such as "á", etc.
- unpacked your zipped archive https:/
- launched indicator-
- checked tha all is perfectly functional even with LC_ALL=C (i.e. non UTF-8) system locale.
Your upgrade and fix work perfectly well and thank you for providing background info with a link to the py3 library documentation. Not everybody does that.
I updated to your new rolled out version through USC.
Remarkably swift changes on your part. Thanks a lot. Really.
-ced
Revision history for this message
![]() |
#17 |
Thank you for checking. I'm glad it helped.