I noticed that if I set the same input and output dataset in an
operation plugin, the output dataset will result totally empty with even
no possibility to restore old data.
According to:
        http://barmag.net/veusz-wiki/DatasetPlugins
I think this is caused by the call must be made in
DatasetPlugin.getDataset in order to "create" the output dataset. 
The problem is that if the output dataset is the same than the input,
this will result in deleting the input dataset (overwriting with an
empty one). Then, when the updateDatasets() function is called, there
will be no data to be elaborated and the result will be an error, or a
still empty output dataset.

If only could I access the document from inside the getDataset() func,
and return an already existing dataset if necessary, the problem would
be resolved. (Maybe adding the "helper", as in updateDatasets()?)


Best regards,
-- 
Daniele Paganelli
 Researcher
 Expert System Solutions S.r.l.
 Via Virgilio 58/L - 41100 Modena (ITALY)
 Tel: +39 0598860020 - Fax: +39 0598860024
 Email: [email protected]
 Web: www.expertsystemsolutions.it


_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à