gDesklets still crashes and it has the same symptoms.
I received this error when I deployed my desklet from Ubuntu 8.04 to 8.10 :
"ubuntu@ubuntu:~$
==========================================================[08/05/08-20:59:51]===
=== Unhandled error! Something bad and unexpected happened. ===
[EXC]
in /usr/lib/gdesklets/shell/ItemBrowser.py: line 114 __on_activate_item
in /usr/lib/gdesklets/utils/Observable.py: line 45 update_observer
in /usr/lib/gdesklets/shell/plugins/DisplayBrowser/__init__.py: line 121 __on_activate
in /usr/lib/gdesklets/shell/plugins/gDeskletsClient/__init__.py: line 36 open_display
in /usr/lib/gdesklets/main/client.py: line 54 open_display
in /usr/lib/gdesklets/main/client.py: line 38 __send
in /usr/lib/gdesklets/utils/xdr.py: line 75 recv
[EXC]/usr/lib/gdesklets/utils/xdr.py
After step by step troubleshooting I found out my bug started because of the switch from Python 2.4 to Python 2.5 and was created because of a "text" tag in one of my svg canvas from my desklet:
Example:
<text x="250" y="150" font-family="Verdana" font-size="55" fill="blue" >
Hello, out there
</text>
I think gdesklets crashes when it comes to </text> because with <text x="250" y="150" font-family="Verdana" font-size="55" fill="blue" /> it works even though it's empty.
gDesklets still crashes and it has the same symptoms.
I received this error when I deployed my desklet from Ubuntu 8.04 to 8.10 :
"ubuntu@ubuntu:~$ ======= ======= ======= ======= ======= ======= ======= ==[08/05/ 08-20:59: 51]===
=======
=== Unhandled error! Something bad and unexpected happened. ===
[EXC] gdesklets/ shell/ItemBrows er.py: line 114 __on_activate_item gdesklets/ utils/Observabl e.py: line 45 update_observer gdesklets/ shell/plugins/ DisplayBrowser/ __init_ _.py: line 121 __on_activate gdesklets/ shell/plugins/ gDeskletsClient /__init_ _.py: line 36 open_display gdesklets/ main/client. py: line 54 open_display gdesklets/ main/client. py: line 38 __send gdesklets/ utils/xdr. py: line 75 recv lib/gdesklets/ utils/xdr. py
in /usr/lib/
in /usr/lib/
in /usr/lib/
in /usr/lib/
in /usr/lib/
in /usr/lib/
in /usr/lib/
[EXC]/usr/
[---] 70 chunk = ""
[---] 71 while (True):
[---] 72 try:
[---] 73 length = ord(s.recv(1))
[---] 74 except:
[ERR]> 75 raise XDRError
[---] 76
[---] 77 if (length): chunk += s.recv(length)
[---] 78
[---] 79 flag = s.recv(1)
[---] 80 if (flag == _CONT): continue
[---] 81
ubuntu@ubuntu:~$
"
After step by step troubleshooting I found out my bug started because of the switch from Python 2.4 to Python 2.5 and was created because of a "text" tag in one of my svg canvas from my desklet:
font-family= "Verdana" font-size="55" fill="blue" >
Example:
<text x="250" y="150"
Hello, out there
</text>
I think gdesklets crashes when it comes to </text> because with <text x="250" y="150" font-family= "Verdana" font-size="55" fill="blue" /> it works even though it's empty.