[Libreoffice-bugs] [Bug 132005] New: Calc extension fails in LibreOffice (works in Apache OpenOffice)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 9 15:04:02 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=132005
Bug ID: 132005
Summary: Calc extension fails in LibreOffice (works in Apache
OpenOffice)
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Extensions
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: dkgabi at gmail.com
Created attachment 159451
--> https://bugs.documentfoundation.org/attachment.cgi?id=159451&action=edit
Calc extension that does not work in LibreOffice
I have a Calc extension that contains a simple StarBasic macro. The purpose is
to export an opened spreadsheet file to a tab-separated text file in UTF-8 with
no text delimiter and assign a name to the exported TSV file equal to the name
of the original file except for the name extension (if the name extension is a
common spreadsheet file name extension such as .ods/.xls/.xlsx, it is replaced
with .txt, otherwise .txt is added to the file name).
When installed, the Calc extension creates (in Calc only) a custom toolbar with
one button and a custom item under the File menu (namely, “Export to OmegaT
Glossary”).
The Calc extension installs and operates as described above in Apache
OpenOffice 4.2.0 (for the sake of clarity: it is a development build from
2016), but not in LibreOffice, including LO 6.4.2 (tested also with earlier
6.4.0, 6.3.4 and other versions, mainly under Windows 7). An attempt to install
produces an error message that I cannot interpret (see below). At
ask.libreoffice.org, I have been advised to report the issue here, which I do.
Steps to reproduce:
1. Download the attached extension file.
2. Try to install it. An error message should appear as follows:
(com.sun.star.deployment.DeploymentException) { { Message = "An error occurred
while enabling: ExportToGlossary", Context = (com.sun.star.uno.XInterface)
©50038c8 }, Cause = (any) { (com.sun.star.lang.IllegalArgumentException) { { {
Message = "", Context = (com.sun.star.uno.XInterface) @0 }}, ArgumentPosition =
(short) 0 }}}
3. Close LibreOffice, restart.
4. Open the Extension Manager.
5. The Calc extension appears in the list, but inactive.
6. Click on Enable. An error message should appear as follows:
(com.sun.star.lang.IllegalArgumentException) { { { Message = "", Context =
(com.sun.star.uno.XInterface) @0 }}, ArgumentPosition = (short) 0 )
Afterwards, the extension does not become active, however, can be uninstalled.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200409/82fac6a5/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list