Hi devs,
QGIS-Documentation build test is failing due to "WARNING: py:meth reference
target not found: qgis.core.QgsVectorLayer.setDataSource" [0]
It looks like the QgsVectorLayer.setDataSource method is no longer
available in master. Anyone knows what is the replacement?
Thanks,
Harrissou
[0]
Hi devs,
I'm working on a new QGIS feature and wanted to add a new API in core module. I
get a strange error when building, on a class not related to what I am adding.
/home/julien/work/QGIS/build_debug/python/core/sip_corepart11.cpp:272:67:
error: no type named
It has been moved to the parent class QgsMapLayer
On Wed, May 26, 2021 at 3:32 PM DelazJ wrote:
> Hi devs,
>
> QGIS-Documentation build test is failing due to "WARNING: py:meth
> reference target not found: qgis.core.QgsVectorLayer.setDataSource" [0]
> It looks like the
Hi,
I think I've worked it out.
The initialisation of the authentication manager needs to be done before the
project read command.
I had the logic near where I was adding a layer (i.e. after the opening of the
project) but it needs to be initialised before the project is read. The result
is
Hi all,
while developing a Processing plugin, within a loop I'm using the 2
"standard" methods to set the % of progress bar (feedback.setProgress())
and to update accordingly the progress text (feedback.setProgressText()).
In the latter case I noticed that the text is also written in the Log
On 5/26/21 9:19 AM, Paul Wittle wrote:
> The result is that the existing PostGIS layer is still broken but the second
> instance (the new layer added by the script) is working. Very curious;
> perhaps I need to put in a loop that scans the layer list looking for
> database layers and
Hi,
I've now done a test adding a PostGIS layer as well; in fact the same layer as
the existing one in the project.
The result is that the existing PostGIS layer is still broken but the second
instance (the new layer added by the script) is working. Very curious; perhaps
I need to put in a
Hi,
Sorry another slight miscommunication I think; I didn't add the PostGIS layer
via the Python code. I'm saying the project I'm using already contained a
PostGIS layer. It is the existing layers that are being corrupted by the save
process not the ones you add.
Everything I 'do' as it were