poniedziałek, 11 lipca 2011

Ubuntu: Libreoffice crashes when clicking on Tools->Bibliography database

Today I tried to use the Bibliography feature from the libreoffice writer program on my Ubuntu Natty (11.04) laptop and to my surprise the program after clicking on this option silently crashed (on the left hand side one can find the screnshot from the menu).

The reason of the problem seems to be the missing libreoffice-base package. Once the package has been installed the crash problem has disappeared.

root@krystianek:/var/log# apt-get install libreoffice-base
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libhsqldb-java libservlet2.5-java
Suggested packages:
  libhsqldb-java-doc libhsqldb-java-gcj libmyodbc odbc-postgresql libsqliteodbc tdsodbc mdbtools libmysql-java libpg-java libjtds-java libreoffice-gcj libreoffice-report-builder
The following NEW packages will be installed:
  libhsqldb-java libreoffice-base libservlet2.5-java
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,121 kB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main libservlet2.5-java all 6.0.28-10ubuntu2 [186 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty/main libhsqldb-java all 1.8.0.10-9ubuntu1 [932 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main libreoffice-base amd64 1:3.3.2-1ubuntu5 [2,004 kB]
Fetched 3,121 kB in 12s (253 kB/s)                                                                                                                                                                                                          
Selecting previously deselected package libservlet2.5-java.
(Reading database ... 179188 files and directories currently installed.)
Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.28-10ubuntu2_all.deb) ...
Selecting previously deselected package libhsqldb-java.
Unpacking libhsqldb-java (from .../libhsqldb-java_1.8.0.10-9ubuntu1_all.deb) ...
Selecting previously deselected package libreoffice-base.
Unpacking libreoffice-base (from .../libreoffice-base_1%3a3.3.2-1ubuntu5_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up libservlet2.5-java (6.0.28-10ubuntu2) ...
Setting up libhsqldb-java (1.8.0.10-9ubuntu1) ...
Setting up libreoffice-base (1:3.3.2-1ubuntu5) ...


Shouldn't this option be disabled in the libreoffice writer when the libreoffice-base package is missing?

1 komentarz:

  1. Thanks for this. I was having the same problem and now it's working fine.
    I think that LibreOffice should just inform the user that he needs to install this feature instead of just crashing.

    OdpowiedzUsuń