You are not logged in.

#1 2025-02-27 08:53:02

surya01
Member
Registered: 2025-02-27
Posts: 4

[SOLVED] Libreoffice unable to open any pdf

When I try to open a pdf, it I get a general error.

here's the error log : https://imgur.com/a/bKnYy8l

Last edited by surya01 (2025-02-27 17:55:27)

Offline

#2 2025-02-27 09:09:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,787

Re: [SOLVED] Libreoffice unable to open any pdf

Do not post screenshots of text output; post the actual text. also nothing there says "error" at all.
So what's the actual error message, resp. any other symptoms. Is it specific to some pdf's? Can you open eg /usr/share/cups/data/default-testpage.pdf ?

Online

#3 2025-02-27 09:31:49

surya01
Member
Registered: 2025-02-27
Posts: 4

Re: [SOLVED] Libreoffice unable to open any pdf

I've tried with other pdf's too but none can open in Libreoffice. Also, Okular works fine.
Libreoffice GUI shows:

General Error. General input/output error.

Opening Libreoffice in terminal shows:

javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
This plugin supports grabbing the mouse only for popup windows
This plugin supports grabbing the mouse only for popup windows
kf.kio.filewidgets.kfilefiltercombo: KFileFilterCombo::setCurrentFilter: Could not find file filter KFileFilter(MIME patterns: QList() File patterns: QList("*") label: "All files")

Offline

#4 2025-02-27 13:22:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,787

Re: [SOLVED] Libreoffice unable to open any pdf

Yeah, but okular isn't an editor.
As mentioned, the console messages are meaningless.

The not-so-useful error message seems to show up whenever LO cannot parse a file, https://bugs.documentfoundation.org/sho … ?id=106057
What "other pdf's" - did you try the cups testpage?

Online

#5 2025-02-27 13:32:54

Lithium Sulfate
Member
Registered: 2020-07-01
Posts: 28

Re: [SOLVED] Libreoffice unable to open any pdf

This is a known issue but it has already been fixed in libreoffice-still-24.8.5-2 and libreoffice-fresh-25.2.0-5, see:

https://gitlab.archlinux.org/archlinux/ … -/issues/6
https://bugs.documentfoundation.org/sho … ?id=165433

https://gitlab.archlinux.org/archlinux/ … 25b978bec7
https://gitlab.archlinux.org/archlinux/ … 87532980a6

Last edited by Lithium Sulfate (2025-02-27 13:34:25)

Offline

#6 2025-02-27 17:52:31

surya01
Member
Registered: 2025-02-27
Posts: 4

Re: [SOLVED] Libreoffice unable to open any pdf

I did system update and installed libreoffice-still 24.8.5-2 and the bug is gone. Thank you!

Offline

#7 2025-02-27 17:53:56

surya01
Member
Registered: 2025-02-27
Posts: 4

Re: [SOLVED] Libreoffice unable to open any pdf

seth wrote:

Yeah, but okular isn't an editor.
As mentioned, the console messages are meaningless.

The not-so-useful error message seems to show up whenever LO cannot parse a file, https://bugs.documentfoundation.org/sho … ?id=106057
What "other pdf's" - did you try the cups testpage?

Thanks for the help Seth!

Offline

Board footer

Powered by FluxBB