I tried opening a document using the python api (v 1.6.2) of the software. The document gave the following notification in the log when it opened.
LoadProject: path = /home/nys09/Box_beam_densecloud/box_beam_c8.psx
loaded project in 0.00481 sec
Document.open(): The document is opened in read-only mode because it is already in use.
However, the document was not open in any other window/ it was not already in use. It ran my code for dense point cloud for two hours and at the end of the process, it gave the following error message and exited.
doc.save()
OSError: Document.save(): editing is disabled in read-only mode
Can anyone please tell me why this error has occurred and how to deal with this? I believe in the previous run, the program didnot run due to insufficient memory and stopped abruptly. Kindly let me know if there is anything I can include in the code to avoid this error in these scenarios?
Thank you.