[Bug Report] Unable to open a pdf file
DestroyerAce opened this issue · comments
Ace commented
Describe the bug
I am trying to open a PDF but its giving this error. The PDF opens fine without any issue in other apps(Zathura with mupdf, firefox, xreader, etc) and its not password protected. I don't know if I can share the PDF or not since it was shared by college.
I know that the PDF is still experimental but I think providing the errors might help.
Error: null is not an object (evaluating 'dest[0]')
@foliate:///foliate-js/pdf.js:601:50
@foliate:///foliate-js/pdf.js:597:36
@foliate:///foliate-js/progress.js:24:51
To Reproduce
Steps to reproduce the behavior:
- Click on "Open..."
- Pick the file.
- Error provided above occurs
Expected behavior
PDF opens properly.
Version:
- Foliate version: 3.1.1-1
- OS/Distribution and version: Arch Linux
- Desktop environment: Hyprland 0.39.1-5
- Installation method: Arch Extra Repo
shekhinah memmel commented
I experience a similar issue with latest head (151adbb):
Error: null is not an object (evaluating 'dest[0]')
@foliate:///foliate-js/pdf.js:607:50
@foliate:///foliate-js/pdf.js:603:36
@foliate:///foliate-js/progress.js:24:51
init@foliate:///foliate-js/progress.js:19:20
@foliate:///foliate-js/view.js:90:41
open@foliate:///foliate-js/view.js:80:20
@foliate:///reader/reader.js:392:29
init@foliate:///reader/reader.js:389:20
@foliate:///reader/reader.js:140:22
In my case it only affects some PDF files, others open without problems.