Bug 71794 - Lightproof: Cannot install extension Lightproof editor 0.1-2 in LibreOffice 4.1.2.3
Summary: Lightproof: Cannot install extension Lightproof editor 0.1-2 in LibreOffice 4...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
4.1.2.3 release
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Not Assigned
URL: http://extensions.libreoffice.org/ext...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 15:21 UTC by goldfish
Modified: 2013-12-17 13:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
editor extension (33.62 KB, application/vnd.openofficeorg.extension)
2013-11-20 07:56 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description goldfish 2013-11-19 15:21:02 UTC
Cannot install extension Lightproof editor 0.1-2 in LibreOffice 4.1.2.3  & get this error:

(com.sun.star.uno.RuntimeException) { { Message = "<class 'SyntaxError'>: invalid syntax (Lightproof.py, line 116), traceback follows\X000a  /usr/lib/libreoffice/program/pythonloader.py:102 in function getModuleFromUrl() [codeobject = compile( src, encfile(filename), \"exec\" )]\X000a  /usr/lib/libreoffice/program/pythonloader.py:149 in function writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]\X000a\X000a", Context = (com.sun.star.uno.XInterface) @0 } }

Please could this error be rectified.
Comment 1 Stephan Bergmann 2013-11-19 15:36:16 UTC
Presumably <http://extensions.libreoffice.org/extension-center/lightproof-editor/releases/0.1-2/lightproof_editor-0.1-2.oxt> requires Python 2 and would thus no longer work with LO 4's Python 3 (see <http://www.libreoffice.org/download/4-0-new-features-and-fixes/#Python>).  However, <http://cgit.freedesktop.org/libreoffice/lightproof/commit/?id=0c98d73e68782631f17f413a3a7451773dfd8197> "Python 3.3 port" makes it look like this is a known issue that is already being worked on.  I guess László can give details.
Comment 2 László Németh 2013-11-20 07:56:00 UTC
Created attachment 89515 [details]
editor extension
Comment 3 László Németh 2013-11-20 07:58:53 UTC
Python 3.3 needs binary open for the generation of editor extension (copying PNG icons), fixed in the git repository and attached an editor component to this issue to test it. Thanks for the bug report!

Stephan: thanks for the CC and your comment!
Comment 4 goldfish 2013-11-20 12:40:43 UTC
I downloaded  attachment 89515 [details] (link provided by László above) & was able to install LightProof 0.1. Three new icons have appeared on the top of toolbar of LibreOffice (LO). One icon has a green arrow, another icon has a red arrow & the third has a magnifying glass. 

However, I am not sure it is working. For example, the repetition of words is not underlined like it used to when I had installed LanguageTool. Some of the files that I used to check LightProof lost its formatting on clicking the above-mentioned icons. 

The good part is that I find  LightProof does not slow the starting of LO unlike LanguageTool that required Java & I feel Java was responsible for slowing LO which used to take upto 14 seconds to start. Now LO starts in around 2 seconds (without Java).

I would like the add that I am using Ubuntu 13.10 that was upgraded from 13.04.

Thanks.
Comment 5 goldfish 2013-11-20 12:49:25 UTC
P.S.  Although I am able to install lightproof_editor-0.1.oxt, I am unable to install lightproof_editor-0.1-2.oxt. 

lightproof_editor-0.1-2.oxt gives the same error message that I have pasted with the initial description of this bug.
Comment 6 retired 2013-12-13 10:55:06 UTC
http://extensions.libreoffice.org/extension-center/lightproof-editor

No update for over a year. Basically the extension needs to be updated. And this isn't really anything LO can do anything about. Setting to NOTOURBUG.