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

PrusaSlice 2.8.1 crash after Configuration Wizzard while "Installing profiles" #13675

Open
2 tasks
madpipeline opened this issue Nov 27, 2024 · 6 comments
Open
2 tasks

Comments

@madpipeline
Copy link

Description of the bug

On first startup of PrusaSlicer 2.8.1 AppImage, on my Fedora 40 KDE system, after completing the Configuration Wizard, the app crashes while the "Installing profiles" window is showing. To note that the contents of the window are all black.

I've configured just the Ender 3 Pro printer that I have with Prusament and Generic PLA and PETG, everything else on the defaults.

If I run it from the terminal I get this output (skipping the lines that repeat a lot):

$ ./bin/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage
Gtk-Message: 21:01:06.246: Failed to load module "appmenu-gtk-module"

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:13.942: gtk_window_resize: assertion 'width > 0' failed

[...]

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:13.997: gtk_widget_set_size_request: assertion 'width >= -1' failed
[2024-11-27 21:01:14.108147] [0x00007f337810d340] [error]   UserAccount: Failed to read token - no datafile found.
[...]

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.373: gtk_widget_set_size_request: assertion 'width >= -1' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.373: gtk_widget_set_size_request: assertion 'width >= -1' failed

[...]

(prusa-slicer:402958): GLib-GObject-CRITICAL **: 21:01:18.423: invalid cast from 'wxPizza' to 'GtkCellLayout'

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.423: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:402958): GLib-GObject-CRITICAL **: 21:01:18.423: invalid cast from 'wxPizza' to 'GtkCellLayout'

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.423: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:01:18.556: gtk_widget_set_size_request: assertion 'width >= -1' failed
Gtk-Message: 21:01:18.836: Failed to load module "appmenu-gtk-module"
Gtk-Message: 21:01:18.837: Failed to load module "appmenu-gtk-module"
Gtk-Message: 21:01:22.825: Failed to load module "appmenu-gtk-module"

[...]

(prusa-slicer:402958): Gtk-CRITICAL **: 21:02:11.578: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:02:11.578: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed

(prusa-slicer:402958): Gtk-CRITICAL **: 21:02:11.578: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed
[2024-11-27 21:02:51.574977] [0x00007f337810d340] [error]   Couldn't locate idx file /home/ovidiu/.config/PrusaSlicer/cache/vendor/PrusaResearch.idx when performing updates.
[1]    402958 segmentation fault (core dumped)  ./bin/PrusaSlicer-2.8.1+linux-x64-newer-distros-GTK3-202409181416.AppImage

Project file & How to reproduce

This happens on startup, I don't even get the chance to open a project.

I can cancel the Configuration wizard, but then I have no printers configured.

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.8.1+linux-x64-newer-distros-GTK3-202409181416

Operating system

Fedora 40 KDE

Printer model

Ender 3 Pro

@Jan-Soustruznik
Copy link
Collaborator

Hello, @madpipeline , could you send us your config folder:/home/ovidiu/.config/PrusaSlicer/ missing .idx files should evoke the crash of app.

@madpipeline
Copy link
Author

I'm not sure how to want me to send the folder, so here's an ls for now:

-> % ls -lah /home/ovidiu/.config/PrusaSlicer
total 8,0K
drwxr-xr-x. 1 ovidiu ovidiu  238 nov 27 22:12 .
drwxrwxr-x. 1 ovidiu ovidiu 4,1K nov 28 19:31 ..
-rw-r--r--. 1 ovidiu ovidiu 1,3K nov 27 22:09 ArchiveRepositoryManifest.json
drwxr-xr-x. 1 ovidiu ovidiu 1,1K nov 27 22:12 cache
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 filament
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 physical_printer
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 print
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 printer
-rw-r--r--. 1 ovidiu ovidiu 1,5K nov 27 22:12 PrusaSlicer.ini
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 shapes
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 sla_material
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 sla_print
drwxr-xr-x. 1 ovidiu ovidiu    0 nov 27 21:58 vendor

@Samueru-sama
Copy link

On first startup of PrusaSlicer 2.8.1 AppImage, on my Fedora 40 KDE system, after completing the Configuration Wizard, the app crashes while the "Installing profiles" window is showing. To note that the contents of the window are all black.

Do you have the issue with this AppImage?

@madpipeline
Copy link
Author

-> % ./PrusaSlicer-2.9.0-alpha1-x86_64.AppImage
fusermount3 version: 3.16.2
An error occured while setting up locale.
You may need to reconfigure the missing locales, likely by running the "locale-gen" and "dpkg-reconfigure locales" commands.
PrusaSlicer will now terminate.

locale::facet::_S_create_c_locale name not valid

@Samueru-sama
Copy link

Samueru-sama commented Dec 1, 2024

-> % ./PrusaSlicer-2.9.0-alpha1-x86_64.AppImage
fusermount3 version: 3.16.2
An error occured while setting up locale.
You may need to reconfigure the missing locales, likely by running the "locale-gen" and "dpkg-reconfigure locales" commands.
PrusaSlicer will now terminate.

locale::facet::_S_create_c_locale name not valid

Looks like more locales have to be included in the AppImage.

Does it run if you set LC_ALL=C though?

EDIT: Also unset LOCPATH just in case you have it set.

@madpipeline
Copy link
Author

It works if I export LC_ALL=C.
The configuration wizard does not crash anymore with the new AppImage. Also the dialog windows when they appear they have contents now. As oposed to with the current releases when their contents are black.

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

No branches or pull requests

3 participants