Gnome-tweaks error

I installed Fedora 34 a while ago, then installed and successfully ran Tweaks.

Now I’m trying to run it again, but typing gnome-tweak-tool gives me:
bash: gnome-tweak-tool: command not found…

and typing gnome-tweaks gives:

WARNING : Shell not installed or running
WARNING : Shell not running
NoneType: None
Error creating proxy: Error sending credentials: Error sending message: Broken pipe (g-io-error-quark, 44)
Error creating proxy: Error sending credentials: Error sending message: Broken pipe (g-io-error-quark, 44)
Error creating proxy: Error sending credentials: Error sending message: Broken pipe (g-io-error-quark, 44)
Error creating proxy: Error sending credentials: Error sending message: Broken pipe (g-io-error-quark, 44)
Error creating proxy: Error sending credentials: Error sending message: Broken pipe (g-io-error-quark, 44)

(gnome-tweaks:96419): dconf-WARNING **: 13:41:19.962: failed to commit changes to dconf: Error sending credentials: Error sending message: Broken pipe

(gnome-tweaks:96419): dconf-WARNING **: 13:41:19.963: failed to commit changes to dconf: Error sending credentials: Error sending message: Broken pipe
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/gtweak/app.py", line 51, in do_activate
    self.win = Window(self, model)
  File "/usr/lib/python3.9/site-packages/gtweak/tweakview.py", line 58, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib/python3.9/site-packages/gtweak/tweakmodel.py", line 107, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python3.9/site-packages/gtweak/tweaks/tweak_group_general.py", line 55, in <module>
    IgnoreLidSwitchTweak(),
  File "/usr/lib/python3.9/site-packages/gtweak/tweaks/tweak_group_general.py", line 28, in __init__
    GetterSetterSwitchTweak.__init__(self, _("Suspend when laptop lid is closed"), **options)
  File "/usr/lib/python3.9/site-packages/gtweak/widgets.py", line 469, in __init__
    sw.set_active(self.get_active())
  File "/usr/lib/python3.9/site-packages/gtweak/tweaks/tweak_group_general.py", line 31, in get_active
    return not self._sync_inhibitor()
  File "/usr/lib/python3.9/site-packages/gtweak/tweaks/tweak_group_general.py", line 42, in _sync_inhibitor
    bus = Gio.bus_get_sync(Gio.BusType.SESSION, None)
gi.repository.GLib.Error: g-io-error-quark: Error sending credentials: Error sending message: Broken pipe (44)

I know I’ve used dconf and fiddled with my python installation in the meanwhile, so I tried removing and reinstalling Tweaks, in case it solves any conflicts that might have appeared, but I get the same messages.

Any suggestions?

If you installed gnome tweaks from the repo then it should be available as an icon in the activities menu and not necessary to use the command line.

Also, gnome extensions that used to be handled through tweaks is now handled by the gnome-extensions-app package.