If you create a labplot project and add a plot to it (I specifically
added a linear regression plot) then you can work with the plot and so
forth immediately. But, if you save the project and exit, the plot is
not restored on re-load. Instead, this error message is given:
"The following problems occurred when loading the project file:\nline 7, column 21: unknown workbook element 'comment'\nline 59, column 97: unknown workbook element 'worksheet'\n"
Here's what appears in the terminal when I run labplot2 (of course
most of the user interaction happens in the application window):
$ labplot2 example-labplot.lml
AppDataLocation paths = ("/home/james/.local/share/labplot2", "/usr/local/share/labplot2", "/usr/share/labplot2")
Icon theme search paths = ("/usr/share/icons", ":/icons")
"0 instead of 1 arguments to message {Attribute '%1' missi...} supplied before conversion."
Column::handleFormatChange() mode = Numeric
Column::handleFormatChange() DONE
ColumnPrivate::replaceData()
"0 instead of 1 arguments to message {Attribute '%1' missi...} supplied before conversion."
Column::handleFormatChange() mode = Numeric
Column::handleFormatChange() DONE
ColumnPrivate::replaceData()
"0 instead of 1 arguments to message {Attribute '%1' missi...} supplied before conversion."
Column::handleFormatChange() mode = Numeric
Column::handleFormatChange() DONE
ColumnPrivate::replaceData()
"0 instead of 1 arguments to message {Attribute '%1' missi...} supplied before conversion."
Column::handleFormatChange() mode = Numeric
Column::handleFormatChange() DONE
ColumnPrivate::replaceData()
"0 instead of 1 arguments to message {Attribute '%1' missi...} supplied before conversion."
"The following problems occurred when loading the project file:\nline 7, column 21: unknown workbook element 'comment'\nline 59, column 97: unknown workbook element 'worksheet'\n"
The lines in the saved file around the line mentioned in the error
are:
58 </spreadsheet>
59 <worksheet creation_time="2021-23-01 12:17:17:866" name="Plot data from Spreadsheet">
60 <comment></comment>
61 <geometry x="0" y="0" width="1500" height="1500" useViewSize="0"/>
(obtained via `zless -N +59 example-labplot.lml`)