Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1033761: nautilus-scripts-manager: nautilus-script-manager throws exception under bookworm

50 views
Skip to first unread message

H.-Dirk Schmitt

unread,
Mar 31, 2023, 8:20:04 PM3/31/23
to
Package: nautilus-scripts-manager
Version: 2.0-1.1
Severity: grave
X-Debbugs-Cc: none, H.-Dirk Schmitt <di...@computer42.org>

The package seems to be outdated for bookworm.

/bin/nautilus-scripts-manager:21: PyGIWarning: Pango was imported without specifying a version first. Use gi.require_version('Pango', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Pango, Gtk, GLib
libEGL warning: DRI3: failed to query the version
libEGL warning: DRI2: failed to authenticate
/bin/nautilus-scripts-manager:21: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import Pango, Gtk, GLib
Traceback (most recent call last):
File "/bin/nautilus-scripts-manager", line 97, in <module>
s = Gdk.Screen.get_default()
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 32, in __getattr__
return getattr(self._introspection_module, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gi/module.py", line 123, in __getattr__
raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Gdk' object has no attribute 'Screen'


Same result on 2 different machines.

-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (600, 'testing-security'), (600, 'testing'), (500, 'stable-security'), (99, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de:en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nautilus-scripts-manager depends on:
ii nautilus 43.2-1
ii python3 3.11.2-1
ii python3-gi 3.42.2-3+b1

nautilus-scripts-manager recommends no packages.

nautilus-scripts-manager suggests no packages.

-- no debconf information


--

-------------------------------------------------------------------------------

H.-Dirk_Schmitt
Dipl.Math.
eMail:dirk.s...@computer42.org
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html

Andreas Beckmann

unread,
Apr 6, 2023, 3:10:04 AM4/6/23
to
Followup-For: Bug #1033761

Actually, the problem starts even earlier:

# nautilus-scripts-manager
Traceback (most recent call last):
File "/usr/bin/nautilus-scripts-manager", line 21, in <module>
from gi.repository import Pango, Gtk, GLib
File "/usr/lib/python3/dist-packages/gi/importer.py", line 131, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name Pango, introspection typelib not found

nautilus-scripts-manager has insufficient dependencies, for bullseye
(and buster and stretch) this can be solved by a dependency on
gir1.2-gtk-3.0 (maybe with alternatives), for bookworm one could also
depend on gir1.2-gtk-4.0 as
alternative.


Andreas
0 new messages