Bug 105773 - OPENING REPORTS DOES NOT WORK WITH BASE/LIBRE-OFFICE 5.1.4.2/UBUNTU 16.0.4
Summary: OPENING REPORTS DOES NOT WORK WITH BASE/LIBRE-OFFICE 5.1.4.2/UBUNTU 16.0.4
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 17:10 UTC by pfalque
Modified: 2017-02-07 10:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
LO_5.2.5.1_BASE_REPORTS_ERROR (85.83 KB, application/pdf)
2017-02-06 19:54 UTC, pfalque
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pfalque 2017-02-05 17:10:00 UTC
I can open the reports of my BASE on Windows with LibreOffice 5.1.6 but no more on Ubuntu 16.0.4 with LibreOffice 5.1.4.2 (BUIL-ID: 1:5.1.4-0).

On Ubuntu/LibreOffice, all other components (Tables, Query, Forms) are running quite well.
On Ubuntu/LibreOffice, I receive the following message when I try to open any reports : "Impossible d'ouvrir le document <nom du rapport>".

When searching on the net, I found that is probably a problem with the ORB extension. 
I found one and install it but now the message is "Impossible d'ouvrir le document <nom du rapport> loading component library <file:///usr/lib/libreoffice/program/../program/librptlo.so> failed".

Thank you for your help.

Kinds

Patrice
Comment 1 Julien Nabet 2017-02-05 19:39:27 UTC
5.1 branch is EOL, please use a more recent LO version (last one is 5.2.5), see https://launchpad.net/~libreoffice/+archive/ubuntu/ppa to install it from LO ppa.

Waiting for your feedback.
Comment 2 Robert Großkopf 2017-02-05 20:38:32 UTC
Could be Report-Builder isn't installed on the Ubuntu-Build. Do you use the LO-version from LO directly or from your repository?
Comment 3 pfalque 2017-02-06 19:54:13 UTC
Created attachment 130958 [details]
LO_5.2.5.1_BASE_REPORTS_ERROR
Comment 4 pfalque 2017-02-06 20:02:28 UTC
Comment on attachment 130958 [details]
LO_5.2.5.1_BASE_REPORTS_ERROR

I have desinstalled LibreOffice 5.1.4.2 and installed LibreOffice 5.2.5.1 from the official container: https://doc.ubuntu-fr.org/libreoffice#via_les_depots_officiels.

I have restarted my system.

Now I get another error message when attempting to open reports: "caught a java.lang.IncompatibleClassChangeError"
See "LO_5.2.5.1_BASE_REPORTS_ERROR.pdf" in attachement.

Thanks for your help.
Comment 5 Julien Nabet 2017-02-06 21:49:05 UTC
Which LO version do you use 32 or 64 bits?
Same question for Java.

Indeed, if you use LO 32 bits, you must have Java 32 bits
and for LO 64 bits, you need Java 64 bits.
Comment 6 pfalque 2017-02-07 08:04:06 UTC
How can I check on my system (what is the command f.i. in Terminal) ?

->To check if LO 32 or 64 bits ?
->To check if Java 32 or 64 bits ?

(It is not always clear when installing something on Ubuntu if it is Ok about that...)

Thanks
Comment 7 Alex Thurgood 2017-02-07 10:57:46 UTC
(In reply to pfalque from comment #4)
> Comment on attachment 130958 [details]
> LO_5.2.5.1_BASE_REPORTS_ERROR
> 
> I have desinstalled LibreOffice 5.1.4.2 and installed LibreOffice 5.2.5.1
> from the official container:
> https://doc.ubuntu-fr.org/libreoffice#via_les_depots_officiels.
> 
> I have restarted my system.
> 
> Now I get another error message when attempting to open reports: "caught a
> java.lang.IncompatibleClassChangeError"
> See "LO_5.2.5.1_BASE_REPORTS_ERROR.pdf" in attachement.


@pfalque : you need to completely remove/purge the Ubuntu provided report-builder libraries/executables before you install newer Ubuntu/PPA-provided packages otherwise you will get error messages like the one above. You also need  to check whether the newer version repo has the report-builder extension available for that version.

None of this is a LibreOffice problem per se, it is a packaging problem by the respective distrib provider or distrib-associated repo.

Setting to NOTOURBUG

If you want to try the latest TDF version, for which you won't get any system integration, you can either :

 - purge your system completely of any *buntu-provided LO packages, and then install LO DEBs from TDF download page; or

- install the TDF LO DEBs in parallel to your existing installation, bearing in mind that you would be better off ensuring that you use a separate user profile for each one to avoid conflicts between extension versions.