I'm testing the Script Runner plugin to run scripts in QGIS (I'm new with programming with Python in QGIS). For some reason I can't get a script with arguments to work. It throws this error with any script I execute (the sample ones too):
Traceback (most recent call last): File "C:/Users/ag/.qgis2/python/plugins\scriptrunner\scriptrunner.py", line 548, in run_script print "----------%s----------" % datetime.datetime.now() File "C:/Users/ag/.qgis2/python/plugins\scriptrunner\stdout_textwidget.py", line 55, in write sys.__stdout__.flush() IOError: [Errno 9] Bad file descriptor
I've been checking both scriptrunner.py and stdout_textwidget.py, but I can't see what's the problem.