[Pkg-utopia-maintainers] Bug#816156: Python dbus Attribute error

Daniel Peterson dpeterson309 at gmail.com
Wed Mar 2 01:28:07 UTC 2016


I am trying to run the onscreen keyboard onboard with python, and dbus
complains. Onboard runs with python3.4 by default. Running it with
python3.5 appears to fix the problem. Trying to import dbus.exceptions with
python3.4 will cause the problem I was seeing earlier.

daniel at x230t:~$ python3.4
Python 3.4.4 (default, Jan  5 2016, 15:35:18)
[GCC 5.3.1 20160101] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus.exceptions as exceptions
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/dbus/__init__.py", line 82, in
<module>
    import dbus.types as types
  File "/usr/lib/python3/dist-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
ImportError: No module named '_dbus_bindings'
>>>

I am not sure if this is a python3.4 problem or a dbus problem, but it
appears that
python-dbus 1.2.2-1 will not work with python3.4

I will also file a bug against onboard so that others know to move up to a
newer python version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20160301/2d141597/attachment.html>


More information about the Pkg-utopia-maintainers mailing list