Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step 3 Annotaion fails on linux #67

Open
hugokoopmans opened this issue Feb 15, 2025 · 3 comments
Open

Step 3 Annotaion fails on linux #67

hugokoopmans opened this issue Feb 15, 2025 · 3 comments

Comments

@hugokoopmans
Copy link

EXECUTED: open_annotation_windows({'class_list_txt': '/home/hugo/Pictures/zweden/temp-folder/hitl_class_list.txt', 'label_map': {'1': 'animal', '2': 'person', '3': 'vehicle'}, 'file_list_txt': '/home/hugo/Pictures/zweden/temp-folder/hitl_file_list.txt', 'recognition_file': '/home/hugo/Pictures/zweden/image_recognition_file.json'})

'/home/hugo/.EcoAssist_files/envs/env-base/bin/python' '/home/hugo/.EcoAssist_files/Human-in-the-loop/labelImg.py' '/home/hugo/Pictures/zweden/temp-folder/hitl_class_list.txt' '/home/hugo/Pictures/zweden/temp-folder/hitl_file_list.txt'
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

I will investigate and come back later, something with Qt plugins...

@PetervanLunteren
Copy link
Owner

@hugokoopmans This is a known issue: https://github.com/PetervanLunteren/AddaxAI/blob/main/install_files/linux/install.command#L188C1-L200C4

I haven't found a solution yet. I think an admin install solves it, can you confirm?

Do you perhaps you have an other suggestion?

If not, it would probably be good to show a message saying this is the problem instead of having it crash... Or just guide users to always do the linux install with admin rights. Linux users are generally not restricted by IT teams.

@UlvHare
Copy link

UlvHare commented Feb 26, 2025

The same error in Gentoo, all xcb-utils are installed. I think this is because of some mismatches between Python, Qt5 and Qt6. In Gentoo the system Qt is version 6.x, Qt5 and its Python bindings are in compatibility mode. Maybe we need to set pyqt5 or pyqt6 directly somewhere in the app code. Sorry, I'm just a noob in Python so cannot patch it by myself. I'll try to install Kubuntu with system Qt5 and test AddaxAI in it.

@PetervanLunteren
Copy link
Owner

PetervanLunteren commented Mar 3, 2025

Thanks @UlvHare, let me know what you find. All these different frontend packages are a pain... We might be working on a new frontend all together, where all these problems will be solved (hopefully!)

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

No branches or pull requests

3 participants