Skip to content

xcb error on ubuntu 22.04 #2788

@geomlattice

Description

@geomlattice

I tried to run the scroll example and was met with this after running these commands

cd $DOWNLOADS && git clone https://github.com/TomSchimansky/CustomTkinter.git
cd $PREFIX && mkdir ctkinter
cp "$DOWNLOADS/CustomTkinter/examples/scrollable_frame_example.py .
echo '3.11' > .python-version && uv init
uv add customtkinter pillow
uv run scrollable_frame_example.py 

A window barely opens, crashes, and I see this error

[xcb] Unknown sequence number while appending request
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python3: ../../src/xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.

What can be done? What is happening?

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