[Bug 197650] Re: gdesklets in hardy unusable due to an unhandled error
Ion Bulgar
ionbulgar at yahoo.com
Tue Aug 5 23:18:40 BST 2008
I received this error when I deployed my desklet from Ubuntu 8.04 to
8.10 :
"ubuntu at 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
[---] 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 at 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:
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 in hardy unusable due to an unhandled error
https://bugs.launchpad.net/bugs/197650
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.
More information about the Ubuntu-universe-sponsors
mailing list