We should say somewhere that it's not a "script" with some simple commands
anymore (such as print()), but it's now following OOP (Object Oriented
Programming) and the user must define his class and methods following the
QGIS algorithm.

Can we provide a template in the editor? Is-there a working script
somewhere?

2018-03-05 9:13 GMT+01:00 Alexander Bruy <alexander.b...@gmail.com>:

> "Create new script" was moved to the toolbar inside Processing toolbox.
>
> As Processing API was changed, scripts should be adopted to new API.
>
> 2018-03-05 10:10 GMT+02:00 Jean-Baptiste Desbas <jb.des...@gmail.com>:
>
>> Hello,
>>
>> Since QGIS 3, I can't run python scripts :
>> - In the toolbox, there is no "create new scripte" under the script block
>> in the toolbox
>> - In the script editeur, when i try to run a script i have an alert :
>> "Seems ther is no valid script in the file"
>>
>> The issue occurs in QGIS 3.0 and 3.1.0-9.
>> I am on Windows 10 - 64bits.
>>
>> Anyone with the same issue ?
>>
>> Regards,
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
>
> --
> Alexander Bruy
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to