[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gdesklets, python ve UTF-8; kıssadan hisse...



Hay allah, az önce bir kirlilik yarattım istemeden, tekrar özür dilerim. Debian listesi güzel icraat vesselam, insan buraya yazarken, mail sunucusuna balans vermesi gerektiğini öğrenebiliyor :)

Söz konusu başlığı kaybettim, bu yüzden affınıza sığınarak yeniliyorum, sorumu :

Aşşağıda gdesklets'in lm-sensors 0.8 ile verdiği hata log'u var, python ile yazılmış bir eklenti ve açıkçası sorunun ne olduğunu anlayamadım, python'dan anlayan birileri bana yardım eder diye umuyorum :
(sensors komutu ve gkrellm kusursuz görüntüloyor verileri):


Log messages of /home/chaos/.gdesklets/logs/gdesklets%3A0.0.log

==========================================================[11/14/05-00:47:37]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.


ADD WATCH('id11319220572016157fan',)

==========================================================[11/14/05-00:47:37]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.


ADD WATCH('id11319220572016157THbg',)

==========================================================[11/14/05-00:47:37]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.


ADD WATCH('id11319220572016157THb',)

==========================================================[11/14/05-00:47:37]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.


ADD WATCH('id11319220572016157THico',)

==========================================================[11/14/05-00:47:37]===
Deprecation: Sensors are deprecated since v0.30.
Please consider using controls and inline scripts.


ADD WATCH('id11319220572016157THg',)

==========================================================[11/14/05-00:47:37]===
Adding "/usr/share/gdesklets/Displays/lmsensors/lmsensors-Psi-fan.display" with ID "id11319220572016157" to the desklet list.


Lmsensors Fan Rotation sensor starting.
Unhandled exception in thread started by <bound method LMSensorsSensor.__get_value_thread of <lmsensors.LMSensorsSensor object at 0xb6dc470c>>

==========================================================[11/14/05-00:47:37]===
=== Unhandled error! Something bad and unexpected happened.

[EXC]'utf8' codec can't decode byte 0xb0 in position 16: unexpected code byte
in /usr/share/gdesklets/Sensors/lmsensors/__init__.py: line 206 __get_value_thread
in /usr/share/gdesklets/Sensors/lmsensors/__init__.py: line 120 __get_sensor_data
[EXC]/usr/share/gdesklets/Sensors/lmsensors/__init__.py

[---]  115         if status != 0: return
[---]  116
[---]  117         lines = output.splitlines()
[---]  118 [---]  119         for line in lines:
[ERR]> 120             line = unicode(line)
[---]  121             # line with just one single word on it -> chip name
[---]  122             if re.match ("^[^:\s]+$", line):
[---]  123                 chipname = line
[---]  124             else:
[---]  125                 # name colon number open-parenthesis
[---]  126                 # TODO: also extract max and min, and color accordingly


/usr/lib/gdesklets/display/TargetGroup.py:42: GtkWarning: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
 self.__layout.remove(self.__image)

Teşekkürler.
-- 
Murat Sağlam
Hypnos Bilgisayar Teknolojileri
http://hypnos.panhaema.com

Reply to: