atribute error

Asked by Bart van Lieshout on 2014-12-14

Hi,

when i execute onboard i get the attribute error. also the warning about distutils concerns me:

t
gentoo-vm onboard-1.0.1 # python3 setup.py build
found dconf version 0.20.0
setup.py: running pkg-config: pkg-config --libs --cflags gdk-3.0 x11 xi xtst xkbfile dconf libcanberra hunspell
setup.py: -pthread -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/hunspell -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lX11 -lXi -lXtst -lxkbfile -ldconf -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcanberra -lhunspell-1.3
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.3
creating build/lib.linux-x86_64-3.3/Onboard
copying Onboard/utils.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/ClickSimulator.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Exceptions.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/TextDomain.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/__init__.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/WindowUtils.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Layout.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Sound.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/AutoShow.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/KeyGtk.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/canonical_equivalents.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/IconPalette.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/KeyboardWidget.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Indicator.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/KeyboardPopups.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/TouchHandles.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/LanguageSupport.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/XInput.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/SpellChecker.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/KeyCommon.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/OnboardGtk.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/LayoutView.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/TextChanges.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/ConfigUtils.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/WordSuggestions.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/WPEngine.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/AtspiStateTracker.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/TouchInput.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Appearance.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/settings.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Keyboard.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Config.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/TextContext.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/Scanner.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/KbdWindow.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/LayoutLoaderSVG.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/SnippetView.py -> build/lib.linux-x86_64-3.3/Onboard
copying Onboard/definitions.py -> build/lib.linux-x86_64-3.3/Onboard
creating build/lib.linux-x86_64-3.3/Onboard/pypredict
copying Onboard/pypredict/__init__.py -> build/lib.linux-x86_64-3.3/Onboard/pypredict
copying Onboard/pypredict/lm_wrapper.py -> build/lib.linux-x86_64-3.3/Onboard/pypredict
running build_ext
building 'Onboard.osk' extension
creating build/temp.linux-x86_64-3.3
creating build/temp.linux-x86_64-3.3/Onboard
creating build/temp.linux-x86_64-3.3/Onboard/osk
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_module.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_module.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_virtkey.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_virtkey.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_devices.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_devices.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_util.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_util.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_dconf.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_dconf.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_struts.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_struts.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_audio.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_audio.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_hunspell.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_hunspell.o
x86_64-pc-linux-gnu-gcc -pthread -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/dconf -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/glib-2.0 -I/usr/include/hunspell -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gtk-3.0 -I/usr/include/python3.3 -c Onboard/osk/osk_click_mapper.c -o build/temp.linux-x86_64-3.3/Onboard/osk/osk_click_mapper.o
x86_64-pc-linux-gnu-gcc -pthread -shared build/temp.linux-x86_64-3.3/Onboard/osk/osk_module.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_virtkey.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_devices.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_util.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_dconf.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_struts.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_audio.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_hunspell.o build/temp.linux-x86_64-3.3/Onboard/osk/osk_click_mapper.o -L/usr/lib64 -lcanberra -lhunspell-1.3 -ldconf -lcairo-gobject -lpangocairo-1.0 -lpango-1.0 -lXi -lX11 -lxkbfile -lXtst -lgdk-3 -lcairo -lgdk_pixbuf-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lpython3.3 -o build/lib.linux-x86_64-3.3/Onboard/osk.cpython-33.so -D_REENTRANT -pthread
building 'Onboard.pypredict.lm' extension
creating build/temp.linux-x86_64-3.3/Onboard/pypredict
creating build/temp.linux-x86_64-3.3/Onboard/pypredict/lm
x86_64-pc-linux-gnu-g++ -pthread -fPIC -DNDEBUG=1 -I/usr/include/python3.3 -c Onboard/pypredict/lm/lm.cpp -o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm.o
x86_64-pc-linux-gnu-g++ -pthread -fPIC -DNDEBUG=1 -I/usr/include/python3.3 -c Onboard/pypredict/lm/lm_unigram.cpp -o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_unigram.o
x86_64-pc-linux-gnu-g++ -pthread -fPIC -DNDEBUG=1 -I/usr/include/python3.3 -c Onboard/pypredict/lm/lm_dynamic.cpp -o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_dynamic.o
x86_64-pc-linux-gnu-g++ -pthread -fPIC -DNDEBUG=1 -I/usr/include/python3.3 -c Onboard/pypredict/lm/lm_merged.cpp -o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_merged.o
x86_64-pc-linux-gnu-g++ -pthread -fPIC -DNDEBUG=1 -I/usr/include/python3.3 -c Onboard/pypredict/lm/lm_python.cpp -o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_python.o
x86_64-pc-linux-gnu-g++ -pthread -fPIC -DNDEBUG=1 -I/usr/include/python3.3 -c Onboard/pypredict/lm/pool_allocator.cpp -o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/pool_allocator.o
x86_64-pc-linux-gnu-g++ -pthread -shared build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm.o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_unigram.o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_dynamic.o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_merged.o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/lm_python.o build/temp.linux-x86_64-3.3/Onboard/pypredict/lm/pool_allocator.o -L/usr/lib64 -lpython3.3 -o build/lib.linux-x86_64-3.3/Onboard/pypredict/lm.cpython-33.so
running build_scripts
creating build/scripts-3.3
copying and adjusting onboard -> build/scripts-3.3
copying and adjusting onboard-settings -> build/scripts-3.3
changing mode of build/scripts-3.3/onboard from 644 to 755
changing mode of build/scripts-3.3/onboard-settings from 644 to 755
running build_i18n
intltool-update -p -g onboard
msgfmt po/bn.po -o build/mo/bn/LC_MESSAGES/onboard.mo
msgfmt po/en_GB.po -o build/mo/en_GB/LC_MESSAGES/onboard.mo
msgfmt po/ca.po -o build/mo/ca/LC_MESSAGES/onboard.mo
msgfmt po/de.po -o build/mo/de/LC_MESSAGES/onboard.mo
msgfmt po/en_CA.po -o build/mo/en_CA/LC_MESSAGES/onboard.mo
msgfmt po/is.po -o build/mo/is/LC_MESSAGES/onboard.mo
msgfmt po/pms.po -o build/mo/pms/LC_MESSAGES/onboard.mo
msgfmt po/sv.po -o build/mo/sv/LC_MESSAGES/onboard.mo
msgfmt po/gl.po -o build/mo/gl/LC_MESSAGES/onboard.mo
msgfmt po/ku.po -o build/mo/ku/LC_MESSAGES/onboard.mo
msgfmt po/af.po -o build/mo/af/LC_MESSAGES/onboard.mo
msgfmt po/br.po -o build/mo/br/LC_MESSAGES/onboard.mo
msgfmt po/km.po -o build/mo/km/LC_MESSAGES/onboard.mo
msgfmt po/fil.po -o build/mo/fil/LC_MESSAGES/onboard.mo
msgfmt po/cs.po -o build/mo/cs/LC_MESSAGES/onboard.mo
msgfmt po/ky.po -o build/mo/ky/LC_MESSAGES/onboard.mo
msgfmt po/tl.po -o build/mo/tl/LC_MESSAGES/onboard.mo
msgfmt po/sq.po -o build/mo/sq/LC_MESSAGES/onboard.mo
msgfmt po/pl.po -o build/mo/pl/LC_MESSAGES/onboard.mo
msgfmt po/ml.po -o build/mo/ml/LC_MESSAGES/onboard.mo
msgfmt po/ace.po -o build/mo/ace/LC_MESSAGES/onboard.mo
msgfmt po/gd.po -o build/mo/gd/LC_MESSAGES/onboard.mo
msgfmt po/ug.po -o build/mo/ug/LC_MESSAGES/onboard.mo
msgfmt po/fo.po -o build/mo/fo/LC_MESSAGES/onboard.mo
msgfmt po/el.po -o build/mo/el/LC_MESSAGES/onboard.mo
msgfmt po/lt.po -o build/mo/lt/LC_MESSAGES/onboard.mo
msgfmt po/uz.po -o build/mo/uz/LC_MESSAGES/onboard.mo
msgfmt po/se.po -o build/mo/se/LC_MESSAGES/onboard.mo
msgfmt po/ja.po -o build/mo/ja/LC_MESSAGES/onboard.mo
msgfmt po/hr.po -o build/mo/hr/LC_MESSAGES/onboard.mo
msgfmt po/my.po -o build/mo/my/LC_MESSAGES/onboard.mo
msgfmt po/eu.po -o build/mo/eu/LC_MESSAGES/onboard.mo
msgfmt po/sl.po -o build/mo/sl/LC_MESSAGES/onboard.mo
msgfmt po/hi.po -o build/mo/hi/LC_MESSAGES/onboard.mo
msgfmt po/am.po -o build/mo/am/LC_MESSAGES/onboard.mo
msgfmt po/sr.po -o build/mo/sr/LC_MESSAGES/onboard.mo
msgfmt po/kn.po -o build/mo/kn/LC_MESSAGES/onboard.mo
msgfmt po/ko.po -o build/mo/ko/LC_MESSAGES/onboard.mo
msgfmt po/nn.po -o build/mo/nn/LC_MESSAGES/onboard.mo
msgfmt po/zh_CN.po -o build/mo/zh_CN/LC_MESSAGES/onboard.mo
msgfmt po/oc.po -o build/mo/oc/LC_MESSAGES/onboard.mo
msgfmt po/it.po -o build/mo/it/LC_MESSAGES/onboard.mo
msgfmt po/nl.po -o build/mo/nl/LC_MESSAGES/onboard.mo
msgfmt po/mhr.po -o build/mo/mhr/LC_MESSAGES/onboard.mo
msgfmt po/cy.po -o build/mo/cy/LC_MESSAGES/onboard.mo
msgfmt po/ms.po -o build/mo/ms/LC_MESSAGES/onboard.mo
msgfmt po/ar.po -o build/mo/ar/LC_MESSAGES/onboard.mo
msgfmt po/he.po -o build/mo/he/LC_MESSAGES/onboard.mo
msgfmt po/et.po -o build/mo/et/LC_MESSAGES/onboard.mo
msgfmt <email address hidden> -o build/mo/ca@valencia/LC_MESSAGES/onboard.mo
msgfmt po/shn.po -o build/mo/shn/LC_MESSAGES/onboard.mo
msgfmt po/pt.po -o build/mo/pt/LC_MESSAGES/onboard.mo
msgfmt po/da.po -o build/mo/da/LC_MESSAGES/onboard.mo
msgfmt po/nb.po -o build/mo/nb/LC_MESSAGES/onboard.mo
msgfmt po/be.po -o build/mo/be/LC_MESSAGES/onboard.mo
msgfmt po/ne.po -o build/mo/ne/LC_MESSAGES/onboard.mo
msgfmt po/hu.po -o build/mo/hu/LC_MESSAGES/onboard.mo
msgfmt po/sk.po -o build/mo/sk/LC_MESSAGES/onboard.mo
msgfmt po/bg.po -o build/mo/bg/LC_MESSAGES/onboard.mo
msgfmt po/ta.po -o build/mo/ta/LC_MESSAGES/onboard.mo
msgfmt po/pt_BR.po -o build/mo/pt_BR/LC_MESSAGES/onboard.mo
msgfmt po/vi.po -o build/mo/vi/LC_MESSAGES/onboard.mo
msgfmt po/eo.po -o build/mo/eo/LC_MESSAGES/onboard.mo
msgfmt po/sd.po -o build/mo/sd/LC_MESSAGES/onboard.mo
msgfmt po/fr.po -o build/mo/fr/LC_MESSAGES/onboard.mo
msgfmt po/ru.po -o build/mo/ru/LC_MESSAGES/onboard.mo
msgfmt po/fr_CA.po -o build/mo/fr_CA/LC_MESSAGES/onboard.mo
msgfmt po/te.po -o build/mo/te/LC_MESSAGES/onboard.mo
msgfmt po/az.po -o build/mo/az/LC_MESSAGES/onboard.mo
msgfmt po/ro.po -o build/mo/ro/LC_MESSAGES/onboard.mo
msgfmt po/zh_TW.po -o build/mo/zh_TW/LC_MESSAGES/onboard.mo
msgfmt po/pa.po -o build/mo/pa/LC_MESSAGES/onboard.mo
msgfmt po/hy.po -o build/mo/hy/LC_MESSAGES/onboard.mo
msgfmt po/kk.po -o build/mo/kk/LC_MESSAGES/onboard.mo
msgfmt po/mi.po -o build/mo/mi/LC_MESSAGES/onboard.mo
msgfmt po/th.po -o build/mo/th/LC_MESSAGES/onboard.mo
msgfmt po/tg.po -o build/mo/tg/LC_MESSAGES/onboard.mo
msgfmt po/bs.po -o build/mo/bs/LC_MESSAGES/onboard.mo
msgfmt po/uk.po -o build/mo/uk/LC_MESSAGES/onboard.mo
msgfmt po/tr.po -o build/mo/tr/LC_MESSAGES/onboard.mo
msgfmt po/sn.po -o build/mo/sn/LC_MESSAGES/onboard.mo
msgfmt po/zh_HK.po -o build/mo/zh_HK/LC_MESSAGES/onboard.mo
msgfmt po/ast.po -o build/mo/ast/LC_MESSAGES/onboard.mo
msgfmt po/fi.po -o build/mo/fi/LC_MESSAGES/onboard.mo
msgfmt po/es.po -o build/mo/es/LC_MESSAGES/onboard.mo
msgfmt po/mr.po -o build/mo/mr/LC_MESSAGES/onboard.mo
msgfmt po/id.po -o build/mo/id/LC_MESSAGES/onboard.mo
msgfmt po/en_AU.po -o build/mo/en_AU/LC_MESSAGES/onboard.mo
msgfmt po/si.po -o build/mo/si/LC_MESSAGES/onboard.mo
msgfmt po/ga.po -o build/mo/ga/LC_MESSAGES/onboard.mo
msgfmt po/lv.po -o build/mo/lv/LC_MESSAGES/onboard.mo
intltool-merge -d po data/onboard-settings.desktop.in build/share/applications/onboard-settings.desktop
Merging translations into build/share/applications/onboard-settings.desktop.
intltool-merge -d po data/onboard.desktop.in build/share/applications/onboard.desktop
Merging translations into build/share/applications/onboard.desktop.
running build_icons
running build_help
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  Onboard/osk.cpython-33.so
  Onboard/osk/osk_audio.c
  Onboard/osk/osk_click_mapper.c
  Onboard/osk/osk_dconf.c
  Onboard/osk/osk_devices.c
  Onboard/osk/osk_hunspell.c
  Onboard/osk/osk_module.c
  Onboard/osk/osk_module.h
  Onboard/osk/osk_struts.c
  Onboard/osk/osk_util.c
  Onboard/osk/osk_virtkey.c
  Onboard/pypredict/README
  Onboard/pypredict/attic/Makefile
  Onboard/pypredict/attic/multilevel
  Onboard/pypredict/attic/ngram-test
  Onboard/pypredict/attic/randbench
  Onboard/pypredict/attic/test-client
  Onboard/pypredict/lm.cpython-33.so
  Onboard/pypredict/lm/accent_transform.h
  Onboard/pypredict/lm/gen_accent_transform
  Onboard/pypredict/lm/lm.cpp
  Onboard/pypredict/lm/lm.h
  Onboard/pypredict/lm/lm_dynamic.cpp
  Onboard/pypredict/lm/lm_dynamic.h
  Onboard/pypredict/lm/lm_dynamic_cached.h
  Onboard/pypredict/lm/lm_dynamic_impl.h
  Onboard/pypredict/lm/lm_dynamic_kn.h
  Onboard/pypredict/lm/lm_merged.cpp
  Onboard/pypredict/lm/lm_merged.h
  Onboard/pypredict/lm/lm_python.cpp
  Onboard/pypredict/lm/lm_unigram.cpp
  Onboard/pypredict/lm/lm_unigram.h
  Onboard/pypredict/lm/pool_allocator.cpp
  Onboard/pypredict/tools/analyze
  Onboard/pypredict/tools/entropy
  Onboard/pypredict/tools/filter
  Onboard/pypredict/tools/ksr
  Onboard/pypredict/tools/makemodels
  Onboard/pypredict/tools/model_info
  Onboard/pypredict/tools/optimize
  Onboard/pypredict/tools/predict
  Onboard/pypredict/tools/randomize
  Onboard/pypredict/tools/split_corpus
  Onboard/pypredict/tools/train
  PKG-INFO
symlinking /root/onboard-1.0.1/build/lib.linux-x86_64-3.3/Onboard/osk.cpython-33.so to Onboard/osk.cpython-33.so
symlinking /root/onboard-1.0.1/build/lib.linux-x86_64-3.3/Onboard/pypredict/lm.cpython-33.so to Onboard/pypredict/lm.cpython-33.so
gentoo-vm onboard-1.0.1 # python3 setup.py install
found dconf version 0.20.0
running install
running build
running build_py
running build_ext
running build_scripts
running build_i18n
intltool-update -p -g onboard
running build_icons
running build_help
running install_lib
copying build/lib.linux-x86_64-3.3/Onboard/pypredict/lm.cpython-33.so -> /usr/lib64/python3.3/site-packages/Onboard/pypredict
copying build/lib.linux-x86_64-3.3/Onboard/osk.cpython-33.so -> /usr/lib64/python3.3/site-packages/Onboard
running install_scripts
copying build/scripts-3.3/onboard -> /usr/bin
copying build/scripts-3.3/onboard-settings -> /usr/bin
changing mode of /usr/bin/onboard to 755
changing mode of /usr/bin/onboard-settings to 755
running install_data
copying build/mo/bn/LC_MESSAGES/onboard.mo -> /usr/share/locale/bn/LC_MESSAGES
copying build/mo/en_GB/LC_MESSAGES/onboard.mo -> /usr/share/locale/en_GB/LC_MESSAGES
copying build/mo/ca/LC_MESSAGES/onboard.mo -> /usr/share/locale/ca/LC_MESSAGES
copying build/mo/de/LC_MESSAGES/onboard.mo -> /usr/share/locale/de/LC_MESSAGES
copying build/mo/en_CA/LC_MESSAGES/onboard.mo -> /usr/share/locale/en_CA/LC_MESSAGES
copying build/mo/is/LC_MESSAGES/onboard.mo -> /usr/share/locale/is/LC_MESSAGES
copying build/mo/pms/LC_MESSAGES/onboard.mo -> /usr/share/locale/pms/LC_MESSAGES
copying build/mo/sv/LC_MESSAGES/onboard.mo -> /usr/share/locale/sv/LC_MESSAGES
copying build/mo/gl/LC_MESSAGES/onboard.mo -> /usr/share/locale/gl/LC_MESSAGES
copying build/mo/ku/LC_MESSAGES/onboard.mo -> /usr/share/locale/ku/LC_MESSAGES
copying build/mo/af/LC_MESSAGES/onboard.mo -> /usr/share/locale/af/LC_MESSAGES
copying build/mo/br/LC_MESSAGES/onboard.mo -> /usr/share/locale/br/LC_MESSAGES
copying build/mo/km/LC_MESSAGES/onboard.mo -> /usr/share/locale/km/LC_MESSAGES
copying build/mo/fil/LC_MESSAGES/onboard.mo -> /usr/share/locale/fil/LC_MESSAGES
copying build/mo/cs/LC_MESSAGES/onboard.mo -> /usr/share/locale/cs/LC_MESSAGES
copying build/mo/ky/LC_MESSAGES/onboard.mo -> /usr/share/locale/ky/LC_MESSAGES
copying build/mo/tl/LC_MESSAGES/onboard.mo -> /usr/share/locale/tl/LC_MESSAGES
copying build/mo/sq/LC_MESSAGES/onboard.mo -> /usr/share/locale/sq/LC_MESSAGES
copying build/mo/pl/LC_MESSAGES/onboard.mo -> /usr/share/locale/pl/LC_MESSAGES
copying build/mo/ml/LC_MESSAGES/onboard.mo -> /usr/share/locale/ml/LC_MESSAGES
copying build/mo/ace/LC_MESSAGES/onboard.mo -> /usr/share/locale/ace/LC_MESSAGES
copying build/mo/gd/LC_MESSAGES/onboard.mo -> /usr/share/locale/gd/LC_MESSAGES
copying build/mo/ug/LC_MESSAGES/onboard.mo -> /usr/share/locale/ug/LC_MESSAGES
copying build/mo/fo/LC_MESSAGES/onboard.mo -> /usr/share/locale/fo/LC_MESSAGES
copying build/mo/el/LC_MESSAGES/onboard.mo -> /usr/share/locale/el/LC_MESSAGES
copying build/mo/lt/LC_MESSAGES/onboard.mo -> /usr/share/locale/lt/LC_MESSAGES
copying build/mo/uz/LC_MESSAGES/onboard.mo -> /usr/share/locale/uz/LC_MESSAGES
copying build/mo/se/LC_MESSAGES/onboard.mo -> /usr/share/locale/se/LC_MESSAGES
copying build/mo/ja/LC_MESSAGES/onboard.mo -> /usr/share/locale/ja/LC_MESSAGES
copying build/mo/hr/LC_MESSAGES/onboard.mo -> /usr/share/locale/hr/LC_MESSAGES
copying build/mo/my/LC_MESSAGES/onboard.mo -> /usr/share/locale/my/LC_MESSAGES
copying build/mo/eu/LC_MESSAGES/onboard.mo -> /usr/share/locale/eu/LC_MESSAGES
copying build/mo/sl/LC_MESSAGES/onboard.mo -> /usr/share/locale/sl/LC_MESSAGES
copying build/mo/hi/LC_MESSAGES/onboard.mo -> /usr/share/locale/hi/LC_MESSAGES
copying build/mo/am/LC_MESSAGES/onboard.mo -> /usr/share/locale/am/LC_MESSAGES
copying build/mo/sr/LC_MESSAGES/onboard.mo -> /usr/share/locale/sr/LC_MESSAGES
copying build/mo/kn/LC_MESSAGES/onboard.mo -> /usr/share/locale/kn/LC_MESSAGES
copying build/mo/ko/LC_MESSAGES/onboard.mo -> /usr/share/locale/ko/LC_MESSAGES
copying build/mo/nn/LC_MESSAGES/onboard.mo -> /usr/share/locale/nn/LC_MESSAGES
copying build/mo/zh_CN/LC_MESSAGES/onboard.mo -> /usr/share/locale/zh_CN/LC_MESSAGES
copying build/mo/oc/LC_MESSAGES/onboard.mo -> /usr/share/locale/oc/LC_MESSAGES
copying build/mo/it/LC_MESSAGES/onboard.mo -> /usr/share/locale/it/LC_MESSAGES
copying build/mo/nl/LC_MESSAGES/onboard.mo -> /usr/share/locale/nl/LC_MESSAGES
copying build/mo/mhr/LC_MESSAGES/onboard.mo -> /usr/share/locale/mhr/LC_MESSAGES
copying build/mo/cy/LC_MESSAGES/onboard.mo -> /usr/share/locale/cy/LC_MESSAGES
copying build/mo/ms/LC_MESSAGES/onboard.mo -> /usr/share/locale/ms/LC_MESSAGES
copying build/mo/ar/LC_MESSAGES/onboard.mo -> /usr/share/locale/ar/LC_MESSAGES
copying build/mo/he/LC_MESSAGES/onboard.mo -> /usr/share/locale/he/LC_MESSAGES
copying build/mo/et/LC_MESSAGES/onboard.mo -> /usr/share/locale/et/LC_MESSAGES
copying build/mo/ca@valencia/LC_MESSAGES/onboard.mo -> /usr/share/locale/ca@valencia/LC_MESSAGES
copying build/mo/shn/LC_MESSAGES/onboard.mo -> /usr/share/locale/shn/LC_MESSAGES
copying build/mo/pt/LC_MESSAGES/onboard.mo -> /usr/share/locale/pt/LC_MESSAGES
copying build/mo/da/LC_MESSAGES/onboard.mo -> /usr/share/locale/da/LC_MESSAGES
copying build/mo/nb/LC_MESSAGES/onboard.mo -> /usr/share/locale/nb/LC_MESSAGES
copying build/mo/be/LC_MESSAGES/onboard.mo -> /usr/share/locale/be/LC_MESSAGES
copying build/mo/ne/LC_MESSAGES/onboard.mo -> /usr/share/locale/ne/LC_MESSAGES
copying build/mo/hu/LC_MESSAGES/onboard.mo -> /usr/share/locale/hu/LC_MESSAGES
copying build/mo/sk/LC_MESSAGES/onboard.mo -> /usr/share/locale/sk/LC_MESSAGES
copying build/mo/bg/LC_MESSAGES/onboard.mo -> /usr/share/locale/bg/LC_MESSAGES
copying build/mo/ta/LC_MESSAGES/onboard.mo -> /usr/share/locale/ta/LC_MESSAGES
copying build/mo/pt_BR/LC_MESSAGES/onboard.mo -> /usr/share/locale/pt_BR/LC_MESSAGES
copying build/mo/vi/LC_MESSAGES/onboard.mo -> /usr/share/locale/vi/LC_MESSAGES
copying build/mo/eo/LC_MESSAGES/onboard.mo -> /usr/share/locale/eo/LC_MESSAGES
copying build/mo/sd/LC_MESSAGES/onboard.mo -> /usr/share/locale/sd/LC_MESSAGES
copying build/mo/fr/LC_MESSAGES/onboard.mo -> /usr/share/locale/fr/LC_MESSAGES
copying build/mo/ru/LC_MESSAGES/onboard.mo -> /usr/share/locale/ru/LC_MESSAGES
copying build/mo/fr_CA/LC_MESSAGES/onboard.mo -> /usr/share/locale/fr_CA/LC_MESSAGES
copying build/mo/te/LC_MESSAGES/onboard.mo -> /usr/share/locale/te/LC_MESSAGES
copying build/mo/az/LC_MESSAGES/onboard.mo -> /usr/share/locale/az/LC_MESSAGES
copying build/mo/ro/LC_MESSAGES/onboard.mo -> /usr/share/locale/ro/LC_MESSAGES
copying build/mo/zh_TW/LC_MESSAGES/onboard.mo -> /usr/share/locale/zh_TW/LC_MESSAGES
copying build/mo/pa/LC_MESSAGES/onboard.mo -> /usr/share/locale/pa/LC_MESSAGES
copying build/mo/hy/LC_MESSAGES/onboard.mo -> /usr/share/locale/hy/LC_MESSAGES
copying build/mo/kk/LC_MESSAGES/onboard.mo -> /usr/share/locale/kk/LC_MESSAGES
copying build/mo/mi/LC_MESSAGES/onboard.mo -> /usr/share/locale/mi/LC_MESSAGES
copying build/mo/th/LC_MESSAGES/onboard.mo -> /usr/share/locale/th/LC_MESSAGES
copying build/mo/tg/LC_MESSAGES/onboard.mo -> /usr/share/locale/tg/LC_MESSAGES
copying build/mo/bs/LC_MESSAGES/onboard.mo -> /usr/share/locale/bs/LC_MESSAGES
copying build/mo/uk/LC_MESSAGES/onboard.mo -> /usr/share/locale/uk/LC_MESSAGES
copying build/mo/tr/LC_MESSAGES/onboard.mo -> /usr/share/locale/tr/LC_MESSAGES
copying build/mo/sn/LC_MESSAGES/onboard.mo -> /usr/share/locale/sn/LC_MESSAGES
copying build/mo/zh_HK/LC_MESSAGES/onboard.mo -> /usr/share/locale/zh_HK/LC_MESSAGES
copying build/mo/ast/LC_MESSAGES/onboard.mo -> /usr/share/locale/ast/LC_MESSAGES
copying build/mo/fi/LC_MESSAGES/onboard.mo -> /usr/share/locale/fi/LC_MESSAGES
copying build/mo/es/LC_MESSAGES/onboard.mo -> /usr/share/locale/es/LC_MESSAGES
copying build/mo/mr/LC_MESSAGES/onboard.mo -> /usr/share/locale/mr/LC_MESSAGES
copying build/mo/id/LC_MESSAGES/onboard.mo -> /usr/share/locale/id/LC_MESSAGES
copying build/mo/en_AU/LC_MESSAGES/onboard.mo -> /usr/share/locale/en_AU/LC_MESSAGES
copying build/mo/si/LC_MESSAGES/onboard.mo -> /usr/share/locale/si/LC_MESSAGES
copying build/mo/ga/LC_MESSAGES/onboard.mo -> /usr/share/locale/ga/LC_MESSAGES
copying build/mo/lv/LC_MESSAGES/onboard.mo -> /usr/share/locale/lv/LC_MESSAGES
copying build/share/applications/onboard-settings.desktop -> /usr/share/applications
copying build/share/applications/onboard.desktop -> /usr/share/applications
running install_egg_info
Removing /usr/lib64/python3.3/site-packages/onboard-1.0.1-py3.3.egg-info
Writing /usr/lib64/python3.3/site-packages/onboard-1.0.1-py3.3.egg-info
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  Onboard/osk.cpython-33.so
  Onboard/osk/osk_audio.c
  Onboard/osk/osk_click_mapper.c
  Onboard/osk/osk_dconf.c
  Onboard/osk/osk_devices.c
  Onboard/osk/osk_hunspell.c
  Onboard/osk/osk_module.c
  Onboard/osk/osk_module.h
  Onboard/osk/osk_struts.c
  Onboard/osk/osk_util.c
  Onboard/osk/osk_virtkey.c
  Onboard/pypredict/README
  Onboard/pypredict/attic/Makefile
  Onboard/pypredict/attic/multilevel
  Onboard/pypredict/attic/ngram-test
  Onboard/pypredict/attic/randbench
  Onboard/pypredict/attic/test-client
  Onboard/pypredict/lm.cpython-33.so
  Onboard/pypredict/lm/accent_transform.h
  Onboard/pypredict/lm/gen_accent_transform
  Onboard/pypredict/lm/lm.cpp
  Onboard/pypredict/lm/lm.h
  Onboard/pypredict/lm/lm_dynamic.cpp
  Onboard/pypredict/lm/lm_dynamic.h
  Onboard/pypredict/lm/lm_dynamic_cached.h
  Onboard/pypredict/lm/lm_dynamic_impl.h
  Onboard/pypredict/lm/lm_dynamic_kn.h
  Onboard/pypredict/lm/lm_merged.cpp
  Onboard/pypredict/lm/lm_merged.h
  Onboard/pypredict/lm/lm_python.cpp
  Onboard/pypredict/lm/lm_unigram.cpp
  Onboard/pypredict/lm/lm_unigram.h
  Onboard/pypredict/lm/pool_allocator.cpp
  Onboard/pypredict/tools/analyze
  Onboard/pypredict/tools/entropy
  Onboard/pypredict/tools/filter
  Onboard/pypredict/tools/ksr
  Onboard/pypredict/tools/makemodels
  Onboard/pypredict/tools/model_info
  Onboard/pypredict/tools/optimize
  Onboard/pypredict/tools/predict
  Onboard/pypredict/tools/randomize
  Onboard/pypredict/tools/split_corpus
  Onboard/pypredict/tools/train
  PKG-INFO
