Aspose.Slides for Python: "No Usable Version of libssl Was Found" Error

import jpype
import _jpype
if not _jpype.isStarted():
    jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.awt.headless=true")
from aspose.slides import Presentation, License
from asposecells.api import Workbook

self.presentation = Presentation(ppt_file_path)

We are trying to load file like this using Aspose.Slides==24.6.0 version.
jpype1==1.5.2
cryptography==43.0.1
using these versions in container

Please let us know the possible reasons of this error and solutions for the same.

Please let us know if need more details.

@VaradS

To keep progress on this scenario (“No usable version of libssl was found Python slides ``` import jpype import _jpype if not _jpype.isStarted(): jpype.startJVM(jpype.getDefaultJVMPath(), “-Djava.awt.headless=true”) from aspose.slides import Presentation, License from asposecells.api import Workbook self.present…”), start by validating the hypothesis around SDK family: page SDK version: 25.10.0 Language: unknown Duration: 5.04s [sandbox] Preparing execution environment [sandbox] Resolving attachment manifest # sandbox: failed to initialise S3 client: No mod… (source:

This is a best-effort explanation based on partial or unverified information because No retriever returned supporting documents yet; please validate it against official documentation once supporting evidence is available.

Checklist / next steps:

  • SDK family: page SDK version: 25.10.0 Language: unknown Duration: 5.04s [sandbox] Preparing execution environment [sandbox] Resolving attachment manifest # sandbox: failed to initialise S3 client: No mod…
  • SDK family: page SDK version: 25.10.0 Language: unknown Duration: 5.09s [sandbox] Preparing execution environment [sandbox] Resolving attachment manifest # sandbox: failed to initialise S3 client: No mod…
  • Version regression lead (question): Behaviour changed between 24.6.0 → 43.0.1; review release notes or rerun with layout refresh disabled to isolate the change.
  • _jpype.isStarted usage (question): Inspect recent commits or release notes for changes to this API’s defaults or layout behaviour.
  • jpype.startJVM usage (question): Inspect recent commits or release notes for changes to this API’s defaults or layout behaviour.
  • Share these hypotheses with support engineers alongside logs, code samples, and the exact SDK version so they can confirm the behaviour.
  • Question summary: No usable version of libssl was found Python slides ``` import jpype import _jpype if not _jpype.isStarted(): jpype.startJVM(jpype.getDefaultJVMPath(), “-Djava.awt.headless=true”) from aspose.slides import Presentation, License from asposecells.api import Workbook self.present…

@VaradS,
Thank you for contacting free support. We need more details to investigate the case. Please share the following files and information:

  • The sample presentation file you used.
  • The name and version of the operating system on which the error is observed.
  • The Python version you used.

PFA
PPT_Export.zip (46.0 KB)

Ubuntu 22.04.5 LTS (Jammy Jellyfish)

  • Python Version - 3.11.4

@VaradS,
Thank you for the details. I need some time to investigate the issue. I will get back to you as soon as possible.

Hi @andrey.potapov ,
Please let us know once you get update on the issue.

@VaradS,
I was able to reproduce the error you described. The cause of the issue is that libssl1.1 was not installed on the operating system on which the code was executed.

Please try using the following sample Dockerfile:

FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y \
    python3 python3-pip python3-venv \
    libgdiplus \
    wget ca-certificates \
    && rm -rf /var/lib/apt/lists/*

# Install libssl1.1
RUN echo "deb [arch=amd64] http://security.ubuntu.com/ubuntu focal-security main" > /etc/apt/sources.list.d/focal.list \
 && apt-get update \
 && apt-get install -y --no-install-recommends libssl1.1 \
 && rm -f /etc/apt/sources.list.d/focal.list \
 && apt-get clean && rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY . .

RUN pip3 install -r requirements.txt

CMD ["python3", "main.py"]

@andrey.potapov ,
Thank you for your response. We looked into installing libssl1.1, but due to its security vulnerabilities we cannot proceed with it. Could you suggest an alternative solution to this issue?

@VaradS,
We have opened the following new ticket(s) in our internal issue tracking system and will consider your question according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESPYNET-319

Thanks @andrey.potapov ,
Can you confirm whether upgrading to a higher version of Aspose.Slides would resolve this issue? We are currently using Aspose.Slides for Java version 24.6, and the problem does not occur on Oracle Linux Server 8.10. Could this issue be specific to the Python version?

@VaradS,
Unfortunately, the issue also persists for Aspose.Slides for Python 25.11 (the latest version at the moment). The issue is not specific for the Python version. I am waiting for a response from our developers. We will keep you updated.