Skip to content

Gdk.Cursor constructor returned NULL #202

Closed

Description

@eliseuschmidt

Traceback

File: /app/lib/python3.9/site-packages/gaupol/agents/open.py
Line: 194
In: _on_notebook_drag_data_received

    self.open_main(subtitles)

File: /app/lib/python3.9/site-packages/aeidon/deco.py
Line: 218
In: inner_wrapper

    return function(*args, **kwargs)

File: /app/lib/python3.9/site-packages/gaupol/agents/open.py
Line: 269
In: open_main

    gaupol.util.set_cursor_busy(self.window)

File: /app/lib/python3.9/site-packages/gaupol/util.py
Line: 339
In: set_cursor_busy

    cursor = Gdk.Cursor.new_for_display(

TypeError: constructor returned NULL

Environment

Platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.33
Locale: pt_BR.utf_8

Versions

aeidon: 1.11
chardet: 3.0.4
gaupol: 1.11
gspell: 1
gstreamer: 1.18.6.0
gtk+: 3.24.35
pygobject: 3.42.2
python: 3.9.9

Activity

  1. otsaloma commented on Jan 14, 2023

    @otsaloma
    Owner

    I guess you're using Wayland? (seems I should add that to the "Environment" info above)

    Looks like a clear issue, I'll fix it soon

  2. changed the title [-]error when trying to open a subtitle file[/-] [+]Gdk.Cursor constructor returned NULL[/+] on Jan 14, 2023
  3. otsaloma commented on Jan 15, 2023

    @otsaloma
    Owner

    OK, it should be fixed now, but still wondering if this is Wayland or what and which distro? If Gaupol is broken for all Wayland users, I'd better make a release...

  4. eliseuschmidt commented on Jan 15, 2023

    @eliseuschmidt
    Author

    Wayland.
    Distro: Ubuntu 22.04.
    But is app Flatppak.

  5. otsaloma commented on Jan 15, 2023

    @otsaloma
    Owner

    Thanks. Maybe I'll make a release just in case. I suspect there's something more about the environment that triggers this as I'd expect there to be a lot of Wayland users by now and I haven't seen this issue before. I'm still on X, but I've tried Gaupol on Wayland and fixed all the issues I saw already years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions