Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylokit.lokit.LoKitInitializeError: Failed to initialize LibreOfficeKit #18

Open
JIELOGAN opened this issue Sep 19, 2017 · 3 comments
Open

Comments

@JIELOGAN
Copy link

  • Templated-docs version: 0.3.1
  • Python version: 3.5.2
  • Operating System: ubuntu16.04 LTS or windows10

Description

Error message:
raise LoKitInitializeError("Failed to initialize LibreOfficeKit") pylokit.lokit.LoKitInitializeError: Failed to initialize LibreOfficeKit

What I Did

I have installed  LibreOffice 5, and added some data in database
`python manage.py runserver `
after I input information, I clicked the button, then I got that error.
Why this happen? How to solve this ?
@greenstudiocorp
Copy link

Is there anyone have solution for this issue? :(

@sperea
Copy link

sperea commented Jan 16, 2018

Just change TEMPLATED_DOCS_LIBREOFFICE_PATH = '/usr/share/libreoffice/program'

to TEMPLATED_DOCS_LIBREOFFICE_PATH = '/usr/lib/libreoffice/program'

@elyorsabirov
Copy link

Just change TEMPLATED_DOCS_LIBREOFFICE_PATH = '/usr/share/libreoffice/program'

to TEMPLATED_DOCS_LIBREOFFICE_PATH = '/usr/lib/libreoffice/program'

Good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants