Skip to content

Commit aa6f2ea

Browse files
committed
unovonv is deprecated, use unoserver (Fixes #332) (#353)
1 parent 64e7a87 commit aa6f2ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: sudo apt update
5050

5151
- name: Install apt packages
52-
run: sudo apt install -y graphicsmagick mupdf-tools ghostscript libreoffice pipx python3-dev
52+
run: sudo apt install -y graphicsmagick mupdf-tools ghostscript pipx python3-dev
5353

5454
- name: Install unoserver
5555
run: pipx install unoserver --system-site-packages

documents/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def convert_office_to_pdf(self, document_id: int) -> int:
167167
sub = result.stdout
168168
except subprocess.CalledProcessError as e:
169169
raise DocumentProcessingError(
170-
document, exc=e, message='"unoconvert" has failed: %s' % e.stderr[:800]
170+
document, exc=e, message="unoconvert has failed: %s" % e.stderr[:2000]
171171
) from e
172172

173173
document.pdf.save(str(uuid.uuid4()) + ".pdf", ContentFile(sub))

0 commit comments

Comments
 (0)