Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Zero positional arguments expected #13

Open
keepcool13 opened this issue Aug 19, 2024 · 0 comments
Open

RuntimeError: Zero positional arguments expected #13

keepcool13 opened this issue Aug 19, 2024 · 0 comments

Comments

@keepcool13
Copy link

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:\PROGRA1\QGIS331.9\apps\Python312\Lib\site-packages\osgeo\gdal.py", line 835, in Translate
(opts, callback, callback_data) = TranslateOptions(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA1\QGIS331.9\apps\Python312\Lib\site-packages\osgeo\gdal.py", line 815, in TranslateOptions
return (GDALTranslateOptions(new_options), callback, callback_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA1\QGIS331.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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant