2023-07-21T23:36:37 WARNING Traceback (most recent call last):
File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MemoryLayerSaver\memory_layer_saver.py", line 138, in save_data
writer.write_layers(layers)
File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MemoryLayerSaver\writer.py", line 41, in write_layers
self.write_layer(layer)
File "C:\Users/alister/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MemoryLayerSaver\writer.py", line 61, in write_layer
ds.writeInt16(fld.length())
OverflowError: argument 1 overflowed: value must be in the range -32768 to 32767
The attached project can be used to reproduce.
Open the project.
Save the QGIS project - there is no problem.
Select some of the features in the layer
Edit>copy features
Edit>paste features as>temporary scratch layer
Save the project and the memory layer saver plugin will generate the error above.
Edit the memory layer and delete the titles column.
The attached project can be used to reproduce.
test memory layer saver.zip