Subject: python3-udiskie/python-udiskie do not start
Package: python3-udiskie
Version: 1.3.2-1
Justification: renders package unusable
Severity: grave

Dear Maintainer,

udiskie fails to start up; the icon appears in the system tray but no menu 
appears when
I click on it.

With python-udiskie, xsession-errors says the following:

----------
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You 
have imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use 
with introspection some of the interfaces and API will fail.  As such this is 
not supported by the pygobject development team and we encourage you to port 
your app to Gtk 3 or greater. PyGTK is the recomended python module to use with 
Gtk 2.0
  warnings.warn(warn_msg, RuntimeWarning)
/usr/lib/python2.7/dist-packages/udiskie/prompt.py:24: PyGIWarning: Gtk was 
imported without specifying a version first. Use gi.require_version('Gtk', 
'2.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
Typelib for 'libnotify' is not available. Possible causes include:
        - libnotify is not installed
        - the typelib is provided by a separate package
        - libnotify was built with introspection disabled

Starting udiskie without notifications.
not mounting /org/freedesktop/UDisks2/block_devices/mmcblk0p1: already mounted
"sni-qt/4318" WARN  22:14:33.168 void StatusNotifierItemFactory::connectToSnw() 
Invalid interface to SNW_SERVICE 
[i3bar/src/xcb.c:679] ERROR: Window 02800002 violates the XEMBED protocol, 
_XEMBED_INFO not set
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 319, in 
_activate
    self._popup_menu(icon, button=0, time=Gtk.get_current_event_time())
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 325, in 
_popup_menu
    m.popup(parent_menu_shell=None,
AttributeError: 'Menu' object has no attribute 'popup'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 319, in 
_activate
    self._popup_menu(icon, button=0, time=Gtk.get_current_event_time())
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 325, in 
_popup_menu
    m.popup(parent_menu_shell=None,
AttributeError: 'Menu' object has no attribute 'popup'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 319, in 
_activate
    self._popup_menu(icon, button=0, time=Gtk.get_current_event_time())
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 325, in 
_popup_menu
    m.popup(parent_menu_shell=None,
AttributeError: 'Menu' object has no attribute 'popup'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/udiskie/tray.py", line 325, in 
_popup_menu
    m.popup(parent_menu_shell=None,
AttributeError: 'Menu' object has no attribute 'popup'
--------------

With python3-udiskie installed, xsession-errors have the following error:

--------------
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:50: RuntimeWarning: You have 
imported the Gtk 2.0 module.  Because Gtk 2.0 was not designed for use with 
introspection some of the interfaces and API will fail.  As such this is not 
supported by the pygobject development team and we encourage you to port your 
app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 
2.0
  warnings.warn(warn_msg, RuntimeWarning)
/usr/bin/udiskie:9: PyGIWarning: Gtk was imported without specifying a version 
first. Use gi.require_version('Gtk', '2.0') before import to ensure that the 
right version gets loaded.
  load_entry_point('udiskie==1.3.2', 'console_scripts', 'udiskie')()
Typelib for 'libnotify' is not available. Possible causes include:
        - libnotify is not installed
        - the typelib is provided by a separate package
        - libnotify was built with introspection disabled

Starting udiskie without notifications.
not mounting /org/freedesktop/UDisks2/block_devices/mmcblk0p1: already mounted
"sni-qt/5786" WARN  22:20:51.131 void StatusNotifierItemFactory::connectToSnw() 
Invalid interface to SNW_SERVICE 
[i3bar/src/xcb.c:679] ERROR: Window 02800002 violates the XEMBED protocol, 
_XEMBED_INFO not set
--------------

It seems some package is not installed, but I don't know what is missing.

Best,
Greg

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-udiskie depends on:
ii  gettext                0.19.6-1
ii  gobject-introspection  1.46.0-2
ii  python-notify          0.1.1-4
ii  python3-docopt         0.6.2-1
ii  python3-gi             3.18.2-2
ii  python3-pkg-resources  18.4-2
ii  python3-yaml           3.11-2+b1
ii  python3.5              3.5.0-3+b1
pn  python3:any            <none>
ii  udisks2                2.1.6-2

python3-udiskie recommends no packages.

python3-udiskie suggests no packages.

-- no debconf information

Reply via email to