gdesklets doesn.t work

Bug #182894 reported by dancer58
4
Affects Status Importance Assigned to Milestone
gdesklets (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am using Ubuntu 8.04

gDesklets worked on 7.10 but will not load desklets on 8.04. I have removed and reinstalled using Synaptic Package Manager but still would not work

Revision history for this message
Iulian Udrea (iulian) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. I have classified this bug as a bug in gdesklets.

Unfortunately we can't fix it, because your description didn't include enough information. We'd be grateful if you would then provide a more complete description of the problem. Could you please attach some logs files to the bug report? Please run gdesklets from a terminal and attach the log here. Do you get any errors that can help us to fix the bug?

Thanks!

Revision history for this message
dancer58 (dancer581) wrote :

harold@asus:~$ gdesklets
Starting gdesklets-daemon...
Connected to daemon in 1404 milliseconds.
harold@asus:~$ ./Shell/__init__.py:153: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: RuntimeWarning: Python C API version mismatch for module gtop: This Python has API version 1013, module gtop has version 1012.
  module = _old_imp(name, globs, locls, fromlist)
Connected to daemon in 105 microseconds.
Connected to daemon in 123 microseconds.

==========================================================[01/14/08-16:02: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 ./DisplayBrowser/__init__.py: line 121 __on_activate
in ./gDeskletsClient/__init__.py: line 36 open_display
in /usr/lib/gdesklets/main/client.py: line 58 open_display
in /usr/lib/gdesklets/main/client.py: line 42 __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

gDesklets Log:
Log messages of /home/harold/.gdesklets/logs/gdesklets%3A0.0.log
/usr/lib/gdesklets/main/__init__.py:118: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: RuntimeWarning: Python C API version mismatch for module tiling: This Python has API version 1013, module tiling has version 1012.
  module = _old_imp(name, globs, locls, fromlist)
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: RuntimeWarning: Python C API version mismatch for module x11: This Python has API version 1013, module x11 has version 1012.
  module = _old_imp(name, globs, locls, fromlist)
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: RuntimeWarning: Python C API version mismatch for module systray: This Python has API version 1013, module systray has version 1012.
  module = _old_imp(name, globs, locls, fromlist)
/usr/lib/gdesklets/gdesklets-daemon:119: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: Warning: instance with invalid (NULL) class pointer
  module = _old_imp(name, globs, locls, fromlist)
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: Warning: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  module = _old_imp(name, globs, locls, fromlist)

Revision history for this message
Christian Meyer (chrisime) wrote : Re: [Bug 182894] Re: gdesklets doesn.t work

RuntimeWarning: Python C API version mismatch for module tiling
...
means python glue lib doesn't match
Maybe you have another copy of gdesklets somewhere else on your system. ->
NOTABUG
Otherwise I've already seen this problem somewhere else on
launchpad.net(bugs). -> DUPLICATE

Revision history for this message
dancer58 (dancer581) wrote :

I installed gdesklets on my laptop, which is running Gutsy, and it installed ok so I coppied the .deb install files from cache and installed them on my desktop but had the same problem. I would have to assume that the update on Herron must break gdesklets.

Harold

Revision history for this message
Christian Meyer (chrisime) wrote :

ok, seems to be a duplicate then

Revision history for this message
Robert Kubík (Pastierovič) (just-me) wrote :

dancer58 wrote:
> I installed gdesklets on my laptop, which is running Gutsy, and it
> installed ok so I coppied the .deb install files from cache and
> installed them on my desktop but had the same problem. I would have to
> assume that the update on Herron must break gdesklets.
>
> Harold
>
>
That's wrong. That .deb package was compiled for Gutsy configuration.
Use the .deb for Hardy Heron instead (if it's available) or compile it
from source.

Robo

Revision history for this message
Iulian Udrea (iulian) wrote :

I couldn't find any duplicates of this bug. If it is really a dup please mark it.

Thank you!

Changed in gdesklets:
assignee: iuli → nobody
status: Incomplete → Confirmed
Revision history for this message
Tim Besard (maleadt) wrote :

I am having the same problem, with the "official" Hardy package. gDesklets log:

Log messages of /home/tim/.gdesklets/logs/gdesklets%3A0.0.log
/usr/lib/gdesklets/main/__init__.py:118: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
/usr/lib/gdesklets/gdesklets-daemon:119: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: Warning: instance with invalid (NULL) class pointer
  module = _old_imp(name, globs, locls, fromlist)
/usr/lib/gdesklets/utils/ErrorFormatter.py:118: Warning: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  module = _old_imp(name, globs, locls, fromlist)

gDesklets output:

tim@tim-desktop:/usr/lib/gdesklets$ ./Shell/__init__.py:153: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
Verbonden met daemon in 115 microseconden.
Verbonden met daemon in 124 microseconden.

==========================================================[02/20/08-16:06:58]===
=== 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 ./DisplayBrowser/__init__.py: line 121 __on_activate
in ./gDeskletsClient/__init__.py: line 36 open_display
in /usr/lib/gdesklets/main/client.py: line 58 open_display
in /usr/lib/gdesklets/main/client.py: line 42 __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

Does not seems a dup for me, as the fix mentioned in the other bug (replace env python by env python2.4, as python 2.5 causes the breakage) does not work, sadly.

Revision history for this message
dancer58 (dancer581) wrote :

Just a point of interest

I am using Hardy alpha4/python-2.5.1-6 and have gDesklets .36beta and it is working for the calender. I used (./configure, make && checkinstall -D) to build a .deb file and have used it a couple of times.

I did move gDesklets-data files to .gdesklets so they could be found

Hope this is useful

Harold

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.