Re: [Qgis-user] Project file data loss

2016-04-27 Thread johnrobot
I have found some additional trouble regarding virtual layers, this time
copy/paste to an external program.

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

Magnus



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5263118.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread Bernhard Ströbl

Hi Pierre-Marie,

what do you mean by "update virtual layers"? On the other hand I 
definitely did not modify the data structure (e.g. add or rename fields) 
of the layers involved in the virtual layers.


Bernhard

Am 26.04.2016 um 22:48 schrieb Pierre-Marie Le Dantec:

Hi,
I encoutered the same issue (only groups, definition layers still visible
in text editor). I suspected virtual layers too.
It seems it occurs when I modified data structure in virtual layers data
sources, without updating the virtual layers before closing the project.

When I take care to update frequently virtual layers, the issue seems to
don't occur.

Pierma

2016-04-26 21:40 GMT+11:00 johnrobot :


I added a comment about virtual layers in the ticket, since we now have at
least two cases with this setup.





__ Information from ESET Mail Security, version of virus signature 
database 13398 (20160427) __

The message was checked by ESET Mail Security.
http://www.eset.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread johnrobot
I added a comment about virtual layers in the ticket, since we now have at
least two cases with this setup.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5262948.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread Bernhard Ströbl
I had the virtual layers in suspicion, that's why I pointed it out. I 
had a rule based style for them using joined fields from other layers 
(joined in the definition of the virtual layer not in QGIS via layer 
join). The project opened a couple of times all right, though.


Bernhard

Am 26.04.2016 um 11:44 schrieb johnrobot:

This seems very much like my case. The layers are still defined when opening
the file in a text editor, but QGIS only opens the layer group (in the layer
list, not the map). My project also contained virtual layers. Could that be
the problem?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5262927.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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



--
Bernhard Ströbl
Anwendungsbetreuer GIS

Kommunale Immobilien Jena
Am Anger 26
07743 Jena

Tel.: 03641 49- 5190
E-Mail: bernhard.stro...@jena.de
Internet: www.kij.de


Kommunale Immobilien Jena
Eigenbetrieb der Stadt Jena
Werkleiter: Karl-Hermann Kliewe


__ Information from ESET Mail Security, version of virus signature 
database 13393 (20160426) __

The message was checked by ESET Mail Security.
http://www.eset.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread johnrobot
This seems very much like my case. The layers are still defined when opening
the file in a text editor, but QGIS only opens the layer group (in the layer
list, not the map). My project also contained virtual layers. Could that be
the problem?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5262927.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread Bernhard Ströbl

Strange thing,

I just lost some work because the project file still loads but does only 
contain the layer groups. All layers are "gone", however when checking 
the qgs file in the editor, the layers are still defined. I saved to a 
local file within less than a second.

QGIS 2.14.1 on Ubuntu 64 bit

I opened the project in QGIS 2.8.7 on Win7 (64 bit) and it opens fine 
except for the virtual layers (a feature introduced after 2.8)

Layers are WMS and PostGIS.

Bernhard

Am 26.04.2016 um 10:59 schrieb johnrobot:

OK. In my case, I do save to a network drive, but the saving is quick (a few
seconds). I did not kill the save process and no error is reported when
opening the project file.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5262921.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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



--
Bernhard Ströbl
Anwendungsbetreuer GIS

Kommunale Immobilien Jena
Am Anger 26
07743 Jena

Tel.: 03641 49- 5190
E-Mail: bernhard.stro...@jena.de
Internet: www.kij.de


Kommunale Immobilien Jena
Eigenbetrieb der Stadt Jena
Werkleiter: Karl-Hermann Kliewe


__ Information from ESET Mail Security, version of virus signature 
database 13393 (20160426) __

The message was checked by ESET Mail Security.
http://www.eset.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread johnrobot
OK. In my case, I do save to a network drive, but the saving is quick (a few
seconds). I did not kill the save process and no error is reported when
opening the project file. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5262921.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread Saber Razmjooei
Hi list,

There is already a feature request related to the same issue here:
http://hub.qgis.org/issues/14460

Regards,
Saber

Saber Razmjooei
www.lutraconsulting.co.uk



-Original Message-
From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
Karl-Magnus Jönsson
Sent: 26 April 2016 09:33
To: 'johnrobot'; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Project file data loss

Hi,
We've had some problems with large project files. The saving of the file takes 
quite long time and occasionally users don't wait for the process to finish and 
terminate the program ending up with a corrupt file. But then users can't open 
the file. Maybe not the same problem. The .qgs~ files and backups have saved us 
several times.

Karl-Magnus Jönsson │GIS-utvecklare
Miljö- och samhällsbyggnadsförvaltningen, avd. Geografisk information 
Kristianstads kommun
291 80 Kristianstad
Besöksadress: Västra Storgatan 12
Tel 044-13 54 16 │ Mobil: 0733-13 54 16 │karl-magnus.jons...@kristianstad.se
www.kristianstad.se

-Ursprungligt meddelande-
Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För johnrobot
Skickat: den 26 april 2016 08:58
Till: qgis-user@lists.osgeo.org
Ämne: [Qgis-user] Project file data loss

Hi
When opening a .qgs file used yesterday, I noticed that the project had lost 
almost all of the data, such as linked SHP-files. I have lost a few hours of 
work due to this and this is a bit worrying for further work. It is this first 
time I observe this and I am the only one working with the project file. Any 
suggestions on how to narrow this down? I would like to find the cause of this.

QGIS 2.14.0, 64 bit
Windows 7, 64 bit

Magnus



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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 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


--
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail 
from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.

Whilst reasonable care has been taken to avoid virus transmission, no 
responsibility for viruses is taken and it is your responsibility to carry out
such checks as you feel appropriate.

If this email contains a quote or offer to sell products, carry out work or 
perform services then our standard terms and conditions (which can be found at 
http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf
 shall apply unless explicitly stated otherwise.

Saber Razmjooei and Peter Wells trading as Lutra Consulting.
___
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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread johnrobot
Hi
Yes, I will start making regular backups of the project file. In this case,
the .qgs~ file had the same problem as the original file, so I had to start
over with the project file. QGIS did not report any issues when saving
yesterday.

I opened a ticket, http://hub.qgis.org/issues/14731#change-69785. I will add
more information there if I am able to reproduce this.

Regards,

Magnus



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903p5262913.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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

Re: [Qgis-user] Project file data loss

2016-04-26 Thread Karl-Magnus Jönsson
Hi,
We've had some problems with large project files. The saving of the file takes 
quite long time and occasionally users don't wait for the process to finish and 
terminate the program ending up with a corrupt file. But then users can't open 
the file. Maybe not the same problem. The .qgs~ files and backups have saved us 
several times.

Karl-Magnus Jönsson │GIS-utvecklare
Miljö- och samhällsbyggnadsförvaltningen, avd. Geografisk information
Kristianstads kommun
291 80 Kristianstad
Besöksadress: Västra Storgatan 12
Tel 044-13 54 16 │ Mobil: 0733-13 54 16 │karl-magnus.jons...@kristianstad.se
www.kristianstad.se

-Ursprungligt meddelande-
Från: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] För johnrobot
Skickat: den 26 april 2016 08:58
Till: qgis-user@lists.osgeo.org
Ämne: [Qgis-user] Project file data loss

Hi
When opening a .qgs file used yesterday, I noticed that the project had lost 
almost all of the data, such as linked SHP-files. I have lost a few hours of 
work due to this and this is a bit worrying for further work. It is this first 
time I observe this and I am the only one working with the project file. Any 
suggestions on how to narrow this down? I would like to find the cause of this.

QGIS 2.14.0, 64 bit
Windows 7, 64 bit

Magnus



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Project-file-data-loss-tp5262903.html
Sent from the Quantum GIS - User mailing list archive at Nabble.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 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