deep-learning-datasets-maker icon indicating copy to clipboard operation
deep-learning-datasets-maker copied to clipboard

RuntimeError: Zero positional arguments expected

Open keepcool13 opened this issue 1 year ago • 0 comments

Hi! When trying to run the plugin, I get this error:

RuntimeError: Zero positional arguments expected Traceback (most recent call last): File "C:\Users/du022405/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\split_rs_data.py", line 324, in run splitting( File "C:\Users/du022405/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deep-learning-datasets-maker\utils\splitting.py", line 51, in splitting gdal.Translate(osp.join(cdpath,
File "C:\PROGRA~1\QGIS33~1.9\apps\Python312\Lib\site-packages\osgeo\gdal.py", line 835, in Translate (opts, callback, callback_data) = TranslateOptions(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\PROGRA~1\QGIS33~1.9\apps\Python312\Lib\site-packages\osgeo\gdal.py", line 815, in TranslateOptions return (GDALTranslateOptions(new_options), callback, callback_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\PROGRA~1\QGIS33~1.9\apps\Python312\Lib\site-packages\osgeo\gdal.py", line 8970, in init _gdal.GDALTranslateOptions_swiginit(self, _gdal.new_GDALTranslateOptions(*args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Zero positional arguments expected

Info about my system: Python version: 3.12.4 (main, Jun 10 2024, 12:48:35) [MSC v.1938 64 bit (AMD64)] QGIS version: 3.34.9-Prizren Prizren, cbbc7bdf OS: Windows 11

Thanks for your help!

keepcool13 avatar Aug 19 '24 09:08 keepcool13