rbreu / beeref

BeeRef Reference Image Viewer
GNU General Public License v3.0
501 stars 37 forks source link

linux; can't load radeonsi or swrast + unhandled exceptions #53

Open linuxgirl22 opened 2 years ago

linuxgirl22 commented 2 years ago

*** I used the code button, but it isn't displaying correctly.

Hello :-) Looks a great software; very intuitive, and far easier than the billion shortcuts pureref needs. Downloaded the latest linux version, made it executable, and double clicked ... first, it opened, but unable to drag images onto or right-click. Tried running it via terminal, and was able to add one picture, then right click and flip it horizontally, then unfortunately everything seized up. With latest attempt was able to add a few images before it seized up, either via panel shortcut or terminal. Have to force close each time. On opening, other things on the pc slow down, too.

Error messages via terminal $ ./BeeRef-0..0-linux INFO __main__: Starting BeeRef version 0.2.0 INFO __main__: Using settings: /home/watership/.config/BeeRef/BeeRef.ini INFO __main__: Logging to: /home/watership/.config/BeeRef/BeeRef.log /usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognomeproxy.so /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so: undefined symbol: g_task_set_name Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/dri/radeonsi_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: swrast

Error from beeref.log `2022-02-27 05:16:28,244 main 7906 139840951633664 Unhandled exception Traceback (most recent call last): File "beeref/fileio/init.py", line 100, in run File "beeref/fileio/init.py", line 63, in load_images File "beeref/fileio/image.py", line 85, in load_image File "beeref/fileio/image.py", line 48, in exif_rotated_image File "exif/_image.py", line 101, in getattr File "exif/_app1_metadata.py", line 546, in getattr File "exif/ifd_tag/_slong.py", line 30, in read NotImplementedError: this package does not yet support setting SLONG tags since no SLONG tags exist in EXIF specification

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "plum/buffer.py", line 30, in unpack File "plum/items.py", line 335, in unpack File "", line 56, in unpack File "plum/enum.py", line 103, in unpack File "enum.py", line 310, in call File "enum.py", line 564, in new File "enum.py", line 548, in new File "enum.py", line 577, in missing ValueError: 8045 is not a valid TiffByteOrder

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "beeref/fileio/image.py", line 42, in exif_rotated_image File "exif/_image.py", line 79, in init File "exif/_image.py", line 54, in _parse_segments File "exif/_app1_metadata.py", line 514, in init File "exif/_app1_metadata.py", line 453, in _parse_ifd_segments File "plum/buffer.py", line 33, in unpack File "plum/buffer.py", line 53, in unpack_and_dump plum.exceptions.UnpackError:

+--------+------------+-------+-------+-----------------+ | Offset | Access | Value | Bytes | Format | +--------+------------+-------+-------+-----------------+ | | | | | TiffHeader | | 0 | byte_order | 8045 | 1f 6d | tiff_byte_order | +--------+------------+-------+-------+-----------------+

ValueError occurred during unpack operation:

8045 is not a valid TiffByteOrder INFO beeref.fileio: Loading image from file PyQt6.QtCore.QUrl('file:///home/watership/Desktop/fire-flames.jpg') INFO beeref.fileio: Loading image from file PyQt6.QtCore.QUrl('file:///home/watership/Desktop/flames shape.png') ERROR beeref.fileio.image: Exif parser failed on image: /home/watership/Desktop/flames shape.png ValueError: 27151 is not a valid TiffByteOrder`

This repeats, with a different number ...
ValueError: 57848 is not a valid TiffByteOrder

Am running MX-Linux 21, Mate desktop, kernel 5.10, and can see python3-qt5.15.2, qt5-gtk-platformtheme at 5.15.2 and other packages referencing qt 5.0.0, via package manager (can see beeref referring to PyQt6.QtCore). AMD/Radeon pc.