52North / IlwisCore

Integrated Land and Water Information System (ILWIS) is a remote sensing and GIS software. ILWIS Core is the functional center of ilwis4..
http://52north.org/communities/ilwis/
35 stars 13 forks source link

weird cache directory from PYTHON API #35

Closed pokulo closed 10 years ago

pokulo commented 10 years ago

the standard cache directoy should usualy be placed inside a folder called "Ilwis", but somehow, if executed from Python, the intermediate Directory "Ilwis" gets lost on storing the cache files, which results in growing cache folder in AppData

pokulo commented 10 years ago

apparently

QStandardPaths::writableLocation(QStandardPaths::CacheLocation)

is not consistent about the path of the cache location throughout all the dynamically loaded dlls of ilwis and skips the name of the executable (in my case python) when called for unload internalGridBlock.