Re: [QGIS-Developer] Procesing pyqgis with alg decorator

2019-07-16 Thread Nyall Dawson
On Mon, 15 Jul 2019 at 22:37, matteo  wrote:
>
> Hi all,
>
> I'm trying a super simple script in Processing with the alg decorator
> syntax.
>
> Basically I'm not doing anything, but a weird error is thrown when I try
> to append vector layer features to a list:
>
> NameError: free variable 'self' referenced before assignment in
> enclosing scope
> Traceback (most recent call last):
>   File
> "/home/matteo/dev/build-QGIS-Desktop-Default/output/python/plugins/processing/gui/AlgorithmDialog.py",
> line 244, in on_complete
> self.feedback.pushInfo(self.tr('Execution completed in {0:0.2f}
> seconds').format(time.time() - start_time))
> NameError: free variable 'self' referenced before assignment in
> enclosing scope

I don't see what you're seeing, but I do get a crash when running your
alg. Can you confirm that removing the "l" list fixes it for you?

Very strange...
Nyall
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1410] ImportPhotos approval notification.

2019-07-16 Thread noreply

Plugin ImportPhotos approval by pcav.
The plugin version "[1410] ImportPhotos 2.2.1" is now approved
Link: http://plugins.qgis.org/plugins/ImportPhotos/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1237] BoundaryDelineation approval notification.

2019-07-16 Thread noreply

Plugin BoundaryDelineation approval by pcav.
The plugin version "[1237] BoundaryDelineation 7.0" is now approved
Link: http://plugins.qgis.org/plugins/BoundaryDelineation/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1730] CHM from LIDAR approval notification.

2019-07-16 Thread noreply

Plugin CHM from LIDAR approval by pcav.
The plugin version "[1730] CHM from LIDAR 0.5 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/chm_from_lidar-master/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Please upgrade psql inosgeo4w

2019-07-16 Thread Paolo Cavallini
Hi all,
I just noticed that the current version of psql in osgeo4w fails to
display functions on pg11, because of[0].
Upgrading to psql11 solves the issue.
Should I file a ticket?
Thanks a lot.

[0]
https://sourceforge.net/p/phppgadmin/bugs/469/
-- 
Paolo Cavallini - www.faunalia.eu
QGIS.ORG Chair:
http://planet.qgis.org/planet/user/28/tag/qgis%20board/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] prj files not used when adding layer by drag and drop

2019-07-16 Thread magerlin
I have a shapefile with projection defined in a prj file.

If I open it using the menu it is shown as expected with no questions about
projection.

If I drag and drop the shp file onto the canvas I am asked to choose the
projection (from scratch - prj file apparently not read).

The actual shapefile has no qpr file 



-
Regards Morten

Currently using Qgis 2.18.23 (OSGeo4) and Qgis 3.8.0 in parallel
Windows 7, 64bit
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1763] Lidar Tile Maker approval notification.

2019-07-16 Thread noreply

Plugin Lidar Tile Maker approval by pcav.
The plugin version "[1763] Lidar Tile Maker 0.2 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/lidar_tile_maker/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1730] CHM from LIDAR approval notification.

2019-07-16 Thread noreply

Plugin CHM from LIDAR approval by pcav.
The plugin version "[1730] CHM from LIDAR 0.4 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/chm_from_lidar-master/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer