Re: [Qgis-user] Possible bug?

2023-07-23 Thread Patrick Dunford via QGIS-User
Yes it does look like the support for extensions in some of the Linux 
libraries is a bit illiterate.  It would seem like since extensions are 
not actually required in Linux that the library creators have not fully 
understood how to handle them. Certainly notice issues with Gimp.


On 23/07/23 21:34, Nyall Dawson via QGIS-User wrote:



On Sun, 23 July 2023, 5:39 pm Richard Duivenvoorde via QGIS-User, 
 wrote:


Hi Roxo,

You are right, I can confirm this with a very recent build of QGIS:

- with extension we ask for confirmation of overwriting
- without extension we silently overwrite an old file


It's actually an operating system (well, gtk library) issue. The same 
thing happens in other apps too on that same platform.


Nyall


Please file an issue (https://github.com/qgis/QGIS/issues), this
seems easily fixable.
See

https://qgis.org/en/site/getinvolved/development/bugreporting.html#bugs-features-and-issues

Regards,

Richard Duivenvoorde

On 7/22/23 20:21, Fernando M. Roxo da Motta via QGIS-User wrote:
>
>
>    Hi all,
>
>    Today I was exporting some QGis projects as PNG images
> (project>import/export>export map to image).  At certain point I
made
> a mistake and repeated the name of the previous map, and QGis
happily
> overwrote the previous image, without asking before. I tried to
repeat
> the action giving the full name of the file (map10.png) and QGis
asked
> for confirmation.    The difference was that the first time I
gave jjust
> a name, without the "extension" .png.
>
>    It seems that even if QGis will give the default "extension"
to the
> filename, it does not verify the prior existence of the file
after it
> attach the "extension".
>
>    This was in a QGis 3.26.0 on Linux Xubuntu 20.04.  I know
that both
> the QGis and system are kind of old, but if this "feature" is
present
> in current versions it can be cumbersome.
>
>
>
>    Roxo
>

___
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] Possible bug?

2023-07-23 Thread Richard Duivenvoorde via QGIS-User

On 7/23/23 11:34, Nyall Dawson wrote:

It's actually an operating system (well, gtk library) issue. The same thing 
happens in other apps too on that same platform.

Nyall
Please file an issue (https://github.com/qgis/QGIS/issues 
), this seems easily fixable.
Regards,

Richard Duivenvoorde


Ok, not easy fixable...
When will live ever be as easy as I hope/think... :-)

Thanks Nyall

Richard

___
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] Possible bug?

2023-07-23 Thread Nyall Dawson via QGIS-User
On Sun, 23 July 2023, 5:39 pm Richard Duivenvoorde via QGIS-User, <
qgis-user@lists.osgeo.org> wrote:

> Hi Roxo,
>
> You are right, I can confirm this with a very recent build of QGIS:
>
> - with extension we ask for confirmation of overwriting
> - without extension we silently overwrite an old file
>

It's actually an operating system (well, gtk library) issue. The same thing
happens in other apps too on that same platform.

Nyall


> Please file an issue (https://github.com/qgis/QGIS/issues), this seems
> easily fixable.
> See
> https://qgis.org/en/site/getinvolved/development/bugreporting.html#bugs-features-and-issues
>
> Regards,
>
> Richard Duivenvoorde
>
> On 7/22/23 20:21, Fernando M. Roxo da Motta via QGIS-User wrote:
> >
> >
> >Hi all,
> >
> >Today I was exporting some QGis projects as PNG images
> > (project>import/export>export map to image).   At certain point I made
> > a mistake and repeated the name of the previous map, and QGis happily
> > overwrote the previous image, without asking before.  I tried to repeat
> > the action giving the full name of the file (map10.png) and QGis asked
> > for confirmation.The difference was that the first time I gave jjust
> > a name, without the "extension" .png.
> >
> >It seems that even if QGis will give the default "extension" to the
> > filename, it does not verify the prior existence of the file after it
> > attach the "extension".
> >
> >This was in a QGis 3.26.0 on Linux Xubuntu 20.04.   I know that both
> > the QGis and system are kind of old, but if this "feature" is present
> > in current versions it can be cumbersome.
> >
> >
> >
> >Roxo
> >
>
> ___
> 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] Possible bug?

2023-07-23 Thread Richard Duivenvoorde via QGIS-User

