Package: python3-dogtail
Version: 1.0.0-3
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: m...@debian.org

Dear dogtail maintainers,

when I launch the 'sniff' program, it fails and displays this error message:

$ sniff
/usr/bin/sniff:657: PyGIDeprecationWarning: GObject.GError is deprecated; use
GLib.GError instead
  except GObject.GError:
La clé « introspect » n’existe pas
Traceback (most recent call last):
  File "/usr/bin/sniff", line 789, in <module>
    main()
  File "/usr/bin/sniff", line 786, in main
    sniff = SniffApp()
            ^^^^^^^^^^
  File "/usr/bin/sniff", line 69, in __init__
    self.setUpWidgets()
  File "/usr/bin/sniff", line 85, in setUpWidgets
    self.tree = SniffController()
                ^^^^^^^^^^^^^^^^^
  File "/usr/bin/sniff", line 157, in __init__
    self.treeModel = SniffModel()
                     ^^^^^^^^^^^^
  File "/usr/bin/sniff", line 414, in __init__
    self.appendAndPopulate(None, self.rootNode)
  File "/usr/bin/sniff", line 484, in appendAndPopulate
    return self.populateChildren(childIter)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/sniff", line 468, in populateChildren
    if not iter in self:
           ^^^^^^^^^^^^
  File "/usr/bin/sniff", line 417, in __contains__
    from dogtail.tree import Node
  File "/usr/lib/python3/dist-packages/dogtail/tree.py", line 6, in <module>
    from dogtail import rawinput
  File "/usr/lib/python3/dist-packages/dogtail/rawinput.py", line 25, in
<module>
    from ponytail.ponytail import Ponytail
ModuleNotFoundError: No module named 'ponytail'


It looks like the ponytail python package is required. According to the source
code [1], this happens with Wayland only.

I can't find such ponytail package in Debian archive, and I found the gnome-
ponytail-daemon [2] project online but I'm not sure that's the correct upstream
source.
I understand that it should be packaged and added as a required dependency for
python3-dogtail?

Best Regards,
François


[1]
https://salsa.debian.org/debian/dogtail/-/blob/debian/master/dogtail/rawinput.py?ref_type=heads#L24
[2] https://gitlab.gnome.org/ofourdan/gnome-ponytail-daemon


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-dogtail depends on:
ii  at-spi2-core       2.54.0-1
ii  gir1.2-gtk-3.0     3.24.43-4
ii  python3            3.12.6-1
ii  python3-apt        2.9.0+b1
ii  python3-gi         3.48.2-1+b1
ii  python3-gi-cairo   3.48.2-1+b1
ii  python3-packaging  24.1-1
ii  python3-pyatspi    2.46.1-1
ii  python3-xlib       0.33-2

Versions of packages python3-dogtail recommends:
ii  imagemagick                      8:6.9.13.12+dfsg1-1
ii  imagemagick-6.q16 [imagemagick]  8:6.9.13.12+dfsg1-1

python3-dogtail suggests no packages.

-- no debconf information

Reply via email to