lukasmonk / lucaschessR2

Lucas Chess R Version 2
GNU General Public License v3.0
255 stars 36 forks source link

Wayland version? #133

Closed HarshilPatel007 closed 4 months ago

HarshilPatel007 commented 4 months ago

Hi, The Wayland version is not provided in the latest release.

lukasmonk commented 4 months ago

Currently and going forward there will only be one version, with Wayland included.

HarshilPatel007 commented 4 months ago

@HarshilPatel007 , It's not opening.

lukasmonk commented 4 months ago

With Ubuntu 22 and gnome, I have no problem. Wayland version was compiled with this Linux. I need more info. Was it working before?

By running previously: export XDG_SESSION_TYPE=xcb

Does it work?

HarshilPatel007 commented 4 months ago

@lukasmonk , previous versions were working correctly. even, the installation was successful for the latest version. but, when I tried to open it, it gets me this error.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
/usr/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib64/gio/modules/libgvfsdbus.so

QT_QPA_PLATFORM=wayland is already set as a global env in my system.

Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
QFactoryLoader::QFactoryLoader() checking directory path "/home/username/LucasChessR/bin/platformthemes" ...
loaded library "/home/username/LucasChessR/bin/PySide2/Qt/plugins/platformthemes/libqgtk3.so"
/usr/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib64/gio/modules/libgvfsdbus.so
QFactoryLoader::QFactoryLoader() checking directory path "/home/username/LucasChessR/bin/PySide2/Qt/plugins/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/home/username/LucasChessR/bin/styles" ...
lukasmonk commented 4 months ago

Please, replace LucasR.sh in the program folder by unzipping LucasR.zip then run LucasR.sh

HarshilPatel007 commented 4 months ago

@lukasmonk , got error.

➜  LucasChessR ls                                                   
bin            LICENSE    readme.md         Resources       UserData
dic_files.txt  LucasR.sh  requirements.txt  setup_linux.sh  version.txt
➜  LucasChessR sh LucasR.sh                                         
/usr/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
Failed to load module: /usr/lib64/gio/modules/libgvfsdbus.so
lukasmonk commented 4 months ago

To get out of the way. Install version 10 and then update the program from the Info menu.

HarshilPatel007 commented 4 months ago

@lukasmonk , done that too. but, got a new different error.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
lukasmonk commented 4 months ago

I don´t know. If you want to install it from sources (GitHub), I attach a script, but I don't guarantee it will work. LinuxInstaller.zip

It is needed to have git installed

If you’re on Fedora (or any closely-related RPM-based distribution, such as RHEL or CentOS), you can use dnf:

$ sudo dnf install git-all If you’re on a Debian-based distribution, such as Ubuntu, try apt:

$ sudo apt install git-all