Examples can't be loaded, glade files are gzipped
Bug #40177 reported by
Sidnei da Silva
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kiwi |
Fix Released
|
Wishlist
|
|||
kiwi (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There were a couple issues with the kiwi-examples package as installed on dapper.
1. Some of the .glade files were gzipped as .glade.gz
2. Kiwi had a bug that it wouldn't load the .glade file if you ran the script from a different directory (reported as
https:/
Example:
"""
python /usr/share/
"""
A fix has been checked in to kiwi to fix #2 and accept .glade.bz2 .glade.gz files as alternative to .glade.
A fix has been checked in to gazpacho to allow loading of .glade.bz2 and .glade.gz in addition to .glade files.
Please update the packages to the to-be-released versions of those upstream products to fix the issue.
Changed in kiwi: | |
importance: | Unknown → Wishlist |
description: | updated |
To post a comment you must log in.
C:\Code\ Kiwi-svn\ trunk\examples\ framework\ hey>python heyglade.py
C:\Code\ Kiwi-svn\ trunk\examples\ framework\ hey>cd ..
C:\Code\ Kiwi-svn\ trunk\examples\ framework> python hey\heyglade.py gladefile= "hey", delete_ handler= quit_if_ last) Kiwi-svn\ trunk\tests\ ..\kiwi\ ui\views. py", line 805, in __init__ Kiwi-svn\ trunk\tests\ ..\kiwi\ ui\views. py", line 261, in __init__ _glade_ adaptor = self.get_ glade_adaptor( ) Kiwi-svn\ trunk\tests\ ..\kiwi\ ui\views. py", line 824, in get_glade_adaptor Kiwi-svn\ trunk\kiwi\ ui\gazpachoload er.py", line 71, in __init__ find_resource( "glade" , filename + ".glade") Kiwi-svn\ trunk\kiwi\ environ. py", line 103, in find_resource r("Could not find %s resource: %s" % (
Traceback (most recent call last):
File "hey\heyglade.py", line 7, in ?
app = BaseView(
File "C:\Code\
toplevel_name, domain)
File "C:\Code\
self.
File "C:\Code\
self.gladename)
File "C:\Code\
self._gladefile = environ.
File "C:\Code\
raise EnvironmentErro
EnvironmentError: Could not find glade resource: hey.glade