[Qgis-user] Problems with DataPlotly plugin

2020-03-13 Thread José Carlos Guerrero Antúnez
Hi,

I get error message when I try to run DataPlotly plugin, I am working on
macOS Mojave.

2020-03-13T22:56:21 WARNINGTraceback (most recent call last):
  File
"/Applications/QGIS3.10.app/Contents/MacOS/../Resources/python/plugins/processing/gui/ProcessingToolbox.py",
line 236, in executeAlgorithm
  alg = self.algorithmTree.selectedAlgorithm().create() if
self.algorithmTree.selectedAlgorithm() is not None else None
 _core.QgsProcessingException: Error creating algorithm from
createInstance()


Best regards,



-- 
José Carlos Guerrero
___
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] QGIS 3.10 not responding

2020-03-13 Thread Yann Troutet
Hello,

Is it common to have QGIS 3.10 'not responding' on Windows 10?

Anything one would want to check if this happens a lot?

Best,

Yann

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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

Re: [Qgis-user] Relation widget values

2020-03-13 Thread Alessandro Pasotti
On Fri, Mar 13, 2020 at 10:59 PM Nyall Dawson  wrote:
>
> On Sat, 14 Mar 2020 at 07:54, Régis Haubourg  wrote:
> >
> > Hi,
> > No workaround. QGIS makes relations on the tables that are loaded in QGIS. 
> > You will always need both tables.
>
> That's correct, but I believe in 3.12 Alessandro improved this so that
> the dependent tables are automatically loaded when the qlr itself is
> loaded.
>
> Nyall

Yes, have a look at https://github.com/qgis/QGIS/pull/32487 for
value-relation widgets,
and there is another following PR for relation-reference widget.

It's in QGIS 3.12


>
> > Régis
> >
> > Le ven. 13 mars 2020 à 21:21, Jean-Philippe Chenel  a 
> > écrit :
> >>
> >> Hi,
> >>
> >> I've a question regarding the Value Relation Widget under Layer 
> >> Properties/Attributes Forms. Making the configuration work very well to 
> >> bind a field to a list of values of another table in the project.
> >>
> >> When all is done, I make a qlr file to save all the layer definitions.
> >>
> >> The problem appears when I reload the qlr file without all the relational 
> >> tables. The fields are bound, but the values aren’t displayed. To make 
> >> this work, I need to add the relational tables to the project too.
> >>
> >> Does it have a workaround or an alternative to make it work without adding 
> >> all the tables to the project? I saw in the qlr file that the connection 
> >> to postgresql and all needed information are in the file to make it work.
> >>
> >> Database: postgresql 9.6
> >> QGIS version 3.10.3
> >> Layers and tables are in the database.
> >>
> >> With best 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
> >
> > ___
> > 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



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
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

Re: [Qgis-user] Relation widget values

2020-03-13 Thread Nyall Dawson
On Sat, 14 Mar 2020 at 07:54, Régis Haubourg  wrote:
>
> Hi,
> No workaround. QGIS makes relations on the tables that are loaded in QGIS. 
> You will always need both tables.

That's correct, but I believe in 3.12 Alessandro improved this so that
the dependent tables are automatically loaded when the qlr itself is
loaded.

Nyall

> Régis
>
> Le ven. 13 mars 2020 à 21:21, Jean-Philippe Chenel  a 
> écrit :
>>
>> Hi,
>>
>> I've a question regarding the Value Relation Widget under Layer 
>> Properties/Attributes Forms. Making the configuration work very well to bind 
>> a field to a list of values of another table in the project.
>>
>> When all is done, I make a qlr file to save all the layer definitions.
>>
>> The problem appears when I reload the qlr file without all the relational 
>> tables. The fields are bound, but the values aren’t displayed. To make this 
>> work, I need to add the relational tables to the project too.
>>
>> Does it have a workaround or an alternative to make it work without adding 
>> all the tables to the project? I saw in the qlr file that the connection to 
>> postgresql and all needed information are in the file to make it work.
>>
>> Database: postgresql 9.6
>> QGIS version 3.10.3
>> Layers and tables are in the database.
>>
>> With best 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
>
> ___
> 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

Re: [Qgis-user] Relation widget values