Hi Roxo,

You are right, I can confirm this with a very recent build of QGIS:

- with extension we ask for confirmation of overwriting
- without extension we silently overwrite an old file

Please file an issue (https://github.com/qgis/QGIS/issues), this seems easily 
fixable.
See 
https://qgis.org/en/site/getinvolved/development/bugreporting.html#bugs-features-and-issues

Regards,

Richard Duivenvoorde

On 7/22/23 20:21, Fernando M. Roxo da Motta via QGIS-User wrote:



   Hi all,

   Today I was exporting some QGis projects as PNG images
(project>import/export>export map to image).   At certain point I made
a mistake and repeated the name of the previous map, and QGis happily
overwrote the previous image, without asking before.  I tried to repeat
the action giving the full name of the file (map10.png) and QGis asked
for confirmation.The difference was that the first time I gave jjust
a name, without the "extension" .png.

   It seems that even if QGis will give the default "extension" to the
filename, it does not verify the prior existence of the file after it
attach the "extension".

   This was in a QGis 3.26.0 on Linux Xubuntu 20.04.   I know that both
the QGis and system are kind of old, but if this "feature" is present
in current versions it can be cumbersome.



   Roxo



___
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] Possible bug? Error 499 on connection even after using token

2021-12-23 Thread Phil Wyatt
Is this from a public dataset or your own corporate dataset? This may be the 
issue

https://gis.stackexchange.com/questions/352636/qgis-connection-to-esri-feature-server-failed-to-retrieve-service-capabilities


Cheers - Phil, 
On the road with his iPad 

> On 24 Dec 2021, at 7:45 am, Alex Jokerst  wrote:
> 
> 
> Hi there,
>  
> I am unable to access Arcgis layer due to error 499 on connection. This seems 
> to indicate that there is a token problem but I did use the correct token. 
> Any ideas?
>  
> --Alex J
>  
>  
> Alex Jokerst
> Information Technology Analyst
> Universal Fire & Casualty Insurance Company
> 
> 
> o:
> m:
> e:
> a:
> 
> (614) 982-0993
> (614) 747-3621
> ajoke...@ufcic.com
> 2121 Airport Rd
> Waterford MI 48327-1207
> Ufcic.com
>  
>  
> The Information contained in this message is privileged and confidential. It 
> is intended only to be read by the individual or entity to whom it is 
> addressed or their designee. Unless you are the named addressee or an 
> authorized designee, you may not copy or use it, or disclose it to anyone 
> else. If the reader of this message is not the intended recipient, you are on 
> notice that any distribution of this message, in any form, is strictly 
> prohibited. If you receive this message in error, please immediately notify 
> the sender, and delete or destroy any copy of this message.
> 
> ___
> 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] [Possible bug] Qgis treating uuid as text in db views

2018-09-20 Thread delazj
Hi, 

Rémi, there won't be 3.2.4 The next 3.x release will be 3.4.0 (3.2 is no longer 
maintained). The fix will then be in 3.4


HarrissouLe 20 sept. 2018 8:37 AM, Rémi Desgrange  a 
écrit :
>
> Oh, I didn’t saw it thank you!! So, for our end user, we can expect this fix 
> to be present in qgis 3.2.4? 
>
> This is a super great news 
>
> Cheers, Rémi Desgrange 
>
>
> Le 19/09/2018 18:35, « Qgis-user au nom de Jürgen E. Fischer » 
>  a écrit : 
>
>     Hi Rémi, 
>     
>     On Wed, 19. Sep 2018 at 14:55:01 +, Rémi Desgrange wrote: 
>     > I’m on mac so, not so easy, but I’ll definitely try on 3.2.3. 
>     
>     That won't help - the fix is in master (also referenced in the ticket). 
>     
>     
>     Jürgen 
>     
>     -- 
>     Jürgen E. Fischer   norBIT GmbH Tel. 
> +49-4931-918175-31 
>     Dipl.-Inf. (FH) Rheinstraße 13  Fax. 
> +49-4931-918175-50 
>     Software Engineer   D-26506 Norden 
> http://www.norbit.de 
>     QGIS release manager (PSC)  Germany    IRC: jef on 
> FreeNode 
>     
>
> ___
> 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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Rémi Desgrange
Oh, I didn’t saw it thank you!! So, for our end user, we can expect this fix to 
be present in qgis 3.2.4?

This is a super great news

Cheers, Rémi Desgrange
 

Le 19/09/2018 18:35, « Qgis-user au nom de Jürgen E. Fischer » 
 a écrit :

Hi Rémi,

On Wed, 19. Sep 2018 at 14:55:01 +, Rémi Desgrange wrote:
> I’m on mac so, not so easy, but I’ll definitely try on 3.2.3.

That won't help - the fix is in master (also referenced in the ticket).


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Jürgen E . Fischer
Hi Rémi,

On Wed, 19. Sep 2018 at 14:55:01 +, Rémi Desgrange wrote:
> I’m on mac so, not so easy, but I’ll definitely try on 3.2.3.

That won't help - the fix is in master (also referenced in the ticket).


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Rémi Desgrange
I’m on mac so, not so easy, but I’ll definitely try on 3.2.3. I found some 
minor change in github repo between final_3_2 branch and master but cannot 
compare 3.2.3 tags with master to what postgres/db driver/vector layer was 
modified since 3.2.2.

Cordialement, Rémi Desgrange
 

Le 19/09/2018 16:12, « Qgis-user au nom de Jürgen E. Fischer » 
 a écrit :

Hi Rémi,

On Wed, 19. Sep 2018 at 14:09:16 +, Rémi Desgrange wrote:
> Thanks. Already tried that, but didn’t work ☹

Try latest master.


Jürgen


-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Jürgen E . Fischer
Hi Rémi,

On Wed, 19. Sep 2018 at 14:09:16 +, Rémi Desgrange wrote:
> Thanks. Already tried that, but didn’t work ☹

Try latest master.


Jürgen


-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/
___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Rémi Desgrange
Thanks. Already tried that, but didn’t work ☹

I think that the real question here is: why Qgis think that my column is text 
and not uuid? (it try to make ILIKE on the uuid it doesn’t make sense)

Sincerly, Rémi Desgrange
 

Le 19/09/2018 15:34, « Qgis-user au nom de Karl Magnus Jönsson » 
 a écrit :

Hi.
I think I've done something similar. Not against a view though. I had to 
set the default value for the filed in the form to uuid() to make it work 
properly. Worth a try.

Karl-Magnus Jönsson


-Ursprungligt meddelande-
Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Bernhard 
Ströbl
Skickat: den 19 september 2018 15:23
Till: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] [Possible bug] Qgis treating uuid as text in db views



Am 19.09.2018 um 11:26 schrieb Rémi Desgrange:
> Hi,
> 
> I have some database view used in qgis. (from postgresql 10, postgis2.4). 
Since some time now (I posted a bug report 3 months ago here: 
https://issues.qgis.org/issues/19180) This was about errors in my DBs log about 
selection request that does not end well. But, at this time it was not a 
problem for the end user. Yesterday, we spotted a much more problematic error.  
Here is the story:
> 
> We wanted to cut a linestring, so we use the tool “Split Features”. And 
when we did that. It cut the linestring, so changing the geometry of the 
linestring (updating) and trying to create a new one with the other part. The 
problem is: it updated correctly the existing feature, but did _not_ save the 
other one (it created it in qgis though).

Was there any error message from the DB?

> The reason behind this is qgis treating an uuid like a text field. So, 
when treating uuid as text, when it tries to create a new feature out of the 
old one split, it put the value _1 which cannot work obviously.

It is the user's obligation to fill meaningful values in fields. This is 
e.g. also true for integer primary key fields: if you fill in a value 
already present or no value at all the changes cannot be saved.
I would create an insert trigger on the DB that creates a uuid for any 
insert request.

Hope this hleps
Bernhard

> 
> This is not a problem with form or style, the field as the type uuid in 
qgis, I “mapped” uuid generator on it, and tried text editor too.
> 
> 
> I don’t know if it’s us that don’t know how to properly configure Qgis or 
if it’s a bug…
> 
> 
> Cordialement, Rémi Desgrange
>   
> 
> ___
> 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
> 



__ Information from ESET Mail Security, version of virus signature 
database 18077 (20180919) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Rémi Desgrange
Error from the db :
When the linestring is cut:

Erroneous query: SELECT "tab_id"::text FROM (SELECT DISTINCT "expl_id" FROM 
"projet"."v_example" WHERE "expl_id" ILIKE 
'%97b99098-3807-4d5f-97e9-c58bfff18f68%' ORDER BY "expl_id") foo returned 7 
[ERREUR: l'opérateur n'existe pas : uuid ~~* unknown
 LINE 1: ...expl_id" FROM "projet"."v_example" WHERE "expl_id" 
ILIKE '%97...

And when you try to save:

(sorry in French) ERREUR:  syntaxe en entrée invalide pour le type uuid : « 
e5e03331-74cf-4077-92b2-6f93c98c57f6_1 »
which should translate to « invalid input syntax from uuid type ».

I should mention clearly (if it was not in my first mail) that I tried multiple 
strategies about widget type in attributes form (text, uuid generator) with 
both default value and non-default value (expl_id is autogenerated via a 
default constraint in PG).

The thing that really bother me is that it works all fine with the table but 
not with the view.

Cheers, Rémi Desgrange
 

Le 19/09/2018 15:22, « Qgis-user au nom de Bernhard Ströbl » 
 a écrit :



Am 19.09.2018 um 11:26 schrieb Rémi Desgrange:
> Hi,
> 
> I have some database view used in qgis. (from postgresql 10, postgis2.4). 
Since some time now (I posted a bug report 3 months ago here: 
https://issues.qgis.org/issues/19180) This was about errors in my DBs log about 
selection request that does not end well. But, at this time it was not a 
problem for the end user. Yesterday, we spotted a much more problematic error.  
Here is the story:
> 
> We wanted to cut a linestring, so we use the tool “Split Features”. And 
when we did that. It cut the linestring, so changing the geometry of the 
linestring (updating) and trying to create a new one with the other part. The 
problem is: it updated correctly the existing feature, but did _not_ save the 
other one (it created it in qgis though).

Was there any error message from the DB?

> The reason behind this is qgis treating an uuid like a text field. So, 
when treating uuid as text, when it tries to create a new feature out of the 
old one split, it put the value _1 which cannot work obviously.

It is the user's obligation to fill meaningful values in fields. This is 
e.g. also true for integer primary key fields: if you fill in a value 
already present or no value at all the changes cannot be saved.
I would create an insert trigger on the DB that creates a uuid for any 
insert request.

Hope this hleps
Bernhard

> 
> This is not a problem with form or style, the field as the type uuid in 
qgis, I “mapped” uuid generator on it, and tried text editor too.
> 
> 
> I don’t know if it’s us that don’t know how to properly configure Qgis or 
if it’s a bug…
> 
> 
> Cordialement, Rémi Desgrange
>   
> 
> ___
> 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
> 



__ Information from ESET Mail Security, version of virus signature 
database 18077 (20180919) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Karl Magnus Jönsson
Hi.
I think I've done something similar. Not against a view though. I had to set 
the default value for the filed in the form to uuid() to make it work properly. 
Worth a try.

Karl-Magnus Jönsson


-Ursprungligt meddelande-
Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För Bernhard Ströbl
Skickat: den 19 september 2018 15:23
Till: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] [Possible bug] Qgis treating uuid as text in db views



Am 19.09.2018 um 11:26 schrieb Rémi Desgrange:
> Hi,
> 
> I have some database view used in qgis. (from postgresql 10, postgis2.4). 
> Since some time now (I posted a bug report 3 months ago here: 
> https://issues.qgis.org/issues/19180) This was about errors in my DBs log 
> about selection request that does not end well. But, at this time it was not 
> a problem for the end user. Yesterday, we spotted a much more problematic 
> error.  Here is the story:
> 
> We wanted to cut a linestring, so we use the tool “Split Features”. And when 
> we did that. It cut the linestring, so changing the geometry of the 
> linestring (updating) and trying to create a new one with the other part. The 
> problem is: it updated correctly the existing feature, but did _not_ save the 
> other one (it created it in qgis though).

Was there any error message from the DB?

> The reason behind this is qgis treating an uuid like a text field. So, when 
> treating uuid as text, when it tries to create a new feature out of the old 
> one split, it put the value _1 which cannot work obviously.

It is the user's obligation to fill meaningful values in fields. This is 
e.g. also true for integer primary key fields: if you fill in a value 
already present or no value at all the changes cannot be saved.
I would create an insert trigger on the DB that creates a uuid for any 
insert request.

Hope this hleps
Bernhard

> 
> This is not a problem with form or style, the field as the type uuid in qgis, 
> I “mapped” uuid generator on it, and tried text editor too.
> 
> 
> I don’t know if it’s us that don’t know how to properly configure Qgis or if 
> it’s a bug…
> 
> 
> Cordialement, Rémi Desgrange
>   
> 
> ___
> 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
> 



__ Information from ESET Mail Security, version of virus signature 
database 18077 (20180919) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
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] [Possible bug] Qgis treating uuid as text in db views

2018-09-19 Thread Bernhard Ströbl



Am 19.09.2018 um 11:26 schrieb Rémi Desgrange:

Hi,

I have some database view used in qgis. (from postgresql 10, postgis2.4). Since 
some time now (I posted a bug report 3 months ago here: 
https://issues.qgis.org/issues/19180) This was about errors in my DBs log about 
selection request that does not end well. But, at this time it was not a 
problem for the end user. Yesterday, we spotted a much more problematic error.  
Here is the story:

We wanted to cut a linestring, so we use the tool “Split Features”. And when we 
did that. It cut the linestring, so changing the geometry of the linestring 
(updating) and trying to create a new one with the other part. The problem is: 
it updated correctly the existing feature, but did _not_ save the other one (it 
created it in qgis though).


Was there any error message from the DB?


The reason behind this is qgis treating an uuid like a text field. So, when treating 
uuid as text, when it tries to create a new feature out of the old one split, it put 
the value _1 which cannot work obviously.


It is the user's obligation to fill meaningful values in fields. This is 
e.g. also true for integer primary key fields: if you fill in a value 
already present or no value at all the changes cannot be saved.
I would create an insert trigger on the DB that creates a uuid for any 
insert request.


Hope this hleps
Bernhard



This is not a problem with form or style, the field as the type uuid in qgis, I 
“mapped” uuid generator on it, and tried text editor too.


I don’t know if it’s us that don’t know how to properly configure Qgis or if 
it’s a bug…


Cordialement, Rémi Desgrange
  


___
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





__ Information from ESET Mail Security, version of virus signature 
database 18077 (20180919) __

The message was checked by ESET Mail Security.
http://www.eset.com


___
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] Possible bug QGIS 2.10

2017-07-14 Thread Lester Anderson
Installed QGIS 2.18.10 - problem appears to be resolved

Cheers all

On 12 July 2017 at 10:30, Lester Anderson  wrote:
> Thanks for the pointers. Think what I will do is download and test the
> latest version at home before getting IT to install at work. The
> software is great and does everything I need and more, plus easier to
> work with compared to ArcMap (10.x)
>
> Cheers guys
>
> On 12 July 2017 at 10:24, Richard Duivenvoorde  wrote:
>> On 12-07-17 10:53, Lester Anderson wrote:
>>> Found v2.12.3 and that showed the same behaviour.
>>>
>>> Before I go ahead and get the latest version, can we confirm that the
>>> bug is absent in the new versions?
>>>
>>> Also can I confirm that this was a recognised bug.
>>
>> Hi,
>>
>> Yes, it is recognised as a bug, but I cannot confirm if it was fully
>> fixed. At the moment there is also discussion going on about how to
>> handle this 'repacking'(?) of a shapefile when features are deleted. It is
>>
>> I would update anyway... and maybe try to leave shapefile as favourite
>> data format, and move to for example geopackage (you probably need a
>> newer QGIS for that too...)
>>
>> Regards,
>>
>> Richard
>>
___
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] Possible bug QGIS 2.10

2017-07-12 Thread Lester Anderson
Thanks for the pointers. Think what I will do is download and test the
latest version at home before getting IT to install at work. The
software is great and does everything I need and more, plus easier to
work with compared to ArcMap (10.x)

Cheers guys

On 12 July 2017 at 10:24, Richard Duivenvoorde  wrote:
> On 12-07-17 10:53, Lester Anderson wrote:
>> Found v2.12.3 and that showed the same behaviour.
>>
>> Before I go ahead and get the latest version, can we confirm that the
>> bug is absent in the new versions?
>>
>> Also can I confirm that this was a recognised bug.
>
> Hi,
>
> Yes, it is recognised as a bug, but I cannot confirm if it was fully
> fixed. At the moment there is also discussion going on about how to
> handle this 'repacking'(?) of a shapefile when features are deleted. It is
>
> I would update anyway... and maybe try to leave shapefile as favourite
> data format, and move to for example geopackage (you probably need a
> newer QGIS for that too...)
>
> Regards,
>
> Richard
>
___
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] Possible bug QGIS 2.10

2017-07-12 Thread Richard Duivenvoorde
On 12-07-17 10:53, Lester Anderson wrote:
> Found v2.12.3 and that showed the same behaviour.
> 
> Before I go ahead and get the latest version, can we confirm that the
> bug is absent in the new versions?
> 
> Also can I confirm that this was a recognised bug.

Hi,

Yes, it is recognised as a bug, but I cannot confirm if it was fully
fixed. At the moment there is also discussion going on about how to
handle this 'repacking'(?) of a shapefile when features are deleted. It is

I would update anyway... and maybe try to leave shapefile as favourite
data format, and move to for example geopackage (you probably need a
newer QGIS for that too...)

Regards,

Richard

___
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] Possible bug QGIS 2.10

2017-07-12 Thread Lester Anderson
Found v2.12.3 and that showed the same behaviour.

Before I go ahead and get the latest version, can we confirm that the
bug is absent in the new versions?

Also can I confirm that this was a recognised bug.

Thanks
Lester

On 12 July 2017 at 09:21, Luigi Pirelli  wrote:
> 2.10.. is it outdated? do you know that LTR is 2.14 and current
> version is 2.18.10?
> Luigi Pirelli
>
> **
> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> * 
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> **
>
>
> On 12 July 2017 at 10:13, Lester Anderson  wrote:
>> Hello all,
>>
>> I am currently working with QGIS 2.10 and have just noticed a bug when
>> creating and editing shapefiles. I know it's not the latest, but works
>> fine for most jobs.
>>
>> If I make a shapefile, polygons or lines, it all looks fine in QGIS if
>> I later go back and delete some objects in the file, but if I check in
>> ArcMap then all the objects are still there. If QGIS shows 2 polygons
>> ArcMap will show all, even those that were deleted.
>>
>> The only workaround I can see is to copy the polygons/lines into a new
>> shapefile. It seems like the shapefile is not updating properly in the
>> background even if it shows the correct elements in QGIS.
>>
>> It seems if you edit an existing shapefile in QGIS (2.10) that it
>> still retains information on the objects that were deleted, although
>> the attribute table does not show this. In ArcMap the attribute table
>> shows all including deleted objects.
>>
>> Any ideas? Has this been corrected in later versions?
>>
>> Cheers
>> Lester
>> ___
>> 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] Possible bug QGIS 2.10

