Error when trying to save PDFs in Osprey


I’ve been getting the error below when I set opts.savePDF to 1 in my job file. Any ideas on how to resolve it?

I am using the development version (v2.3.0; downloaded today).


Error using
Error occurred while moving node between canvases.

Error in osp_plotModule (line 288)
                set( ViewAxes, 'Parent', Plot );

Error in osp_plotAllPDF (line 39)
                    osp_plotModule(MRSCont, 'OspreyLoad', kk,[1 1], 'ref');

Error in OspreyLoad (line 331)
    osp_plotAllPDF(MRSCont, 'OspreyLoad')

Error in osprey_run_jobFile_HERMES_sLASER (line 4)
MRS = OspreyLoad(MRS);

Hi @mmikkel,

thanks for reporting. @PGMM Reported the same issue today. I’ll take a look at this and report back when it is solved

For now, the only solution is to set the option 0.


1 Like

Hi @mmikkel,

I’ve just added a fix and the opts.savePDF = 1 option should work fine now.


Wonderful! Thanks for this!