[Libreoffice-bugs] [Bug 137102] New: UI: My first ever extension hits an error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 28 16:04:14 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137102

            Bug ID: 137102
           Summary: UI: My first ever extension hits an error
           Product: LibreOffice
           Version: 7.0.1.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: daniel at hemis.co.uk

Created attachment 165925
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165925&action=edit
Addons.xcu

I first posted this 'bug' on the ask-Libre and Open Office forums.

I am following the "Development/Create a Hello World LibreOffice extension"
tutorial and have created the files and folders as explained. However, when I
Add the extension to LibreCalc I get an error: i.e.

(com.sun.star.deployment.DeploymentException) { { Message = "An error occurred
while enabling: HelloWorldLibrary", Context = (com.sun.star.uno.XInterface)
@2175fe70 }, Cause = (any) { (com.sun.star.lang.IllegalArgumentException) { { {
Message = "", Context = (com.sun.star.uno.XInterface) @0 } }, ArgumentPosition
= (short) 0 } } }

The Extenion helloworld is visible but faded in the extension manager and there
is no icon on the spreadsheet.

To solve the problem, Bill ( Tue Sep 22, 2020 10:02 Open Office ) found an
error in the manifest file pkg-desc which should have read pkg-description. 
With this correction the helloworld module ran perfectly in Open Office but
still failed in LibreOffice.

Gabix on the ask-Libre forum pointed me to a question on this forum

show_bug.cgi?id=132005

However, I am new to XML and the way of programming LibreOffice so I only
understood some of the comments being made and that the conclusion was NONBUG.
I assume, therefore, that the problem is with the code in the Addon module, not
the software. I attach the Addons.xcu.

I note the
xmlns:oor="http://openoffice.org/2001/registry"
oor:package="org.openoffice.Office"
are these up to date

Any clues what this error is please. Sorry if this is the wrong forum.

-- 
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/20200928/424b1ae1/attachment.htm>


More information about the Libreoffice-bugs mailing list