Dependencies for gdesklets are no longer fulfilled

Bug #336200 reported by Alexander Kallenbach
18
Affects Status Importance Assigned to Milestone
gDesklets
Invalid
High
Unassigned
gdesklets (Fedora)
Fix Released
Medium
gdesklets (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Update:
For python2.6 compatibility wish, please see bug #344079

Original description:
Binary package hint: gdesklets

Since the yesterdays update in jaunty it is no longer possible to install gdesklets, cause the dependencies ar not fulfilled.

The problem seems to be python: "gdesklets:
  Hängt ab: »python (<2.6)«, aber es wird »2.6.1-0ubuntu1« installiert."

ProblemType: Bug
Architecture: i386
Dependencies:

DistroRelease: /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated import sets Ubuntu 9.04
Package: gdesklets None
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gdesklets
Uname: Linux 2.6.28-8-generic i686

Related branches

Revision history for this message
mahfiaz (mahfiaz) wrote :

I add a English version of this error message here.

 sudo apt-get install gdesklets
[sudo] password for mattias:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gdesklets: Depends: python (< 2.6) but 2.6.1-0ubuntu3 is to be installed
E: Broken packages

Revision history for this message
OberonKing (oberonking) wrote :

I confirm this issue in Jaunty Alpha5.... if I try to install gdesklets almost all of the packages it's marked to eliminate.
Also if we take a look... the versions of gdesklets and gdesklets-data respectively are not equal.

My wife aren't happy with this.

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

Quick scan of dependencies (configure.in) and Changelog shows there's no need for python to be (< 2.6). Someone should try to install the recent version of desklets from source on Jaunty to check if it works fine. If something's wrong log a defect for gdesklets to fix problems with python 2.6.

Revision history for this message
Bjoern Koch (h.humpel) wrote :

> Also if we take a look... the versions of gdesklets and gdesklets-data respectively are not equal.

gdesklets-data is a mess and not officially supported. There are a lot of non-working desklets in there and we advise everyone - more or less - NOT to use it (as long as you are not knowing what you are dealing with ;) ).

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

Bjoern Koch (h.humpel)
Changed in gdesklets:
assignee: nobody → gdesklets-core-team
importance: Undecided → High
Revision history for this message
Savvas Radevic (medigeek) wrote :
Revision history for this message
Savvas Radevic (medigeek) wrote :

er.. scratch that last comment
I've tried a simple rebuild of gdesklets_0.36-5 and I think that's all it needs (I'll keep the patch in case I'm wrong).

Revision history for this message
Savvas Radevic (medigeek) wrote :

Ignore the patches please.
Although gdesklets builds fine, I'm getting an error while running it and seems connected to this bug:
https://bugs.launchpad.net/ubuntu/+source/gdesklets/+bug/89585

Revision history for this message
Savvas Radevic (medigeek) wrote :

ok, so this is blocked by this bug: https://bugs.launchpad.net/bugs/83922

Changed in gdesklets:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdesklets - 0.36-5build1

---------------
gdesklets (0.36-5build1) jaunty; urgency=low

  * Rebuild to build with Python 2.6 (LP: #336200).

 -- Alessio Treglia <email address hidden> Thu, 12 Mar 2009 21:22:38 +0100

Changed in gdesklets:
status: Fix Committed → Fix Released
Revision history for this message
MarioGonzalez (gonzalemario) wrote :

I don't understand, why this bug was set as "Fix Released" if the problem is related to bug #83922 ?

Revision history for this message
Savvas Radevic (medigeek) wrote : Re: [Bug 336200] Re: Dependencies for gdesklets are no longer fulfilled

> I don't understand, why this bug was set as "Fix Released" if the
> problem is related to bug #83922 ?

I think because this bug targets the dependencies, which can be
fulfilled - but the fact that it doesn't run (on 64-bit systems
only?), well that's another issue unfortunately. :(
I said it is "blocked", perhaps I was wrong about the expression - it
is blocked when run.

Revision history for this message
MarioGonzalez (gonzalemario) wrote :