2017-07-12 Thread Luigi Pirelli
2.10.. is it outdated? do you know that LTR is 2.14 and current
version is 2.18.10?
Luigi Pirelli

**
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
* 
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
**


On 12 July 2017 at 10:13, Lester Anderson  wrote:
> Hello all,
>
> I am currently working with QGIS 2.10 and have just noticed a bug when
> creating and editing shapefiles. I know it's not the latest, but works
> fine for most jobs.
>
> If I make a shapefile, polygons or lines, it all looks fine in QGIS if
> I later go back and delete some objects in the file, but if I check in
> ArcMap then all the objects are still there. If QGIS shows 2 polygons
> ArcMap will show all, even those that were deleted.
>
> The only workaround I can see is to copy the polygons/lines into a new
> shapefile. It seems like the shapefile is not updating properly in the
> background even if it shows the correct elements in QGIS.
>
> It seems if you edit an existing shapefile in QGIS (2.10) that it
> still retains information on the objects that were deleted, although
> the attribute table does not show this. In ArcMap the attribute table
> shows all including deleted objects.
>
> Any ideas? Has this been corrected in later versions?
>
> Cheers
> Lester
> ___
> 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] possible bug with delimited text importer in Q1.8?

2012-08-24 Thread Giovanni Manghi
On Fri, 2012-08-24 at 08:02 +0100, Roy Marsh wrote:
> Hi
>  
> I have built a project with some imported text layers and varios other
> layers
> It started OK but now crashes Q1.8 every time I try to open the
> project

are all the csv layers still reachable by the project?

this

http://hub.qgis.org/issues/5832

has already been fixed in master.

cheers

-- Giovanni --


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user