2020-03-13 Thread Régis Haubourg
Hi,
No workaround. QGIS makes relations on the tables that are loaded in QGIS.
You will always need both tables.
Régis

Le ven. 13 mars 2020 à 21:21, Jean-Philippe Chenel  a
écrit :

> Hi,
>
> I've a question regarding the Value Relation Widget under Layer
> Properties/Attributes Forms. Making the configuration work very well to
> bind a field to a list of values of another table in the project.
>
> When all is done, I make a qlr file to save all the layer definitions.
>
> The problem appears when I reload the qlr file without all the relational
> tables. The fields are bound, but the values aren’t displayed. To make this
> work, I need to add the relational tables to the project too.
>
> Does it have a workaround or an alternative to make it work without adding
> all the tables to the project? I saw in the qlr file that the connection to
> postgresql and all needed information are in the file to make it work.
>
> Database: postgresql 9.6
> QGIS version 3.10.3
> Layers and tables are in the database.
>
> With best 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
___
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] Relation widget values

2020-03-13 Thread Jean-Philippe Chenel
Hi,

I've a question regarding the Value Relation Widget under Layer 
Properties/Attributes Forms. Making the configuration work very well to bind a 
field to a list of values of another table in the project.

When all is done, I make a qlr file to save all the layer definitions.

The problem appears when I reload the qlr file without all the relational 
tables. The fields are bound, but the values aren’t displayed. To make this 
work, I need to add the relational tables to the project too.

Does it have a workaround or an alternative to make it work without adding all 
the tables to the project? I saw in the qlr file that the connection to 
postgresql and all needed information are in the file to make it work.

Database: postgresql 9.6
QGIS version 3.10.3
Layers and tables are in the database.

With best 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

[Qgis-user] Fwd: Problem with editable postgis view in Qgis3

2020-03-13 Thread Giuseppe Menetto

hello,

I'm using an editable view (idrographic graph ) created in postgis in a Qgis 
3.4.12 LTR project.
The view with triggers works fine, I can manage features and attributes insert, 
update or delete , but after inserting or updating a new line it seems that 
Qgis doesn't refresh the spatial index, I see the feature, I can identify 
attributes but I can't change the geometry (e.g move vertex) or even snap to 
that with new features. If I open the view properties and then close, Qgis 
start a sort of indexing and everything works again. Does anybody know this 
problem? The same view in Qgis2.18 works without problems, but even in the 3.10 
LTR the bug remains. Thanks

Giuseppe Menetto


___
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

Re: [Qgis-user] Qgis crashes while loading WMTS layers

2020-03-13 Thread Micha Silver

  
  
Hello Patrick:


Which desktop manager are you using?


Some months ago,I reinstalled my buster machine with the default
  Gnome, and found, like you, repeated crashed of QGIS in all kinds
  of unrelated situations. After trying many updates, recreating
  QGIS projects, etc, I decided to try KDE. And voila, all the
  troubles disappeared. I have since followed the upgrades thru 3.10
  to 3.12 and no issues have appeared. 

I can't even guess what the problem is: maybe some clash between
  QGIS and the gtk libraries used by Gnome? In any case I'm back on
  KDE and enjoying it.





On 13/03/2020 8:24, Patrick Dunford
  wrote:

In the
  last few weeks I have been doing a lot of testing with various
  test environments.
  
  
  At the moment I can't replicate the problem.There seem to be no
  issues with 3.4.15, 3.10 or 3.12
  
  
  On 2/02/20 5:25 am, Jonathan Moules wrote:
  
  Hi Patrick,


I'd suggest reporting this to the QGIS bug tracker as a
regression.


Cheers,


Jonathan


On 2020-02-01 07:20, Patrick Dunford wrote:

Further investigation and comment
  
  
  Since recently installing Qgis 3.4.15 or 3.4.14 on some of my
  computers running Debian 10, I immediately began to see a
  trend of the software exhibiting an increased tendency to
  crash when working with certain WMTS layers that I had
  previously worked with extensively over recent weeks for
  mapping purposes.
  
  
  After attempting numerous changes including special versions
  of projects containing no file based raster layers and only
  containing one WMTS layer at a time and being unable to use
  the software regardless I created a virtual machine running
  Debian 9 which has the latest version available for that
  platform, 3.4.4. This has resulted in immediate major
  improvement in the reliability of the software to the point I
  can resume using it without the numerous crashes of the
  software that have been noted recently, especially in the last
  week approximately.
  
  
  On 27/01/20 1:19 am, Patrick Dunford wrote:
  
  Good day to all.


