[tichy] installing the package produces errors - fixes here

Mirko Lindner mirko at openmoko.org
Sat Dec 6 22:39:21 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hej Charlie,

I just downloaded the tichy package from the testing repository and get
errors:

the first one:
events_loop module missing, in the version in the package there is an
import statement in the __init__.py in the tichy folder on line 27.

Traceback (most recent call last):
  File "/usr/bin/tichy-launcher", line 93, in <module>
    import tichy
  File "/usr/lib/python2.5/site-packages/tichy/__init__.py", line 27, in
<module>
    import events_loop

In the current git version this import has been removed, so this bug
should be fixed.

The second one is the lack of the default designer:

Traceback (most recent call last):
  File "/usr/bin/tichy-launcher", line 194, in <module>
    tichy.Service.set_default('Design', 'Default')
  File "/usr/lib/python2.5/site-packages/tichy/service.py", line 118, in
set_default
    default = Service(service, default)

  File "/usr/lib/python2.5/site-packages/tichy/service.py", line 175, in
__new__
    raise KeyError("can't find any service '%s'" % service)

KeyError: "can't find any service 'Design'"

I fixed this by adding the py files to the directory
/usr/share/tichy/plugins/designs/default

Files added: application_view.py and default.py found here[1].

The third error I get is, which is a missing style:

Traceback (most recent call last):
  File "/usr/bin/tichy-launcher", line 200, in <module>
    launcher = Launcher(bus, '/Launcher')
  File "/usr/bin/tichy-launcher", line 128, in __init__
    self.style = tichy.Style.find_by_name("cool style").create()
  File "/usr/lib/python2.5/site-packages/tichy/item.py", line 95, in
find_by_name
    raise KeyError(name)
KeyError: 'cool style'

This one i fixed by adding the style3 from the git[2] and adding it to
the /usr/share/tichy/plugins/styles directory.

Would be great if you could have a look if all those errors are fixed in
for the next package.

Thanks,
/mirko

[1]http://git.openmoko.org/?p=tichy.git;a=tree;f=test/plugins/designs/default;h=d405ead00d11e03ffe6af69955f46490320502ac;hb=ce5ae43ee95c6c4924a86abea53d9386336b0ac1
[2]
http://git.openmoko.org/?p=tichy.git;a=tree;f=test/plugins/styles;h=a31262608143b8fad26952fe05e716d6525544f5;hb=ce5ae43ee95c6c4924a86abea53d9386336b0ac1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk68QkACgkQlgX1BiMLFShoWgCeK63xTES8eC4xTYgCdAEST7z/
4PwAn3tSithua9TvAy7b8Q2AcNBQqBef
=xtYZ
-----END PGP SIGNATURE-----



More information about the devel mailing list