Package Details: stl-thumb 0.5.0-1

Git Clone URL: https://aur.archlinux.org/stl-thumb.git (read-only, click to copy)
Package Base: stl-thumb
Description: A fast lightweight thumbnail generator for STL files
Upstream URL: https://github.com/unlimitedbacon/stl-thumb
Licenses: MIT
Submitter: unlimitedbacon
Maintainer: unlimitedbacon
Last Packager: unlimitedbacon
Votes: 5
Popularity: 0.34
First Submitted: 2018-07-28 04:25 (UTC)
Last Updated: 2022-05-30 07:41 (UTC)

Pinned Comments

unlimitedbacon commented on 2022-05-30 08:11 (UTC)

Package should be fixed with v0.5.0. If you are still having trouble try doing a clean build (rm -rf the build directory).

Latest Comments

« First ‹ Previous 1 2

unlimitedbacon commented on 2018-11-04 21:44 (UTC)

Switched over to headless rendering. Should be working in Gnome now.

bartus commented on 2018-10-17 19:00 (UTC)

@unlimitedbacon: use gluim headless renderer or switch to software-based solution (rust-softrender perhaps)...

unlimitedbacon commented on 2018-09-25 04:27 (UTC)

@bartus, this is a known issue and I'm not sure what I can do about it. The sandboxing does not allow a connection to the X server or to the DRI since it would be a huge security hole. However, this is necessary for using OpenGL.

I'm open to suggestions.

bartus commented on 2018-09-24 21:54 (UTC) (edited on 2018-09-24 21:59 (UTC) by bartus)

@unlimitedbacon: Not working any more, since gnome starts using bwrap to isolate thumbnailers.

G_MESSAGES_DEBUG=all ./test-desktop-thumbnail /usr/share/opencascade/data/stl/head.stl /tmp/test.png
(process:5998): dconf-DEBUG: 23:49:32.571: watch_fast: "/org/gnome/desktop/thumbnailers/" (establishing: 0, active: 0)
(process:5998): dconf-DEBUG: 23:49:32.572: watch_established: "/org/gnome/desktop/thumbnailers/" (establishing: 1)
(process:5998): GnomeDesktop-DEBUG: 23:49:32.572: About to launch script: bwrap --ro-bind /var /var --ro-bind /usr /usr --ro-bind /lib /lib --ro-bind /lib64 /lib64 --proc /proc --dev /dev --symlink usr/bin /bin --symlink usr/sbin /sbin --chdir / --setenv GIO_USE_VFS local --unshare-all --die-with-parent --setenv G_MESSAGES_DEBUG all --bind /tmp/gnome-desktop-thumbnailer-VUPKPZ /tmp --ro-bind /usr/share/opencascade/data/stl/head.stl /tmp/gnome-desktop-file-to-thumbnail.stl --seccomp 8 stl-thumb -s 256 /tmp/gnome-desktop-file-to-thumbnail.stl /tmp/gnome-desktop-thumbnailer.png 

(process:5998): GLib-DEBUG: 23:49:32.572: posix_spawn avoided (fd close requested) (child_setup specified) 
(process:5998): GnomeDesktop-DEBUG: 23:49:32.718: Failed to launch script: thread 'main' panicked at 'Failed to initialize any backend!
    Wayland status: NoCompositorListening
    X11 status: XOpenDisplayFailed
', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.17.1/src/platform/linux/mod.rs:439:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

(process:5998): GnomeDesktop-DEBUG: 23:49:32.718: Thumbnail script ('stl-thumb -s %s %i %o') failed for 'file:///usr/share/opencascade/data/stl/head.stl': Child process exited with code 101

(process:5998): GnomeDesktop-WARNING **: 23:49:32.718: gnome_desktop_thumbnail_factory_generate_thumbnail() failed to generate a thumbnail for /usr/share/opencascade/data/stl/head.stl