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

Error when converting docx-files #1924

Open
karatekaneen opened this issue Mar 24, 2021 · 0 comments
Open

Error when converting docx-files #1924

karatekaneen opened this issue Mar 24, 2021 · 0 comments

Comments

@karatekaneen
Copy link

Steps to reproduce and/or test case demonstrating the problem

In the latest release in a docker environment we created a SIP with a single docx document as content.

Expected behavior

The file would be converted into format favorable for archiving.

Actual behavior

Got exception, full output:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/code/ESSArch_Core/WorkflowEngine/dbtask.py", line 93, in __call__
    return self._run(*args, **kwargs)
  File "/code/ESSArch_Core/WorkflowEngine/dbtask.py", line 115, in _run
    r = self._run_task(*args, **kwargs)
  File "/code/ESSArch_Core/WorkflowEngine/dbtask.py", line 131, in _run_task
    res = self.run(*args, **kwargs)
  File "/code/ESSArch_Core/tasks.py", line 829, in run
    convert_file(filepath, new_format)
  File "/code/ESSArch_Core/util.py", line 503, in convert_file
    raise ValueError(msg)
ValueError: b"unoconv: Cannot find a suitable pyuno library and python binary combination in /usr/lib/libreoffice\nERROR: No module named 'uno'\n\nunoconv: Cannot find a suitable office installation on your system.\nERROR: Please locate your office installation and send your feedback to:\n       http://github.com/dagwieers/unoconv/issues\n", return code: 1

Skärmavbild 2021-03-24 kl  16 51 27

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

1 participant