LibreOffice does not start after update

Help,

LibreOffice does not start after an update!!!

it shows the splashscreen for a few seconds and then disapears

I’m getting this message on the terminal:

terminate called after throwing an instance of 'com::sun::star::uno::RuntimeException’

how can i get it back to work?

Thanks

(i’m posting this here after a recommendation in http://forums.opensuse.org/english/get-technical-help-here/applications/475329-libreoffice-does-not-start-after-update.html )

I suggest you remove all files in the following two folders and then see if you can get LibreOffice to run:

/home/yourname/.libreoffice/3-suse/user/uno_packages/cache/uno_packages

/usr/lib64/libreoffice/share/uno_packages/cache/uno_packages

Let us know if this helped. Files that start with a period like .libreoffice is a hidden file or folder.

Thank You,

Due to your repository list you posted here:

… I see that you run a mixture of 12.1 and Tumbleweed. This also breaks things potentially. You have to switch every repository with the ending /openSUSE_12.1/ to /openSUSE_Tumbleweed/. Most repos have a Tumbleweed-directory since 12.1. In 11.4 days that was not the case, only some important like packman had a special tumbleweed-directory.
Repos that do not have one (like the mozilla-repo) and also FACTORY-repos should not be included if not absolutely needed. Updated firefox & co come through tumbleweed only 1 or 2 days in delay. The advantage you get is that they were built and tested against the tumbleweed packages - so more stability!

Also:
You have to switch ALL your standard-repos like
http://download.opensuse.org/update/12.1/
http://download.opensuse.org/update/openSUSE-current/

to get a rolling distro.

see
Portal:Tumbleweed - openSUSE
for more information.

After making all these changes stay with

sudo zypper dup

as your only upgrade option. “zypper up” or graphical updates through apper or yast are not supported or tested by Greg K.-H., the tumbleweed maintainer.
have fun, thomas

The solution may have to be a bit less massive then a complete “zypper dup”.

Remove the “LibreOffice” repo, leave the “LibreOffice Tumbleweed” repo.
Start the softwaremanager
Select the Repo view
Tick the LibreOffice Tumbleweed repo
Click “Switch system packages to the versions…”
Click Accept
You should end up with LibreOffice packages coming from a single repo, which IMHO too is not the case in this moment, and causing the trouble.

But, Greg K.-H. says frequently himself that he only supports zypper dup for tumbleweed.
And because he comes from a mixture of 12.1 and tumbleweed he should definitely do at least once a zypper dup to finish the distribution upgrade !] from 12.1 to tumbleweed!
otherwise he should delete the tumbleweed repo and stay completely with 12.1 - and even to do switch back to 12.1 he has to do a zypper dup once after deleting the tumble-repo.
cheers thomas

On 2012-05-17 18:26, tomtomme wrote:

> But, Greg K.-H. says frequently himself that he only supports zypper
> dup for tumbleweed.
> And because he comes from a mixture of 12.1 and tumbleweed he should
> definitely do at least once a zypper dup to finish the distribution
> upgrade !] from 12.1 to tumbleweed!
> otherwise he should delete the tumbleweed repo and stay completely with
> 12.1 - and even to do switch back to 12.1 he has to do a zypper dup once
> after deleting the tumble-repo.

Correct.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

First of all, i’m sorry for the delay. I was not able to get to the computer yesterday. :frowning:

I do not have any .libreoffice at /home/…/.libreoffice and the other directory was already empty.

I am now trying the other solutions. I’ll get back as soon as i get a result :slight_smile:

Thank you all

When updating i get an error related to /usr/lib/libreoffice/share/prereg/.lock stating that if it does not apply i should delete the locked file. I will now try the zypper dup solution :\

Please copy and paste output, like error mentioned, literally, between CODE tags. The zypper dup should bring the same error.
A question though, since I never have seen problems like this one before, did you try to start LibreOffice as root?

Hi,

my actual repos are:

#  | Alcunha                            | Nome                               | Activado | Refrescar | Prioridade | Tipo   | URI                                                                                | Serviço
---+------------------------------------+------------------------------------+----------+-----------+------------+--------+------------------------------------------------------------------------------------+--------
 1 | Education                          | Education                          | Sim      | Sim       |   99       | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_Tumbleweed/           |        
 2 | LibreOffice:Stable                 | LibreOffice:Stable                 | Sim      | Sim       |   99       | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_Tumbleweed/ |        
 3 | Tumbleweed                         | Tumbleweed                         | Sim      | Sim       |   99       | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/           |        
 4 | Updates-for-openSUSE-12.1-12.1-1.4 | Updates for openSUSE 12.1 12.1-1.4 | Sim      | Sim       |   99       | rpm-md | http://download.opensuse.org/update/openSUSE-current/                              |        
 5 | _Mozilla                           | Mozilla                            | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/                   |        
 6 | devel:languages:perl               | devel:languages:perl               | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.1/    |        
 7 | devel:languages:python             | devel:languages:python             | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.1/  |        
 8 | home:prusnak                       | home:prusnak                       | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/home:/prusnak/openSUSE_Factory/          |        
 9 | libdvdcss repository               | libdvdcss repository               | Não      | Não       |   99       | rpm-md | http://opensuse-guide.org/repo/12.1/                                               |        
10 | openSUSE-12.1-12.1-1.4             | openSUSE-12.1-12.1-1.4             | Sim      | Sim       |   99       | yast2  | cd:///?devices=/dev/disk/by-id/ata-LITE-ON_COMBO_SOHC-4832K,/dev/sr0,/dev/sr1      |        
11 | packman.inode.at-suse              | Packman Repository                 | Não      | Não       |   99       | rpm-md | http://packman.inode.at/suse/12.1/                                                 |        
12 | repo-debug                         | openSUSE-12.1-Debug                | Não      | Não       |   99       | NONE   | http://download.opensuse.org/debug/distribution/12.1/repo/oss/                     |        
13 | repo-debug-update                  | openSUSE-12.1-Update-Debug         | Não      | Sim       |   99       | rpm-md | http://download.opensuse.org/debug/update/12.1/                                    |        
14 | repo-non-oss                       | openSUSE-12.1-Non-Oss              | Sim      | Sim       |   99       | yast2  | http://download.opensuse.org/distribution/openSUSE-current/repo/non-oss/           |        
15 | repo-oss                           | openSUSE-12.1-Oss                  | Sim      | Sim       |   99       | yast2  | http://download.opensuse.org/distribution/openSUSE-current/repo/oss/               |        
16 | repo-source                        | openSUSE-12.1-Source               | Não      | Não       |   99       | NONE   | http://download.opensuse.org/source/distribution/12.1/repo/oss/           

has to the error, i don’t know how can i get it again… Should i remove and reinstall Libreoffice? The error appeared in the installation but the result was a “successful installation”

Funny thing: LibreOffice starts up fine as root

#  | Alcunha                            | Nome                               | Activado | Refrescar | Prioridade | Tipo   | URI                                                                                | Serviço
---+------------------------------------+------------------------------------+----------+-----------+------------+--------+------------------------------------------------------------------------------------+--------
 5 | _Mozilla                           | Mozilla                            | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/                   |        
 6 | devel:languages:perl               | devel:languages:perl               | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.1/    |        
 7 | devel:languages:python             | devel:languages:python             | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.1/  |        
 8 | home:prusnak                       | home:prusnak                       | Não      | Não       |   99       | rpm-md | http://download.opensuse.org/repositories/home:/prusnak/openSUSE_Factory/          |        
 9 | libdvdcss repository               | libdvdcss repository               | Não      | Não       |   99       | rpm-md | http://opensuse-guide.org/repo/12.1/                                               |        
10 | openSUSE-12.1-12.1-1.4             | openSUSE-12.1-12.1-1.4             | Sim      | Sim       |   99       | yast2  | cd:///?devices=/dev/disk/by-id/ata-LITE-ON_COMBO_SOHC-4832K,/dev/sr0,/dev/sr1      |        
11 | packman.inode.at-suse              | Packman Repository                 | Não      | Não       |   99       | rpm-md | http://packman.inode.at/suse/12.1/                                                 |        

I still suggest that you switch those to tumbleweed (especially packman) or delete them (mozilla, not really needed). An easy solution may also be to delete the libreoffice repo and use the older version of the tumble-repo. Then do zypper dup again.

What I do not understand is, how your .libreoffice can be empty. Please show output of

cat /home/username/.libreoffice/

As root starts libreoffice fine, this often points to an error located in there.

LibreOffice starts up fine as roor

Never start desktop apps as root. Part of your trouble may very well be in there.
For now: I’m convinced all this can be fixed, but it may take a long time. I tend to suggest a nice clean reinstall.

I changed the repos to what you’ve said :slight_smile: except for:

#  | Alcunha                            | Nome                               | Activado | Refrescar | Prioridade | Tipo   | URI                                                                                | Serviço
---+------------------------------------+------------------------------------+----------+-----------+------------+--------+------------------------------------------------------------------------------------+--------

10 | openSUSE-12.1-12.1-1.4             | openSUSE-12.1-12.1-1.4             | Sim      | Sim       |   99       | yast2  | cd:///?devices=/dev/disk/by-id/ata-LITE-ON_COMBO_SOHC-4832K,/dev/sr0,/dev/sr1      |                  |        

is this one really to make any change or delete?!

the result i get from you command line is always:

cat: /home/internet/.libreoffice/: No such file or directory

it does not matter if i’m root or regular user. Always the same result.

I’m guessing i’ll really have to reinstall :frowning:

is this one really to make any change or delete?!

delete, if your internet connection is fast and relyable, as it is of same content as the online oss-repo. If you frequently install NEW programs from oss, you might keep it, because they may be installed faster from DVD than from the online-repo. But you always have to search and insert the dvd…