gdesklets broken since last update

Bug #544840 reported by timosha
94
This bug affects 19 people
Affects Status Importance Assigned to Milestone
gdesklets (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gdesklets

Since last update gdesklets don't start anymore.

When starting in a terminal the message "Could not import tiling module!", then it tries to connect to a daemon, then it hangs.

ProblemType: Bug
Architecture: i386
Date: Tue Mar 23 08:07:32 2010
DistroRelease: Ubuntu 10.04
Package: gdesklets 0.36.1-4
ProcEnviron:
 LANGUAGE=
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: gdesklets
Uname: Linux 2.6.32-15-generic i686

Revision history for this message
timosha (timosha) wrote :
Revision history for this message
timosha (timosha) wrote :

Problem solved with reverting to version 0.36.1-3

Revision history for this message
skiwithpete (workwithpete) wrote :

how do I revert to 0.36.1-3?

Revision history for this message
kumm (kumm) wrote :

Revert steps:
1. download .deb from here: http://launchpadlibrarian.net/36963616/gdesklets_0.36.1-3ubuntu1_i386.deb
(for find for your architecture, for example amd64 here: https://launchpad.net/ubuntu/+source/gdesklets/0.36.1-3ubuntu1)

2. install.
>sudo dpkg -i <downloadedfile>

3. Mark it for hold at upgrades
>sudo apt-get install wajig
>sudo wajig hold gdesklets

After the fix released, you can unhold the package with:
>sudo wajig unhold gdesklets

Revision history for this message
meral (meral) wrote :

Reverting is not a good idea since firstly it does not solve the problem and secondly if you have an AMD64 architecture, you'd have to compile gdesklets_0.36.1-3ubuntu1 from source which depends on a whole lot of development packages (totalling over 200MB).

Revision history for this message
kumm (kumm) wrote :

I use AMD64, without any depend problems and compiles.
binary package here: http://launchpadlibrarian.net/36995611/gdesklets_0.36.1-3ubuntu1_amd64.deb

Revision history for this message
Seth Massey (jsethmassey) wrote :

I get the same "Could not import tiling module!" message trying to run gdesklets 0.36.1-4 on a fresh install of lucid amd64. Haven't tried to revert yet.

The log file (attached) doesn't look too interesting to me, but I'm a noob so what do I know...

Revision history for this message
Linuxboy (linuxboy) wrote :

In Ubuntu LUCID LYNX the problem with "Could not import tiling module!" seems to be a fault caused by the wrong version of python (seems that this module is present under older version of python and lucid has 2.6.5).

Read here: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=498268.

Solution with LUCID LYNX:

Download the sources of package gdesklets and apply the following patch, then rebuild the package and install it.

--- gDesklets-0.36.1/utils/ErrorFormatter.py 2008-03-19 16:00:59.000000000 -0700
+++ gDesklets-0.36.1.new/utils/ErrorFormatter.py 2009-05-12 22:32:47.000000000 -0700
@@ -113,9 +113,9 @@
 # give us an absolute path.
 #
 _old_imp = __import__
-def _new_imp(name, globs = {}, locls = {}, fromlist = []):
+def _new_imp(*args, **kwargs):

- module = _old_imp(name, globs, locls, fromlist)
+ module = _old_imp(*args, **kwargs)
     # builtin modules have no "__file__" attribute, so we have to check for it
     if (module):
         if (hasattr(module, "__file__")):

Revision history for this message
Joe Sapp (sappj) wrote :

See bug #563196 for a proposed solution. And if you're going to go so far as to compile gDesklets from source, at least download 0.36.2 (http://archive.gdesklets.info/gDesklets/gDesklets-0.36.2.tar.bz2). I believe this issue has been fixed.

Revision history for this message
lupita sosa De alba (dealbalupita) wrote :

Excuse me, where exactly do I apply this patch? What's "sources of package"? Thank you.

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.