gentoo-vm onboard-1.0.1 # exit
logout
bart@gentoo-vm ~ $ onboard
2014-12-14 21:36:01,155:WARNING:ConfigUtils: gsettings-schema voor ‘org.gnome.desktop.a11y.applications’ is niet geïnstalleerd
Traceback (most recent call last):
  File "/usr/bin/onboard", line 15, in <module>
    from Onboard.OnboardGtk import OnboardGtk as Onboard
  File "/usr/lib64/python3.3/site-packages/Onboard/OnboardGtk.py", line 25, in <module>
    from Onboard.KbdWindow import KbdWindow, KbdPlugWindow
  File "/usr/lib64/python3.3/site-packages/Onboard/KbdWindow.py", line 9, in <module>
    from Onboard.WindowUtils import Orientation, WindowRectPersist, \
  File "/usr/lib64/python3.3/site-packages/Onboard/WindowUtils.py", line 23, in <module>
    config = Config()
  File "/usr/lib64/python3.3/site-packages/Onboard/Config.py", line 180, in __new__
    cls.self.construct()
  File "/usr/lib64/python3.3/site-packages/Onboard/Config.py", line 256, in construct
    self.gnome_a11y.init_from_gsettings()
AttributeError: 'NoneType' object has no attribute 'init_from_gsettings'
bart@gentoo-vm ~ $

Question information

Language:
English Edit question
Status:
Solved
For:
Onboard Edit question
Assignee:
No assignee Edit question
Solved by:
marmuta
Solved:
2014-12-17
Last query:
2014-12-17
Last reply:
2014-12-15
Best marmuta (marmuta) said : #1

Hi, that traceback happens because of
2014-12-14 21:36:01,155:WARNING:ConfigUtils: gsettings-schema voor ‘org.gnome.desktop.a11y.applications’ is niet geïnstalleerd

That that gsettings schema isn't heavily used, so it was meant to be optional. It wasn't completely optional, though. I've fixed that in trunk.

You can either get the latest Onboard
$ bzr branch lp:onboard

or try to install the gsettings schema org.gnome.desktop.a11y.applications. The package on Ubuntu is gsettings-desktop-schemas, the file /usr/share/glib-2.0/schemas/org.gnome.desktop.a11y.applications.gschema.XML.

The build warning
WARNING: the following files are not recognized by DistUtilsExtra.auto:
is harmless. DistUtilsExtra simply doesn't know what to do with a lot of files and leaves those for us to handle in setup.py. The build runs through for you so there doesn't appear to be a problem.

Thanks marmuta, that solved my question.