- edited description
Downloading Testdata fails
New session, clean Box reinstallation. Don't know why there are permission issues.
2018-10-23T10:12:13 WARNING Traceback (most recent call last):
File "C:/Users/geo_fath/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\dependencycheck.py", line 194, in onCompleted
os.remove(pathLocalZip)
PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'C:/Users/geo_fath/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\enmapboxplugin\\enmapboxtestdata.zip'
Comments (9)
-
reporter -
-
bitbucket seams to have some problems. clicking on the tag v0.4 to download the data stops on my machine at 4 MB of 30MB
-
downloading the repo as zip works
@jakimowb better upload the zip to HU-Box
-
-
@janzandr as you are responsible for enmap-box-testdata, please
- ensure a working download location (e.g. enmap-box-testdata repo download section?)
- change URL_TESTDATA in enmapbox/init.py accordingly:
URL_TESTDATA = r'https://bitbucket.org/hu-geomatics/enmap-box-testdata/get/master.zip'
-
I uploaded the zip manually to https://bitbucket.org/hu-geomatics/enmap-box-testdata/downloads/enmapboxtestdata_v0.4.zip, but bitbucket gives me an error downloading it again.
@jakimowb can you alternatively also handle GoogleDrive Links or is that a problem?
Try here from my drive: https://drive.google.com/file/d/12w9K1gtnFPfxgqoBAV1M8WMI4JNzd1QH/view?usp=sharing
-
https://bitbucket.org/hu-geomatics/enmap-box-testdata/get/master.zip works fine on my system and from webbrowser
The dependencycheck.py missingTestdata()->bool failed because testdata init.py does not include "hymap" etc. I reduced the dependency check to:
def missingTestdata()->bool: """ Returns (True, message:str) if testdata can not be loaded, (False, None) else :return: (bool, str) """ try: import enmapboxtestdata assert os.path.isfile(enmapboxtestdata.enmap) return False except Exception as ex: print(ex, file=sys.stderr) return True
-
Ah yes, naming changed a bit. @jakimowb do you now have everything you need?
-
@janzandr Please change all broken references according to your changed in the testdata.init In case of future name changes (which are likely), show deprectation warnings https://docs.python.org/3.7/library/warnings.html first and provide outdated variable references
-
-
assigned issue to
- marked as minor
-
assigned issue to
-
- changed status to closed
issue is fixed, discussion should take place elsewhere
- Log in to comment