Talk:Tichy

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(start on pc fails: new section)
Line 22: Line 22:
 
  apt-get install python-pygame
 
  apt-get install python-pygame
 
: --[[User:Charlie|Charlie]] 12:28, 4 September 2008 (UTC)
 
: --[[User:Charlie|Charlie]] 12:28, 4 September 2008 (UTC)
 +
 +
== start on pc fails ==
 +
 +
When i try to start on my pc i get this:
 +
<pre>
 +
$ ./tichy-launcher
 +
root    INFO    read config file ./tichy.cfg
 +
root    INFO    read config file /etc/tichy/tichy.cfg
 +
root    INFO    read config file /home/illuminatus/.tichy/tichy.cfg
 +
root    INFO    init gui
 +
root    WARNING  can't use backend paroli : No module named e_dbus
 +
root    WARNING  can't use backend csdl : No module named gui
 +
root    INFO    using backend sdl
 +
root    INFO    connect to dbus
 +
Traceback (most recent call last):
 +
  File "./tichy-launcher", line 238, in <module>
 +
    bus_name = dbus.service.BusName('org.tichy.launcher', bus)
 +
  File "/var/lib/python-support/python2.5/dbus/service.py", line 129, in __new__
 +
    retval = bus.request_name(name, name_flags)
 +
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 306, in request_name
 +
    'su', (name, flags))
 +
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
 +
    message, timeout)
 +
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.2720" is not allowed to own the service "org.tichy.launcher" due to security policies in the configuration file
 +
Error in sys.excepthook:
 +
Traceback (most recent call last):
 +
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in apport_excepthook
 +
    from apport.packaging_impl import impl as packaging
 +
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in <module>
 +
    from apport.report import Report
 +
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 21, in <module>
 +
    import fileutils
 +
  File "/usr/lib/python2.5/site-packages/apport/fileutils.py", line 16, in <module>
 +
    from packaging_impl import impl as packaging
 +
  File "/usr/lib/python2.5/site-packages/apport/packaging_impl.py", line 18, in <module>
 +
    import apt
 +
  File "/usr/lib/python2.5/site-packages/apt/__init__.py", line 8, in <module>
 +
    from apt.cache import Cache
 +
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 24, in <module>
 +
    import apt.progress
 +
  File "/usr/lib/python2.5/site-packages/apt/progress.py", line 166
 +
    " called when the status changed "
 +
                                    ^
 +
TabError: inconsistent use of tabs and spaces in indentation
 +
 +
Original exception was:
 +
Traceback (most recent call last):
 +
  File "./tichy-launcher", line 238, in <module>
 +
    bus_name = dbus.service.BusName('org.tichy.launcher', bus)
 +
  File "/var/lib/python-support/python2.5/dbus/service.py", line 129, in __new__
 +
    retval = bus.request_name(name, name_flags)
 +
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 306, in request_name
 +
    'su', (name, flags))
 +
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
 +
    message, timeout)
 +
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.2720" is not allowed to own the service "org.tichy.launcher" due to security policies in the configuration file
 +
</pre>
 +
What to do? (Using Ubuntu Hardy)

Revision as of 21:28, 10 January 2009

When I want to start Tichy from my desktop computer, I get this error:

root     WARNING  can't use guic, using guip
Traceback (most recent call last):
  File "./tichy", line 38, in <module>
    import tichy
  File "../tichy/__init__.py", line 24, in <module>
    import gui
  File "../tichy/gui.py", line 26, in <module>
    from guip import *
  File "../tichy/guip/__init__.py", line 23, in <module>
    from edit import Edit
  File "../tichy/guip/edit.py", line 25, in <module>
    import tichy.key
  File "../tichy/key.py", line 8, in <module>
    import pygame
ImportError: No module named pygame

Dolfje 17:30, 27 August 2008 (UTC)

You have to install python-pygame. If you are using a debian based OS, you can use apt-get :
apt-get install python-pygame
--Charlie 12:28, 4 September 2008 (UTC)

start on pc fails

When i try to start on my pc i get this:

$ ./tichy-launcher
root     INFO     read config file ./tichy.cfg
root     INFO     read config file /etc/tichy/tichy.cfg
root     INFO     read config file /home/illuminatus/.tichy/tichy.cfg
root     INFO     init gui
root     WARNING  can't use backend paroli : No module named e_dbus
root     WARNING  can't use backend csdl : No module named gui
root     INFO     using backend sdl
root     INFO     connect to dbus
Traceback (most recent call last):
  File "./tichy-launcher", line 238, in <module>
    bus_name = dbus.service.BusName('org.tichy.launcher', bus)
  File "/var/lib/python-support/python2.5/dbus/service.py", line 129, in __new__
    retval = bus.request_name(name, name_flags)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 306, in request_name
    'su', (name, flags))
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.2720" is not allowed to own the service "org.tichy.launcher" due to security policies in the configuration file
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 38, in apport_excepthook
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python2.5/site-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "/usr/lib/python2.5/site-packages/apport/report.py", line 21, in <module>
    import fileutils
  File "/usr/lib/python2.5/site-packages/apport/fileutils.py", line 16, in <module>
    from packaging_impl import impl as packaging
  File "/usr/lib/python2.5/site-packages/apport/packaging_impl.py", line 18, in <module>
    import apt
  File "/usr/lib/python2.5/site-packages/apt/__init__.py", line 8, in <module>
    from apt.cache import Cache
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 24, in <module>
    import apt.progress
  File "/usr/lib/python2.5/site-packages/apt/progress.py", line 166
    " called when the status changed "
                                     ^
TabError: inconsistent use of tabs and spaces in indentation

Original exception was:
Traceback (most recent call last):
  File "./tichy-launcher", line 238, in <module>
    bus_name = dbus.service.BusName('org.tichy.launcher', bus)
  File "/var/lib/python-support/python2.5/dbus/service.py", line 129, in __new__
    retval = bus.request_name(name, name_flags)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 306, in request_name
    'su', (name, flags))
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.2720" is not allowed to own the service "org.tichy.launcher" due to security policies in the configuration file

What to do? (Using Ubuntu Hardy)

Personal tools

When I want to start Tichy from my desktop computer, I get this error:

root     WARNING  can't use guic, using guip
Traceback (most recent call last):
  File "./tichy", line 38, in <module>
    import tichy
  File "../tichy/__init__.py", line 24, in <module>
    import gui
  File "../tichy/gui.py", line 26, in <module>
    from guip import *
  File "../tichy/guip/__init__.py", line 23, in <module>
    from edit import Edit
  File "../tichy/guip/edit.py", line 25, in <module>
    import tichy.key
  File "../tichy/key.py", line 8, in <module>
    import pygame
ImportError: No module named pygame

Dolfje 17:30, 27 August 2008 (UTC)

You have to install python-pygame. If you are using a debian based OS, you can use apt-get :
apt-get install python-pygame
--Charlie 12:28, 4 September 2008 (UTC)