Package: screenkey
Version: 1:1.4-2
Severity: normal

dear Maintainer,

I recently installed screenkey and when using it, the following errors appeared
on stdout:

    $ screenkey
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/Screenkey/screenkey.py", line 341, 
in on_configure
        self.input_shape_combine_region(cairo.Region(cairo.RectangleInt(0, 0, 
0, 0)))
    KeyError: 'could not find foreign type Region'
    TypeError: Couldn't find foreign struct converter for 'cairo.Context'
    TypeError: Couldn't find foreign struct converter for 'cairo.Context'
    TypeError: Couldn't find foreign struct converter for 'cairo.Context'
    TypeError: Couldn't find foreign struct converter for 'cairo.Context'

typed keys were still showing up on screen, but the black background was 
missing.

with a quick google search I learned that I needed to install python3-gi-cairo
to make the errors go away (e.g. https://stackoverflow.com/questions/42279510)
and indeed the issue was fixed after I manually installed python3-gi-cairo.

I think python3-gi-cairo should be a required dependency of screenkey to make
it work properly (it's already listed on screenkey homepage's "readme"
https://www.thregr.org/~wavexx/software/screenkey#from-source).

thank you

marco

-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages screenkey depends on:
ii  fonts-font-awesome               5.0.10+really4.7.0~dfsg-4.1
ii  gir1.2-ayatanaappindicator3-0.1  0.5.5-2
ii  gir1.2-gtk-3.0                   3.24.24-4
ii  libx11-6                         2:1.7.2-1
ii  python3                          3.9.2-3
ii  python3-cairo                    1.16.2-4+b2
ii  python3-gi                       3.38.0-2
ii  slop                             7.5-1+b1

screenkey recommends no packages.

screenkey suggests no packages.

-- no debconf information

Reply via email to