VectorClassifier can't read filenames with spaces
Description
When I train a model with TrainVectorClassifier. I get a correct output in the location I choose. When I try to use the model (rf, ann, svm) I get the following error:
Steps to reproduce
Algorithmus beginnt bei: 2022-05-16T10:26:01 Algorithmus VectorClassifier startet… Eingabeparameter: { 'in' : '/Users/linussommer/ownCloud/HiWi 2/GIS Modell/690_5704_statistic.gpkg', 'instat' : '', 'model' : '/Users/linussommer/ownCloud/HiWi 2/GIS Modell/690_5704_svm_model.svm', 'cfield' : '', 'feat' : ['mean_0','stdev_0','min_0','max_0'], 'confmap' : False, 'out' : '/Users/linussommer/ownCloud/HiWi 2/GIS Modell/output.shp' }
2022-05-16 10:26:02 (INFO) VectorClassifier: Default RAM limit for OTB is 256 MB 2022-05-16 10:26:02 (INFO) VectorClassifier: GDAL maximum cache size is 409 MB 2022-05-16 10:26:02 (INFO) VectorClassifier: OTB will use at most 4 threads Could not read file /Users/linussommer/ownCloud/HiWi Execution completed in 2.70 Sekunden Ergebnisse: {'out': '/Users/linussommer/ownCloud/HiWi 2/GIS Modell/output.shp'}
Lade Ergebnis Layer Algorithmus 'VectorClassifier' beendet
Configuration information
QGIS-Version: 3.22.5-Białowieża QGIS-Codeversion: 2a0a86f142 Qt-Version: 5.14.2 Python-Version: 3.8.7 GDAL-Version: 3.2.1 GEOS-Version: 3.9.1-CAPI-1.14.2 PROJ-Version: Rel. 6.3.2, May 1st, 2020 OTB Version 8.0.0 macOS Catalina 10.15.7