[Qgis-user] MemoryLayerSaver plugin - Is there a way to recover data?
Julien K.
jkr.mlist at gmail.com
Sun Feb 2 08:17:25 PST 2020
Hi Chris,
thank you for your message, sorry for my late answer.
On Mon, Jan 27, 2020 at 7:53 PM Chris Crook <ccrook at linz.govt.nz> wrote:
>
>
>
> 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.
>
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.
> Does it report any particular error when it tries to load the file?
>
No, there's nothing relevant to the MLS plugin in the log panels:
2020-02-02T16:21:17 WARNING
warning:C:\local\OSGEO4~1\apps\Python37\lib\site-packages\PyQt5\uic\objcreator.py:152:
DeprecationWarning: 'U' mode is deprecated
2020-02-02T16:21:17 WARNING
warning:C:/Users/xxxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\quick_map_services\qgis_proj_helper.py:8:
DeprecationWarning:
> Do you know of anything that might have changed between when you saved the
> project and when you are trying to reload it.
>
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.
> What version of QGIS was the project saved with.
>
3.10. (rel-dev) on Win64 (Osgeo4w), now 3.10.2 but when I lost the memory
layers it was maybe 3.10.1.
> 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.
>
Yes, I was thinking of a step-by-step reading tool with output.
> 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).
>
I'll have a look at it when I have more time...
Regards,
Julien
>
> *From:* Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] *On Behalf
> Of *Julien K.
> *Sent:* Monday, 27 January 2020 9:00 p.m.
> *To:* QGIS Users
> *Subject:* [Qgis-user] MemoryLayerSaver plugin - Is there a way to
> recover data?
>
>
>
> Dear QGis users,
>
>
>
> 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.
>
>
>
> 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?
>
>
>
> 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?
>
>
>
> Regards,
>
> Julien
>
> ------------------------------
>
> 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 info at linz.govt.nz) 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.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200202/55441373/attachment.html>
More information about the Qgis-user
mailing list