Bug#892988: autokey-gtk: does not start

2018-04-16 Thread Adrian Bunk
On Mon, Apr 16, 2018 at 10:49:32AM +0200, Francesco Marchesi wrote:
> > Please provide the output of the following commands:
> 
> Here you are
>...
> > $ find /usr/local -name six.py
> 
> /usr/local/lib/python2.7/dist-packages/six.py
>...

This is what is causng your problem, you have a manually installed copy 
of this module there.

Please confirm that it works after removing this file.

> Thanks,
> Francesco

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#892988: autokey-gtk: does not start

2018-04-16 Thread Francesco Marchesi
> Please provide the output of the following commands:

Here you are

> $ dpkg -l python-xlib

ii python-xlib 0.20-3 all interface for Python to the X11 protocol

> $ dpkg -l python-six

ii python-six 1.11.0-2 all Python 2 and 3 compatibility library (Python
2 interface)

> $ find /usr/local -name six.py

/usr/local/lib/python2.7/dist-packages/six.py
/usr/local/lib/python2.7/dist-packages/ecdsa/six.py

Thanks,
Francesco



Bug#892988: autokey-gtk: does not start

2018-04-15 Thread Adrian Bunk
On Thu, Mar 15, 2018 at 10:01:01AM +0100, Francesco Marchesi wrote:
>...
> from Xlib import X, XK, display, error
>   File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 26, in 
> 
> from six import create_unbound_method
> ImportError: cannot import name create_unbound_method

Please provide the output of the following commands:
$ dpkg -l python-xlib
$ dpkg -l python-six
$ find /usr/local -name six.py
  >>> import six

> I'm using Cinnamon DE
> Thanks,
> Francesco

Thanks
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#892988: autokey-gtk: does not start

2018-04-06 Thread Francesco Marchesi
Dear Juani,

> Francesco, if you try again now, are you still getting no applet?

the problem is still there.
Actually I just realized that I didn't paste the first line of the
output which is:

/usr/lib/python2.7/dist-packages/autokey/gtkapp.py:24: 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 Gtk, Gdk, GObject, GLib

Regards,
Francesco

> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'testing-debug')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), 
> LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages autokey-gtk depends on:
> ii  autokey-common0.90.4-1.1
> ii  gir1.2-glib-2.0   1.56.0-2
> ii  gir1.2-gtk-3.03.22.29-1
> ii  gir1.2-gtksource-3.0  3.24.7-1
> ii  gir1.2-notify-0.7 0.7.7-3
> ii  python2.7.14-4
> ii  python-dbus   1.2.6-1
> ii  python-gi 3.26.1-2
> ii  zenity3.28.0-1
> 
> autokey-gtk recommends no packages.
> 
> autokey-gtk suggests no packages.
> 
> -- no debconf information
> 



Bug#892988: autokey-gtk: does not start

2018-04-06 Thread Francesco Marchesi
Package: autokey-gtk
Version: 0.90.4-1.1
Followup-For: Bug #892988

Dear Juhani,
the applet is still not shown.
Actually I forgot to mention that the first line of the output is

/usr/lib/python2.7/dist-packages/autokey/gtkapp.py:24: 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 Gtk, Gdk, GObject, GLib

Regards,
Francesco



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autokey-gtk depends on:
ii  autokey-common0.90.4-1.1
ii  gir1.2-glib-2.0   1.56.0-2
ii  gir1.2-gtk-3.03.22.29-2
ii  gir1.2-gtksource-3.0  3.24.7-1
ii  gir1.2-notify-0.7 0.7.7-3
ii  python2.7.14-4
ii  python-dbus   1.2.6-1
ii  python-gi 3.28.1-1
ii  zenity3.28.0-1

autokey-gtk recommends no packages.

autokey-gtk suggests no packages.

-- no debconf information



Bug#892988: autokey-gtk: does not start

2018-03-30 Thread Juhani Numminen
Followup-For: Bug #892988
Package: autokey-gtk

On Thu, 15 Mar 2018 10:01:01 +0100 Francesco Marchesi  wrote:

> the applet is not shown.
> Trying to start it from the terminal, leads to the following error: 

> Traceback (most recent call last):
>   File "/usr/bin/autokey-gtk", line 20, in 
> from autokey.gtkapp import Application
>   File "/usr/lib/python2.7/dist-packages/autokey/gtkapp.py", line 28, in
> 
> import service, monitor
>   File "/usr/lib/python2.7/dist-packages/autokey/service.py", line 21, in
> 
> from iomediator import Key, IoMediator
>   File "/usr/lib/python2.7/dist-packages/autokey/iomediator.py", line 107, in
> 
> from interface import *
>   File "/usr/lib/python2.7/dist-packages/autokey/interface.py", line 29, in
> 
> from Xlib import X, XK, display, error
>   File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 26, in 
> 
> from six import create_unbound_method
> ImportError: cannot import name create_unbound_method
> 
> I'm using Cinnamon DE
> Thanks,
> Francesco
For the record, I'm not seeing this bug. I've tried on Mate and Cinnamon.

When I run the command autokey-gtk from the terminal, the applet appears and
seems to be working (but I haven't verified if the program is functioning
correctly).

Francesco, if you try again now, are you still getting no applet?

Regards,
Juhani

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), 
LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autokey-gtk depends on:
ii  autokey-common0.90.4-1.1
ii  gir1.2-glib-2.0   1.56.0-2
ii  gir1.2-gtk-3.03.22.29-1
ii  gir1.2-gtksource-3.0  3.24.7-1
ii  gir1.2-notify-0.7 0.7.7-3
ii  python2.7.14-4
ii  python-dbus   1.2.6-1
ii  python-gi 3.26.1-2
ii  zenity3.28.0-1

autokey-gtk recommends no packages.

autokey-gtk suggests no packages.

-- no debconf information



Bug#892988: autokey-gtk: does not start

2018-03-15 Thread Francesco Marchesi
Package: autokey-gtk
Version: 0.90.4-1.1
Severity: grave
Tags: upstream
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

the applet is not shown.
Trying to start it from the terminal, leads to the following error:

/usr/lib/python2.7/dist-packages/autokey/gtkapp.py:24: 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 Gtk, Gdk, GObject, GLib
Traceback (most recent call last):
  File "/usr/bin/autokey-gtk", line 20, in 
from autokey.gtkapp import Application
  File "/usr/lib/python2.7/dist-packages/autokey/gtkapp.py", line 28, in

import service, monitor
  File "/usr/lib/python2.7/dist-packages/autokey/service.py", line 21, in

from iomediator import Key, IoMediator
  File "/usr/lib/python2.7/dist-packages/autokey/iomediator.py", line 107, in

from interface import *
  File "/usr/lib/python2.7/dist-packages/autokey/interface.py", line 29, in

from Xlib import X, XK, display, error
  File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 26, in 
from six import create_unbound_method
ImportError: cannot import name create_unbound_method

I'm using Cinnamon DE
Thanks,
Francesco



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autokey-gtk depends on:
ii  autokey-common0.90.4-1.1
ii  gir1.2-glib-2.0   1.54.1-4
ii  gir1.2-gtk-3.03.22.28-1
ii  gir1.2-gtksource-3.0  3.24.6-1
ii  gir1.2-notify-0.7 0.7.7-3
ii  python2.7.14-4
ii  python-dbus   1.2.6-1
ii  python-gi 3.26.1-2
ii  zenity3.27.90-1

autokey-gtk recommends no packages.

autokey-gtk suggests no packages.

-- no debconf information