Comment 5 for bug 336200

Revision history for this message
OberonKing (oberonking) wrote :

gDesklets I compiled from source code, compiled fine without any errors, but when run it gives this error, exactly on python.
The error is:

[code ]==========================================================[03/08/09-12:18:46]===
=== Unhandled error! Something bad and unexpected happened. ===

[EXC]_new_imp() takes at most 4 arguments (5 given)
in /usr/local/bin/gdesklets: line 3 <module>
in /usr/local/lib/gdesklets/main/__init__.py: line 52 <module>
in /usr/local/lib/gdesklets/utils/i18n.py: line 23 Translator
in /usr/lib/python2.6/gettext.py: line 493 translation
in /usr/lib/python2.6/gettext.py: line 180 __init__
in /usr/lib/python2.6/gettext.py: line 315 _parse
in /usr/lib/python2.6/gettext.py: line 100 c2py
[EXC]/usr/lib/python2.6/gettext.py

[---] 95 # Replace some C operators by their Python equivalents
[---] 96 plural = plural.replace('&&', ' and ')
[---] 97 plural = plural.replace('||', ' or ')
[---] 98
[---] 99 expr = re.compile(r'\!([^=])')
[ERR]> 100 plural = expr.sub(' not \\1', plural)
[---] 101
[---] 102 # Regular expression and replacement function used to transform
[---] 103 # "a?b:c" to "test(a,b,c)".
[---] 104 expr = re.compile(r'(.*?)\?(.*?):(.*)')
[---] 105 def repl(x):
[---] 106 return "test(%s, %s, %s)" % (x.group(1), x.group(2),[/code]

I do not know why, apparently there are problems with python 2.6.
Another thing I did was comment out the error and not run ... the exit:

[code]Starting the server ... gDesklets
Connecting to server [#]
================================================== ========[ 03/08/09-12: 29:43] ===
Could not import tiling module!

Unable to connect to server: time spent
The event log may help you solve the problem.[/code]

I Don't do nothing more