Strange problems.

Alexander Tsamutali astsmtl at gmail.com
Fri Sep 7 03:53:55 BRT 2007


Hi!

I am starting to learn kiwi and i have some strange problems with it.
When i try to launch example program framework/faren/faren3.py it
prints the following error:

astsmtl at beta:~/kiwi-1.9.17/examples/framework/faren$ python faren3.py
11:40:08 environ              No ru_RU translation found for domain kiwi
Traceback (most recent call last):
  File "faren3.py", line 39, in <module>
    delegate = Farenheit()
  File "faren3.py", line 11, in __init__
    Delegate.__init__(self, delete_handler=self.quit_if_last)
  File "/usr/lib/python2.5/site-packages/kiwi/ui/delegates.py", line
54, in __init__
    delete_handler=delete_handler)
  File "/usr/lib/python2.5/site-packages/kiwi/ui/views.py", line 831,
in __init__
    domain)
  File "/usr/lib/python2.5/site-packages/kiwi/ui/views.py", line 241,
in __init__
    self._glade_adaptor = self.get_glade_adaptor()
  File "/usr/lib/python2.5/site-packages/kiwi/ui/views.py", line 849,
in get_glade_adaptor
    return _open_glade(self, self.gladefile, self.domain)
  File "/usr/lib/python2.5/site-packages/kiwi/ui/views.py", line 1013,
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
/home/astsmtl/kiwi-1.9.17/examples/framework/faren/faren.glade

I tried to find why it happens and found the place in views.py which
triggers that error. In function _get_gazpacho():

from kiwi.ui.gazpacholoader import GazpachoWidgetTree

When i try in interpreter i get the following:

>>> from kiwi.ui.gazpacholoader import GazpachoWidgetTree
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/kiwi/ui/gazpacholoader.py",
line 59, in <module>
    from kiwi.ui.widgets.scale import ProxyHScale, ProxyVScale
ImportError: No module named scale

And really there is no module named scale in my kiwi installation nor
in source tarball. If ound that this file was recently added to cvs.
When i installed cvs version, example worked fine. So i cannot use
kiwi version 1.9.17 and i am sure that using cvs version is bad for
me. Can someone help me?

-- 
Alexander Tsamutali


More information about the Kiwi mailing list