hanya / mri Goto Github PK
View Code? Open in Web Editor NEWAn object introspection tool for OpenOffice API
Home Page: http://extensions.openoffice.org/en/project/MRI
License: Apache License 2.0
An object introspection tool for OpenOffice API
Home Page: http://extensions.openoffice.org/en/project/MRI
License: Apache License 2.0
Please use latest version which can be downloaded from https://github.com/hanya/MRI/releases
The owner of the following page in the LibreOffice extension repository is not me:
https://extensions.libreoffice.org/extensions/mri-uno-object-inspection-tool
I can not update the packages listed in the page myself.
hello,
I recently discovered the MRI add-on and installed it in LibreOffice 7.3.2.2 (portable, french), but opening the MRI help fails with this message "Fix your browser configuration."
my browser is Firefox 100 (portable, french too) ; it's the default browser and it shows the local libreoffice french help fine.
might you precise what kind of issue has the browser to get this message ?
is the internal MRI help more detailed than the github wiki or do they have the same content ?
remark: some wiki pages don't load : i get the message "Sorry, there was an error rendering this page."
thanks in advance for the response
eseb63
MRI 1.1.4 is the "latest" version available on the LibreOffice extension page.
Trying to install it from the"Manage extensions" dialog box gets a message box telling :
(com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Zip END signature not found!", Context = (com.sun.star.uno.XInterface) @7fccd466b6a0 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } }, TargetException = (any) { (com.sun.star.uno.Exception) { Message = "Bad Zip File, ZipException: Zip END signature not found!", Context = (com.sun.star.uno.XInterface) @7fccd466b6a0 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } }
I went to your Github page and found the 1.3.3 version, which installed fine.
May I suggest to update the LibreOffice page ?
I have a second problem : the "Run MRI" page points the tentative user to to Tools -> Add-Ons -> MRI entry.
On a French LibreOffice Calc, I do not have a "Add-On" entry in the "Outils" (i. e. Tools) menu. I can try to run the macro My macros -> MRILib -> Module1 -> MRI, but that just frozen hard LibreOffice Calc (I had to kill it and restart).
Could you clarify ?
I tried to install every version of MRI until the latest one (MRI-1.3.1). It doesn't show anything after I click the MRI tools , (either in the basic IDE or in the add-ons --> MRI Tools).I had installed all the package properly and there was no error on the system and in the installed LO at all ..
I am suspicious on the package code that is not suitable anymore with the newest LO. but I had no programming skill with it. So please, fix this bug so I can use it again...
I am sorry if my english in bad, It is not my native language
Config values for text (size, etc.), position and size of window only works once (first time the window is reopened after changing the config). Then the config is ignored and reset to default (while the changed values are displayed).
SDK - path doesn't work. MRI tries to add both path's (browser & sdk-dir) together instead of just using the specified sdk-path.
A feature request: it would be really nice to see a way to save the state to a file.
UNO API most often very hard to find something, also e.g PyUNO suffer of an awful architecture. So it would be a really great debugging facility if there was a way to save a state in a text file โ this would allow to compare properties before and after some change in Office using a simple diff utility, and thus figure out for how to do something.
OpenOffice 4.1.2 (i.e. python 2.7.6) on Windows 7.
MRI does not launch and complains with the following traceback:
_"C:\Users\127998\AppData\Roaming\OpenOffice\4\user\uno_packages\cache\uno_packages
\sv59ol0.tmp_\MRI-1.3.3.oxt\pythonpath\mytools_Mri\web.py", line 104, in __init__
super().__init__(cast, config)
TypeError: super() takes at least 1 argument (0 given)_
Modifying the line 104 with something like super(DoxygenIDLRef, self).__init__(cast, config)
works fine.
Thanks.
Since LO 4.2 or earlier, LO switched their document generator for IDL reference to Doxygen.
Current URL: "{SDK_BASE}docs/common/ref/{PAGE_NAME}.html#{ANCHOR}"
LO: "{SDK_BASE}docs/idl/ref/{TYPE}{PAGE_NAME}.html#{ANCHOR}
Format of the definition:
struct: type module_name::namename (name is duplicated in this case)
long com::sun::star::awt::Point::YY
enum: @ module_name::namename (no enum name, only value name)
@ com::sun::star::awt::OBLIQUEOBLIQUE
no value spacified for the enum: @
const: const type module_name::namename
const short com::sun::star::lang::SystemDependent::SYSTEM_ANDROIDSYSTEM_ANDROID
interface: type module_name::namenamedefs
com::sun::star::uno::XInterface com::sun::star::lang::XSingleServiceFactory::createInstanceWithArgumentscreateInstanceWithArguments([in] sequence< any > aArguments)
property: type module_name::namename
boolean com::sun::star::awt::UnoControlFixedTextModel::PrintablePrintable
The help system has been totally renewed in LibO 6.1. Now it works by opening help pages in the system web browser. Unfortunately this new setup seems to break the help pages of MRI, which do not appear anymore neither in the "index" nor in the "contents" sections of the documentation.
I try to update MRI 1.3.1 to 1.3.3 with Extension manager
Once click on "Install" button, I got this message:
Error while downloading extension MRI - UNO Object Inspection Tool. The error message is: Could not download https://github.com/hanya/MRI/releases/download/v1.3.3/MRI-1.3.3.oxt. the inputstream is missing necessaryto create a content
The extension will not be installed.
Error while installing extension MRI - UNO Object Inspection Tool. The extension will not be installed.
Hi, I want to report that menus can not been click.
Using MRI 1.3.3 or 1.3.4 on LibreOffice 24.2. On LibreOffice 7.3.7 works just fine.
Is that possible to link IDL References using LibreOffice SDK? If possible, how?
MRI has been very useful to me on LO 3. The latest version (1.1.2) doesn't work
on LO 4.0.2, giving an error as below. Is there any chance of a fix?
(com.sun.star.uno.RuntimeException) { { Message = "<class 'SyntaxError'>:
invalid syntax (MRI.py, line 21), traceback follows\X000a /opt/libreoffice4.0/program/pythonloader.py:102 in function getModuleFromUrl()
[codeobject = compile( src, encfile(filename), "exec" )]\X000a /opt/libreoffice4.0/program/pythonloader.py:149 in function writeRegistryInfo()
[mod = self.getModuleFromUrl( locationUrl )]\X000a\X000a", Context =
(com.sun.star.uno.XInterface) @0 } }
With LibreOffice version: 5.4.3.2 (x64)
I can't open help and have this error message :
Faild to open help files.
Help system is not supported by the application.
Thanks you.
Trying to install MRI 1.3.4 in LibO 6.0.x works. However, trying to install in LibO 6.1.x makes LibO hang. If you install with 6.0, then keeping the same profile in 6.1, MRI appears to be installed.
Type name of the complex type can be abbreviated when the type is defined in the same module. This is the optional way and not unified in the files.
Doxygen uses written type name even they are abbreviated or not in the definition. And there is no way to know the type is abbreviated or not in the specific IDL file through the API.
The way to solve is parsing IDL files.
When I run MRI, the window is displayed with same reduced size.
I have to widen the window every time.
That will be fine to keep this previous state.
Thanks
https://github.com/hanya/MRI/wiki/Installation says: "Install MRI extension package using Extension Manager from Tools - Extension Manager entry of main menu bar."
So I open LO, and go to Tools | Extension Manager and search for MRI and click on it, and it says only: "Install Instructions, Fill in the install instructions". Hun?
Furthermore, the LO Tools | Extension manager | Help button is not working. (https://bugs.documentfoundation.org/show_bug.cgi?id=104404).
So to help the next guy, here are two links to LO Extension Installation instructions:
It entered an infinite loop asking whether I accepted the user agreement and did not matter what I answered. It then crashed LibreOffice which would not restart. I had to do a repair and then delete the entire uno_packages folder from my installation before LO would start again. I am putting this down and backing slowly away. :) I had it working, I think, in Basic, but not in Python.
After update of LIbreOffice from 5.0.4 to LibreOffice 5.1, it no longer works.
I've tried several versions of MRI, 1.1.5, 1.2.1, 1.3.1.
Someone also reported the issue to LibreOffice.
https://bugs.documentfoundation.org/show_bug.cgi?id=97401
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:
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.
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.