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

Cannot download anything via desktop integration #100

Closed
konradmb opened this issue Feb 3, 2024 · 4 comments
Closed

Cannot download anything via desktop integration #100

konradmb opened this issue Feb 3, 2024 · 4 comments

Comments

@konradmb
Copy link

konradmb commented Feb 3, 2024

When opening links from printables.com, Prusa Slicer opens up and shows the following dialog:
Loading of a model file failed.

Console output:

xdg-open 'prusaslicer://open?file=https%3A%2F%2Ffiles.printables.com%2Fmedia%2Fprints%2F745432%2Fstls%2F5846564_369e98f7-f935-4096-b3a2-e30a0f98d3b8_1607d8bf-01ba-446b-ba18-42bdad01f08a%2Fclearence_test_02_hard.stl' 

--------------------------------------------------------------------------
Message: 20:36:34: Starting PrusaSlicer flatpak with entrypoint script
--------------------------------------------------------------------------
Gtk-Message: 20:36:34.665: Failed to load module "xapp-gtk3-module"
Gtk-Message: 20:36:34.694: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:36:34.694: Failed to load module "pk-gtk-module"
Gtk-Message: 20:36:34.695: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:36:34.696: Failed to load module "pk-gtk-module"

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.469: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.469: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.471: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.471: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.475: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.476: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.481: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.482: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.825: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.825: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.843: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.843: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.844: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.844: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.846: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.847: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.847: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.849: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.849: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.849: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.849: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.850: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.850: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.850: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.850: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.850: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:8): Gtk-CRITICAL **: 20:36:35.853: gtk_widget_set_size_request: assertion 'width >= -1' failed
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
20:36:36: Debug: window wxTreeCtrl@0x563080ee3450 ("treeCtrl") lost focus even though it didn't have it
[2024-02-03 20:36:37.757923] [0x00007f744a911b40] [error]   stl_open_count_facets: The input is an empty file: /home/konrad/Pobrane/STL/clearence_test_02_hard(2).stl

The output is indeed an empty file.

There's a similar issue on Nix: NixOS/nixpkgs#246261
I've tested official AppImage and it works.

@eliadevito
Copy link
Contributor

Hi @konradmb,
thanks for you report, I'm able to reproduce this, I will investigate for a fix in the next days.

@xarbit I keep you updated

@eliadevito
Copy link
Contributor

eliadevito commented Feb 15, 2024

fixed for me by #101

@konradmb can you test the build and confirm?

flatpak install --user https://dl.flathub.org/build-repo/82646/com.prusa3d.PrusaSlicer.flatpakref

@konradmb
Copy link
Author

@eliadevito Just tested it, works great! Thank you very much!

@konradmb
Copy link
Author

Closing. Stable version from flathub is working for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants