Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930457 - media-gfx/prusaslicer fails to download from printables.com
Summary: media-gfx/prusaslicer fails to download from printables.com
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-22 23:10 UTC by David Reed
Modified: 2024-08-04 15:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Reed 2024-04-22 23:10:07 UTC
Prusaslicer has the ability to download links from printables.com.  However, Gentoo's build (and other distros) fails with a non-descript error message "Loading of a model file failed".

Unfortunately, upstream doesn't offer any support for builds that don't make use of their vendored dependencies. Arch maintainers have even resorted  to using most of the vendored deps, which is an unfortunate reality.
https://gitlab.archlinux.org/archlinux/packaging/packages/prusa-slicer/-/blob/main/PKGBUILD?ref_type=heads#L21

Reproducible: Always

Steps to Reproduce:
1.Click on the Pursaslicer icon for one of the STL/3MF files on printables.com
2.Dialog asks if you want to use the Prusaslicer URL protocol
3.Prusaslicer opens and loads the model

Actual Results:  
Error message window pops up saying "Loading of a model file failed."

Expected Results:  
Prusaslicer should download the model and load it

I'm not sure what the right course of action here is.  Going the way Arch did not only muddies up the build, but will present issues with sandboxing since the cmake scripts will try and download the dependencies to install them in the build.
Comment 1 David Reed 2024-04-22 23:13:29 UTC
Oh, I should mention that the Appimage build is able to use the download feature without error.
Comment 2 Paul Zander 2024-04-23 00:10:56 UTC
I changed ~/.local/share/applications/PrusaSlicerURLProtocol.desktop to contain `Exec="/usr/bin/prusa-slicer" --single-instance %u --loglevel 5 &> ~/.cache/PrusaSlicer.log`. But outside of repeated lines of `Download 1: 6.0469e+06` there is nothing noteworthy.
Comment 3 Miroslav Šulc gentoo-dev 2024-08-04 15:42:57 UTC
is 2.8.0 still affected?