Bug 63999 - Openclipart.org Integration 0.2.7: Insert - Picture - OpenClipart.org does not work
Summary: Openclipart.org Integration 0.2.7: Insert - Picture - OpenClipart.org does no...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: http://extensions.libreoffice.org/ext...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-27 14:20 UTC by Richard
Modified: 2014-08-11 15:29 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2013-04-27 14:20:24 UTC
LO Version 4.0.2.2 (Build ID: 4c82dcdd6efcd48b1d8bba66bfe1989deee49c3)
OpenClipart.org integration 0.2.7
WinXP SP3 fully updated.

Extension website states that;
This extension gives you an extra menu entry: Insert - Picture - OpenClipart.org... You can search for cliparts. Result is returned as buttons in the dialog ten on each page.

The extra menu entry does appear however it does not work and returns the following error message;

A Scripting Framework error occurred while running the Python script vnd.sun.star.script:openclipart.oxt|python|OpenClipartDialog.py$createDialog?language=Python&location=user:uno_packages.

Message: <class 'KeyError'>: 'openclipart.oxt'
  C:\Program Files\LibreOffice 4.0\program\pythonscript.py:365 in function getStorageUrlFromPersistentUrl() [package = self.mapPackageName2Path[ packageName ]]
  C:\Program Files\LibreOffice 4.0\program\pythonscript.py:933 in function getScript() [self.provCtx.uriHelper.getStorageURI(scriptUri) );]

The extension works via the View Tasks Pane option.
Comment 1 retired 2013-05-13 10:46:00 UTC
I can reproduce this on OS X 10.8.3, LO 4.0.3.3.

Setting platform to all.

Maybe a dev could have a look at this and leave a note if this is fixable on LO side of things or if this is plug-in related and thus NOTOURBUG.

Also I'm a bit puzzled about how the extension page deals with such situations. Imo the extension at http://extensions.libreoffice.org/extension-center/openclipart-org-integration should be marked broken. What good is it, if users try to install extensions that have proven to be broken?
Comment 2 ade2 2013-09-11 18:21:31 UTC
I can reproduce the error in Windows 7 64bit when following the official instruction steps(Insert > Picture > OpenClipart.org). I was about to uninstall it but did some searches for the error message and luckily found Richards post above. In case anyone else coming here missed the last sentence in Richards post I'll all caps repeat the same point here: 
THE OPENCLIPART.ORG EXTENSION WORKS AS LONG AS YOU ACCESS IT BY CLICKING VIEW > TASK PANE. 

So the only fixes needed are:
1. remove the entry from Insert > Picture
2. change the official instruction on http://extensions.libreoffice.org/extension-center/openclipart-org-integration to "view > task pane".
Comment 3 retired 2014-08-11 15:28:49 UTC
Extension dev needs to fix this. Not a LO bug.

Only thing LO can do, is improve extension webpage and extension management. But that's another bug then.