OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Appimage Fails On Debian

Open dener3id opened this issue 1 year ago • 12 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

OrcaSlicer Version

2.1.1

Operating System (OS)

Linux

OS Version

Debian 12 Sid XFCE Latest

Additional system information

Ryzen 2700x 64 gb ram AMD RX 580

Printer

N/A

How to reproduce

Run appimage under Debian and not Ubuntu.

Actual results

Doesn't open when launched it is marked as an executable other appimages run.

Expected results

Runs splash screen then launches App

Project file & Debug log uploads

N/A crashes before even creating the folder in .config

Checklist of files to include

  • [ ] Log file
  • [ ] Project file

Anything else?

No response

dener3id avatar Jul 08 '24 20:07 dener3id

I'll report back in the next two or three days on if it has the same issue on deb stable.

dener3id avatar Jul 09 '24 00:07 dener3id

Probably related to #5635

nils-a avatar Jul 09 '24 06:07 nils-a

Probably related to #5635

Is there a way to test that? I'm happy to run that also having a similar issue with freecad if that helps (I can run other appimages example renderdoc). I didn't get an error output like that guy did unless I'm looking in the wrong place. Is the error you linked reproducible only on Debian testing and sid or will deb stable also cause same issue? And is there a workaround?

dener3id avatar Jul 09 '24 12:07 dener3id

Is there a way to test that?

I started the AppImage on the console, thus having some output on the console:

9:39:08 ❯ ./Applications/OrcaSlicer_Linux_V2.1.1.AppImage 
/tmp/.mount_OrcaSl9cFMpK/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

nils-a avatar Jul 09 '24 19:07 nils-a

@nils-a See #4616 for that specific issue TLDR: It's resolved in the latest nightly build

ElectricalBoy avatar Jul 10 '24 00:07 ElectricalBoy

@nils-a See #4616 for that specific issue TLDR: It's resolved in the latest nightly build

Where is the daily build I'm having trouble finding the page?

dener3id avatar Jul 10 '24 05:07 dener3id

Where is the daily build I'm having trouble finding the page?

https://github.com/SoftFever/OrcaSlicer/releases/tag/nightly-builds Use the AppImage with Ubuntu2404 in its name

ElectricalBoy avatar Jul 10 '24 06:07 ElectricalBoy

Where is the daily build I'm having trouble finding the page?

https://github.com/SoftFever/OrcaSlicer/releases/tag/nightly-builds Use the AppImage with Ubuntu2404 in its name

Thanks seems to work so far. A .deb release would limit this kinda headache. I'm getting "one object has empty initial layer" error only when set to bambu printers seems odd IDK if it's a known bug couldn't find anything.

dener3id avatar Jul 11 '24 00:07 dener3id

If someone wants help getting auto build to work with .deb,aur etc I'd be willing to help.

dener3id avatar Jul 11 '24 02:07 dener3id

Thanks seems to work so far.

Thx for confirming - then this issue can be closed as a duplicate of #4616

I'm getting "one object has empty initial layer" error only when set to bambu printers seems odd

You should file a separate bug report for that :smile:

ElectricalBoy avatar Jul 12 '24 01:07 ElectricalBoy

@dener3id Hello I use Debian 12 and all works fine, please start application from console to see error @nils-a Hello, maybe you does not have libwebkit2gtk-4.0-37 try sudo apt install libwebkit2gtk-4.0-37

serhii-nakon avatar Jul 14 '24 23:07 serhii-nakon

@serhii-nakon I, personally, am not running debian - I simply came here looking if someone had the same problem as I had. Yes, installing the correct dependencies should fix the problem. However, the main point of providing an AppImage is that nothing should need to be installed.

But like @ElectricalBoy said: The newest nightly fixed the problem. No need to install anything else.

nils-a avatar Jul 15 '24 11:07 nils-a

OrcaSlicer_Linux_V2.1.1.AppImage runs OK for me on Ubuntu 24.04. But the icon that lands on the dock is the gear icon.

From https://github.com/TheAssassin/AppImageLauncher/issues/653 : the OrcaSlicer desktop file is incorrect. They need to specify their StartupWMClass so that the window manager can associate the running program's windows with the pinned entry. ~> xprop WM_CLASS WM_CLASS(STRING) = "orca-slicer", "OrcaSlicer" Thus, the desktop file needs to be amended with either StartupWMClass=orca-slicer alternatively StartupWMClass=OrcaSlicer

References: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html https://specifications.freedesktop.org/startup-notification-spec/startup-notification-0.1.txt

kwagnitz avatar Jul 28 '24 12:07 kwagnitz

OrcaSlicer_Linux_V2.1.1.AppImage runs OK for me on Ubuntu 24.04. But the icon that lands on the dock is the gear icon.

That should be reported as a separate issue as it is irrelevant with this one.

ElectricalBoy avatar Jul 28 '24 12:07 ElectricalBoy

Hopefully the first line was of some use. Does run on a Debian derivative.

#6276

kwagnitz avatar Jul 28 '24 20:07 kwagnitz

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 27 '24 00:10 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Nov 03 '24 00:11 github-actions[bot]