View previous topic :: View next topic |
Author |
Message |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 145
|
Posted: Fri Feb 21, 2025 1:04 pm Post subject: LibreOffice crashes when I try to open a PDF |
|
|
Whenever I try to open a PDF file with any LO app, it crashes with the following message: Code: | General Error.
General input/output error. | Nothing appears in syslog, and this is what I get in stdout/stderr: Code: | QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
This plugin supports grabbing the mouse only for popup windows
This plugin supports grabbing the mouse only for popup windows | I get this core dump, if that's helpful. I tried rebuilding app-office/libreoffice with custom-cflags disabled, but that didn't solve it either. Anyone know what's going on? |
|
Back to top |
|
 |
Da51d Tux's lil' helper

Joined: 27 Mar 2024 Posts: 78
|
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 145
|
Posted: Sun Feb 23, 2025 12:13 pm Post subject: |
|
|
Yes. In the past, opening a PDF with LO would always work. It would open with LO Draw. I did just change a config file with dispatch-conf, specifically /etc/xdg/mimeapps.list. Maybe that has something to do with it? But those are just system defaults, not my user-specific settings, so I don't really know what's going on. |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3521
|
Posted: Sun Feb 23, 2025 12:16 pm Post subject: |
|
|
It has a pdfimport use flag though, which allows it to edit pdf files.
LibreOffice Draw module is not a great tool for the purpose and makes editing quite a painful process, but it _can_ do that.
Or at least it could, because it currently throws a "general input/output error" on my machine, whatever it means, and without any debug information. Weird. _________________ Make Computing Fun Again |
|
Back to top |
|
 |
Da51d Tux's lil' helper

Joined: 27 Mar 2024 Posts: 78
|
Posted: Sun Feb 23, 2025 12:34 pm Post subject: |
|
|
Sorry, I did not know about the pdfimport flag. That's probably why it never worked for me. I will re-emerge with that and try it out. Thanks for the useful tip. _________________ What can be said at all can be said clearly and what we cannot talk about we must pass over in silence. |
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 145
|
Posted: Sun Feb 23, 2025 1:57 pm Post subject: |
|
|
Glad to see I'm not the only one with this issue. |
|
Back to top |
|
 |
sam_ Developer


Joined: 14 Aug 2020 Posts: 2174
|
Posted: Sun Feb 23, 2025 6:10 pm Post subject: |
|
|
leyvi wrote: | Glad to see I'm not the only one with this issue. |
Did you try the pdfimport USE flag, per above? |
|
Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 3476 Location: Canada
|
Posted: Sun Feb 23, 2025 6:22 pm Post subject: |
|
|
I have libreoffice with pdfimport flag and it opens PDF's in Impress just fine (just tried). Though my version is not updated to the latest -r1 that appeared few days ago |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3521
|
Posted: Sun Feb 23, 2025 8:22 pm Post subject: |
|
|
Talking about versions, I'm on ~amd64 and 2 most recent versions I merged fail to import pdf with that generic error I mentioned above.
2025-02-14T16:40:49 >>> app-office/libreoffice-24.2.7.2-r1
2025-02-23T16:47:29 >>> app-office/libreoffice-25.2.1.1
I don't know when it stopped working; I found xournal much more convenient for scribbling on other people's papers (though, unfortunately, much more limited in what it _can_ do).
dmpogo, what exact version do you have? The one that works? _________________ Make Computing Fun Again |
|
Back to top |
|
 |
|