<div dir="ltr"><div>Hi Chris,</div><div><br></div><div>thank you for your message, sorry for my late answer.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 27, 2020 at 7:53 PM Chris Crook <<a href="mailto:ccrook@linz.govt.nz">ccrook@linz.govt.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-NZ">
<div class="gmail-m_997375797216307371WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><br></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">This is not a known problem/bug to me (MLS author).  Probably wouldn't be much use filing a bug report unless you have steps to reproduce creating and then
 failing to read the .mldata file, as there would be no way of testing.</span></p></div></div></blockquote><div><br></div><div>I don't remember, one morning I opened the project and my 2 memory layers were empty. Not a big loss since they were easy to recreate.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_997375797216307371WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">  Does it report any particular error when it tries to load the file?</span></p></div></div></blockquote><div><br></div><div>No, there's nothing relevant to the MLS plugin in the log panels:</div><div><br></div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(220,125,0)">2020-02-02T16:21:17     WARNING    </span>warning:C:\local\OSGEO4~1\apps\Python37\lib\site-packages\PyQt5\uic\objcreator.py:152: DeprecationWarning: 'U' mode is deprecated</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="color:rgb(220,125,0)">2020-02-02T16:21:17     WARNING    </span>warning:C:/Users/xxxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\qgis_proj_helper.py:8: DeprecationWarning:</p></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_997375797216307371WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Do you know of anything that might have changed between when you saved the project and when you are trying to reload it.</span></p></div></div></blockquote><div><br></div><div>None that I'm aware of. The whole QGis folder is on a OneDrive folder on my machine so since my first message I tried to open several combination of (QGis project/mldata file) depending on the backup date ; at best the project opens but nothing shows up in the memory layers, at worse the whole thing crashes.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_997375797216307371WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">  What version of QGIS was the project
 saved with. </span></p></div></div></blockquote><div><br></div><div>3.10. (rel-dev) on Win64 (Osgeo4w), now 3.10.2 but when I lost the memory layers it was maybe  3.10.1.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_997375797216307371WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"> I doubt that another program would be able to read the file if the memory layer saver plugin cannot, it would just be doing the same python/Qt stuff that it is already doing.  If the file is corrupt then it might be possible to read the data to
 the point at which it fails.  </span></p></div></div></blockquote><div><br></div><div>Yes, I was thinking of a step-by-step reading tool with output.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_997375797216307371WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"> At the moment it is designed to read all or nothing.  It could be modified fairly easily to read the data up to the point at which it fails (either on a layer
 by layer or feature by feature basis). <br></span></p></div></div></blockquote><div><br></div><div>I'll have a look at it when I have more time...</div><div><br></div><div>Regards,</div><div>Julien<br></div><div><br></div><span style="font-size:10pt;font-family:"Verdana","sans-serif";color:rgb(31,73,125)" lang="EN-US"></span><b><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"></span></b><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_997375797216307371WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div style="border-color:currentcolor currentcolor currentcolor blue;border-style:none none none solid;border-width:medium medium medium 1.5pt;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Qgis-user [mailto:<a href="mailto:qgis-user-bounces@lists.osgeo.org" target="_blank">qgis-user-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Julien K.<br>
<b>Sent:</b> Monday, 27 January 2020 9:00 p.m.<br>
<b>To:</b> QGIS Users<br>
<b>Subject:</b> [Qgis-user] MemoryLayerSaver plugin - Is there a way to recover data?<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Dear QGis users,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have a *mldata file generated by MemoryLayerSaver plugin that won't be read when opening the associated QGis project.I tried with 3.4.15-LTR, 3.10.2 rel-dev and dev with no luck, in the QGis project the layers' structure is shown but
 the tables are empty.  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The plugin's source code indicates *mldata files are QStreamData, I don't want to dive into Python/Qt programing at the moment, so is there a simple way to recover the data?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Besides is this a bug or a known problem (i.e. "you've been warned, you should save your memory layers as soon as possible")? Should I file a bug report?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Julien<u></u><u></u></p>
</div>
</div>
</div>
</div>
<br>
<hr>
<font size="2" face="Verdana" color="Black"><br>
This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please
 notify us immediately (Phone 0800 665 463 or <a href="mailto:info@linz.govt.nz" target="_blank">info@linz.govt.nz</a>) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.<br>
</font>
</div>

_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="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" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div></div>