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


[Qgis-user] Possible bug?

2023-07-22 Thread Fernando M. Roxo da Motta via QGIS-User



  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

-- 
 Non luctari, ludare ---+ WYSIWYG
Fernando M. Roxo da Motta   | Editor?
Except where explicitly stated I speak on my own behalf.|  VI !!
PU5RXO | PX5Q6048   | I see text,
 Quis custodiet ipsos custodes?-+ I get text!
 
___
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


[Qgis-user] Possible bug? Error 499 on connection even after using token

2021-12-23 Thread Alex Jokerst
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
[cid:image001.png@01D7F814.1DF4DD20]

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


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-20 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 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 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

[Qgis-user] Possible bug QGIS 2.10

2017-07-12 Thread Lester Anderson
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] Possible Bug in GPS Information Pane

2016-06-08 Thread Jon Gramm
There seems to be a bug when attempting to record a point to a shape file,
or spatialite file.

This occurs in QGIS versions 2.12, and 2.14.

A line of data is added to the table, but no geometry is present.

Recording of lines, and the use of tracking points for lines does not seem
to be affected.

This has been reported by several users on GIS Stackexchange.

I have tested this on several computers with both external, and internal
GPS/GPS/Glonass units, Windows 7, and Windows 8.1, and the results have
been the same.

Regards,

Jon

-- 
Jon Gramm
Chief Science Officer
Riolada Surveying L.L.C.



jbgr...@gmail.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] possible bug with delimited text importer in Q1.8?

2012-08-24 Thread Roy Marsh
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
The system error text file is below and the problem flagged in the error
message relates to delimitedtextprovider.dll (in bold)
The project is only a small test project but if it were not, I wouldn't
know how to recover the data

Roy

?xml version=1.0 encoding=UTF-16?
DATABASE
EXE NAME=qgis.exe FILTER=GRABMI_FILTER_PRIVACY
MATCHING_FILE NAME=msvcm90.dll SIZE=225280 CHECKSUM=0x6A3528D6
BIN_FILE_VERSION=9.0.30729.6161 BIN_PRODUCT_VERSION=9.0.30729.6161
PRODUCT_VERSION=9.00.30729.6161 FILE_DESCRIPTION=Microsoft® C Runtime
Library COMPANY_NAME=Microsoft Corporation PRODUCT_NAME=Microsoft®
Visual Studio® 2008 FILE_VERSION=9.00.30729.6161
ORIGINAL_FILENAME=MSVCM90.DLL INTERNAL_NAME=MSVCM90.DLL
LEGAL_COPYRIGHT=© Microsoft Corporation.  All rights reserved.
VERFILEDATEHI=0x0 VERFILEDATELO=0x0 VERFILEOS=0x40004
VERFILETYPE=0x2 MODULE_TYPE=WIN32 PE_CHECKSUM=0x3DD5E
LINKER_VERSION=0x9 UPTO_BIN_FILE_VERSION=9.0.30729.6161
UPTO_BIN_PRODUCT_VERSION=9.0.30729.6161 LINK_DATE=04/19/2011 01:30:43
UPTO_LINK_DATE=04/19/2011 01:30:43 VER_LANGUAGE=English (United States)
[0x409] /
MATCHING_FILE NAME=msvcp90.dll SIZE=569680 CHECKSUM=0x7349E376
BIN_FILE_VERSION=9.0.30729.6161 BIN_PRODUCT_VERSION=9.0.30729.6161
PRODUCT_VERSION=9.00.30729.6161 FILE_DESCRIPTION=Microsoft® C++ Runtime
Library COMPANY_NAME=Microsoft Corporation PRODUCT_NAME=Microsoft®
Visual Studio® 2008 FILE_VERSION=9.00.30729.6161
ORIGINAL_FILENAME=MSVCP90.DLL INTERNAL_NAME=MSVCP90.DLL
LEGAL_COPYRIGHT=© Microsoft Corporation.  All rights reserved.
VERFILEDATEHI=0x0 VERFILEDATELO=0x0 VERFILEOS=0x40004
VERFILETYPE=0x2 MODULE_TYPE=WIN32 PE_CHECKSUM=0x98094
LINKER_VERSION=0x9 UPTO_BIN_FILE_VERSION=9.0.30729.6161
UPTO_BIN_PRODUCT_VERSION=9.0.30729.6161 LINK_DATE=04/19/2011 01:30:37
UPTO_LINK_DATE=04/19/2011 01:30:37 VER_LANGUAGE=English (United States)
[0x409] /
MATCHING_FILE NAME=msvcr90.dll SIZE=653136 CHECKSUM=0xEEC88907
BIN_FILE_VERSION=9.0.30729.6161 BIN_PRODUCT_VERSION=9.0.30729.6161
PRODUCT_VERSION=9.00.30729.6161 FILE_DESCRIPTION=Microsoft® C Runtime
Library COMPANY_NAME=Microsoft Corporation PRODUCT_NAME=Microsoft®
Visual Studio® 2008 FILE_VERSION=9.00.30729.6161
ORIGINAL_FILENAME=MSVCR90.DLL INTERNAL_NAME=MSVCR90.DLL
LEGAL_COPYRIGHT=© Microsoft Corporation.  All rights reserved.
VERFILEDATEHI=0x0 VERFILEDATELO=0x0 VERFILEOS=0x40004
VERFILETYPE=0x2 MODULE_TYPE=WIN32 PE_CHECKSUM=0xA4DB7
LINKER_VERSION=0x9 UPTO_BIN_FILE_VERSION=9.0.30729.6161
UPTO_BIN_PRODUCT_VERSION=9.0.30729.6161 LINK_DATE=04/19/2011 01:30:33
UPTO_LINK_DATE=04/19/2011 01:30:33 VER_LANGUAGE=English (United States)
[0x409] /
MATCHING_FILE NAME=qbrowser.exe SIZE=1472000 CHECKSUM=0xD7AEEB9
MODULE_TYPE=WIN32 PE_CHECKSUM=0x0 LINKER_VERSION=0x0
LINK_DATE=06/16/2012 19:58:11 UPTO_LINK_DATE=06/16/2012 19:58:11 /
MATCHING_FILE NAME=qgis.exe SIZE=7363584 CHECKSUM=0x77F7E5DE
MODULE_TYPE=WIN32 PE_CHECKSUM=0x0 LINKER_VERSION=0x0
LINK_DATE=06/16/2012 20:10:45 UPTO_LINK_DATE=06/16/2012 20:10:45 /
MATCHING_FILE NAME=qgisgrass.dll SIZE=346112 CHECKSUM=0x43CCE0E8
MODULE_TYPE=WIN32 PE_CHECKSUM=0x0 LINKER_VERSION=0x10008
LINK_DATE=06/16/2012 19:51:15 UPTO_LINK_DATE=06/16/2012 19:51:15 /
MATCHING_FILE NAME=qgispython.dll SIZE=79360 CHECKSUM=0xE2A8CED5
MODULE_TYPE=WIN32 PE_CHECKSUM=0x0 LINKER_VERSION=0x10008
LINK_DATE=06/16/2012 19:52:12 UPTO_LINK_DATE=06/16/2012 19:52:12 /
MATCHING_FILE NAME=qgis_analysis.dll SIZE=634880
CHECKSUM=0xE1DDDF97 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x10008 LINK_DATE=06/16/2012 19:52:04
UPTO_LINK_DATE=06/16/2012 19:52:04 /
MATCHING_FILE NAME=qgis_core.dll SIZE=4726784
CHECKSUM=0xE871AD75 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x10008 LINK_DATE=06/16/2012 19:50:21
UPTO_LINK_DATE=06/16/2012 19:50:21 /
MATCHING_FILE NAME=qgis_gui.dll SIZE=2919936 CHECKSUM=0x1CE59B0D
MODULE_TYPE=WIN32 PE_CHECKSUM=0x0 LINKER_VERSION=0x10008
LINK_DATE=06/16/2012 19:56:20 UPTO_LINK_DATE=06/16/2012 19:56:20 /
MATCHING_FILE NAME=qgis_networkanalysis.dll SIZE=148992
CHECKSUM=0x5C40F385 MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x10008 LINK_DATE=06/16/2012 19:51:15
UPTO_LINK_DATE=06/16/2012 19:51:15 /
/EXE
EXE NAME=delimitedtextprovider.dll FILTER=GRABMI_FILTER_THISFILEONLY
MATCHING_FILE NAME=delimitedtextprovider.dll SIZE=98816
CHECKSUM=0x2AFB896D MODULE_TYPE=WIN32 PE_CHECKSUM=0x0
LINKER_VERSION=0x0 LINK_DATE=06/16/2012 19:54:11
UPTO_LINK_DATE=06/16/2012 19:54:11 /
/EXE
*EXE NAME=kernel32.dll FILTER=GRABMI_FILTER_THISFILEONLY
*MATCHING_FILE NAME=kernel32.dll SIZE=989696 CHECKSUM=0x2D998938
BIN_FILE_VERSION=5.1.2600.5781 BIN_PRODUCT_VERSION=5.1.2600.5781
PRODUCT_VERSION=5.1.2600.5781 FILE_DESCRIPTION=Windows NT BASE API
Client DLL COMPANY_NAME=Microsoft Corporation PRODUCT_NAME=Microsoft®
Windows® Operating System FILE_VERSION=5.1.2600.5781
(xpsp_sp3_gdr.090321-1317) 

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