Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prusa-Slicer Printables.com integration is broken #246261

Open
NovaViper opened this issue Jul 30, 2023 · 4 comments
Open

Prusa-Slicer Printables.com integration is broken #246261

NovaViper opened this issue Jul 30, 2023 · 4 comments
Labels
0.kind: bug Something is broken

Comments

@NovaViper
Copy link
Contributor

Describe the bug

The prusa-slicer package v2.6.0 does not correctly integrate with Printables. The printables.com integration fails with every single model; all downloads fail when attempting it and results in a 0kb file created onto my computer.

Steps To Reproduce

  1. Open PrusaSlicer
  2. Go to Printables.com.
  3. Try to open any model in PrusaSlicer with the "Open in PrusaSlicer" button
    Example: Fabric coasters model page
    direct PS link: prusaslicer://open?file=https%3A%2F%2Ffiles.printables.com%2Fmedia%2Fprints%2F230356%2Fstls%2F2096125_9cfc404b-0edb-4c30-a332-5ae014742d16%2Fmodular__004___x1x2.stl
  4. Immediately greeted with Loading of a ZIP archive on path /home/novaviper/Downloads/fabric-coasters-model_files.zip has failed. (or Failed to load model if imported a model directly) and the model not opening up within the slicer

Expected behavior

The slicer should just download the files/folders just fine with no error

Screenshots

What the buttons look like on Printables
image
The error
image

Additional context

In this issue, it maybe related to how the package maintainers have packaged the dependencies because a very similar issue occurred with the ArchLinux packaged version and it was deemed to be specific to the distro version of the program (and not the AppImage version). However I actually can't confirm this because I can't get the AppImage to run correctly on NixOS. I can get it to run with appimage-run but unfortunately can't get the desktop integration to work (running the desktop files it creates results in a "file not found" error).

Notify maintainers

@Moredread
@tweber

Metadata

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.41, NixOS, 23.11 (Tapir), 23.11.20230729.e6ab469`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/9xpvg56sk83p217x1ws6a42ga07mip2d-source`
@Moredread
Copy link
Contributor

I can reproduce this. Sadly th logging messages don't seem to be helpful and the last supported curl version doesn't easily build with the current curl derivation.

Interestingly the API of libcurl should be backwards compatible. The issue isn't the lib version but the build flags that are used when prusa-slicer builds its vendors dependencies. Those are in the deps/curl CMakefile in the prusa-slicer source.

I'm not sure when and if I have time to debug this. :/

@maxammann
Copy link
Contributor

I can confirm that this still happens on 2.8.1

@maxammann
Copy link
Contributor

I tried to find out why by contacting another maintainer: flathub/com.prusa3d.PrusaSlicer#101 (comment)

@maxammann
Copy link
Contributor

Seems to be curl related: flathub/com.prusa3d.PrusaSlicer#101 (comment)

So we'd need to get Prusa slicer linked to curl 7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants