Skip to content

open_spreadsheet() returns invalid SpreadsheetDocument for a locked file #18

@n-epifanov

Description

@n-epifanov

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions