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):
line 276, in executeAlgorithm
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

I cannot fix it, someone has an idea?


Qgis-developer mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to