[Qgis-developer] ScriptRunner - wrong error message

Benoît Laurent blaurent at heurisis.eu
Tue Oct 1 01:37:51 PDT 2013


Hello,

I receive a wrong error message from ScripRunner when I try to reload a 
script containing syntax errors. For instance:

#!/usr/bin/env Python
# encoding: utf-8

from qgis.core import (QGis)

def run_script(iface):
     if (syntax problem)

"There was an error reloading H:/Temp/stupid_code.py. Perhaps you moved 
or deleted it?"

The last sentence is a bit misleading.

Benoît


More information about the Qgis-developer mailing list