sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
264 stars 245 forks source link

Wnck does not work under Wayland. #965

Open bhavyabansal9068 opened 1 year ago

bhavyabansal9068 commented 1 year ago

It's failing with this error message


(metacity:3334): metacity-WARNING **: 08:54:39.359: Option “--no-composite” is deprecated, use the “--compositor” instead.
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/jarabe/main.py", line 380, in <module>
    main()
  File "/usr/lib/python3/dist-packages/jarabe/main.py", line 347, in main
    _start_window_manager()
  File "/usr/lib/python3/dist-packages/jarabe/main.py", line 208, in _start_window_manager
    screen.connect('window-manager-changed', __window_manager_changed_cb)
AttributeError: 'NoneType' object has no attribute 'connect'

(metacity:3334): metacity-WARNING **: 08:54:40.261: Screen 0 on display ":0" already has a window manager; try using the --replace option to replace the current window manager.
vividha09 commented 8 months ago

To solve the error, try replacing the current window manager by restarting it with the --replace option. You can do this by logging out and logging back in or by restarting the window manager through the terminal. Additionally, ensure that all dependencies for Sugar and Metacity are installed correctly and that your system is up to date with the latest patches and updates. If the issue persists, consider debugging further or seeking assistance from the Sugar or Metacity community forums.

quozl commented 8 months ago

Please don't copy and paste LLM output into our issues, or accept suggestions on what to say. It clearly has no idea what it is talking about. I've reviewed your comments here and in four other places, and I'll delete them because they are not helpful. Please do solve issues by fixing source code and creating pull requests once you have tested that the solution works. Thanks.