Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed #806

Open
sjg20 opened this issue Feb 28, 2025 · 2 comments
Open

assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed #806

sjg20 opened this issue Feb 28, 2025 · 2 comments
Labels

Comments

@sjg20
Copy link
Contributor

sjg20 commented Feb 28, 2025

Describe the bug

I cannot run it anymore now that I switched to wayland.

To Reproduce

  1. echo $XDG_SESSION_TYPE
    wayland

  2. run rednotebook

  3. See error

Expected behavior
I expect it to start

Screenshots

  • RedNotebook version :
    Versions:
    $ dpkg -l rednotebook
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-==============-=================================-============-====================>
    ii rednotebook 2.38-0202502232111ubuntu24.04.1 all Modern desktop diary>
  • Operating system and version: Ubuntu 24.04.1 LTS

Log output when reproducing bug

2025-02-28 06:26:25,303 INFO Writing log to file "/home/sglass/.rednotebook/rednotebook.log"
2025-02-28 06:26:25,303 INFO System encoding: utf-8
2025-02-28 06:26:25,303 INFO Language code: en_NZ
2025-02-28 06:26:25,310 INFO Spell checking languages: ['en', 'en_AU', 'en_CA', 'en_GB', 'en_US', 'en_ZA']
2025-02-28 06:26:25,311 INFO Spell checking dictionaries: [('en', <Enchant: Aspell Provider>), ('en_AU', <Enchant: Aspell Provider>), ('en_CA', <Enchant: Aspell Provider>), ('en_GB', <Enchant: Aspell Provider>), ('en_US', <Enchant: Aspell Provider>), ('en_ZA', <Enchant: Hunspell Provider>)]
2025-02-28 06:26:25,373 INFO Using LibYAML
2025-02-28 06:26:25,374 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2025-02-28 06:26:25,375 INFO Running in portable mode: False
2025-02-28 06:26:25,375 INFO First Start: False
2025-02-28 06:26:25,375 INFO RedNotebook version: 2.38
2025-02-28 06:26:25,376 INFO System info: machine: x86_64, platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.39, processor: x86_64, python_version: 3.12.3, release: 6.8.0-52-generic, system: Linux, GTK: (3, 24, 41), Glib: (2, 80, 0), PyGObject: (3, 48, 2), YAML: 6.0.1, WebKit2: (2, 46, 5)
2025-02-28 06:26:25,476 DEBUG Default font: Ubuntu 11
2025-02-28 06:26:25,477 DEBUG Default size: 11.0

$ rednotebook
INFO Using GtkSourceView 4
Adding /usr/share/rednotebook to sys.path
INFO Available versions of the WebKit2 namespace: ['4.0', '4.1']
INFO Loaded version of the WebKit2 namespace: 4.1
INFO Locale path: /usr/share/locale
2025-02-28 06:26:25,303 INFO Writing log to file "/home/sglass/.rednotebook/rednotebook.log"
2025-02-28 06:26:25,303 INFO System encoding: utf-8
2025-02-28 06:26:25,303 INFO Language code: en_NZ
2025-02-28 06:26:25,310 INFO Spell checking languages: ['en', 'en_AU', 'en_CA', 'en_GB', 'en_US', 'en_ZA']
2025-02-28 06:26:25,311 INFO Spell checking dictionaries: [('en', <Enchant: Aspell Provider>), ('en_AU', <Enchant: Aspell Provider>), ('en_CA', <Enchant: Aspell Provider>), ('en_GB', <Enchant: Aspell Provider>), ('en_US', <Enchant: Aspell Provider>), ('en_ZA', <Enchant: Hunspell Provider>)]
2025-02-28 06:26:25,373 INFO Using LibYAML
2025-02-28 06:26:25,374 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>]
2025-02-28 06:26:25,375 INFO Running in portable mode: False
2025-02-28 06:26:25,375 INFO First Start: False
2025-02-28 06:26:25,375 INFO RedNotebook version: 2.38
2025-02-28 06:26:25,376 INFO System info: machine: x86_64, platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.39, processor: x86_64, python_version: 3.12.3, release: 6.8.0-52-generic, system: Linux, GTK: (3, 24, 41), Glib: (2, 80, 0), PyGObject: (3, 48, 2), YAML: 6.0.1, WebKit2: (2, 46, 5)
2025-02-28 06:26:25,476 DEBUG Default font: Ubuntu 11
2025-02-28 06:26:25,477 DEBUG Default size: 11.0

(rednotebook:1366309): Gdk-CRITICAL **: 06:26:25.507: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed

(rednotebook:1366309): Gdk-CRITICAL **: 06:26:25.533: gdk_wayland_window_set_dbus_properties_libgtk_only: assertion 'GDK_IS_WAYLAND_WINDOW (window)' failed
Segmentation fault (core dumped)

@sjg20 sjg20 added the bug label Feb 28, 2025
@github2099
Copy link

how did you install?
I am running Fedora (wayland) and installed it as flatpak (via flathub)

Image

@sjg20
Copy link
Contributor Author

sjg20 commented Mar 6, 2025

I installed on Ubuntu 24.04

ii rednotebook 2.38-0202502232111ubuntu24.04.1 all Modern desktop diary and pe>

I remember I had the same problem before though, with 22.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants