Debian Bug report logs - #683992
ship non working examples due to missing optional dependency on gazpacho

version graph

Package: python-kiwi; Maintainer for python-kiwi is Goedson Teixeira Paixao <goedson@debian.org>; Source for python-kiwi is src:kiwi.

Reported by: Csanyi Pal <csanyipal@gmail.com>

Date: Mon, 6 Aug 2012 04:39:01 UTC

Severity: normal

Tags: patch

Found in version kiwi/1.9.22-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Goedson Teixeira Paixao <goedson@debian.org>:
Bug#683992; Package python-kiwi. (Mon, 06 Aug 2012 04:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Csanyi Pal <csanyipal@gmail.com>:
New Bug report received and forwarded. Copy sent to Goedson Teixeira Paixao <goedson@debian.org>. (Mon, 06 Aug 2012 04:39:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Csanyi Pal <csanyipal@gmail.com>
To: submit@bugs.debian.org
Subject: [python-kiwi] RuntimeError: Could not find gazpacho.loader
Date: Mon, 6 Aug 2012 06:35:50 +0200
Package: python-kiwi
Version: 1.9.22-2
Severity: grave

--- Please enter the report below this line. ---
Hi,

on my Debian GNU/Linux testing/sid operating system I have installed
the debian package python-kiwi Version: 1.9.22-2.

When I try to run person.py in:

/usr/share/doc/python-kiwi/examples/framework/person/person.py

I get error message:

$ python person.py 
21:18:46 environ              No hu_HU translation found for domain kiwi
Traceback (most recent call last):
  File "person.py", line 14, in <module>
    delete_handler=gtk.main_quit)
  File "/usr/lib/pymodules/python2.7/kiwi/ui/delegates.py", line 134,
in __init__ delete_handler)
  File "/usr/lib/pymodules/python2.7/kiwi/ui/views.py", line 833, in
__init__ domain)
  File "/usr/lib/pymodules/python2.7/kiwi/ui/views.py", line 243, in
__init__ self._glade_adaptor = self.get_glade_adaptor()
  File "/usr/lib/pymodules/python2.7/kiwi/ui/views.py", line 851, in
get_glade_adaptor return _open_glade(self, self.gladefile, self.domain)
  File "/usr/lib/pymodules/python2.7/kiwi/ui/views.py", line 1015, in
_open_glade "load the gladefile %s" % (loader_name, gladefile))
RuntimeError: Could not find gazpacho.loader, it needs to be installed
to load the
gladefile /usr/share/doc/python-kiwi/examples/framework/person/Person.glade

When I search for the gazpacho debian package on my system, I can't
find them to install:

$ aptitude search gazpacho

gives me no output.

Accordingly to this:
http://packages.qa.debian.org/g/gazpacho.html

on my system the gazpacho package isn't installable.

I wrote to the python.kiwi mailing list and get the following answer
from Johan Dahlin:

The latest version of kiwi is 1.9.35. You can fetch it from
http://pypi.python.org/pypi/kiwi-gtk.

> When I try to run person.py in:
>
> /usr/share/doc/python-kiwi/examples/framework/person/person.py
>
>[..]
 RuntimeError: Could not find gazpacho.loader, it needs to be installed
> to load the
> gladefile /usr/share/doc/python-kiwi/examples/framework/person/Person.glade

This is probably a broken tarfile which lacks the .glade file.

Gazpacho has been deprecated and removed in favor of gtk builder in
newer versions of kiwi.

-- 
Johan Dahlin


So what is the solution to solve this problem?


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-3-amd64

Debian Release: wheezy/sid
  500 unstable        www.deb-multimedia.org 
  500 unstable        ftp.debian.org 
  500 testing         www.deb-multimedia.org 
  500 testing         ftp.debian.org 
  500 stable          dl.google.com 

--- Package information. ---
Depends                       (Version) | Installed
=======================================-+-===============
python                         (>= 2.4) | 2.7.3-2
python-support              (>= 0.90.0) | 1.0.15
python-gtk2              (>= 2.8.2-3.1) | 2.24.0-3
python-pkg-resources         (>= 0.6b3) | 0.6.24-1


Package's Recommends field is empty.

Package's Suggests field is empty.

-- 
Regards from Pal



Information forwarded to debian-bugs-dist@lists.debian.org, Goedson Teixeira Paixao <goedson@debian.org>:
Bug#683992; Package python-kiwi. (Tue, 07 Aug 2012 03:09:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Neil Wallace <rowinggolfer@gmail.com>:
Extra info received and forwarded to list. Copy sent to Goedson Teixeira Paixao <goedson@debian.org>. (Tue, 07 Aug 2012 03:09:05 GMT) Full text and rfc822 format available.

