mayo icon indicating copy to clipboard operation
mayo copied to clipboard

No supporting writer for all export formats

Open OpusElectronics opened this issue 4 months ago • 6 comments

Hello, I get this error message "No supporting writer" for all file formats I tried.

Info: Mayo 0.10.0, Qt 6.9.1, OpenCascade 7.9.1.

Any idea what could be wrong?

OpusElectronics avatar Aug 17 '25 18:08 OpusElectronics

Hello what's the input file format? Can you please attach the file to this thread?

HuguesDelorme avatar Aug 18 '25 07:08 HuguesDelorme

The input file format is STEP and it happens with pretty much all files I tried here. But here is an example.

Keystone_1027.step.zip

I have seen another ticket with a similar issue mentioning a problem with the OpenCascade version. In my case, as I mentioned earlier, it's the latest version available, 7.9.1.

OpusElectronics avatar Aug 18 '25 20:08 OpusElectronics

Using latest develop version(built against Qt 6.5.2 + OpenCascade 7.9.0) I couldn't reproduce the problem with the STEP file you provided. Export to PLY and OBJ formats were fine. Did you try with the pre-built binaries in the Releases page?

Check also the listed export(write) formats in Help->System Information... dialog

HuguesDelorme avatar Aug 19 '25 10:08 HuguesDelorme

I am on Arch Linux and am using this AUR package: https://aur.archlinux.org/packages/mayo-git I don't see anything special in the PKGBUILD, it seems to build with default options.

As I mentioned, we have more recent versions of Qt and OpenCascade on Arch, so I don't know if it could make a difference.

This is what is mentioned in the System Information dialog:

Mayo: v0.10.0  commit:43f79d6  revnum:1421  64bit

OS: Arch Linux [linux version 6.16.1-arch1-1]
Current CPU Architecture: x86_64

Qt 6.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.1.1 20250425) on "xcb" 
    QStyle keys: Breeze; Oxygen; Windows; Fusion
    Image formats(read): 3fr ani arw avci avif avifs bmp bw cr2 cr3 crw cur dcr dds dng eps epsf epsi erf exr fff gif hdp hdr heic heif hej2 icns ico iff iiq ilbm im1 im24 im32 im8 j2k jfif jp2 jpeg jpf jpg jxl jxr k25 kdc kra lbm mdc mef mng mos mrw nef nrw ora orf pbm pcx pdd pdf pef pfm pgm phm pic png ppm psb psd psdt pxr qoi raf ras raw rgb rgba rw2 rwl sct sgi sr2 srf srw sti sun svg svgz tga tif tiff wbmp wdp webp x3f xbm xcf xpm
    Image formats(write): avif bmp bw cur dds eps epsf epsi exr heic heif icns ico j2k jfif jp2 jpeg jpg jxl jxr pbm pcx pgm pic png ppm qoi rgb rgba sgi tif tiff wbmp webp xbm xpm

OpenCascade: 7.9.1 (build)

Import(read) formats:
    DXF STEP IGES OCCBREP STL GLTF OBJ VRML OFF PLY 
Export(write) formats:
    STEP IGES OCCBREP STL VRML GLTF OBJ OFF PLY Image 

So the export formats are all listed, but I consistently get the "No supporting writer" message box whatever I try for exporting. Odd. Could it come from a change in OpenCascade 7.9.1, or maybe Qt related for some reason? Any way you can think of to further debug this?

OpusElectronics avatar Aug 19 '25 13:08 OpusElectronics

Don't know about the mayo AUR package, I'm not the author See other instructions to build on ArchLinux: https://github.com/fougue/mayo/wiki/Build-instructions-for-Linux#arch-linux

These instructions are used by CI build, see also: https://github.com/fougue/mayo/blob/develop/.github/workflows/ci_linux_arch.yml

Again that would be interesting to check if you have this problem with Mayo v0.9.0 AppImage in the Releases page

HuguesDelorme avatar Aug 19 '25 13:08 HuguesDelorme

The AUR package does nothing special, it builds mayo pretty much as recommended, it just doesn't enable libassimp but that doesn't explain the issue.

I tried building mayo manually (and with libassimp), but got the same issue. I then figured there was a CLI for mayo (mayo-conv), and conversion works perfectly fine with it. So, I suspect something to do with Qt rather than with OpenCascade.

Then I tested on another machine (but also on Arch), and got the same issue. But then, since it increasingly looked like a Qt issue, I tested on a X11 session (note that I otherwise use Wayland only). And... would you believe it, exporting in mayo from the GUI works plenty fine... on X11. Not on Wayland.

Not a big issue for now as I discovered the CLI, which works fine. But probably something to investigate for the future.

OpusElectronics avatar Aug 19 '25 20:08 OpusElectronics