Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

Replaced pip breaking installs of dependencies with APK Edge versions

Open ConnorYoh opened this issue 10 months ago • 3 comments

Description of Changes

Please provide a summary of the changes, including:

  • What was changed
  • Why the change was made
  • Any challenges encountered

Closes #(issue_number)


Checklist

General

Documentation

UI Changes (if applicable)

  • [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)

Testing (if applicable)

  • [ ] I have tested my changes locally. Refer to the Testing Guide for more details.

ConnorYoh avatar Feb 15 '25 17:02 ConnorYoh

Issue with the APK version of unoconv, which relies on the deprecated package distutils.

17:08:01.173 [qtp972632613-34] WARN  o.e.j.ee10.servlet.ServletChannel - handleException /api/v1/convert/file/pdf java.io.IOException: Command process failed with exit code 1. Error message: Traceback (most recent call last):
  File "/usr/bin/unoconv", line 19, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

distutils has been deprecated in Python 3.12, as stated here, https://github.com/unoconv/unoconv/issues/591. unoconv is being replaced by unoserver, and minimal updates will be made to unoconv.

TODO

  • [ ] Investigate migration to unoserver from unoconv OR
  • [ ] Use virtual environment for python dependencies to force working dependency versions

ConnorYoh avatar Feb 15 '25 18:02 ConnorYoh

@ConnorYoh New alpine just released over weekend! i updated dev branch

Frooodle avatar Feb 17 '25 10:02 Frooodle