Not so long ago I wrote a post about issues handling large
numbers of raster files. This results from what appears to
be an architectural design limitation of Qgis in that it
only has enough resources available for a certain (unknown)
number of raster layers and does not have any effective
system for dealing with the exhaustion of these resources.


I also noted that the software does not appear to have the
ability to use the swap (virtual memory) resources within a
system to deal with the apparent exhaustion of resources, as
other software would. For example, Gimp which I use for
graphical editing is able to handle certain projects using a
swap space of 200 GB, which consists of 32 GB of physical
RAM and the rest in SSD. It is not unusual with some of
these graphics projects to have 100 GB or more of swap space
in use, without crashing the system. (This being possible
since Gimp 2.10 with its ability to write files of more than
4 GB)


Whilst it is possible to manage the number of layers with
file based rasters, this cannot be done with a WMTS server
because there is no way I am aware of to manage the number
of layers that can be downloaded from the server.


Version 2.18 and earlier almost never crashed with excess
layers, usually all that would happen is a layer would be
displayed with invalid data. However, crashes have become
the norm with 3.x versions of software.


It seems to me there is a big architectural problem in the
software with its inability to utilise the full resources of
the system in order to process the number of layers that a
WMTS server is capable of issuing.


  
  ___
  
  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
  

  
 

Re: [Qgis-user] Qgis crashes while loading WMTS layers

2020-03-13 Thread Patrick Dunford
In the last few weeks I have been doing a lot of testing with various 
test environments.


At the moment I can't replicate the problem.There seem to be no issues 
with 3.4.15, 3.10 or 3.12


On 2/02/20 5:25 am, Jonathan Moules wrote:

Hi Patrick,

I'd suggest reporting this to the QGIS bug tracker as a regression.

Cheers,

Jonathan

On 2020-02-01 07:20, Patrick Dunford wrote:

Further investigation and comment

Since recently installing Qgis 3.4.15 or 3.4.14 on some of my 
computers running Debian 10, I immediately began to see a trend of 
the software exhibiting an increased tendency to crash when working 
with certain WMTS layers that I had previously worked with 
extensively over recent weeks for mapping purposes.


After attempting numerous changes including special versions of 
projects containing no file based raster layers and only containing 
one WMTS layer at a time and being unable to use the software 
regardless I created a virtual machine running Debian 9 which has the 
latest version available for that platform, 3.4.4. This has resulted 
in immediate major improvement in the reliability of the software to 
the point I can resume using it without the numerous crashes of the 
software that have been noted recently, especially in the last week 
approximately.


On 27/01/20 1:19 am, Patrick Dunford wrote:

Good day to all.

Not so long ago I wrote a post about issues handling large numbers 
of raster files. This results from what appears to be an 
architectural design limitation of Qgis in that it only has enough 
resources available for a certain (unknown) number of raster layers 
and does not have any effective system for dealing with the 
exhaustion of these resources.


I also noted that the software does not appear to have the ability 
to use the swap (virtual memory) resources within a system to deal 
with the apparent exhaustion of resources, as other software would. 
For example, Gimp which I use for graphical editing is able to 
handle certain projects using a swap space of 200 GB, which consists 
of 32 GB of physical RAM and the rest in SSD. It is not unusual with 
some of these graphics projects to have 100 GB or more of swap space 
in use, without crashing the system. (This being possible since Gimp 
2.10 with its ability to write files of more than 4 GB)


Whilst it is possible to manage the number of layers with file based 
rasters, this cannot be done with a WMTS server because there is no 
way I am aware of to manage the number of layers that can be 
downloaded from the server.


Version 2.18 and earlier almost never crashed with excess layers, 
usually all that would happen is a layer would be displayed with 
invalid data. However, crashes have become the norm with 3.x 
versions of software.


It seems to me there is a big architectural problem in the software 
with its inability to utilise the full resources of the system in 
order to process the number of layers that a WMTS server is capable 
of issuing.



___
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