Fatal Error!!!!! Cannot access Libre Office

4 replies [Last post]
MetriRN
Offline
Last seen: 4 weeks 1 day ago
Title:
Joined: 23 Apr 2016
Posts: 3

I have Libre Office installed on my PC running Windows 8.x (most recent). I have my master password file in a spreadsheet file in Libre Office. Just now I clicked on the desktop shortcut to my file, and received the following message: (I don’t know how to do a screenshot in Windows on a PC).

Libre Office 5.0 – Fatal Error

The application cannot be started.
A general error occurred while accessing your central configuration.
(“missing whitespace before attribute in file:///C:/Program%20Files%20(x86)/LibreOffice%205/share/registry/main.xcd”)

The last time I opened the file successfully was yesterday. In between then and now, the only thing different I have done was download and install a driver for my Epson Printer to fix a printer problem.

Am I SOL??? If so, I’m totally screwed because that’s where I store all my passwords I can’t remember for everything!!!

RoryOF
Offline
Last seen: 6 hours 55 min ago
Title: ★★★★★
Joined: 19 Nov 2012
Posts: 331
Re: Fatal Error!!!!! Cannot access Libre Office
You need to access file main.xcd (use a copy) and discover what whitespace is missing. You have that file, we haven’t.
OO 4.1.2 on Xubuntu 16.04
MetriRN
Offline
Last seen: 4 weeks 1 day ago
Title:
Joined: 23 Apr 2016
Posts: 3
Can't open it
Found the file, which resolves to C:\Program Files (x86)\LibreOffice 5\share\registry

But I can’t open it—it asks what program to use to open it. I searched on how to open .xcd files and read that one should scan registry for invalid entries (?) and downloaded an app to do so. Wouldn’t let me open the app because I’m not an “Administrator” on my own PC. But perhaps it’s best I didn’t open it since I know it can be dangerous to muck about in registry.

How would I possible know where a “white space” is missing in the file location? What’s the difference between a “space” and a “white space”, anyway? TIA!

mark_t
Offline
Last seen: 8 hours 17 min ago
Title: ★★★★
Joined: 26 Apr 2016
Posts: 90
You can open the main.xcd file with notepad or wordpad
This is not a windows registry file.

You can open the main.xcd file with notepad or wordpad, using right click and open with, choose default program. You might want to uncheck the box to always open .xcd files with this application.

Make sure you keep a copy before you try and change anything.

If you change something in the file, you might need to save to a different location, and then copy from that new location to the original location. This depends how you have permissions set on that folder, but typical with windows that you can not write to files in “c:\Program Files”, but you can copy back to them with file manager.

If you just want to access your spreadsheet, you might just uninstall libreoffice and re-install again, which should recreate the main.xcd file.

LibreOffice 5.1.3.2, Windows 8.1
MetriRN
Offline
Last seen: 4 weeks 1 day ago
Title:
Joined: 23 Apr 2016
Posts: 3
reThanks, but...
This turned out to be a network problem. I was having other problems too, with my printer, and long loading times for web pages. I tried rebooting my router and Voila! Everything fixed, including this problem. Go figure.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.