kartoza / docker-qgis-desktop

A docker project that will run your QGIS desktop app inside a docker container
GNU General Public License v2.0
98 stars 46 forks source link

Warning: QFile::at: Cannot set file position 0 #39

Closed harrybiddle closed 5 years ago

harrybiddle commented 5 years ago

When running with macOS Mojave 10.14.4, Docker version 18.09.1, build 4c52b90, kartoza/qgis-desktop f8fe86a53fe7 (10 months ago) I get this message output on a loop:

Stacktrace (piped through c++filt):
qgis[0x40bbb2]
qgis[0x40bff2]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, char const*)+0x2f)[0x7fb49f9d3e9f]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x70371)[0x7fb49f9d4371]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qWarning(char const*, ...)+0xa1)[0x7fb49f9d45e1]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x242356)[0x7fb49eeb2356]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long)+0xd2)[0x7fb49ee392a2]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::QApplication(int&, char**, bool, int)+0x68)[0x7fb49ee39678]
/usr/lib/libqgis_core.so.2.18.19(QgsApplication::QgsApplication(int&, char**, bool, QString const&, QString const&)+0x2f)[0x7fb4a01be3ef]
qgis[0x405ae8]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fb49e32e830]
qgis(_start+0x29)[0x40b779]

Does anybody have any ideas?

harrybiddle commented 5 years ago

Figured it out - needed LD_LIBRARY_PATH from the start script. I had skipped the start script because the groupapp commands failed!