Bug report #18250
Error running script from Script editor
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Windows 10 64 bit||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26141|
Running a Python script from the Script editor throws an error:
"No script found - Seems there is no valid script in the file".
See attached png.
In this little script i just print a string to the Python Console, like:
The string is logged to the console, but after that this error occurs.
After saving the script to the default script folder, 'Scripts' is disappeared from the Processing Toolbox
Also when Qgis is restarted this script is not loaded in the Processing Toolbox
#3 Updated by Lance Evans over 2 years ago
I'm also experiencing this issue. Whether I add a preexisting QgsProcessingAlgorithm class script or copying contents into a "New" script, nothing happens, no feedback, and no new script showing up in the Processing Toolbox. Also, Scripts icon disappears as Albert indicated.