Hi devs, I'm trying to duplicate the "Add script from file" in Processing also for R algorithms.
I'm struggling with an error that happens both with "my" code but also with the default "Add script from file" method. When you click the "Add script from file" menu a dialog opens and you can browse for the scripts. Here the problem, if you click both on OK and Cancel the following error appears: An error has occurred while executing Python code: ValueError: need more than 0 values to unpack Traceback (most recent call last): File "/home/matteo/.qgis2/python/plugins/processing/gui/ProcessingToolbox.py", line 276, in executeAlgorithm action.execute() File "/home/matteo/.qgis2/python/plugins/processing/script/AddScriptFromFileAction.py", line 57, in execute self.tr('Script files (*.py *.PY)', 'AddScriptFromFileAction')) ValueError: need more than 0 values to unpack Obviously I get the same error for my code because I took that code as template. I cannot fix it, someone has an idea? Thanks Matteo _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer