Rapid Photo Downloader AppImage for testing

Sorry, it didn’t work for me:

Rapid Photo Downloader: 0.9.0
Platform: Linux-4.10.0-22-generic-x86_64-with-debian-stretch-sid
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.2
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.6.0
ExifTool: 10.56
pymediainfo: 2.1.9
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.18.2
rawkit: 0.5.0 (not functional)
psutil: 5.2.2
Exiv2: 0.25.0

Also, note the missing libmediainfo in this instance (run in a VM):

Rapid Photo Downloader: 0.9.0
Platform: Linux-4.11.6-201.fc25.x86_64-x86_64-with-fedora-25-Gurgle
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.4
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.5.1
ExifTool: 10.56
pymediainfo: None
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.17.2-Release
rawkit: 0.5.0
psutil: 5.2.2
Exiv2: 0.25.0

Finally, video thumbnail generation is still failing.

I suspect that libmediainfo suffers of the same problem as libraw, such that the bundled library is not found… I will look into that.

Could you please post the full output of -detailed-version for the first case, in which libraw is not found? There should be some messages printed before the rapid photo downloader version…

Thanks

./rapid-photo-downloader-0.9.0b6.glibc2.14-x86_64.AppImage --detailed-version
DIR: /tmp/.mount_mrtb2e
GTK_PATH=/tmp/.mount_mrtb2e/usr/lib/gtk-2.0:
PANGO_LIBDIR=/tmp/.mount_mrtb2e/usr/lib
GDK_PIXBUF_MODULEDIR: /tmp/.mount_mrtb2e/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: /tmp/.mount_mrtb2e/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.36.0
#
# LoaderDir = ././/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx    " 100
"abcdidat" "xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100
"II* \020   CR\002 " "   z zzz   z" 0

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \v" "xz " 100

Input parameters: "--detailed-version"

Input File: --detailed-version

/tmp/.mount_mrtb2e/usr/bin/python
Rapid Photo Downloader: 0.9.0
Platform: Linux-4.10.0-22-generic-x86_64-with-debian-stretch-sid
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.2
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.6.0
ExifTool: 10.56
pymediainfo: 2.1.9
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.18.2
rawkit: 0.5.0 (not functional)
psutil: 5.2.2
Exiv2: 0.25.0

Looks like python is not picking the bundled rawkit version… could you post the same for the other system in which libraw is correctly detected? There should be additional messages showing the path and version of libraw.

Thanks!

Korora 25 (Fedora derivative):

./rapid-photo-downloader-0.9.0b6.glibc2.14-x86_64.AppImage --detailed-version
DIR: /tmp/.mount_ZWk31m
GTK_PATH=/tmp/.mount_ZWk31m/usr/lib/gtk-2.0:
PANGO_LIBDIR=/tmp/.mount_ZWk31m/usr/lib
GDK_PIXBUF_MODULEDIR: /tmp/.mount_ZWk31m/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: /tmp/.mount_ZWk31m/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.36.0
#
# LoaderDir = ././/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx    " 100
"abcdidat" "xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100
"II* \020   CR\002 " "   z zzz   z" 0

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \v" "xz " 100

Input parameters: "--detailed-version"

Input File: --detailed-version

/tmp/.mount_ZWk31m/usr/bin/python
Rapid Photo Downloader: 0.9.0
Platform: Linux-4.11.6-201.fc25.x86_64-x86_64-with-fedora-25-Gurgle
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.4
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.5.1
ExifTool: 10.56
pymediainfo: None
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.17.2-Release
rawkit: 0.5.0
psutil: 5.2.2
Exiv2: 0.25.0

And finally, for something a little different, Ubuntu 14.04:

./rapid-photo-downloader-0.9.0b6.glibc2.14-x86_64.AppImage --detailed-version
DIR: /tmp/.mount_ZERyPk
GTK_PATH=/tmp/.mount_ZERyPk/usr/lib/gtk-2.0:
PANGO_LIBDIR=/tmp/.mount_ZERyPk/usr/lib
GDK_PIXBUF_MODULEDIR: /tmp/.mount_ZERyPk/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: /tmp/.mount_ZERyPk/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.36.0
#
# LoaderDir = ././/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx    " 100
"abcdidat" "xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100
"II* \020   CR\002 " "   z zzz   z" 0

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \v" "xz " 100

Input parameters: "--detailed-version"

Input File: --detailed-version

/tmp/.mount_ZERyPk/usr/bin/python
LibRaw library: /tmp/.mount_ZERyPk/usr/lib/libraw.so.15
Libraw version: 0.17.2
LibRaw library: /tmp/.mount_ZERyPk/usr/lib/libraw.so.15
Libraw version: 0.17.2
Rapid Photo Downloader: 0.9.0
Platform: Linux-4.4.0-81-generic-x86_64-with-debian-jessie-sid
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.2
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.7.0
ExifTool: 10.56
pymediainfo: 2.1.9
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.17.2-Release
rawkit: 0.5.0
psutil: 5.2.2

So, on the Ubuntu system the correct rawkit is loaded, as seen by this messages:

On Korora, I guess some system-wide rawkit gets loaded. Maybe this is relevant?

More tests tomorrow…

Yes. Some truncated output from Korora:

$ dnf info libraw
Last metadata expiration check: 1 day, 14:56:38 ago on Sun Jun 25 02:39:12 2017.
Installed Packages
Name        : LibRaw
Arch        : x86_64
Epoch       : 0
Version     : 0.17.2
Release     : 1.fc25

That could well be relevant, even though that code sure is ugly to read. But if the code is robust and works, then why not I suppose!

It’s interesting that on Ubuntu 14.04 (in which libraw9 is not even installed on the instance), the libraw code works as hoped. I wonder if that’s because you build the AppImage on Debian?

Do you maybe have some system-wide or user-wide installation of rawkit on Kororoa which is not there for Ubunut?

No, sorry for any confusion. In 17.10, I have it installed:

$ dpkg -s libraw16
Package: libraw16
Status: install ok installed

The AppImage is picking up this instance.

In Ubuntu 14.04, I made sure it was not installed (or uninstalled it, I don’t recall):

$ dpkg -s libraw9
Package: libraw9
Status: deinstall ok config-files

Here the AppImage works as expected.

What’s different in Korora is that the Korora system already has libraw 0.17.2 installed. So it’s not clear to me if the AppImage is using the AppImage version or the one that comes with the system.

Please let me know if there is anything else to clarify.

The fact is that under Ubuntu you have those additional lines:

which come from my patched rawkit code, and which are not seen in Korora. That’s why I suspect that under Korora python is picking a different version of the rawkit module, and then for this reason it is also picking the libraw .so outside of the AppImage.

In my patched rawkit, I pass the full path of the library to the ctypes loader. Therefore there should be no ambiguity regarding which libraw.so version is loaded…

I am now downloading Korora 25 to see if I can reproduce the problem, which would make the testing much easier.

Oh yes, very sorry, I see you were asking about rawkit and not libraw. My mistake! To answer your question, yes Ubuntu 14.04 does not have rawkit, but the Korora install does:

$ pip3 show rawkit
---
Metadata-Version: 2.0
Name: rawkit
Version: 0.5.0
Summary: CTypes based LibRaw bindings
Home-page: https://rawkit.readthedocs.org
Author: Cameron Paul, Sam Whited
Author-email: sam@samwhited.com
Installer: pip
License: UNKNOWN
Location: /home/damon/.local/lib/python3.5/site-packages

So now it’s clear, my AppImage is picking modules from ```$HIOME/.local/lib/python3.5, while is it should not…

I have an idea of a possible reason for this behaviour. The first line of the main rapid-photo-downloader script gets mangled in this way by the AppImage creation script:

#!././/bin/phython3

this might result in the fact that the bundled python3 executable is not used, and the system-wide one is taken instead. To avoid this, I am now explicitly calling the bundled python to load rapid-photo-downloader.

Would you mind to test this new version on Korora 25? If rawkit still fails, then I will try to reproduce the problem and do some tests without bothering you too much…

Thanks!

Korora 25:

$ ./rapid-photo-downloader-0.9.0b6.glibc2.14-x86_64.AppImage --debug
DIR: /tmp/.mount_XR8faR
GTK_PATH=/tmp/.mount_XR8faR/usr/lib/gtk-2.0:
PANGO_LIBDIR=/tmp/.mount_XR8faR/usr/lib
GDK_PIXBUF_MODULEDIR: /tmp/.mount_XR8faR/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: /tmp/.mount_XR8faR/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.36.0
#
# LoaderDir = ././/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx    " 100
"abcdidat" "xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100
"II* \020   CR\002 " "   z zzz   z" 0

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \v" "xz " 100

Input parameters: "--debug"

Input File: --debug

/tmp/.mount_XR8faR/usr/bin/python
INFO     Rapid Photo Downloader is starting
INFO     Rapid Photo Downloader: 0.9.0
INFO     Platform: Linux-4.11.6-201.fc25.x86_64-x86_64-with-fedora-25-Gurgle
INFO     Python: 3.5.3
INFO     Qt: 5.8.0
INFO     PyQt: 5.8.2
INFO     ZeroMQ: 4.1.4
INFO     Python ZeroMQ: 15.1.0 (cython backend)
INFO     gPhoto2: 2.5.14
INFO     Python gPhoto2: 1.5.1
INFO     ExifTool: 10.56
INFO     pymediainfo: None
INFO     GExiv2: 0.10.04
INFO     Gstreamer: 1.12.1
INFO     PyGObject: 3.24.1
INFO     libraw: 0.17.2-Release
INFO     rawkit: 0.5.0
INFO     psutil: 5.2.2
INFO     Exiv2: 0.25.0
ERROR    pymediainfo is installed, but the library libmediainfo appears to be missing

Ubuntu 17.10:

$./rapid-photo-downloader-0.9.0b6.glibc2.14-x86_64.AppImage --debug
DIR: /tmp/.mount_VQ7sYh
GTK_PATH=/tmp/.mount_VQ7sYh/usr/lib/gtk-2.0:
PANGO_LIBDIR=/tmp/.mount_VQ7sYh/usr/lib
GDK_PIXBUF_MODULEDIR: /tmp/.mount_VQ7sYh/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
GDK_PIXBUF_MODULE_FILE: /tmp/.mount_VQ7sYh/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
# GdkPixbuf Image Loader Modules file
# Automatically generated file, do not edit
# Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.36.0
#
# LoaderDir = ././/lib/gdk-pixbuf-2.0/2.10.0/loaders
#
"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
"bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
"image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
"bmp" ""
"BM" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
"qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
"image/x-quicktime" "image/qtif" ""
"qtif" "qif" ""
"abcdidsc" "xxxx    " 100
"abcdidat" "xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
"gif" 4 "gdk-pixbuf" "GIF" "LGPL"
"image/gif" ""
"gif" ""
"GIF8" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
"tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
"image/tiff" ""
"tiff" "tif" ""
"MM *" "  z " 100
"II* " "   z" 100
"II* \020   CR\002 " "   z zzz   z" 0

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
"xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
"image/x-xpixmap" ""
"xpm" ""
"/* XPM */" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
"ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
"image/x-icon" "image/x-ico" "image/x-win-bitmap" "image/vnd.microsoft.icon" "application/ico" "image/ico" "image/icon" "text/ico" ""
"ico" "cur" ""
"  \001   " "zz znz" 100
"  \002   " "zz znz" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
"xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
"image/x-xbitmap" ""
"xbm" ""
"#define " "" 100
"/*" "" 50

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
"icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
"image/x-icns" ""
"icns" ""
"icns" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
"ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
"application/x-navi-animation" ""
"ani" ""
"RIFF    ACON" "    xxxx    " 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
"png" 5 "gdk-pixbuf" "PNG" "LGPL"
"image/png" ""
"png" ""
"\211PNG\r\n\032\n" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
"jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
"image/jpeg" ""
"jpeg" "jpe" "jpg" ""
"\377\330" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
"pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
"image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
"pnm" "pbm" "pgm" "ppm" ""
"P1" "" 100
"P2" "" 100
"P3" "" 100
"P4" "" 100
"P5" "" 100
"P6" "" 100

"././/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
"tga" 4 "gdk-pixbuf" "Targa" "LGPL"
"image/x-tga" ""
"tga" "targa" ""
" \001\001" "x  " 100
" \001\t" "x  " 100
"  \002" "xz " 99
"  \003" "xz " 100
"  \n" "xz " 100
"  \v" "xz " 100

Input parameters: "--debug"

Input File: --debug

/tmp/.mount_VQ7sYh/usr/bin/python
INFO     Rapid Photo Downloader is starting
Gtk-Message: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
INFO     Rapid Photo Downloader: 0.9.0
INFO     Platform: Linux-4.10.0-22-generic-x86_64-with-debian-stretch-sid
INFO     Python: 3.5.3
INFO     Qt: 5.8.0
INFO     PyQt: 5.8.2
INFO     ZeroMQ: 4.1.2
INFO     Python ZeroMQ: 15.1.0 (cython backend)
INFO     gPhoto2: 2.5.14
INFO     Python gPhoto2: 1.6.0
INFO     ExifTool: 10.56
INFO     pymediainfo: 2.1.9
INFO     GExiv2: 0.10.04
INFO     Gstreamer: 1.12.1
INFO     PyGObject: 3.24.1
INFO     libraw: 0.18.2
INFO     rawkit: 0.5.0 (not functional)
INFO     psutil: 5.2.2
INFO     Exiv2: 0.25.0

Do you have a system-wide or user-wide rawkit module installed in both Korora 25 and Ubuntu 17.10?

Yes

I’ve added some more messages, as well as a patch for pymediainfo to make sure it loads the correct library.
I have also added a printout of the python search path, to see if/why packages are searched in $HOME/.local in your case (they are not on my system).

Here is the output I get on my test system, with this updated appimage:

Input parameters: "--detailed-version"
    
Input File: --detailed-version

/tmp/.mount_Ht4Phw/usr/bin/python
['', '/tmp/.mount_Ht4Phw/usr/share/pyshared', '/tmp/.mount_Ht4Phw/usr/lib/python35.zip', '/tmp/.mount_Ht4Phw/usr/lib/python3.5', '/tmp/.mount_Ht4Phw/usr/lib/python3.5/plat-linux', '/tmp/.mount_Ht4Phw/usr/lib/python3.5/lib-dynload', '/tmp/.mount_Ht4Phw/usr/lib/python3.5/site-packages']
Libmediainfo library: /tmp/.mount_Ht4Phw/usr/lib/libmediainfo.so.0
LibRaw library: /tmp/.mount_Ht4Phw/usr/lib/libraw.so.15
Libraw version: 0.17.2
LibRaw library: /tmp/.mount_Ht4Phw/usr/lib/libraw.so.15
Libraw version: 0.17.2
Rapid Photo Downloader: 0.9.0
Platform: Linux-3.16.0-38-generic-x86_64-with-debian-jessie-sid
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.2
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.7.0
ExifTool: 10.56
pymediainfo: 2.1.9
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.17.2-Release
rawkit: 0.5.0
psutil: 5.2.2

I just pushed a new revision that includes the absolute path of the python executable being used, and the version of libc it was compiled against. Obviously that’s not yet in your AppImage (use bzr update to update your local copy), but nonetheless here is some output:

Ubuntu 17.10

Input parameters: "--detailed-version"

Input File: --detailed-version

/tmp/.mount_FCKlTp/usr/bin/python
['', '/tmp/.mount_FCKlTp/usr/share/pyshared', '/tmp/.mount_FCKlTp/usr/lib/python35.zip', '/tmp/.mount_FCKlTp/usr/lib/python3.5', '/tmp/.mount_FCKlTp/usr/lib/python3.5/plat-linux', '/tmp/.mount_FCKlTp/usr/lib/python3.5/lib-dynload', '/home/damon/.local/lib/python3.5/site-packages', '/tmp/.mount_FCKlTp/usr/lib/python3.5/site-packages']
Rapid Photo Downloader: 0.9.0
Platform: Linux-4.10.0-22-generic-x86_64-with-debian-stretch-sid
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.2
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.6.0
ExifTool: 10.56
pymediainfo: 2.1.9
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.18.2
rawkit: 0.5.0 (not functional)
psutil: 5.2.2
Exiv2: 0.25.0

Ubuntu 14.04

Input parameters: "--detailed-version"

Input File: --detailed-version

/tmp/.mount_PmmWNN/usr/bin/python
['', '/tmp/.mount_PmmWNN/usr/share/pyshared', '/tmp/.mount_PmmWNN/usr/lib/python35.zip', '/tmp/.mount_PmmWNN/usr/lib/python3.5', '/tmp/.mount_PmmWNN/usr/lib/python3.5/plat-linux', '/tmp/.mount_PmmWNN/usr/lib/python3.5/lib-dynload', '/tmp/.mount_PmmWNN/usr/lib/python3.5/site-packages']
Libmediainfo library: /tmp/.mount_PmmWNN/usr/lib/libmediainfo.so.0
LibRaw library: /tmp/.mount_PmmWNN/usr/lib/libraw.so.15
Libraw version: 0.17.2
LibRaw library: /tmp/.mount_PmmWNN/usr/lib/libraw.so.15
Libraw version: 0.17.2
Rapid Photo Downloader: 0.9.0
Platform: Linux-4.4.0-81-generic-x86_64-with-debian-jessie-sid
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.2
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.7.0
ExifTool: 10.56
pymediainfo: 2.1.9
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.17.2-Release
rawkit: 0.5.0
psutil: 5.2.2

Korora 25

Input parameters: "--detailed-version"

Input File: --detailed-version

/tmp/.mount_gXRvOq/usr/bin/python
['', '/tmp/.mount_gXRvOq/usr/share/pyshared', '/tmp/.mount_gXRvOq/usr/lib/python35.zip', '/tmp/.mount_gXRvOq/usr/lib/python3.5', '/tmp/.mount_gXRvOq/usr/lib/python3.5/plat-linux', '/tmp/.mount_gXRvOq/usr/lib/python3.5/lib-dynload', '/home/damon/.local/lib/python3.5/site-packages', '/tmp/.mount_gXRvOq/usr/lib/python3.5/site-packages']
Rapid Photo Downloader: 0.9.0
Platform: Linux-4.11.6-201.fc25.x86_64-x86_64-with-fedora-25-Gurgle
Python: 3.5.3
Qt: 5.8.0
PyQt: 5.8.2
ZeroMQ: 4.1.4
Python ZeroMQ: 15.1.0 (cython backend)
gPhoto2: 2.5.14
Python gPhoto2: 1.5.1
ExifTool: 10.56
pymediainfo: None
GExiv2: 0.10.04
Gstreamer: 1.12.1
PyGObject: 3.24.1
libraw: 0.17.2-Release
rawkit: 0.5.0
psutil: 5.2.2
Exiv2: 0.25.0

As you can see, under Ubuntu 14.04 the folder

/home/damon/.local/lib/python3.5/site-packages

is absent from the sys.path, while it is present on the other two distributions… this is why some wrong modules are loaded instead of those bundled in the AppImage. Now I need to understand why the local folder in included and how to removed it…

Tomorrow morning I will update your code in the AppImage and I will send a new version for testing.

Thanks! I think we are getting close to a solution.

In the case of the Ubuntu 14.04 instance, it’s absent because it does not exist.

You can use an environment variable:

Or a command line switch:

I was not aware of this variable, thanks for pointing this out!

I have set

export PYTHONNOUSERSITE=1

in the appimage launcher script, and updated the rapid-photo-downloader code to the latest version with bzr.

Here is a new version for testing.