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

[Bug]: multi-tool only loads the first page of PDFs

Open SantiagoSchez opened this issue 1 year ago • 2 comments

Installation Method

Docker fat

The Problem

When using the multitool, only the first page of the PDF is shown. I have tried with multiple PDF, and the outcome is the same. For example, this book I am linking shows only the first page: ~~Data Structures for Game Programmers.pdf~~ (removed just in case of copyright). Thank you.

Version of Stirling-PDF

0.36.5

Last Working Version of Stirling-PDF

No response

Page Where the Problem Occurred

No response

Docker Configuration

services:
  stirling-pdf:
    image: stirlingtools/stirling-pdf:latest
    container_name: stirling-pdf
    expose:
      - "8080"
    volumes:
      - ./trainingData:/usr/share/tessdata
      - ./extraConfigs:/configs
      - ./customFiles:/customFiles/
      #- ./logs:/logs/
    environment:
      DOCKER_ENABLE_SECURITY: false
      INSTALL_BOOK_AND_ADVANCED_HTML_OPS: false
      LANGS: en_GB,es_ES

Relevant Log Output

No response

Additional Information

No response

Browsers Affected

Chrome, Safari

No Duplicate of the Issue

  • [X] I have verified that there are no existing issues raised related to my problem.

SantiagoSchez avatar Dec 26 '24 22:12 SantiagoSchez

Can you reproduce the issue on https://stirlingpdf.io/multi-tool

it might be cache issue, it seems fine for me

Frooodle avatar Dec 26 '24 22:12 Frooodle

Can you reproduce the issue on https://stirlingpdf.io/multi-tool

it might be cache issue, it seems fine for me

Sadly, same behaviour. But I think I have found something: if I upload the file by dragging-and-drop, the bug can be reproduced (see [1]), but if I use the [+] button to upload it, it works properly!

As a workaround I'll be using the [+] button from now on.

In case it's needed, I am on MacOS Sequoia and using Chrome (same behaviour with Safari).

[1]: Captura 2024-12-27 a las 10 02 18@2x

SantiagoSchez avatar Dec 27 '24 09:12 SantiagoSchez

Same issue here as @SantiagoSchez. Drag & drop doesn't work, but using the + button is fine. Not a browser session issue since I tried several browsers such as Chrome, Edge, Firefox, all in private mode. I also tried to rebuild the container with empty folder/data but no luck.

butageek avatar Dec 31 '24 17:12 butageek

Found bug and will be in next release ! Either today or tomorrow

Frooodle avatar Dec 31 '24 17:12 Frooodle

Found bug and will be in next release ! Either today or tomorrow

Amazing, thank you for your fast support and happy new year!

SantiagoSchez avatar Dec 31 '24 18:12 SantiagoSchez