Bug 137102 - UI: My first ever extension hits an error
Summary: UI: My first ever extension hits an error
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 16:04 UTC by Daniel Brown
Modified: 2022-06-23 03:49 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Addons.xcu (2.55 KB, text/plain)
2020-09-28 16:04 UTC, Daniel Brown
Details
Hello World Tutorial (18.05 KB, application/vnd.openofficeorg.extension)
2020-10-06 06:56 UTC, Daniel Brown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Brown 2020-09-28 16:04:14 UTC
Created attachment 165925 [details]
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.
Comment 1 Samuel Mehrbrodt (allotropia) 2020-10-05 15:02:49 UTC
Please attach the whole extension.
Comment 2 Daniel Brown 2020-10-06 06:56:23 UTC
Created attachment 166112 [details]
Hello World Tutorial
Comment 3 QA Administrators 2020-10-07 03:57:04 UTC Comment hidden (obsolete)
Comment 4 Xisco Faulí 2020-10-12 17:26:46 UTC
Hello Daniel,
Please share the link to the ask LibreOffice page
Comment 6 Xisco Faulí 2021-11-23 11:10:52 UTC
Hello Daniel,
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 7 QA Administrators 2022-05-23 03:39:25 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2022-06-23 03:49:50 UTC
Dear Daniel Brown,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp