Launchpad has imported 9 comments from the remote bug at
https://bugs.documentfoundation.org/show_bug.cgi?id=157424.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2023-09-25T07:09:33+00:00 Bákonyi Zsolt wrote:

Description:
After upgrading via ppa to 7.6.1.2 60(Build:2) version, Ubuntu Server  20.04 
LTS gives error.

soffice --headless --convert-to pdf path/to/file --> Error: source file
could not be loaded

Ubuntu 20.04 LTS Desktop version has no error with the same version,
only on Server. The installation difference is libreoffice vs
libreoffice-nogui. Previous versions doesent produces this error, e.g:
7.5.6.2 50(Build:2) work perfect.

Steps to Reproduce:
1. soffice --headless --convert-to pdf path/to/file

Actual Results:
Error: source file could not be loaded

Expected Results:
convert path/to/file as a Writer document -> path/to/file using filter : 
writer_pdf_Export


Reproducible: Always


User Profile Reset: No

Additional Info:
soffice --version
LibreOffice 7.6.1.2 60(Build:2)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/0

------------------------------------------------------------------------
On 2023-10-09T12:55:44+00:00 Bákonyi Zsolt wrote:

Lots of no-gui version fails in Ubuntu Server 20.04 LTS with "Error:
source file could not be loaded" message.

Specific examples:

- LibreOffice 6.4.7.2 40(Build:2)  --> Same error with xlsx with --convert-to 
html
- LibreOffice 7.5.3.2 50(Build:2)  --> Same error with xlsx with --convert-to 
html

!!! Only LibreOffice 7.5.6.2 50(Build:2) works perfectly in both case.
!!! Example outputs:

soffice --headless --convert-to pdf teszt.docx    
convert /home/zsolt/teszt.docx -> /home/zsolt/teszt.pdf using filter : 
writer_pdf_Export

soffice --headless --convert-to html teszt.xlsx    
convert /home/zsolt/teszt.xlsx -> /home/zsolt/teszt.html using filter : HTML 
(StarCalc)

Fortunately *ppa:libreoffice/libreoffice-still* contains the good
version so i had to change the repos in all servers

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/1

------------------------------------------------------------------------
On 2023-10-09T13:28:42+00:00 Stephane-guillou-i wrote:

I can't reproduce convert ODT or DOCX to PDF with:

libreoffice7.6 --headless --convert-to pdf some_doc

and:

Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

...but this isn't a -nogui install.

(In reply to Zsolt Bákonyi from comment #1)
> !!! Only LibreOffice 7.5.6.2 50(Build:2) works perfectly in both case. !!!
Maybe a fix made it in that version?
Would be interesting to see if version 7.6.2.1 also works for you as -nogui, 
using this PPA: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa
Any chance you could test that one too?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/2

------------------------------------------------------------------------
On 2023-10-09T13:47:04+00:00 Bákonyi Zsolt wrote:

Hi!

On normal Ubuntu Desktop no error. Personally I use Kubuntu 20.04 LTS
version with LibreOffice 7.6.2.1 60(Build:1) and this problem does not
appear. And I had no issues with older versions.

Only no-gui installation produces these issues, I've tested on 3
different Ubuntu 20.04 Server LTS.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/3

------------------------------------------------------------------------
On 2023-10-10T09:17:42+00:00 Ilmari-lauhakangas wrote:

Related:
https://packages.debian.org/sid/libreoffice-nogui
https://packages.debian.org/sid/libreoffice-core-nogui

I could not find out what manipulations have been made to this thing.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/4

------------------------------------------------------------------------
On 2023-10-10T09:28:08+00:00 Ilmari-lauhakangas wrote:

Please report it to Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/5

------------------------------------------------------------------------
On 2023-10-11T09:09:32+00:00 Bákonyi Zsolt wrote:

Something I don't understand if I use  LibreOffice 7.5.6.2 50(Build:2)
no-gui installation on these systems, it  works perfectly in both case (
xlsx and docx conversion )

Maybe somethng went wrong while packaging in PPA?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/6

------------------------------------------------------------------------
On 2023-10-11T09:34:38+00:00 Ilmari-lauhakangas wrote:

(In reply to Zsolt Bákonyi from comment #6)
> Something I don't understand if I use  LibreOffice 7.5.6.2 50(Build:2)
> no-gui installation on these systems, it  works perfectly in both case (
> xlsx and docx conversion )
> 
> Maybe somethng went wrong while packaging in PPA?

Ubuntu quality assurance will investigate it after you report it to
them.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/8

------------------------------------------------------------------------
On 2023-10-11T09:38:17+00:00 Bákonyi Zsolt wrote:

Thank you, I did it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2039021/comments/9


** Changed in: df-libreoffice
       Status: Unknown => Won't Fix

** Changed in: df-libreoffice
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/2039021

Title:
  NO-GUI headless convert-to function error in 7.6.1.2 60(Build:2)

Status in LibreOffice:
  Won't Fix
Status in libreoffice package in Ubuntu:
  New

Bug description:
  Original bug report to LibreOffice team:
  https://bugs.documentfoundation.org/show_bug.cgi?id=157424

  7.6.1.2 60(Build:2) no-gui version, Ubuntu Server  20.04 LTS gives
  error.

  soffice --headless --convert-to pdf path/to/file --> Error: source
  file could not be loaded

  Ubuntu 20.04 LTS Desktop version has no error with the same version,
  only on Server. The installation difference is libreoffice vs
  libreoffice-nogui. Previous version doesent produces this error:
  7.5.6.2 50(Build:2) work perfect.

  Lots of no-gui version fails in Ubuntu Server 20.04 LTS with "Error:
  source file could not be loaded" message.

  Specific examples:

  - LibreOffice 6.4.7.2 40(Build:2)  --> Same error with xlsx with --convert-to 
html
  - LibreOffice 7.5.3.2 50(Build:2)  --> Same error with xlsx with --convert-to 
html

  !!! Only LibreOffice 7.5.6.2 50(Build:2) works perfectly in both case.
  !!! Example outputs:

  soffice --headless --convert-to pdf teszt.docx    
  convert /home/zsolt/teszt.docx -> /home/zsolt/teszt.pdf using filter : 
writer_pdf_Export

  soffice --headless --convert-to html teszt.xlsx    
  convert /home/zsolt/teszt.xlsx -> /home/zsolt/teszt.html using filter : HTML 
(StarCalc)

  Fortunately *ppa:libreoffice/libreoffice-still* contains the good
  version so i had to change the repos in all servers

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/2039021/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to