Onboard Module Error

Asked by Silvio Siefke

Hello,

i want install latest stable of Onboard, 0.98.1 on Gentoo. Before onboard was running without problems, now i become the error Message:

siefke@gentoo-desk : ~ $ onboard
2013-02-04 20:41:44,325:WARNING:Config: gsettings-Schema für »org.gnome.mousetweaks« ist nicht installiert

Traceback (most recent call last):
  File "/usr/bin/onboard", line 16, in <module>
    ob = Onboard()
  File "/usr/lib/python2.7/site-packages/Onboard/OnboardGtk.py", line 100, in __init__
    self.init()
  File "/usr/lib/python2.7/site-packages/Onboard/OnboardGtk.py", line 160, in init
    self._window = KbdWindow(self.keyboard_widget, icp)
  File "/usr/lib/python2.7/site-packages/Onboard/KbdWindow.py", line 491, in __init__
    KbdWindowBase.__init__(self, keyboard_widget, icp)
  File "/usr/lib/python2.7/site-packages/Onboard/KbdWindow.py", line 33, in __init__
    self._osk_struts = osk.Struts()
AttributeError: 'module' object has no attribute 'Struts'

Has someone a idea?

Thank you for Help and Regards
Silvio

Question information

Language:
English Edit question
Status:
Solved
For:
Onboard Edit question
Assignee:
No assignee Edit question
Solved by:
marmuta
Solved:
Last query:
Last reply:
Revision history for this message
Best marmuta (marmuta) said :
#1

The error actually looks like it came from the source of Onboard 0.99 alpha, or trunk. There was no docking in 0.98.1. Where did you get it from?

If you are installing from source, the error should go away after compiling the C-part of Onboard. Running setup.py from the source directory should take care of that.

$ python3 setup.py build
$ sudo python3 setup.py install

Make sure you build it for the same python version you plan on running Onboard with. I'd recommend python 3.2 or later, python 2.7 might still work, but we haven't tested that in a while.

Let me know if you need more instructions on building Onboard.

Revision history for this message
Silvio Siefke (sisi-arabic) said :
#2

Hello,

python 2.7 will not run, Python 3.2. i have on the maschine but has now prob with DBUS. Gentoo compiled DBUS only with Python 2.7, 3.2 want not work. Must find a way to install DBUS with 3.2.

Thank you for help & Greetings
Silvio