If this so, I would encourage you to this bug should be close as invalid then. If you close this as "Fix Released", it's supposed that some characteristic has been included and commited but as far as I have understood, it's not the case.

Thanks.

Revision history for this message
Savvas Radevic (medigeek) wrote :

I've sent a temporary patch for it at bug #83922 - it seems it's not
compatible with python 2.6 :\

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

Description of problem:
gdesklets never connects to server when first run (timeout) and generates the error "Could not import tiling module!".

Version-Release number of selected component (if applicable):
gdesklets-0.36.1-5.fc11.i586.rpm

How reproducible:
Always

Steps to Reproduce:
1.Run gdesklets from terminal
2.Wait for ~1 minute for "Connecting to daemon" to complete.
3.Timeout failure.

Actual results:
[jguerdat@toshiba ~]$ gdesklets
Starting gdesklets-daemon...
Connecting to daemon [ ### ]
==========================================================[04/29/09-12:50:39]===
Could not import tiling module!

Cannot establish connection to daemon: timeout!
The log file might help you solving the problem.

Log has no entries.

Expected results:
gdesklet startup normal with no errors

Additional info:

Changed in gdesklets (Fedora):
status: Unknown → Confirmed
Revision history for this message
In , Luya (luya-redhat-bugs) wrote :

The bug is caused by API incompatibility with python 2.6 which also affects other distributions. Upstream is investigating on it.

Revision history for this message
OberonKing (oberonking) wrote :

In my case... Jaunty RC and above gdesklets work fine... the package is 0.36-5ubuntu1 and work only install it.

Revision history for this message
Savvas Radevic (medigeek) wrote :

Setting as Invalid for the gdesklets core team, the real bug that would fix this is at bug #344079

OberonKing, that's because the fix was introduced on the 25th of March 2009. :)
And it's highly unlikely that you are still in jaunty RC at this point, if you update regularly you have the latest stable release of ubuntu, ubuntu 9.04 jaunty (no RC).

Changed in gdesklets:
assignee: gDesklets Core Team (gdesklets-core-team) → nobody
status: New → Invalid
description: updated
description: updated
Revision history for this message
In , Savvas (savvas-redhat-bugs) wrote :

I'm not very familiar with the rpm packaging system, but in case fedora wants to temporarily fix this (as downstream):
- make python 2.5 devel available during build (python-devel-2.5 ?).
- restrict it to python < 2.6 until a fix is out
- something like the following lines in the .spec file:

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
for i in `find %{buildroot} -type f`; \
  do sed -i -e '1s,#!.*python.*,#!/usr/bin/python2.5,' $i; \
done

(not tested on fedora/redhat)

Revision history for this message
In , Luya (luya-redhat-bugs) wrote :

Unfortunately the fix is useless because Fedora 11 and Rawhide have not python 2.5 available, only 2.6.

Revision history for this message
In , Luya (luya-redhat-bugs) wrote :

Please test http://koji.fedoraproject.org/koji/buildinfo?buildID=101963

This version is patched to address python 3.6 issue until upstream releases 0.36.2

Revision history for this message
In , Stephanos (stephanos-redhat-bugs) wrote :

(In reply to comment #4)
> Please test http://koji.fedoraproject.org/koji/buildinfo?buildID=101963
>
> This version is patched to address python 3.6 issue until upstream releases
> 0.36.2

The 0.36.2 from koji works on x86_64

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

Sorry, missed this. The update 0.36.1 works fine. I see no 0.36.2 in koji.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

gdesklets-0.36.1-6.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/gdesklets-0.36.1-6.fc11

Revision history for this message
In , Luya (luya-redhat-bugs) wrote :

0.36.2 is not released yet. Make sure to add karmas on above link so update can be pushed to stable.

Changed in gdesklets (Fedora):
status: Confirmed → In Progress
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

gdesklets-0.36.1-6.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.

Changed in gdesklets (Fedora):
status: In Progress → Fix Released
Changed in gdesklets (Fedora):
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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