Your message dated Tue, 8 May 2018 09:22:27 +0100
with message-id <[email protected]>
and subject line Re: Bug#816156: Python dbus Attribute error
has caused the Debian Bug report #816156,
regarding Python dbus Attribute error
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
816156: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816156
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-dbus
Version: 1.2.2-1
When I try to use the onscreen keyboard onboard, I get an error message
from python-dbus init file. Below is a transcript of the error.
daniel@x230t:~$ onboard
/usr/lib/python3/dist-packages/Onboard/utils.py:16: PyGIWarning: Gtk was
imported without specifying a version first. Use gi.require_version('Gtk',
'3.0') before import to ensure that the right version gets loaded.
from gi.repository import GLib, Gtk
/usr/lib/python3/dist-packages/Onboard/KbdWindow.py:6: PyGIWarning: GdkX11
was imported without specifying a version first. Use
gi.require_version('GdkX11', '3.0') before import to ensure that the right
version gets loaded.
from gi.repository import GObject, GLib, GdkX11, Gdk, Gtk
Traceback (most recent call last):
File "/usr/bin/onboard", line 15, in <module>
from Onboard.OnboardGtk import OnboardGtk as Onboard
File "/usr/lib/python3/dist-packages/Onboard/OnboardGtk.py", line 26, in
<module>
from Onboard.KbdWindow import KbdWindow, KbdPlugWindow
File "/usr/lib/python3/dist-packages/Onboard/KbdWindow.py", line 10, in
<module>
from Onboard.WindowUtils import Orientation, WindowRectPersist, \
File "/usr/lib/python3/dist-packages/Onboard/WindowUtils.py", line 21, in
<module>
from Onboard.Config import Config
File "/usr/lib/python3/dist-packages/Onboard/Config.py", line 26, in
<module>
from Onboard.ClickSimulator import CSMousetweaks0, CSMousetweaks1
File "/usr/lib/python3/dist-packages/Onboard/ClickSimulator.py", line 9,
in <module>
import dbus
File "/usr/lib/python3/dist-packages/dbus/__init__.py", line 81, in
<module>
import dbus.exceptions as exceptions
AttributeError: 'module' object has no attribute 'exceptions'
I am not sure what is causing this. It appears on two computers both
running sid. I tried moving to the version of python-dbus in experimental
and this did not fix the problem. Interestingly, I am able to run the
following
daniel@x230t:~$ python3
Python 3.5.1+ (default, Feb 24 2016, 11:28:57)
[GCC 5.3.1 20160220] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus.exceptions as exceptions
>>>
with no error. I am not sure why it does not work in a script but does work
if I import the module manually.
--- End Message ---
--- Begin Message ---
Version: 1.2.4-1
On Wed, 02 Mar 2016 at 06:59:15 +0000, Simon McVittie wrote:
> I'm surprised that there wasn't a mass-rebuild of packages that
> depend on a single Python 3 version (such as onboard) so that they all
> use python3.5, *before* removing python3.4 as supported. Perhaps something
> has gone wrong with this particular transition and a step was missed.
This was a transition that happened in 2016 before the release of
Debian 9 'stretch', and there is no change to dbus-python that would
have avoided it, so I'm closing this bug.
smcv
--- End Message ---