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

CLI not working properly #274

Closed
nikhil-convrseai opened this issue Apr 18, 2024 · 4 comments
Closed

CLI not working properly #274

nikhil-convrseai opened this issue Apr 18, 2024 · 4 comments
Assignees

Comments

@nikhil-convrseai
Copy link

Hi

I have been using mayo as cli for past many months, but recently i have started facing the following error when running it in cli.

./mayo /home/ubuntu/convrse/meshes/high/ZPVqGx23IMtU_JkK4HnfO/TK_ymQDis5hw/high/SLhmmUxTWZgc/valvula_10_600.step --export x.glb
WARNING: could not connect to display
INFO: Could not load the Qt platform plugin "xcb" in "" even though it was found.
FATAL: 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, xcb.

Aborted

if i'm running cli, it should not expect display i guess, please help as it has caused issue in of our major production pipeline.

@HuguesDelorme
Copy link
Member

Hello
If you built Mayo from source code yourself then the converter CLI is in a distinct executable named mayo-conv in develop branch(see #260)
This executable only needs QtCore from Qt framework and should not require a Qt platform plugin to run.
Notice if you want to convert CAD files to images(PNG, JPEG, ...) you will need to have Xvfb running(see #261)

@HuguesDelorme
Copy link
Member

@nikhil-convrseai
Are you still having the issue?

@HuguesDelorme
Copy link
Member

@nikhil-convrseai
Any update on your side about the reported issue?

@nikhil-convrseai
Copy link
Author

Hi @HuguesDelorme it is working fine now thanks.

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

2 participants