MRI is an introspection tool of UNO objects, written in Python. If you want to know about UNO objects, try to use MRI. Targets of this extension are macro, extension developer and so on.
MRI is an UNO service so that it can be used easily from any other languages.
MRI needs Python-UNO binding installation.
Online Documentation is available.
MRI can be set property values that have numeric, string, enum or boolean type value. And methods needs arguments only numeric, string, enum or boolean type value can be called from MRI.
Version 1.0.0 supports OpenOffice.org 3.0.1 or later with Python 2.3.x or 2.6.x. And also LibreOffice 3.3 - 3.5 are supported.
1.1.2
Comments
Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
The message starts:
(com.sun.star.uno.RuntimeException){{Message = "exceptions.SyntaxError(MRI.py, line 53), ...........
Re: Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
I try to make MRI 0.9.0 on Python 2.3.x but I have no environment to test it. I could try it on LibreOffice 3.4.x and Momonga Linux 7 (based on Fedra Linux).
Could you try it on Mac OSX? Especially, about to open web browser at click IDL Ref. button after setup path to your browser on Tools - Configuration entry of MRI window. MRI can be executed from Tools - Add-Ons menu of the office windows.
Here is an link to the package on my website:
http://hermione.s41.xrea.com/pukiwiki/index.php?plugin=attach&pcmd=open&...
Re: Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
I installet your new 0.9.1 and got no failure messages.
However nothing happens when I run the python macros copied from your on-line document.
Nothing also happens when i do Tools- AddOns- MRI or Tools- AddOns- MRI<-extension. Have not tried to start from Firefox.
Something more to do before to start it?
Re: Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
I found some problems on Python 2.3.4, set, operator, and so on. Now following one works on OOo 3.0.1, Python 2.3.4 and Windows XP.
If it does not work on Mac OS X version of the office, please someone give me a MacOSX environment.
http://hermione.s41.xrea.com/pukiwiki/index.php?plugin=attach&pcmd=open&...
Re: Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
This one looks OK to me! However, I have no experience in using the MRI-extension. Hopefully, you will hear from more reliable people.
Re: Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
> This one looks OK to me! However, I have no experience in using the MRI-extension. Hopefully, you will hear from more reliable people.
Thank you for your help.
Re: Cannot install 0.9.0 on LibreOffice 3.4.3 and OS X 10.6.8
The office for Mac OS X uses Python 2.3.X and it does not newer syntax introduced on 2.4 or later.
LibreOffice 3.3.4
Please, does the version 0.9.0 work on LibreOffice 3.3.4?
Thanks!
Max versionnumber in description.xml
Please update the Maximal-version-number in description.xml to:
OpenOffice.org-maximal-version value="3.4" d:name="OpenOffice.org 3.4"
Re: Max versionnumber in description.xml
Depends on the grid control, MRI does not work well with OOo 3.4. I will release new version for 3.4 if OOo 3.4 RC is released.
MRI 0.8.4 not platform independent?
I could successfully install MRI 0.8.4 in OpenOffice.org 3.3.0 on Windows 7.
Also tried to install MRI 0.8.4 in OpenOffice.org 3.3.0 on Mac OS X 10.6.7, but without success. Extension Manager issued an error message about invalid syntax in line 53 of MRI.py. The error message included the following traceback: MRI.py, line 53 -> pythonloader.py, line 106 -> pythonloader.py, line 135.
While I don't think that's the issue, just for completeness: Mac OS X 10.6.7 comes with Python 2.6.1 while OpenOffice.org 3.3.0 for Windows seems to get shipped with Python 2.6.5.
MRI Fails to Load on LibreOffice 3.3
The MRI Extension failed to load properly for me using LibreOffice 3.3 on Windows XP. I encountered the same problem on 2 different computers (1 running XP 32, the other XP 64).
The MRI installer launches properly, I hit continue and then MRI starts loading and then crashes with the following Extension Manager error message dialog:
(com.sun.star.uno.RuntimeException) { { Message = "python-loader:: No Module named pythonloader, traceback follows\X000ano traceback available", Context = (com.sun.star.uno.XInterface) @0 } }
See the link below for a screenshot of the error:
http://imagebin.org/137937
Hopefully this can be fixed. Thanks.
p.s. I was able to successfully install MRI on OpenOffice 3.3, but would prefer to use LibreOffice 3.3.
Bug of LibreOffice about Python implementation
Hi,
You have met the bug of LibreOffice reported in :
https://bugs.freedesktop.org/show_bug.cgi?id=33355
This problem means any extensions and macros written in Python do not work on Windows environment.
And it will be fixed on LibreOffice 3.3.1 which will be released soon.
This problem was known as the another issue since last year. I wonder why they decide to release it.
Workaround
The workaround detailed in the bug report thread allowed me to successfully install MRI.
Just copy the pythonloader.uno.dll from OpenOffice 3.3 to LibreOffice 3.3 (i.e. overwrite the current one or rename it):
1. copy: "OpenOffice.org 3/Basis/Program/pythonloader.uno.dll"
2. paste: "LibreOffice 3/Basis/Program/pythonloader.uno.dll"
hi
will this work on LibreOffice?
Re: MRI will be worked on LibreOffice?
Hi,
It seems MRI works well on LibreOffice RC1.
Impossible to install MRI on OO 3.1.1. (310m19) on Windows 7
When I try to install MRI 0.6.0 or 0.5.4 on OO 3.1.1. (310m19) on Windows 7 I get the same error as decribed here: http://www.multiracio.com/eurooffice/support/faq#section-12 ('module' object has no attribute 'WriteRegistryInfo').
I tried all solutions from that website but none worked on my system. On the other side it is no problem to install other extensions on my system, e.g.:
http://extensions.services.openoffice.org/project/MatrixManipulator
http://extensions.services.openoffice.org/project/sudoku1
http://extensions.services.openoffice.org/project/SemanticWebBuilderOpen...
http://extensions.services.openoffice.org/project/DataPilotTools
Because the multiracio website confirms that the error is a problem with their version and because I can install other extensions without any problem I believe that the error is related to the MRI extension. Please help.
Re: on 3.1.1
I don't have Windows 7 and I tried to install MRI on OOo 3.1.1 (OOo310m19 Build:9420) and Windows XP. I could install it without problems.
These extension you mentioned above do not use Python. Try other extensions using python if you want.
Sometimes pythonloader.py raises unknown error caused by unsolved reasons.