Skip to content

[xcb] Unknown sequence number while appending request (on Python 3.12.8) #49

Open
@villares

Description

@villares

I'm on Manjaro XFCE Linux, today I updated my Python envs and my scripts stopped working so to investigate I picked the "hello" example:

import FreeSimpleGUI as sg                        # Part 1 - The import

layout = [  [sg.Text("What's your name?")],     # Part 2 - The Layout
            [sg.Input()],
            [sg.Button('Ok')] ]

window = sg.Window('Window Title', layout)      # Part 3 - Window Defintion
event, values = window.read()                   # Part 4 - Event loop or Window.read call
print('Hello', values[0], "! Thanks for trying FreeSimpleGUI")
window.close() 

On Python 3.12.8 I get this error message and no GUI:

[xcb] Unknown sequence number while appending request
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
python: xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.

Process ended with exit code -6.

It works fine on Python 3.10.15 on the same machine:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions