mayo icon indicating copy to clipboard operation
mayo copied to clipboard

CLI not working properly

Open nikhil-convrseai opened this issue 10 months ago • 2 comments

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.

nikhil-convrseai avatar Apr 18 '24 18:04 nikhil-convrseai

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 avatar Apr 19 '24 07:04 HuguesDelorme

@nikhil-convrseai Are you still having the issue?

HuguesDelorme avatar May 06 '24 08:05 HuguesDelorme

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

HuguesDelorme avatar May 17 '24 10:05 HuguesDelorme

Hi @HuguesDelorme it is working fine now thanks.

nikhil-convrseai avatar May 17 '24 11:05 nikhil-convrseai