Bug 53381 - LibreOffice 3.6 fails to start just after installation (InvalidRegistryException, script-provider-for-python)
Summary: LibreOffice 3.6 fails to start just after installation (InvalidRegistryExcept...
Status: RESOLVED DUPLICATE of bug 53006
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-11 16:14 UTC by Guillaume Knispel
Modified: 2012-08-24 11:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
main error message InvalidRegistryException, script-provider-for-python (101.97 KB, image/png)
2012-08-11 16:14 UTC, Guillaume Knispel
Details
second error message telling soffice.bin crashed (104.82 KB, image/png)
2012-08-11 16:15 UTC, Guillaume Knispel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Knispel 2012-08-11 16:14:15 UTC
Created attachment 65439 [details]
main error message InvalidRegistryException, script-provider-for-python

After an upgrade from a 3.5.2 (or 3.5.3, I'm not sure), LibreOffice 3.6 fails to start with an error message related to Python.

Attached are the screen shoots of the two error messages I get when trying to run LibreOffice.
Comment 1 Guillaume Knispel 2012-08-11 16:15:35 UTC
Created attachment 65440 [details]
second error message telling soffice.bin crashed
Comment 2 Guillaume Knispel 2012-08-11 16:18:15 UTC
Textual retranscription of the main error message:

InvalidRegistryException:file:///C:/Program%20Files%20(x86)/LibreOFfice%203.6/program/../share/extensions/script-provider-for-python/components.rdb: duplicate <implementation name="org.openoffice.pyuno.LanguageScriptProviderForPython">
Comment 3 Guillaume Knispel 2012-08-11 16:30:57 UTC
I just tried to completely desinstall and the reinstall LibreOffice 3.6 and run into the same problem.
Comment 4 cyp 2012-08-11 18:21:33 UTC
Same error here on windows 7 64 bit.

I fix the problem by removing "%appdata%\LibreOffice"
Comment 5 Brian 2012-08-11 23:54:37 UTC
I encountered a similar fatal error after upgrading from LibreOffice 3.4.4 to 3.6.0 on Windows 7.  In my case though, it referred to NLPSolver rather than script-provider-for-python:

---------------------------
Fatal Error
---------------------------
Unhandled exception:
InvalidRegistryException: file:///C:/Program%20Files%20(x86)/LibreOffice%203.6/program/../share/extensions/NLPSolver/components.rdb: duplicate <implementation name="com.sun.star.comp.Calc.NLPSolver.DEPSSolverImpl">
---------------------------

followed by:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program Files (x86)\LibreOffice 3.6\program\soffice.bin



This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------



Deleting the "C:\Users\Brian\AppData\Roaming\LibreOffice\3\user\extensions" folder and re-installing fixed the error for me.
Comment 6 manj_k 2012-08-12 10:40:52 UTC
@Guillaume Knispel:
Thanks for your bug report.

Please try to remove the directory 'extensions' in your LibreOffice user
profile (%appdata%\LibreOffice\3\user\extensions). See also comment #5 .
Then restart LibO 3.6.0.4.

Probably a duplicate of 'Bug 53006 - Autocorrection TWo INitial CApitals does not work because of bundled extensions problem'.
Comment 7 Guillaume Knispel 2012-08-12 14:18:16 UTC
Hi,
I removed extension and reinstalled. LibreOffice seems to start properly now.
Thanks for your help!
Comment 8 manj_k 2012-08-12 14:28:51 UTC
You don't need to reinstall—removing the directory "extensions" in your LibreOffice user profile should be a sufficient workaround.

*** This bug has been marked as a duplicate of bug 53006 ***
Comment 9 Guillaume Knispel 2012-08-12 14:34:20 UTC
ok, thanks for the info
Comment 10 luja 2012-08-24 11:24:21 UTC
Solution
Rename or delete folder in profile
%appdata%\LibreOffice\3\user\. rename or delete folder extensions.

Credits:
http://blog.fbausch.de/2012/08/17/libreoffice-3-6-update-probleme/


SUGGESTION:
Modify installer in order to search for all %appdata%\LibreOffice\3\user\extension  folders and rename them to %appdata%\LibreOffice\3\user\extension_bck_3.5

Make a message box telling which folders were renamed on which profiles, and
tell the reason. e.gm "incompatibility of settings"

IT GIVES A VERY BAD IMPRESSION FOR LIBREOFFICE IF AN UPGRADE FAILS!
so please include the workaround in the updater/installer.msi
Afterwards try to fix the real problem, causing the exeption!

thanks for libre office

luja