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

Joined: 08 Sep 2023 Posts: 148
|
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: 79
|
|
Back to top |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 148
|
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: 79
|
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: 148
|
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 |
|
 |
leyvi Tux's lil' helper

Joined: 08 Sep 2023 Posts: 148
|
Posted: Sun Feb 23, 2025 10:26 pm Post subject: |
|
|
sam_, I do have that USE flag enabled. My whole system is nuked right now though, trying to recover from that. I'll revisit this once I have a functioning computer. |
|
Back to top |
|
 |
Da51d Tux's lil' helper

Joined: 27 Mar 2024 Posts: 79
|
Posted: Mon Feb 24, 2025 12:38 am Post subject: |
|
|
I reemerged libreoffice ( 24.2.7.2) this morning with pdfimport flag and was able to open a pdf with libreoffice draw. This evening I did emerge-webrsync and a world update and libreoffice updated to 24.2.7.2-r1. I am still able to open pdfs (although not too pretty...eg text often extends beyond the edge of it's box or even the page). However, there was some output at the end of the build process which might shed light on the issue(?)
Code: | * QA Notice: This package installs one or more .desktop files that do not
* pass validation.
*
* /usr/share/applications/libreoffice-writer.desktop: warning: value "application/clarisworks;application/docbook+xml;application/macwriteii;application/msword;application/prs.plucker;application/rtf;application/vnd.apple.pages;application/vnd.lotus-wordpro;application/vnd.ms-word;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;application/vnd.ms-works;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-flat-xml;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-master-template;application/vnd.oasis.opendocument.text-template;application/vnd.oasis.opendocument.text-web;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.palm;application/vnd.stardivision.writer-global;application/vnd.stardivision.writer-global;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.global;application/vnd.sun.xml.writer.template;application/vnd.wordperfect;application/wordperfect;application/x-abiword;application/x-aportisdoc;application/x-doc;application/x-extension-txt;application/x-fictionbook+xml;application/x-hwp;application/x-iwork-pages-sffpages;application/x-mswrite;application/x-pocket-word;application/x-sony-bbeb;application/x-starwriter;application/x-starwriter-global;application/x-t602;text/plain;text/rtf;" for key "MimeType" in group "Desktop Entry" contains "application/vnd.stardivision.writer-global" more than once
|
_________________ 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 |
|
 |
|