Message #10 received at 683992@bugs.debian.org (full text, mbox):

From: Neil Wallace <rowinggolfer@gmail.com>
To: 683992@bugs.debian.org
Subject: stale package?
Date: Tue, 7 Aug 2012 04:06:26 +0100
Same error is thrown by a several of the examples provided by the package.

Seems to me that the answer is to package the latest release 1.9.22.
That won't help the wheezy freeze though :(



Information forwarded to debian-bugs-dist@lists.debian.org, Goedson Teixeira Paixao <goedson@debian.org>:
Bug#683992; Package python-kiwi. (Sat, 03 Nov 2012 14:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Federico Ceratto <federico.ceratto@gmail.com>:
Extra info received and forwarded to list. Copy sent to Goedson Teixeira Paixao <goedson@debian.org>. (Sat, 03 Nov 2012 14:09:04 GMT) Full text and rfc822 format available.

Message #15 received at 683992@bugs.debian.org (full text, mbox):

From: Federico Ceratto <federico.ceratto@gmail.com>
To: 683992@bugs.debian.org
Subject: [python-kiwi] RuntimeError: Could not find gazpacho.loader
Date: Sat, 3 Nov 2012 14:05:50 +0000
[Message part 1 (text/plain, inline)]
Tags: patch

The current upstream version 1.9.26 contains a lot of changes (thousands of
SLOC) that makes it not acceptable during freeze.

Patching the current package to remove any dependency on gazpacho requires
a non-trivial patch as well (gazpacho seems to be used in at least 300 SLOC)

Removing the package altogether would impact the reverse dependencies: pida
(having a popcon of 180+) and flumotion

I've prepared a simple patch that removes the tests based on gazpacho and
provides a simple explanation in a README.Debian file.
[Message part 2 (text/html, inline)]
[683992.patch (application/octet-stream, attachment)]

Added tag(s) patch. Request was from gregor herrmann <gregoa@debian.org> to control@bugs.debian.org. (Sat, 03 Nov 2012 16:27:16 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Goedson Teixeira Paixao <goedson@debian.org>:
Bug#683992; Package python-kiwi. (Mon, 05 Nov 2012 13:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefano Zacchiroli <zack@debian.org>:
Extra info received and forwarded to list. Copy sent to Goedson Teixeira Paixao <goedson@debian.org>. (Mon, 05 Nov 2012 13:39:03 GMT) Full text and rfc822 format available.

Message #22 received at 683992@bugs.debian.org (full text, mbox):

From: Stefano Zacchiroli <zack@debian.org>
To: 683992@bugs.debian.org
Subject: Re: Bug#683992: [python-kiwi] RuntimeError: Could not find gazpacho.loader
Date: Mon, 5 Nov 2012 14:37:35 +0100
[Message part 1 (text/plain, inline)]
severity 683992 normal
retitle 683992 ship non working examples due to missing optional dependency on gazpacho
thanks

On Mon, Aug 06, 2012 at 06:35:50AM +0200, Csanyi Pal wrote:
> Package: python-kiwi
> Version: 1.9.22-2
> Severity: grave
> 
> --- Please enter the report below this line. ---
> Hi,
> 
> on my Debian GNU/Linux testing/sid operating system I have installed
> the debian package python-kiwi Version: 1.9.22-2.
> 
> When I try to run person.py in:
> /usr/share/doc/python-kiwi/examples/framework/person/person.py

This issue doesn't look "grave". In essence, some of the shipped
examples use optional features of kiwi, that are available only if
gazpacho (which is not available in Debian) is installed. Running those
examples could be baffling for the user, but hardly release critical,
given that the other package functionalities are not affected by the
lack of gazpacho.

I'm therefore lowering the severity to normal.

On the other hand Federico's patch look fine, as it avoids shipping non
working examples. But I'm not sure if this is the kind of change that
the release time would welcome during freeze.

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Debian Project Leader . . . . . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
[signature.asc (application/pgp-signature, inline)]

Severity set to 'normal' from 'grave' Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Mon, 05 Nov 2012 13:39:07 GMT) Full text and rfc822 format available.

Changed Bug title to 'ship non working examples due to missing optional dependency on gazpacho' from '[python-kiwi] RuntimeError: Could not find gazpacho.loader' Request was from Stefano Zacchiroli <zack@debian.org> to control@bugs.debian.org. (Mon, 05 Nov 2012 13:39:07 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 21:30:18 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.