Skip to content

Issue with session option in Docker after version 25.12.20 #1505

@Bonerserk

Description

@Bonerserk

BEFORE TO OPEN AN ISSUE, MAKE SURE THAT IT HASN'T ALREADY BEEN SOLVED OR REPORTED. :)
Check it with the issue search field

Operating System:

  • Linux

Script Mode

  • Docker

Ebook2Audiobook Version

  • v25.12.32

Process Mode

  • Headless

Terminal log
_ebook2audiobook_logs.txt

Description:
After version 25.12.20, running the application in Docker causes an error when the session option is specified. If the session parameter is set either in a Docker Compose file or via the docker run command, the following error occurs:

Conversion failed: 'bool' object does not support item assignment

This error results in the container stopping unexpectedly.

Important Note:

  • Version 25.12.20 still works correctly with the session option.
  • If the session option is commented out or removed, the container starts without any problem and begins the conversion process as expected.

Steps to Reproduce:

Using Docker Compose:

ebook2audiobook:
  image: docker.io/athomasson2/ebook2audiobook:v25.12.32-cpu
  container_name: ebook2audiobook
  pull_policy: always
  command: [
    "--headless",
    "--language", "ita",
    "--tts_engine", "XTTSv2",
    "--temperature", "1.30",
    "--output_dir","/app/audiobooks",
    "--ebook","/app/audiobooks/StoriaBreve3.epub",
    "--session", "SomeCode",  # Removing this line avoids the error
  ]
  ports:
    - 7861:7860
  volumes:
    - ./ebook2audiobook/audiobooks:/app/audiobooks
    - ./ebook2audiobook/tmp:/app/tmp

Using Docker Run:

sudo docker run --rm -it \
  -v "./ebook2audiobook/audiobooks:/app/audiobooks" \
  -v "./ebook2audiobook/tmp:/app/tmp" \
  -p 7861:7860 \
  docker.io/athomasson2/ebook2audiobook:v25.12.32-cpu \
  --headless --language "ita" --tts_engine "XTTSv2" --temperature "1.30" \
  --output_dir "/app/audiobooks" --ebook "/app/audiobooks/StoriaBreve3.epub" \
  --session "SomeCode"

Expected Behaviour:
The container should start and process the session without errors.

Actual Behaviour:
The container fails with the error above and stops.


Environment:

  • Docker version: 27.1.2, build d01f264
  • OS: Ubuntu 24.04.3 LTS
  • Image version: v25.12.32-cpu

Additional Context:

  • Issue does not occur in version 25.12.20.
  • Removing or commenting out the --session option allows the container to start and perform the conversion successfully.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions