unlimitedbacon / stl-thumb

Thumbnail generator for STL files
MIT License
1.09k stars 93 forks source link

Doesn't work on Ubuntu 18.04 #9

Closed Goury closed 5 years ago

Goury commented 5 years ago

Because library libOSMesa.so that this thing uses is not there, libosmesa6-dev should be added as a dependency.

gsedej commented 5 years ago

Same here. Nautilus output says Unable to create headless GL context. Trying hidden window instead. Reason: NoBackendAvailable(LoadingError("LibraryNotFound { descr: \"libOSMesa.so: cannot open shared object file: No such file or directory\" }"))

The libosmesa6 is installed (also libosmesa6-dev)

unlimitedbacon commented 5 years ago

Weird. I don't know why libosmesa6 isn't enough. Dependency added for libosmesa6-dev.

gsedej commented 5 years ago

Despite my issue about output, the thumbnailer works for some STL files. Those that don't work (no thumbnail displayed) are usually broken (e.g. Slic3r can't slice it correctly)

@Goury Did you tried different stl files? Try just exporting default cube in blender as stl.

Goury commented 5 years ago

@gsedej I don't have broken STL files. And this was not the case.