[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-user
Subject:    Re: [Qgis-user] Error - Qgis files getting corrupted after saving
From:       Hugh Kelley via QGIS-User <qgis-user () lists ! osgeo ! org>
Date:       2023-08-23 16:39:47
Message-ID: CAOrcXHGfSCxtCqxk4=MxfXP61fKrtpeH-+EPGz5-vi5T2mgp6A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Glad it worked out!

As long as you rename every file in the shapefile renaming shoukd be fine.
Renaming just the .shp file will cause problems.

You might consider:
 http://switchfromshapefile.org/

Thanks to whoever on this list shared that originally.




On Wed, Aug 23, 2023, 2:20 AM G=C3=B3mez S=C3=A1nchez, Sandra <
sgomezsa@eservicios.indra.es> wrote:

> Hello Hugh,
>
> Thank you very much for your answer, the problem has been solved I will
> post here what was causing the issue, for you to know,
>
> When we were modifying the data inside qgis we were not exporting it but
> mashing the previous one by saving, and then changing the name of the fil=
e
> outside qgis, instead we exported the shp file from qgis and gave the fil=
e
> a new name from there, and the corruption of the file disappeared.
>
> Have a nice day! =F0=9F=99=82
>
> [image: Opsait] <http://www.minsait.com/>
>
>
> Sandra G=C3=B3mez S=C3=A1nchez
> ------------------------------
> *De:* Hugh Kelley <hghklly@gmail.com>
> *Enviado:* lunes, 21 de agosto de 2023 14:55
> *Para:* G=C3=B3mez S=C3=A1nchez, Sandra <sgomezsa@eservicios.indra.es>
> *Cc:* qgis-user <qgis-user@lists.osgeo.org>
> *Asunto:* Re: [Qgis-user] Error - Qgis files getting corrupted after
> saving
>
> Hi Sandra,
>
> When you say "data" are you referring to spatial data saved in something
> like a shapefile geopackage etc, or the actual qgis file ending in .qgz o=
r
> .qgs?
>
> If it is the actual qgis file itself that you are seeing corrupted, I
> would not expect a qgis file created by a newer version to be backwards
> compatible with and older version of qgis. I often see people using older
> versions run into weird problems when opening a file created by a newer
> version. Perhaps others will say otherwise but I don't expect this to a
> problem that can be solved. All users should be on a common version for t=
he
> best experience.
>
> If its spatial data you're seeing corrupted that is something that should
> be solvable anf sharing what file type is being used might get you helpfu=
l
> suggestions.
>
> As a note, because opening and saving a qgis file with a different versio=
n
> can cause problems across versions, like loosing symbology settings, I
> backup my qgis work at least once a day so that I have something recent t=
o
> fall back to if an issue like this occurs.
>
> Best,
>
> Hugh
>
> On Mon, Aug 21, 2023, 8:43 AM G=C3=B3mez S=C3=A1nchez, Sandra via QGIS-Us=
er <
> qgis-user@lists.osgeo.org> wrote:
>
> Hello there,
>
> I am facing an issue with the saving files from Qgis and importing them t=
o
> another software.
>
> On this case, we are changing data inside Qgis and then import that data
> into Keycom.
>
> The thing is, we have 2 colleagues which are using Qgis 3.28.8 and 3.32.0
> versions and after they change the data inside qgis, and they save that
> data, the files get corrupted;
>
> I have been trying with my own qgis, which is 3.28.2 and in mine works
> perfect; I have changed their raw data and when I import that data on
> keycom it works, I have also sended them my own data (ready for import) t=
o
> them, and they are able to import it, but once they put that data on thei=
r
> Qgis it gets corrupted and we can't work with it, we have checked the ste=
ps
> they are taking but they are doing the same as me,
>
> We did a silly test in which I sended them my data, they imported it into
> keycom, it worked, then they changed one single value inside Qgis and it
> got corrupted; so we know that the issue is located into the "saving" for=
m
> from Qgis;
>
> We can open the files from Qgis again and they don't show signs of
> corruption inside, is just when we try to import them into keycom when th=
e
> error is shown, so we are kinda lost here,
>
> is there any issue / feature we have to check for?
>
> Thank you very much,
>
> Sandra
>
> [image: Opsait] <http://www.minsait.com/>
>
>
> Sandra G=C3=B3mez S=C3=A1nchez
>
> ------------------------------
>
> Este correo electr=C3=B3nico y, en su caso, cualquier fichero anexo al mi=
smo,
> contiene informaci=C3=B3n de car=C3=A1cter confidencial exclusivamente di=
rigida a su
> destinatario o destinatarios. Si no es vd. el destinatario indicado, qued=
a
> notificado que la lectura, utilizaci=C3=B3n, divulgaci=C3=B3n y/o copia s=
in
> autorizaci=C3=B3n est=C3=A1 prohibida en virtud de la legislaci=C3=B3n vi=
gente. En el caso
> de haber recibido este correo electr=C3=B3nico por error, se ruega notifi=
car
> inmediatamente esta circunstancia mediante reenv=C3=ADo a la direcci=C3=
=B3n
> electr=C3=B3nica del remitente.
> Evite imprimir este mensaje si no es estrictamente necesario.
>
> This email and any file attached to it (when applicable) contain(s)
> confidential information that is exclusively addressed to its recipient(s=
).
> If you are not the indicated recipient, you are informed that reading,
> using, disseminating and/or copying it without authorisation is forbidden
> in accordance with the legislation in effect. If you have received this
> email by mistake, please immediately notify the sender of the situation b=
y
> resending it to their email address.
> Avoid printing this message if it is not absolutely necessary.
> _______________________________________________
> 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
>
>
> ------------------------------
>
> Este correo electr=C3=B3nico y, en su caso, cualquier fichero anexo al mi=
smo,
> contiene informaci=C3=B3n de car=C3=A1cter confidencial exclusivamente di=
rigida a su
> destinatario o destinatarios. Si no es vd. el destinatario indicado, qued=
a
> notificado que la lectura, utilizaci=C3=B3n, divulgaci=C3=B3n y/o copia s=
in
> autorizaci=C3=B3n est=C3=A1 prohibida en virtud de la legislaci=C3=B3n vi=
gente. En el caso
> de haber recibido este correo electr=C3=B3nico por error, se ruega notifi=
car
> inmediatamente esta circunstancia mediante reenv=C3=ADo a la direcci=C3=
=B3n
> electr=C3=B3nica del remitente.
> Evite imprimir este mensaje si no es estrictamente necesario.
>
> This email and any file attached to it (when applicable) contain(s)
> confidential information that is exclusively addressed to its recipient(s=
).
> If you are not the indicated recipient, you are informed that reading,
> using, disseminating and/or copying it without authorisation is forbidden
> in accordance with the legislation in effect. If you have received this
> email by mistake, please immediately notify the sender of the situation b=
y
> resending it to their email address.
> Avoid printing this message if it is not absolutely necessary.
>

[Attachment #5 (text/html)]

<div dir="auto">Glad it worked out!<div dir="auto"><br></div><div dir="auto">As long \
as you rename every file in the shapefile renaming shoukd be fine. Renaming just the \
.shp file will cause problems.  </div><div dir="auto"><br></div><div dir="auto">You \
might consider:</div><div dir="auto">  <a \
href="http://switchfromshapefile.org/">http://switchfromshapefile.org/</a></div><div \
dir="auto"><br></div><div dir="auto">Thanks to whoever on this list shared that \
originally.  </div><div dir="auto"><br></div><div dir="auto"><br></div><div \
dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Wed, Aug 23, 2023, 2:20 AM G贸mez S谩nchez, Sandra &lt;<a \
href="mailto:sgomezsa@eservicios.indra.es">sgomezsa@eservicios.indra.es</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 Hello Hugh,    </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 Thank you very much for your answer, the problem has been solved I will post here \
what was causing the issue, for you to know,  </div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 When we were modifying the data inside qgis we were not exporting it but mashing the \
previous one by saving, and then changing the name of the file outside qgis, instead \
we exported the shp file from qgis and gave the file a new name from there, and the \
corruption  of the file disappeared.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 Have a nice day! <span id="m_-4086568670865823405馃檪">馃檪  </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <span><br>
</span></div>
<div>
<div id="m_-4086568670865823405Signature">
<div>
<table style="font-family:&quot;Times New \
Roman&quot;;min-width:320px;width:320px;color:rgb(0,66,84)"> <tbody>
<tr>
<td style="width:320px"><a title="Opsait" href="http://www.minsait.com/" \
target="_blank" rel="noreferrer"><img width="198" height="84" alt="Opsait" \
style="border:0px none" src="https://www.indracompany.com/mail/Logo_opsait.png"></a> \
<table style="border-collapse:collapse;border-spacing:0px;vertical-align:top;width:320px;margin:0px">
 <tbody>
<tr style="margin:0px;vertical-align:top">
<td height="25px" style="font-family:Aller,sans-serif;line-height:25px;margin:0px;vertical-align:top;border-collapse:collapse!important;color:rgb(10,10,10)">
  </td>
</tr>
</tbody>
</table>
<p style="font-size:13px;line-height:14px;font-family:Georgia,sans-serif;margin:0px">
Sandra G贸mez S谩nchez</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="m_-4086568670865823405appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-4086568670865823405divRplyFwdMsg" dir="ltr"><font face="Calibri, \
sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Hugh Kelley &lt;<a \
href="mailto:hghklly@gmail.com" target="_blank" \
rel="noreferrer">hghklly@gmail.com</a>&gt;<br> <b>Enviado:</b> lunes, 21 de agosto de \
2023 14:55<br> <b>Para:</b> G贸mez S谩nchez, Sandra &lt;<a \
href="mailto:sgomezsa@eservicios.indra.es" target="_blank" \
rel="noreferrer">sgomezsa@eservicios.indra.es</a>&gt;<br> <b>Cc:</b> qgis-user &lt;<a \
href="mailto:qgis-user@lists.osgeo.org" target="_blank" \
rel="noreferrer">qgis-user@lists.osgeo.org</a>&gt;<br> <b>Asunto:</b> Re: [Qgis-user] \
Error - Qgis files getting corrupted after saving</font> <div>  </div>
</div>
<div>
<div dir="auto">Hi Sandra,
<div dir="auto"><br>
</div>
<div dir="auto">When you say &quot;data&quot; are you referring to spatial data saved \
in something like a shapefile geopackage etc, or the actual qgis file ending in .qgz \
or .qgs?</div> <div dir="auto"><br>
</div>
<div dir="auto">If it is the actual qgis file itself that you are seeing corrupted, I \
would not expect a qgis file created by a newer version to be backwards compatible \
with and older version of qgis. I often see people using older versions run into \
weird problems  when opening a file created by a newer version. Perhaps others will \
say otherwise but I don&#39;t expect this to a problem that can be solved. All users \
should be on a common version for the best experience.  </div> <div dir="auto"><br>
</div>
<div dir="auto">If its spatial data you&#39;re seeing corrupted that is something \
that should be solvable anf sharing what file type is being used might get you \
helpful suggestions.  </div> <div dir="auto"><br>
</div>
<div dir="auto">As a note, because opening and saving a qgis file with a different \
version can cause problems across versions, like loosing symbology settings, I backup \
my qgis work at least once a day so that I have something recent to fall back to if \
an issue  like this occurs.  </div>
<div dir="auto"><br>
</div>
<div dir="auto">Best,</div>
<div dir="auto"><br>
</div>
<div dir="auto">Hugh  </div>
</div>
<br>
<div>
<div dir="ltr">On Mon, Aug 21, 2023, 8:43 AM G贸mez S谩nchez, Sandra via QGIS-User \
&lt;<a href="mailto:qgis-user@lists.osgeo.org" rel="noreferrer noreferrer" \
target="_blank">qgis-user@lists.osgeo.org</a>&gt; wrote:<br> </div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <span style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">Hello \
there,  </span></div> <div \
style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br>
</div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">I am facing \
an issue with the saving files from Qgis and importing them to another software.  \
</div> <div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br>
</div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">On this \
case, we are changing data inside Qgis and then import that data into Keycom.  </div> \
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br> </div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">The thing \
is, we have 2 colleagues which are using Qgis 3.28.8 and 3.32.0 versions and after \
they change the data inside qgis, and they save that data, the files get corrupted;  \
</div> <div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br>
</div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">I have been \
trying with my own qgis, which is 3.28.2 and in mine works perfect; I have changed \
their raw data and when I import that data on keycom it works, I have also sended \
them  my own data (ready for import) to them, and they are able to import it, but \
once they put that data on their Qgis it gets corrupted and we can&#39;t work with \
it, we have checked the steps they are taking but they are doing the same as me,  \
</div> <div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br>
</div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">We did a \
silly test in which I sended them my data, they imported it into keycom, it worked, \
then they changed one single value inside Qgis and it got corrupted; so we know that \
the  issue is located into the &quot;saving&quot; form from Qgis;  </div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br>
</div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">We can open \
the files from Qgis again and they don&#39;t show signs of corruption inside, is just \
when we try to import them into keycom when the error is shown, so we are kinda lost \
here,  </div> <div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br>
 </div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">is there any \
issue / feature we have to check for?  </div> <div \
style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br> </div>
<div style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">Thank you \
very much,</div> <div \
style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)"><br> </div>
<span style="font-size:12pt;margin:0px;background-color:rgb(255,255,255)">Sandra  \
</span><br> </div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
 <br>
</div>
<div id="m_-4086568670865823405x_m_7406907312684497386m_-4293733111266164917Signature">
 <div>
<table style="font-family:&quot;Times New \
Roman&quot;;min-width:320px;width:320px;color:rgb(0,66,84)"> <tbody>
<tr>
<td style="width:320px"><a title="Opsait" href="http://www.minsait.com/" \
id="m_-4086568670865823405x_m_7406907312684497386m_-4293733111266164917OWA0a5d8d33-588a-f3e9-51f7-3a7fb2fa761d" \
rel="noreferrer noreferrer noreferrer" target="_blank"><img width="198" height="84" \
alt="Opsait" style="border:0px none" \
src="https://www.indracompany.com/mail/Logo_opsait.png"></a> <table \
style="border-collapse:collapse;border-spacing:0px;vertical-align:top;width:320px;margin:0px">
 <tbody>
<tr style="margin:0px;vertical-align:top">
<td height="25px" style="font-family:Aller,sans-serif;line-height:25px;margin:0px;vertical-align:top;border-collapse:collapse!important;color:rgb(10,10,10)">
  </td>
</tr>
</tbody>
</table>
<p style="font-size:13px;line-height:14px;font-family:Georgia,sans-serif;margin:0px">
Sandra G贸mez S谩nchez</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Este correo electr贸nico y, en su caso, cualquier fichero anexo al mismo, contiene \
informaci贸n de car谩cter confidencial exclusivamente dirigida a su destinatario o \
destinatarios. Si no es vd. el destinatario indicado, queda notificado que la \
lectura, utilizaci贸n,  divulgaci贸n y/o copia sin autorizaci贸n est谩 prohibida en \
virtud de la legislaci贸n vigente. En el caso de haber recibido este correo \
electr贸nico por error, se ruega notificar inmediatamente esta circunstancia mediante \
reenv铆o a la direcci贸n electr贸nica del  remitente.<br>
Evite imprimir este mensaje si no es estrictamente necesario.<br>
<br>
This email and any file attached to it (when applicable) contain(s) confidential \
information that is exclusively addressed to its recipient(s). If you are not the \
indicated recipient, you are informed that reading, using, disseminating and/or \
copying it without  authorisation is forbidden in accordance with the legislation in \
effect. If you have received this email by mistake, please immediately notify the \
sender of the situation by resending it to their email address.<br> Avoid printing \
this message if it is not absolutely necessary.<br> </font></div>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" rel="noreferrer noreferrer noreferrer" \
target="_blank">QGIS-User@lists.osgeo.org</a><br> List info: <a \
href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer noreferrer \
noreferrer noreferrer" target="_blank"> \
                https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" \
rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"> \
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br> </blockquote>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
Este correo electr贸nico y, en su caso, cualquier fichero anexo al mismo, contiene \
informaci贸n de car谩cter confidencial exclusivamente dirigida a su destinatario o \
destinatarios. Si no es vd. el destinatario indicado, queda notificado que la \
lectura, utilizaci贸n,  divulgaci贸n y/o copia sin autorizaci贸n est谩 prohibida en \
virtud de la legislaci贸n vigente. En el caso de haber recibido este correo \
electr贸nico por error, se ruega notificar inmediatamente esta circunstancia mediante \
reenv铆o a la direcci贸n electr贸nica del  remitente.<br>
Evite imprimir este mensaje si no es estrictamente necesario.<br>
<br>
This email and any file attached to it (when applicable) contain(s) confidential \
information that is exclusively addressed to its recipient(s). If you are not the \
indicated recipient, you are informed that reading, using, disseminating and/or \
copying it without  authorisation is forbidden in accordance with the legislation in \
effect. If you have received this email by mistake, please immediately notify the \
sender of the situation by resending it to their email address.<br> Avoid printing \
this message if it is not absolutely necessary.<br> </font>
</div>

</blockquote></div>



_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic