labelme icon indicating copy to clipboard operation
labelme copied to clipboard

Segmentation fault (core dumped) error when running Labelme Appimage on Fedora 34

Open BenjaminPoole opened this issue 3 years ago • 3 comments

Hello I'm running labelme version 4.5.9 with Fedora 34. When I execute the Appimage executable in my terminal I get a Segmentation fault (core dumped) error and the program quits as shown below:

[benjamin@fedora Downloads]$ chmod +x ./labelme-Linux [benjamin@fedora Downloads]$ ./labelme-Linux [INFO ] __init__:get_config:71 - Loading config file from: /home/benjamin/.labelmerc Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Segmentation fault (core dumped) [benjamin@fedora Downloads]$

If anyone could help me I would be very grateful as my workaround at the moment is to use the Windows executable with a Windows machine which is not desirable as I'm trying to remove Windows from my life. Thanks

BenjaminPoole avatar Jul 16 '21 16:07 BenjaminPoole

@BenjaminPoole Good evening, I had the same problem using the Ubuntu distribution called Pop!OS. My teammate recommends installing via pip before labelme, "opencv-python-headless", then installing labelme. I managed to run it, I didn't have any more problems.

sc0v0ne avatar Sep 18 '23 23:09 sc0v0ne

Hmm, it is weird as labelme is not depending on opencv-python. (but yeah, if you have installed opencv-python already it can cause problem on gui as opencv-python changes some pyqt path).

wkentaro avatar Sep 19 '23 02:09 wkentaro

The strangest thing and it worked. Window opened and closed. After that she solved the problem. But I didn't move anymore either. I'm working on a project right now, so I wanted to be able to contribute to helping with this problem, apparently it didn't just happen to me. Before that I even installed qt. But it didn't solve it. This was faster adaptation.

sc0v0ne avatar Sep 19 '23 20:09 sc0v0ne