Open mprowe opened 1 year ago
This needs to be fixed. AppImage was explicitly made so that dependency issues exactly like this WOULDN'T happen in any distribution.
Bambu Studio currently doesn't work for me at all on Ubuntu 24.04, and I don't know how to work around this. This should be high priority.
I agree. This is urgent. Bambu Studio Does Not Work on Ubuntu 24.04
please try the workaround method mentioned in https://github.com/bambulab/BambuStudio/issues/3973 currently
Disappointing a stable release was issued without this extremely basic and easily fixed critical issue being fixed. It'll be awhile before they can try again.
agree
we have added a ubuntu image for 24.04 https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_ubuntu_24.04_v01.09.03.50.AppImage
please use this one which is also a formal image
if there is no issue with this image, we will close this issue later
we have added a ubuntu image for 24.04 https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_ubuntu_24.04_v01.09.03.50.AppImage
please use this one which is also a formal image
if there is no issue with this image, we will close this issue later
That AppImage still doesn't work on other distributions. I tested on Fedora. Error is the same:
/tmp/.mount_Bambu_cnTjB4/bin/bambu-studio: error while loading shared libraries: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory
To fix this, libwebkit2gtk-4.1 has to be packaged with the AppImage in order for it to work with every distribution and to avoid any further Linux incompatibilities overall
we have added a ubuntu image for 24.04 https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_ubuntu_24.04_v01.09.03.50.AppImage please use this one which is also a formal image if there is no issue with this image, we will close this issue later
That AppImage still doesn't work on other distributions. I tested on Fedora. Error is the same:
/tmp/.mount_Bambu_cnTjB4/bin/bambu-studio: error while loading shared libraries: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory
To fix this, libwebkit2gtk-4.1 has to be packaged with the AppImage in order for it to work with every distribution and to avoid any further Linux incompatibilities overall
we tried to package those libraried into appimage before, but there is some strange issues on other platforms
on fedora, how about use fedora appimage on your side? https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_fedora-v01.09.03.50.AppImage what is your fedora version?
That AppImage still doesn't work on other distributions. I tested on Fedora. Error is the same:
/tmp/.mount_Bambu_cnTjB4/bin/bambu-studio: error while loading shared libraries: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory
I tested fedora 40 and it works fine, other versions are still recommended to use Fedora appimage.
To fix this, libwebkit2gtk-4.1 has to be packaged with the AppImage in order for it to work with every distribution and to avoid any further Linux incompatibilities overall
webkit2gtk has other dependencies, and packaging this library will cause the appimage to increase in size by 50M.
we have added a ubuntu image for 24.04 https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_ubuntu_24.04_v01.09.03.50.AppImage please use this one which is also a formal image if there is no issue with this image, we will close this issue later
That AppImage still doesn't work on other distributions. I tested on Fedora. Error is the same:
/tmp/.mount_Bambu_cnTjB4/bin/bambu-studio: error while loading shared libraries: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory
To fix this, libwebkit2gtk-4.1 has to be packaged with the AppImage in order for it to work with every distribution and to avoid any further Linux incompatibilities overallwe tried to package those libraried into appimage before, but there is some strange issues on other platforms
on fedora, how about use fedora appimage on your side? https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_fedora-v01.09.03.50.AppImage what is your fedora version?
I am using Fedora 40 without libwebkitgtk installed, so it's predictable behavior.
webkit2gtk has other dependencies, and packaging this library will cause the appimage to increase in size by 50M.
Unless the strange issues can be fixed, a larger size is expected and is the unfortunate reality for distro-agnostic formats such as AppImage, Flatpak, and Snap. 50MB is negligible anyways. Having multiple AppImages depending on the distribution defeats the purpose of an AppImage and is less maintainable. Without the lib packaged, it completely ignores other distributions such as Arch and OpenSUSE which AppImage is supposed to naturally support. It's better to have one AppImage solely for its easier maintenance and a larger supported userbase. You'll also be able to prevent issues being created that are due to Linux users having slightly different system setups. And because all distributions will be using the same AppImage, it'll be much easier to find out if future bugs are from a packaged dependency or Bambu Studio compared to having to find out what dependency versions they have installed on their system.
For the implementation though, I recommend looking at the Flatpak version of Bambu Studio as that works perfectly without any additional packages being installed onto the machine. I believe Snap or Flatpak has a way to share libraries to reduce size though, and is more ideal and convenient than AppImage in my opinion, as they are both package managers. I think AppImage is fine though as it's already implemented here. I'm using the Flatpak version as there's no issues with it currently.
on fedora, how about use fedora appimage on your side? https://github.com/bambulab/BambuStudio/releases/download/v01.09.03.50/Bambu_Studio_linux_fedora-v01.09.03.50.AppImage what is your fedora version?
Using Fedora 40, libsoup is missing now. I'm using an essentially clean install of Fedora 40, so I'm a relatively good candidate for what errors can be expected from other users:
/tmp/.mount_Bambu_VGhBLQ/bin/bambu-studio: error while loading shared libraries: libsoup-2.4.so.1: cannot open shared object file: No such file or directory
Is there any update with this? Plus even with the extra 50MB, it'd still be smaller than the Windows version
Any progress on these AppImages.....? We (I) am getting farther and father behind! Not been able to move past 1.9.3.50. I also note that there is an X1C Firmware update. Do we need to keep Studio and Hardware in-step?
Regards (but getting frustrated with your AppImages packaging), Martin
I ran into the same issue with OrcaSlicer and QidiSlicer. I found a "workaround" on the Playdate developer Forum they run into the same issue with their software. The following commands worked for me with Orca- and QidiSlicer:
sudo add-apt-repository -y "deb http://gb.archive.ubuntu.com/ubuntu jammy main" sudo apt update sudo apt install libwebkit2gtk-4.0-dev
Just replace libwebkit2gtk-4.0-dev with whatever 4.x version you need.
Here the link to the original Forum post:
https://devforum.play.date/t/issue-while-launching-the-playdate-simulator-on-ubuntu-24-04/17435
Thank you very much for the advice. However, as a mere "user" I have very little programming skills and what you suggest is not within my capabilities. Even if it was, are we missing the point!
The Bambu Labs Studio is being shipped only "half-full" with required code missing. I think I should continue to request that Bambu provide a working program. And not expect users to try and add all the bits that Bambu have forgotten to package in the first instance. One possible way forwards maybe to slow down on the releases and ensure that more time is spent on testing that the next release actually WORKS?
Regards, M.
I haven't used Linux in any form until quite recently and by copying those commands into a terminal I was able to circumvent the issue. However I absolutely get your point. Either way the packages need to include the required dependencies, or Ubuntu needs to leave them available even after switching to 24.04. In the OrcaSlicer thread someone suggested the same "fix" I did but I couldn't follow the instructions. That's why I provided the actual commands for the terminal. Once again a circumvention, not an actual fix.
Confirmed this still remains in Bambu_Studio_ubuntu-24.04_PR-5090.AppImage when used against a Ubuntu 24.04 system. Note: I'm not sure it's an option but to avoid having users add and remove assorted package sources (out of date no less) you might consider statically linking the offending library into the appimage.
Steps to reproduce: 1) install OS, fully patch (sudo apt update && sudo apt dist-upgrade -y) 2) download and run AppImage
Details: OS: Ubuntu 24.04 fully updated as of 10/28 ERROR: /tmp/.mount_Bambu_4Ln1oI/bin/bambu-studio: error while loading shared libraries: libwebkit2gtk-4.1.so.0: cannot open shared object file: No such file or directory
Bambu Studio Version
v01.07.07.89
Where is the application from?
Bambu Lab github releases
OS version
KUbuntu
Additional system information
No response
Printer
Not relevent
How to reproduce
Actual results
Expected results
Program should run
Project file & Debug log uploads
Not relevant
Checklist of files to include