AnthonyMichaelTDM / DRG-Save-Editor

Rock and stone!
GNU General Public License v3.0
115 stars 17 forks source link

editor gives error when starting [BUG] #46

Closed a-a-Cat closed 11 months ago

a-a-Cat commented 11 months ago

Describe the bug editor gives error when starting

To Reproduce Steps to reproduce the behavior:

  1. try starting the editor via terminal
  2. error

Expected behavior the editor starting

Save File unnecessary

Desktop (please complete the following information):

Additional context command:

python3 ./src/main/python/main.py

this is what appears in terminal:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

Checklist

AnthonyMichaelTDM commented 11 months ago

Try setting the environment variable as suggested by the error message, this seems to be more of a wayland/Qt issueOn Dec 4, 2023, at 7:42 AM, AxoCat @.***> wrote: Assigned #46 to @AnthonyMichaelTDM.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were assigned.Message ID: @.***>

a-a-Cat commented 11 months ago

This it my first time using python so i have no idea how to do that, could you tell me what i'm supposed to put into the terminal to make it work?

AnthonyMichaelTDM commented 11 months ago

QT_QPA_PLATFORM=wayland python3 ./src/main/python/main.py iirc