SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.21k stars 848 forks source link

AppImages not running #7387

Open TheRealOne78 opened 2 days ago

TheRealOne78 commented 2 days ago

Is there an existing issue for this problem?

OrcaSlicer Version

V2.2.0, V2.1.0

Operating System (OS)

Linux

OS Version

Gentoo x86_64 linux 6.11.5

Additional system information

                                           ​ OS: Gentoo Linux x86_64 
                                           ​ Host: ASUSTeK COMPUTER INC. PRIME B360M-K 
                                           ​ Kernel: 6.11.5-gentoo 
                                           ​ Uptime: 5 hours, 57 mins 
                                           ​ Packages: 1473 (emerge) 
                                           ​ Shell: zsh 5.9 
                                           ​ Resolution: 1920x1080 @ 60.00Hz 
                                           ​ DE: Xsession 
                                           ​ WM: dwm 
                                           ​ Theme: simplewaita [GTK2/3] 
                                           ​ Icons: pixelitos [GTK2/3] 
                                           ​ Terminal: urxvt 
                                           ​ Terminal Font: MesloLGS NF 
                                           ​ CPU: Intel i7-9700F (8) @ 3.000GHz 
                                           ​ GPU: AMD ATI Radeon RX 6600/6600 XT/6600M 
                                           ​ Memory: 2488MiB / 32025MiB (7%) [-==============] 
                                           ​ GPU Driver: amdgpu 
                                           ​ Disk (/): 39G / 98G (42%) [------=========] 
                                           ​ Font: Sans 10 [GTK3] 

Printer

N/A

How to reproduce

  1. Download and change the appimages to executable.
  2. Execute them

Actual results

❯ ./OrcaSlicer_Linux_V2.2.0.AppImage
/tmp/.mount_OrcaSlEpPNtb/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

❯ ./OrcaSlicer_Linux_Ubuntu2404_V2.2.0.AppImage
/tmp/.mount_OrcaSlis53T4/bin/orca-slicer: symbol lookup error: /tmp/.mount_OrcaSlis53T4/bin/orca-slicer: undefined symbol: g_once_init_leave_pointer

Expected results

To start the program

Project file & Debug log uploads

N/A

Checklist of files to include

Anything else?

Prusa slicer provides two builds, like Orca does. Prusa has "newer distros" and "older distros" naming conventions, while Orca has "Ubuntu" in the second build, so I'm not sure if it's on the same basis as PrusaSlicer.

For me, Prusa older distros doesn't work and has trouble loading libwebkit2gtk, just like Orca-nonubuntu. On the other hand, Prusa newer-distros works perfectly for me. However Orca-Ubuntu doesn't.

See https://github.com/prusa3d/PrusaSlicer/issues/12931

HakunMatat4 commented 2 days ago

libwebkit2gtk

This will always be the biggest problem with these slicer. Since day 1 with BambuLab, this always gave us hell. Unfortunately, this is a system-wide thing so you cannot just update it without corrupting the entire system.

Have a look on the ticket I just opened, that should help you to get the older version to run again, it is better than no slicer.

TheRealOne78 commented 2 days ago

Have a look on the ticket I just opened, that should help you to get the older version to run again, it is better than no slicer.

Thanks, but which ticket?

HakunMatat4 commented 1 day ago

I solved the problem following the ticket 7210. You have to update that package and set the PRINTER_IP:PORT

As for the package I mentioned earlier, there is a package with similar name which you cannot just update, I think I got those mixed. libwebkitgtk is a content engine library.

sudo nala install libwebkitgtk-6.0-4 libjavascriptcoregtk-6.0-1 ( the first package pulled the second ) Set [IP]:7125 or mDNS works trident01.home.arpa:7125