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

Crash when I press open file #13263

Closed
1 of 2 tasks
svsdval opened this issue Sep 11, 2022 · 7 comments
Closed
1 of 2 tasks

Crash when I press open file #13263

svsdval opened this issue Sep 11, 2022 · 7 comments
Labels
Status: Duplicate Duplicate of another issue. Type: Bug The code does not produce the intended behavior.

Comments

@svsdval
Copy link

svsdval commented Sep 11, 2022

Application Version

5.1.0

Platform

Debian GNU/Linux

Printer

Custom

Reproduction steps

I only press the Open File button

Actual results

Cura crash with this output:

(Ultimaker-Cura:5652): Gtk-WARNING **: 16:05:53.603: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/gnome/16x16/status/image-missing.png: Нераспознанный формат файла изображения (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/gnome/16x16/status/image-missing.png: Нераспознанный формат файла изображения (gdk-pixbuf-error-quark, 3)
Aborted

Expected results

Open any file

Checklist of files to include

  • Log file
  • Project file

Additional information & file uploads

cura.log

@svsdval svsdval added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Sep 11, 2022
@svsdval
Copy link
Author

svsdval commented Sep 11, 2022

previous version (4.13) works fine, 5.0 also cant open file (dialog of open file not opened) but doesnt crash.
updated:
also 5.1.1 crash when try open, save and export.
But when I replace libGTK on appimage mount point, to libgtk-3-0_3.18.9 or libgtk-3-0_3.24.34 or just rename it and try open file: dialog of open file not show but cura don't crash... And and the save and export functions begin to work %)

@MariMakes
Copy link
Contributor

Hey @svsdval,

Welcome to the Ultimaker Cura Github 🚀
Sorry, it took us a while to get back to you 😞

I'm seeing some non-latin characters in your logs.
This seems to be a duplicate of #9644
We have a ticket on our backlog with the intent to improve this behavior.

A work around could be to change your path of the temp folder:

Search for environment variables in the windows search bar.
This will open system properties and there you can click on Environment Variables.
Edit the TEMP variable.
Change the Variable value to something like C:\Temp
Here you can read more about modify environment variables: https://docs.oracle.com/en/database/oracle/machine-learning/oml4r/1.5.1/oread/creating-and-modifying-environment-variables-on-windows.html#GUID-DD6F9982-60D5-48F6-8270-A27EC53807D0

I'll be closing this issue as a duplicate but you can follow the progress here: #9644

@MariMakes MariMakes added Status: Duplicate Duplicate of another issue. and removed Status: Triage This ticket requires input from someone of the Cura team labels Sep 23, 2022
@svsdval
Copy link
Author

svsdval commented Sep 23, 2022

This is on linux, and no non-latin characters in vars;

cura.log

vars.txt

it crashes when i click the "open" button, I don't try open files because a dialog of open file isn't show and cura crashes at this moment.

I move cura appimage to /tmp, don't help.

@JohnCalin
Copy link

Here's a me too.

Please re-open this issue, it is not a duplicate of the issue mentioned. It really has nothing in common with that issue at all, so whatever criteria was used to mark it as a duplicate, review your processes.

OP is on Debian linux, I am on Gentoo linux.
Not Windows, no unusual characters in the username, and the crash really has nothing to do with opening STL files.
I am able to open STL files without issue by using drag-and-drop, but as the OP described Cura bails out when it tries to display a file dialog. I get the same behavior whether I am opening a new file or saving - anything that tries to show a file dialog.

@JohnCalin
Copy link

For reference, here's my bail out message:

(Ultimaker-Cura:27538): Gtk-WARNING **: 13:38:20.028: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
/tmp/.mount_UltimaDPZcha/AppRun: line 16: 27538 Aborted $scriptdir/Ultimaker-Cura "$@"

@JohnCalin
Copy link

@svsdval I opened my own ticket for this issue, and it was found to be a dup of #12266
There are some possible work-arounds listed there that may help you.

@svsdval
Copy link
Author

svsdval commented Oct 11, 2022

@svsdval I opened my own ticket for this issue, and it was found to be a dup of #12266 There are some possible work-arounds listed there that may help you.

Thanks a lot ! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Duplicate Duplicate of another issue. Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

3 participants