Cannot enable OpenOffice extension
Hello,
I have tried to install the OpenOffice extension (provided on the website as a .zip file) - I am using version 2.2.1 of OpenOffice under Linux. I have tried (using Tools - Extension Manager) to install the extension, as administrator into 'OpenOffice Extensions' *and*, seperately, as an ordinary user into 'My Extensions'. The .oxt file shows up in both cases in the Extension Manager, but the 'Enable' button is always disabled and no toolbar items appear.
What am I doing wrong?
Many thanks in advance!
I have tried to install the OpenOffice extension (provided on the website as a .zip file) - I am using version 2.2.1 of OpenOffice under Linux. I have tried (using Tools - Extension Manager) to install the extension, as administrator into 'OpenOffice Extensions' *and*, seperately, as an ordinary user into 'My Extensions'. The .oxt file shows up in both cases in the Extension Manager, but the 'Enable' button is always disabled and no toolbar items appear.
What am I doing wrong?
Many thanks in advance!
- does the extension show as enabled?
- have you restarted OOo?
I have installed the extension on several machines (both 64 and 32 bit), and never had a problem.
- No, the extension doesn't show as enabled, and the 'Enable' button is grayed out
- Yes
Could you explain what you did when you tried to install the extension as root? Did you start OOo as root and then use the extension manager?
I'm asking these questions because I'm thinking that the fact that you can see the extension but it cannot be enabled is the sign of a permissions problem. But what I'd suggest trying at this point depends on how you installed the extension as administrator.
Thanks.
su,
cd to OOo program directory,
'unopkg gui' to open extensions manager,
'Add'
In addition, I'd delete the settings directory created for root when using that method. In other words, you'd want to delete /root/.ooo-2.0 and its contents.
Once you've done this, you ought to be able to reinstall the extension as your regular mortal user, in which case it will be written to a subdirectory of ~/.ooo-2.0 (as opposed to /root/.ooo-2.0/, where it is now, I believe). So, once you've removed and deleted as suggested, restart OOo as your user and then use Tools -> Extensions Manager... to reinstall Zotero.oxt as that user.
Hopefully, this will sort things out for you. :)
Thank to your help, I finally found out what was going wrong.
It seemed that the original zip file contained a file called 'Zotero-OOo-Plugin-1.0a4.oxt', which in turn contained another file called 'Zotero.oxt' which found I found specifically by looking deep in the .openoffice.org2 directory heirarchy.
The Extension Manager did not seem willing to unpack this particular set of Russian dolls all the way down to the part with the functionality 8-)
So having copied out the file 'Zotero.oxt', I deleted all extensions and then pointed the Extension Manager at this *specific* file, *NOT* the original .oxt file.
And now, after restarting, finally, it seems to work.
Many thanks!
We package the oxt in a zip mainly just so that each version's download can have a unique name, avoiding caching issues, while keeping the filename of the oxt file the same. That way it will automatically overwrite the old version. What do other OO extensions do?
In the meantime, I suppose we could stop bundling the oxt in a zip, but we'd have to adjust the instructions to make it clear that you had to remove the old version manually when updating.
http://www.zotero.org/download/integration/OOo-Plugin-1.0a4/Zotero.oxt
where a new folder is created for each new version, while the file name stays the same?
I tried creating a description.xml in the oxt file with an extension identifier, but when I gave a second copy of the oxt file a different filename, NeoOffice still installed a second copy of the extension rather than offering to replace the existing one. Not sure why...