rbreu / beeref

BeeRef Reference Image Viewer
GNU General Public License v3.0
484 stars 39 forks source link

app crashes when trying to save in linux #105

Closed sensoph1 closed 2 months ago

sensoph1 commented 2 months ago

Describe the bug The Application crashes when trying to save changes or save a new file

System info BeeRef version number: BeeRef version 0.3.3-dev appimage

Your operating system: Operating System: Linux Mint 21.2
Kernel: Linux 5.15.0-91-generic Desktop environment: XFCE

To Reproduce Steps to reproduce the behavior:

  1. open app and create new scene or make a change to a saved one.
  2. attempt to save, save as, or export scene

Expected behavior a popup should indicate what to name it but it never appears

Screenshots

Debug log: 2024-05-01 10:01:52,916 beeref.main_controls 3521713 140098231617344 Drag enter event: ['text/plain', 'XdndDirectSave0', 'application/octet-stream', 'chromium/x-renderer-taint', 'text/html', 'text/uri-list'] 2024-05-01 10:01:53,243 beeref.main_controls 3521713 140098231617344 Handling file drop: ['text/plain', 'XdndDirectSave0', 'application/octet-stream', 'chromium/x-renderer-taint', 'text/html', 'text/uri-list'] 2024-05-01 10:01:53,245 beeref.main_controls 3521713 140098231617344 Found dropped urls: [PyQt6.QtCore.QUrl('https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg')] 2024-05-01 10:01:53,246 beeref.widgets 3521713 140098231617344 Initialised progress bar 2024-05-01 10:01:53,246 beeref.widgets 3521713 140098231617344 Beginn progress dialog: 1 2024-05-01 10:01:53,246 beeref.fileio 3521713 140097954567744 Loading image from file PyQt6.QtCore.QUrl('https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg') 2024-05-01 10:01:53,246 Qt 3521713 140097954567744 QFSFileEngine::open: No file name specified 2024-05-01 10:01:53,555 beeref.fileio.image 3521713 140097954567744 Temporarily saved in: /tmp/tmpkk7_idwt/img 2024-05-01 10:01:53,570 beeref.items 3521713 140097954567744 Setting crop for Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 to PyQt6.QtCore.QRectF(0.0, 0.0, 564.0, 781.0) 2024-05-01 10:01:53,570 beeref.view 3521713 140098231617344 On items loaded: add queued items 2024-05-01 10:01:53,570 beeref.items 3521713 140097954567744 Initialized Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 2024-05-01 10:01:53,570 beeref.widgets 3521713 140098231617344 Progress dialog: 0 2024-05-01 10:01:53,570 beeref.items 3521713 140097954567744 Setting grayscale for {self} to {value} 2024-05-01 10:01:53,581 beeref.view 3521713 140098231617344 Insert images finished 2024-05-01 10:01:53,581 beeref.items 3521713 140098231617344 Setting grayscale for {self} to {value} 2024-05-01 10:01:53,581 beeref.selection 3521713 140098231617344 Setting z-value for Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 to 0.0 2024-05-01 10:01:53,581 beeref.selection 3521713 140098231617344 Setting scale for Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 to 1.0 2024-05-01 10:01:53,581 beeref.selection 3521713 140098231617344 Setting rotation for Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 to 0.0 2024-05-01 10:01:53,581 beeref.scene 3521713 140098231617344 Adding item Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 2024-05-01 10:01:53,581 beeref.selection 3521713 140098231617344 Setting z-value for Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 to 0.0 2024-05-01 10:01:53,582 beeref.view 3521713 140098231617344 Currently selected items: 1 2024-05-01 10:01:53,582 beeref.selection 3521713 140098231617344 Setting z-value for Image "https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg" 564 x 781 to 0.001 2024-05-01 10:01:53,582 beeref.view 3521713 140098231617344 Fit view: PyQt6.QtCore.QRectF(-289.0, -498.5, 564.0, 781.0) 2024-05-01 10:01:53,583 beeref.widgets 3521713 140098231617344 Finished progress dialog 2024-05-01 10:01:55,838 beeref.view 3521713 140098231617344 Cancel sample color mode 2024-05-01 10:01:55,838 beeref.view 3521713 140098231617344 Cancel sample color mode

Console /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so: undefined symbol: gvfs_get_socket_dir Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so INFO beeref.fileio: Loading image from file PyQt6.QtCore.QUrl('https://i.pinimg.com/564x/ba/8d/d7/ba8dd7119750b47eb6dbdb418e3eab42.jpg') WARNING Qt: QFSFileEngine::open: No file name specified /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so: undefined symbol: gvfs_get_socket_dir Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

(python3.11:34731): Gtk-WARNING : 10:32:50.309: 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/Mint-Y/mimetypes/16/image.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/Mint-Y/mimetypes/16/image.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3) /tmp/.mount_BeeRefKS77Q4/AppRun: line 19: 34731 Aborted (core dumped) "$APPDIR/opt/python3.11/bin/python3.11" -I -m beeref "$@"

rbreu commented 2 months ago

This might be the same issue as this: https://github.com/rbreu/beeref/discussions/103

I've just uploaded a second version of the appimage here: https://github.com/rbreu/beeref/releases/download/v0.3.3-apha1/BeeRef-0.3.3-alpha2.appimage

If that doesn't fix it, it would help if you started the appimage from command line and past the console output, and also name which Desktop Environment you are on.

sensoph1 commented 2 months ago

That did actually fix it but i updated the issue anyway. thanks for the quick response!