pyoo icon indicating copy to clipboard operation
pyoo copied to clipboard

open_spreadsheet() returns invalid SpreadsheetDocument for a locked file

Open n-epifanov opened this issue 7 years ago • 2 comments

If I open e.g. "1.ods" in LibreOffice through mouse clicking then run

desktop = pyoo.Desktop(pipe='libreoffice')
doc = desktop.open_spreadsheet('1.ods')

under the hood loadComponentFromURL() returns None and then SpreadsheetDocument(None) is returned from open_spreadsheet().

PS Thanks for the lib, LibreOffice API is scary :)

n-epifanov avatar Dec 18 '17 09:12 n-epifanov

Did this ever get resolved?

luzpaz avatar Mar 21 '20 16:03 luzpaz

No idea :shrug: Regarding a workaround I don't remember if I've found any.

n-epifanov avatar Aug 06 '20 20:08 n-epifanov