OS : ubuntu 12.04 64bit
install :
sudo add-apt-repository ppa:noobslab/indicators
sudo apt-get update
sudo apt-get install calendar-indicator
Calendar-Indicator version: 0.1.0.7.precise.2
calendar-indicator crashes on start with the following error
Traceback (most recent call last):
File "/usr/bin/calendar-indicator", line 43, in <module>
ci=CalendarIndicator()
File "/usr/share/calendar-indicator/calendarindicator.py", line 154, in __init__
self.update_menu()
File "/usr/share/calendar-indicator/calendarindicator.py", line 233, in update_menu
self.menu_events[i].set_label(event.get_start_date_string()+' - '+short_msg(event['summary']))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xeb in position 4: ordinal not in range(128)
so....
short_msg(event['summary']) is. unicode..
and... simple ... fix..
> sudo vi /usr/share/calendar-indicator/calendarindicator.py
modify 233 line
# self.menu_events[i].set_label(event.get_start_date_string()+' - '+short_msg(event['summary']))
self.menu_events[i].set_label(event.get_start_date_string()+' - '+short_msg(event['summary']).encode('utf-8'))
and.. save...and calendar-indicator restart.. and good luck..
'IT > Tips' 카테고리의 다른 글
ubuntu 자막 싱크 조정 (smi) (0) | 2014.03.06 |
---|---|
구글 크롬 확장 프로그램 마우스 제스쳐 (0) | 2013.04.15 |
Installing RPMForge (0) | 2013.03.20 |
GoldenDict 설치 및 설정 (0) | 2011.10.28 |
Ubuntu nautilus Add Buttons for New Folder (0) | 2011.09.22 |