hanya / MRI

An object introspection tool for OpenOffice API
http://extensions.openoffice.org/en/project/MRI
Apache License 2.0
46 stars 7 forks source link

Install/help issues w/ LO 5.2.3.3 / 5.2.2.2 and MRI 1.3.2 / 1.3.3 #8

Closed TopView closed 7 years ago

TopView commented 7 years ago

Hi again,

MRI is great! Thank you. But it has a few, possibly related, issues.

A) On my system, (and one other guy's), first time installing hangs, but 2nd time through installs it, as follows:

1) I download the .otx file. Open LO, select Tools | Extension Manager, click Add and select the downloaded file. The first time I try this LO hangs. Note, it instantly shows about 1/4 inch of grey progress in the progress bar, or at least that's what's showing when it hangs. Because LO is hung, I have to hit the close "x" button, wait till LO times out, (a few seconds), and select Force Quit.

2) Then reopen LO, recover, and select Tools | Extension Manager, and MRI now shows up in the list of extensions, but with a "!" triangle, and it's not enabled.

So I enable it, close and reopen LO, and now MRI appears to be installed, enabled, and works using mri() in my Basic code.

B) Also Help | MRI Help reports: "Faild [sic] to open help files. Help system is not supported by the application. Error". So help is for some reason broken. I looked in the odt file, and the help files seem to be in there. Also my other LO help works.

C) Also Disable and Remove sometimes work, and sometimes hang. Again, I have to Force Quit, then recover, and repeat the Disable / Remove to get it to remove.

I have tested 3 version sets on Debian Jessie 8.6 as follows:

MRI LO


1.3.3 5.2.3.3 1.3.3 5.2.3.3 1.3.2 5.2.3.3

I think the other guy is on Windows (but not certain).

TopView commented 7 years ago

If I delete the help subdirectory from the .odt file, and also remove the META-INF/manifest.xml help line, then the install/uninstall problems go away. So it's something about the help that is messing up the install.

hanya commented 7 years ago

Thanks for the report.

So it's something about the help that is messing up the install. It looks this means the problem is there in the LibreOffice.

TopView commented 7 years ago

I tried using unopkg from Terminal to Add/Remove MRI, (rather than GUI extension manager), and using it I don't see any hanging. So works better. (I was hoping I might see some error message).

I also tried installing this package: libreoffice-help-en-us, but it didn't make help work.

I am still getting this message:

 "Faild to open help files.  Help system is not supported by the 

application. Error."

And I noticed that you changed your help systems about a year ago, but I don't understand much about how your help works. Any ideas on how I might start to debug or fix help? Is there some sort of library I might be missing or something?

Also, in reading your help online, it's clear you or whoever wrote it is probably bilingual, w/ english not being your first language. So do you want any help touching up the help text to read a little better in english?

-- Howard

On 12/19/2016 05:24 PM, hanya wrote:

So it's something about the help that is messing up the install. It looks this means the problem is there in the LibreOffice.

TopView commented 7 years ago

I just installed the LO help pack to see what that gives, and not only do I now get much quicker LO help, but at the bottom of the Contents, is help for MRI! So even thought I still get an error message from MRI | help | get help, at least LO now gives me MRI help.

On 12/19/2016 05:24 PM, hanya wrote:

Thanks for the report.

So it's something about the help that is messing up the install.
It looks this means the problem is there in the LibreOffice.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hanya/MRI/issues/8#issuecomment-268144386, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFEAK1uFKAL0nQ9Y8PByL90WPpFlJ80ks5rJ0pbgaJpZM4LRX2s.

hanya commented 7 years ago

MRI checks /org.openoffice.Office.SFX/Help configuration to know installation of help files. But it looks LO does not have such configuration entry any more. I checked content of help package but no configuration files contained. It looks we need to check location specified in config/Path/Help.

hanya commented 7 years ago

I pushed the fix. Now we can open MRI help files through Help - MRI help on the MRI window if help package is installed on LibreOffice.

But there is no way to open help files contained in extension packages if no help pack is installed. The same contents can be seen in Wiki section on this github.