dvershinin / green-recorder

A simple screen recorder for Linux desktop. Supports Wayland & Xorg
GNU General Public License v3.0
57 stars 3 forks source link

org.gnome.Shell.Screencast was not provided by any .service files #16

Closed mizzunet closed 2 years ago

mizzunet commented 2 years ago

I have error runnig green-recorder

 ~  green-recorder
You are recording on: wayland
Traceback (most recent call last):
  File "/usr/bin/green-recorder", line 33, in <module>
    sys.exit(load_entry_point('green-recorder==3.2.10', 'gui_scripts', 'green-recorder')())
  File "/usr/bin/green-recorder", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/recorder/__init__.py", line 1, in <module>
    from .recorder import main
  File "/usr/lib/python3.9/site-packages/recorder/recorder.py", line 112, in <module>
    GNOMEScreencast = bus.get('org.gnome.Shell.Screencast', '/org/gnome/Shell/Screencast')
  File "/usr/lib/python3.9/site-packages/pydbus/proxy.py", line 44, in get
    ret = self.con.call_sync(
gi.repository.GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell.Screencast was not provided by any .service files (2)

I installed green-recorder AUR package

dvershinin commented 2 years ago

I think this problem is similar to Ubuntu's packaging issue here, so should be addressed by the AUR package...

mizzunet commented 2 years ago

Oh. Any workarounds yet?

dvershinin commented 2 years ago

Perhaps update the entire system and see if it's fixed with new packages.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.