sudo apt-get install gnome-raw-thumbnailer ufraw-batch
Try now if everything works, and your thumbnails show up. If not, try the following part.
| #!/usr/bin/env python | |
| # Python port of the HiTechnic HTWay for ev3dev | |
| # Copyright (c) 2014-2015 G33kDude, David Lechner | |
| # HiTechnic HTWay is Copyright (c) 2010 HiTechnic | |
| import itertools | |
| import os | |
| import struct |