Bug 131607 - Unable to Export as PDF
Summary: Unable to Export as PDF
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks:
 
Reported: 2020-03-26 16:28 UTC by Sarah
Modified: 2020-03-30 09:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
OLD Libreoffice Version (Buggy) (852.91 KB, application/zip)
2020-03-29 16:28 UTC, Sarah
Details
NEW Libreoffice Version (PDF Export Works) (5.66 MB, patch)
2020-03-29 16:32 UTC, Sarah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah 2020-03-26 16:28:28 UTC
Description:
When I try to export as a PDF to the Desktop, I get an error that states:
"Error saving the document Untitled 1:
General Error.
General input/output error."

I'm running Kubuntu 18.04LTS using the apt version of libreoffice (6.0.7.3) (not any weird PPA). However, I tried using the snap version of libreoffice as well, and it had the same isssue.

When I run libreoffice from terminal and try to export a PDF, I get this error on the command line: 
(soffice:27574): GLib-GIO-WARNING **: 16:32:09.192: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)

And:

LibreOffice(23326): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.
"  
LibreOffice(23326): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.
"

I've tried purges using apt purge and deleted the ~/.config/libreoffice folder. I also tried the snap version. Both have the same error.

The file permissions for the Desktop are: drwxr-xr-x 1 sarah sarah 1982 Mar 26 11:51 Desktop/

Steps to Reproduce:
1. Start new libreoffice instance from KDE's launcher menu
2. Choose new writer doc
3. Type F to pay respects to PDF writer
4. Choose file -> export as PDF
5. Choose to save to desktop
6. Get error

Actual Results:
I get the error prompt box that says:

Error saving the document Untitled 1:
General Error.
General input/output error.

on the screen and no PDF is created.

Expected Results:
PDF should be made without error


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Hardware Specs:

sarah@LesserArk:~$ inxi -Fx
System:    Host: LesserArk Kernel: 5.3.0-42-generic x86_64 bits: 64 gcc: 7.4.0
           Desktop: KDE Plasma 5.12.9 (Qt 5.9.5) Distro: Ubuntu 18.04.4 LTS                                                                       
Machine:   Device: laptop System: Hewlett-Packard product: HP ENVY 17 Notebook PC v: 097E110000405E00000620100 serial: N/A                        
           Mobo: Hewlett-Packard model: 1968 v: KBC Version 93.52 serial: N/A                                                                     
           UEFI: Insyde v: F.70 date: 10/20/2017                                                                                                  
Battery    BAT0: charge: 41.6 Wh 100.0% condition: 41.6/41.6 Wh (100%)                                                                            
           model: Hewlett-Packard Primary status: Full                                                                                            
CPU:       Quad core Intel Core i7-4702MQ (-MT-MCP-) arch: Haswell rev.3 cache: 6144 KB                                                           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 17558                                                                      
           clock speeds: max: 3200 MHz 1: 2178 MHz 2: 1374 MHz 3: 1733 MHz 4: 1633 MHz 5: 1913 MHz 6: 1344 MHz
           7: 2159 MHz 8: 1685 MHz
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
           Card-2: NVIDIA GK107M [GeForce GT 750M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.20.5 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.04hz, 1920x1080@74.97hz
           OpenGL: renderer: GeForce GT 750M/PCIe/SSE2 version: 4.6.0 NVIDIA 390.116 Direct Render: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k5.3.0-42-generic
Network:   Card-1: Intel Wireless 7260 driver: iwlwifi bus-ID: 07:00.0
           IF: wlp7s0 state: up mac: e4:70:b8:f8:99:b8
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 port: 3000 bus-ID: 0f:00.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: a0:1d:48:fa:67:c0
Drives:    HDD Total Size: 3550.8GB (68.0% used)
           ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB
           ID-2: /dev/sdb model: LITEONIT_LMS size: 24.0GB
           ID-3: /dev/sdc model: ST2000LM015 size: 2000.4GB
           ID-4: /dev/sdd model: Samsung_SSD_860 size: 500.1GB
           ID-5: /dev/mmcblk0 model: N/A size: 2.0GB
           ID-6: USB /dev/sde model: Gaming_Xbox_360 size: 8.0GB
           ID-7: USB /dev/sdf model: TransMemory size: 16.0GB
           ID-8: USB /dev/sdg model: U3_Cruzer_Micro size: 2.0GB
Partition: ID-1: / size: 399G used: 323G (82%) fs: btrfs dev: /dev/sdd2
           ID-2: /home size: 399G used: 323G (82%) fs: btrfs dev: /dev/sdd2
           ID-3: swap-1 size: 16.00GB used: 0.00GB (0%) fs: swap dev: /dev/sdd3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 61.0C mobo: N/A gpu: 0.0:54C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 499 Uptime: 1:00 Memory: 9384.9/15945.4MB Init: systemd runlevel: 5 Gcc sys: 7.5.0
           Client: Shell (bash 4.4.201) inxi: 2.3.56
Comment 1 Dieter 2020-03-26 18:58:20 UTC
Sarah,thank you for reporting the bug. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 Sarah 2020-03-29 16:28:46 UTC
Created attachment 159130 [details]
OLD Libreoffice Version (Buggy)
Comment 3 Sarah 2020-03-29 16:30:16 UTC
I fixed the problem by restoring from an old version of my .config folder.

This worked for all versions including the latest version from the PPA.

Everything works as anticipated now.

I've included the old version of the .config/libreoffice folder for analysis.
Comment 4 Sarah 2020-03-29 16:32:04 UTC
Created attachment 159131 [details]
NEW Libreoffice Version (PDF Export Works)

This is the working version that I replaced the buggy version with.

The PDF exports successfully from this .config/libreoffice.
Comment 5 Dieter 2020-03-30 09:57:57 UTC
(In reply to Sarah from comment #3)
> I fixed the problem by restoring from an old version of my .config folder.

=> RESOLVED WORKSFORME