Jump to content

Cura 5.0.0 appImage not executing in Linux 22.04


travj

Recommended Posts

Posted · Cura 5.0.0 appImage not executing in Linux 22.04

Hey, I installed Linux 22.0.4 not to log ago and just recently tired to upgrading to Cura 5.0.0.  I downloaded the .AppImage from the Ultimaker website, changed the permission to run as a program.  But when I click on the .AppImage nothing happens. When i try to run it from the command line i get the error

"

PyInstaller/loader/pyimod03_importers.py:495: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

rt because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, wayland-egl, wayland, xcb.

"

I have been trying to find a work around but i have not been able to find anything.  Any tips or hints would be helpful!

  • Link to post
    Share on other sites

    • 2 weeks later...
    Posted (edited) · Cura 5.0.0 appImage not executing in Linux 22.04

    On Debian Bookworm, the appimag claims that OpenGL is not available, which is – of course – wrong.

     

    PyInstaller/loader/pyimod03_importers.py:495: DeprecationWarning: the imp module is deprecated i
    n favour of importlib and slated for removal in Python 3.12; see the module's documentation for
    alternative uses
    libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: Kann die Shared
    -Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-
    linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    libGL error: failed to load driver: radeonsi
    libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: Kann die Shared
    -Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-
    linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    libGL error: failed to load driver: radeonsi
    libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: Kann die Shared-Obj
    ect-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (search paths /usr/lib/x86_64-linu
    x-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
    libGL error: failed to load driver: swrast

     

    workaround:

     

    LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./Ultimaker-Cura-5.0.0-linux.AppImage
     

    Probably the build-system ultimaker uses for the AppImage is to old.

    Edited by esopalumpa
    • Like 1
    • Thanks 1
    Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    Hi there

     

    I have also been trying to run 5 on my chromebook but dont know much about linux. When typing the ./Cura.... after installing it gives me this: [29473] Error loading Python lib '/tmp/.mount_UltimanU50jy/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_UltimanU50jy/libpython3.10.so.1.0)

     

    I am running 4.13.1 without issues. I have also tried google but to no avail. 

     

    Can anyone please assist? 

  • Link to post
    Share on other sites

    • 2 weeks later...
    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    I am also having severe trouble installing Cura on Ubuntu 22.04. Is there a way to install Cura without using appimage?

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04
    On 7/1/2022 at 10:57 PM, sa0bxi said:

    Is there a way to install Cura without using appimage?

     

    I don’t know about Ubuntu 22.04, but I managed to build/backport the cura packages from Debian:experimental for Debian:testing. That’s a lot of work, so not recommended for the average user.

     

    Order of build is: arcus, uranus, libsavitar, libnest2d, pynest2d, cura-engine, cura

     

    13 hours ago, talz1979 said:

    Hi, It seems no one care about Linux users, I am gonna keep using 4.13.1 with the fix. Just a shame to release like that.

     

    Yep.

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    Hi,

     

    This is my first post, so hello everyone!

     

    I too had issues getting the 'appimage' version of Cura 5 to run on Ubuntu 22.04.

     

    On looking around I found that just installing the older fuse 2 library, (not the complete fuse package with utilities, etc),  fixed this problem for me:

     

    sudo apt install libfuse2

     

    Don't try to install the whole of 'FUSE 2' - its not fully backwards compatible with the later version (FUSE3) used in Ubuntu 22.04 - I found this out the hard way 😖, by trying that first...

     

    Typing:

     

    ./Ultimaker-Cura-5.0.0-linux.AppImage

     

    In the directory where the 'AppImage' is located should then run the application, (I get a few QT warnings, but that's another story).

     

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

     

    Thanks esopalumpa, that fixed it for me!

     

    On 6/11/2022 at 10:47 AM, esopalumpa said:

    workaround:

     

    LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 ./Ultimaker-Cura-5.0.0-linux.AppImage

     

     

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    Hey guys,

     

    I have the same prob since Cura 5.0.0 beta on my Linux Mint.

    All appimages before 5.0.0 where running without any probs.

     

    Running this: 

    Quote

    ./Cura-5.1.0-linux.AppImage

    results in this:

    Quote

    [15908] Error loading Python lib '/tmp/.mount_Cura-5Dlz2Wf/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/.mount_Cura-5Dlz2Wf/libpython3.10.so.1.0)

    I do not have any idea how to start with fixing that issue.

     

    Can somebody help me?

     

    Cappy

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    Found the solution to this problem by first trying snapd, but sadly they don't have a 5.x release has of this post.

    I wanted to share the solution I found here to help those who prefer Linux distros to use Cura

    Use flatpack to install Cura , they have a 5.3.1 release that is quite good, they have builds for almost every distro out there.

    https://www.flatpak.org/

     

    It's not an appimage, the installation worked on recent Debian and Ubuntu with various desktops for me. I tried Deepin, Gnome, xfce, lxde, etc.

    Flatpack integrated Cura perfectly, even USB permissions are properly set during flatpack installation.

     

    Enjoy.

     

     

    • Like 1
    Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    Download App Image 5.6.0

     

    Extract the app image with

    ./UltiMaker-Cura-5.6.0-linux-X64.AppImage --appimage-extract

     

    mv squashfs-root Cura-5.6.0

    cd Cura-5.6.0

     

    Edit AppRun.env and put these four lines at the top (removes your env settings that are causing the problem).

    QT_ACCESSIBILITY=
    QT_QPA_PLATFORMTHEME=
    QT_STYLE_OVERRIDE=
    QT_IM_MODULE=

     

    chmod +x AppRun

    Enjoy...

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04
    On 5/6/2023 at 10:13 PM, lola66 said:

    Found the solution to this problem by first trying snapd, but sadly they don't have a 5.x release has of this post.

    I wanted to share the solution I found here to help those who prefer Linux distros to use Cura

    Use flatpack to install Cura , they have a 5.3.1 release that is quite good, they have builds for almost every distro out there.

    https://www.flatpak.org/

     

    It's not an appimage, the installation worked on recent Debian and Ubuntu with various desktops for me. I tried Deepin, Gnome, xfce, lxde, etc.

    Flatpack integrated Cura perfectly, even USB permissions are properly set during flatpack installation.

     

    Enjoy.

     

     

     

    I'm trying to run Cura 5.7 on FlatPak on Debian on ChromeOS. The app mysteriously crashes so I tried to run from cmdline. I got some errors about Wayland?

    I'm new to Debian, FlatPak etc so I'm stumped.

    Screen output:

     

    /var/lib/flatpak/app/com.ultimaker.cura/current/active/export/share/applications$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=start-cura-flatpak.sh --file-forwarding com.ultimaker.cura
    Fontconfig warning: "/etc/fonts/conf.d/05-flatpak-fontpath.conf", line 5: unknown element "reset-dirs"
    Fontconfig error: "/etc/fonts/conf.d/05-flatpak-fontpath.conf", line 6: invalid attribute 'salt'
    Fontconfig error: "/etc/fonts/conf.d/05-flatpak-fontpath.conf", line 7: invalid attribute 'salt'
    Fontconfig warning: "/run/host/font-dirs.xml", line 4: unknown element "remap-dir"
    Fontconfig error: "/run/host/font-dirs.xml", line 4: invalid attribute 'as-path'
    Fontconfig warning: "/run/host/font-dirs.xml", line 5: unknown element "remap-dir"
    Fontconfig error: "/run/host/font-dirs.xml", line 5: invalid attribute 'as-path'
    Fontconfig error: Cannot load config file from /run/host/font-dirs.xml
    Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
    qt.qpa.wayland: Ignoring unexpected wl_surface.enter received for output with id: 7 screen name: "Screen5" screen model: "unknown" This is most likely a bug in the compositor.
    qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///app/cura/share/cura/resources/qml/Actions.qml" and "file:///app/cura/share/cura/resources/qml/Actions.qml"
    The Wayland connection broke. Did the Wayland compositor die?

  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    UltiMaker Cura on Flatpak is not an official release by UltiMaker its by a 3rd party.

    Additionally ChromeOS is not a formally supported operating system because its usually missing things UltiMaker Cura needs to run.
    Also many devices running ChromeOS dont always meet minimum hardware requirements for running UltiMaker Cura either.

  • Link to post
    Share on other sites

    Posted (edited) · Cura 5.0.0 appImage not executing in Linux 22.04
    54 minutes ago, Dustin said:

    UltiMaker Cura on Flatpak is not an official release by UltiMaker its by a 3rd party.

    ...

     

    For anyone else stuck here, I got it running by downgrading to 5.6:

     

    $ flatpak remote-info --log flathub com.ultimaker.cura
    
    UltiMaker Cura - Slicer to prepare your 3D printing projects
    
            ID: com.ultimaker.cura
           Ref: app/com.ultimaker.cura/x86_64/stable
          Arch: x86_64
        Branch: stable
       Version: 5.7.2-RC2
       License: LGPL-3.0 and CC-BY-SA-4.0
    Collection: org.flathub.Stable
      Download: 407.6 MB
     Installed: 1.2 GB
       Runtime: org.freedesktop.Platform/x86_64/23.08
           Sdk: org.freedesktop.Sdk/x86_64/23.08
    
        Commit: 4196ce641769a5cfdc24e61a5fe66b6a6da48e57533758ad61165179dd998958
        Parent: 47105295c236efa8a793b824121a3e12e2dcd51e15f476caced9e3c456871fed
       Subject: Update Cura.AppImage to 5.7.2-RC2 (96c7ff44)
          Date: 2024-06-03 18:38:07 +0000
       History: 
    
    [...snip...]
    
        Commit: 1cf88e7707a9f2a92ad70fa785d544886781a57eed8f501a16dbb40f7f0fd8ea
       Subject: Bump to 5.6.0 (#30) (f629a695)
          Date: 2023-12-27 20:23:00 +0000

     

    So I ran the oldest, which is 5.6.0, and this ran:

     

    $ sudo flatpak update --commit=1cf88e7707a9f2a92ad70fa785d544886781a57eed8f501a16dbb40f7f0fd8ea

     

    I tried the 5.7.x and they all closed during program initialization. They fail with:

    qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///app/cura/share/cura/resources/qml/Actions.qml" and "file:///app/cura/share/cura/resources/qml/Actions.qml"
    The Wayland connection broke. Did the Wayland compositor die?

    So something Wayland related I guess.

    Edited by psommerfeld
    More details
  • Link to post
    Share on other sites

    Posted · Cura 5.0.0 appImage not executing in Linux 22.04

    Just found someone had put in a GitHub bug report on this exact issue 2 weeks ago at https://github.com/Ultimaker/Cura/issues/19369

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 beta released
        Another Cura release has arrived and in this 5.8 beta release, the focus is on improving Z seams, as well as completing support for the full Method series of printers by introducing a profile for the UltiMaker Method.
          • Like
        • 1 reply
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...