Problems with Mac Installation

Hello, first time RML install on a Mac 10.14.6   Got all the prerequisites installed but when I try running the

start_inmoov.sh script all seems to go well but then the process jst hangs.  This is the last bit of the log file. It looks like its tryijng to spawn Python and its unsuccessfull.  Can someone help ?

Thanks

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private java.lang.constant.ConstantDesc java.lang.constant.DynamicConstantDesc.tryCanonicalize() accessible: module java.base does not "opens java.lang.constant" to unnamed module @6035b93b

       at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:341) ~[na:na]

       at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:281) ~[na:na]

       at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:198) ~[na:na]

       at java.base/java.lang.reflect.Method.setAccessible(Method.java:192) ~[na:na]

       at org.python.core.PyJavaType.init(PyJavaType.java:291) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.createType(PyType.java:1412) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.addFromClass(PyType.java:1348) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.fromClassSkippingInners(PyType.java:1476) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyJavaType.init(PyJavaType.java:263) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.createType(PyType.java:1412) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.addFromClass(PyType.java:1348) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.fromClass(PyType.java:1439) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.fromClass(PyType.java:1457) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.fromClass(PyType.java:1457) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyType.fromClass(PyType.java:1457) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.adapter.ClassicPyObjectAdapter$6.adapt(ClassicPyObjectAdapter.java:77) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.adapter.ExtensiblePyObjectAdapter.adapt(ExtensiblePyObjectAdapter.java:44) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.adapter.ClassicPyObjectAdapter.adapt(ClassicPyObjectAdapter.java:131) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.Py.java2py(Py.java:1788) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyJavaPackage.addClass(PyJavaPackage.java:86) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:135) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.PyObject.__findattr__(PyObject.java:946) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.imp.importFromAs(imp.java:1160) ~[myrobotlab.jar:1.0.2693]

       at org.python.core.imp.importFrom(imp.java:1132) ~[myrobotlab.jar:1.0.2693]

       at org.python.pycode._pyx0.f$0(<script>:7) ~[na:na]

       at org.python.pycode._pyx0.call_function(<script>) ~[na:na]

       at org.python.core.PyTableCode.call(PyTableCode.java:167) ~[myrobotlab.jar:1.0.2693]

       ... 20 common frames omitted

14:24:47.730 [main] ERROR c.myrobotlab.framework.Service - runtime error could not create service python Python

14:24:47.732 [main] INFO  class org.myrobotlab.service.Runtime - attempting to invoke : python.execFile(./InMoov/InMoov.py )

 

kwatters's picture

bad install?

it looks like you have a bad install.. where did you get it?

 

theDVSguy's picture

bad install

Well I actually tried a few packages....starting with the one on the Inmoov site.  Then the latest on github,  Currently the one I am using is 1.0.2693.9 off the Inmoov site.   MRL does work on its own just not the Inmoov scipt

kwatters's picture

mrl install is platform specific.

you won't be able to use the bundled zips that gael publishes for windows on mac.

Even though MRL is in java, there are many native libraries that get used.  It's recommended to download the myrobotlab.jar ... start it up and tell it to install all services...  

If you tried a zip file from the inmoov web site on your mac, it means that it will have downloaded and installed the windows libraries.. and that definitely won't work.

 

sorry.. mac isn't really a platform that we work on often so there are likely to be some hiccups.

theDVSguy's picture

reply

Understood...originally I did that....so if I go back to the latest how do I get it to spawn up the Inmoov interface like I see in other examples ?also I tried orignally to do a simple arduino connect and right clicking to creating a tab didnt work for me.  any suggestions or step sfor a mac ?

thanks for all your help ;)

theDVSguy's picture

I cant

So I see an Inmoov setup but I can spawn anything from this interface. Any suggestions ?

hairygael's picture

Hello kwatters, Note that the

Hello kwatters,

Note that the bundled Manticore on InMoov site is not only for Windows, it performs a regular install to have the necessary dependencies for MyRobotLab to work on the three platforms.

That being said, it is true that some of the bundled version were Windows only. (version 107, 1412 and Kraken)

I think the issue that is having DVSGuy, is related to the start_inmoov.sh itself.

Bruno Ash has a worky start_inmoov.sh fixed by Anthony which I hope to get by email, this way I will add it to the bundle on InMoov site and on github for Nixie.

theDVSguy's picture

thanks

Thanks Gael,   Looking forward to when its posted so I can get a hold of it also ;)

hairygael's picture

So I just talked to Bruno Ash

So I just talked to Bruno Ash that uses MRL for his InMoov on a Mac.

First you need to make sure you have the Java SDK installed and not the normal Java version.

And here is the link for the start_inmoov.sh that is fixed:

www.inmoov.fr/wp-content/uploads/mrl/myrobotlab.1.0.2693.11.zip

Hopefully this will work. Because I do not run it on Mac, I cannot test it to make sure it's fixed.

theDVSguy's picture

thanks

Would you know why I get this error below when running the  sh start_inmoov.sh ? I cant seem to run the main start_inmoov.sh on its own

InMoov            START-INMOOV.bat    tools
InMoov.patch        myrobotlab.jar
README.md        start_inmoov.sh
TORC1MQ108FG944:myrobotlab.1.0.2693.10 vellas$ sh start_inmoov.sh
: No such file or directory: .
------------------------------------------------------
            INMOOV LAUNCHER
------------------------------------------------------
------------------------------------------------------
LOG CLEAN UP to free space disk and send clean noworky
------------------------------------------------------
rm: myrobotlab.log.1\r: No such file or directory
mv: rename myrobotlab.log to myrobotlab.log.1\r: No such file or directory
.
------------------------------------------------------
UPDATE MRL INSTALLATION
This may take a few minutes
------------------------------------------------------
mv: rename ./myrobotlab-*.jar to ./myrobotlab.jar\r: No such file or directory
 

hairygael's picture

Hello, it cannot find

Hello,

it cannot find myrobotlab-*.jar to rename it to myrobotlab.jar\r in your directory.

But normaly it should pass that error and go on with the installation.

theDVSguy's picture

rename

ok ... so is it trying to rename it to exactily "myrobotlab.jar\r" ?  with a forward slash "r"

is their a reason for this rename ?

hairygael's picture

The reason of this rename is

The reason of this rename is when it makes an update. But obviously it gets stuck.
Can you try launching this one to see if it pass further?
1-Add it into your directory like the other .sh
2-launch it
 
This script should do the install process without trying to update and then it should start inmoov.
theDVSguy's picture

Doesnt work

You doesnt wok...I get the same error as previous.  But I can launch the script within MRL python tab.

So I assume its the same ?  For some reason and itmight be for security the mac is not allowing me to launch it via the terminal.  Just wondering does Virtual InMoov work on a mac too ?

hairygael's picture

Hello, Normaly the virtual

Hello,
Normaly the virtual InMoov should work on Mac as well.
Yes if you run the InMoov.py script directly into the MRL python tab, you can get the robot going.
theDVSguy's picture

ok thanks

ok thanks....So just to be clear is their no visual representation of Inmoov other than in virtual mode ?

oh Gael, on another note just wondering when you wil begin to ship the breakout boards. I placed my order during AUguest when the store was closed ;) anxiously awaiting of course.

hairygael's picture

Correct, only the virtual

Correct, only the virtual InMoov shows a representation of InMoov in the software.

Shipping is due to be done this week. I am waiting for some components to arrive.

:)

theDVSguy's picture

ok

ok thanks thats perfect. Looking forward in receiving the boards. Are you able to supply a tracking number once shipped ?

hairygael's picture

Hello, Yes you will receive a

Hello,

Yes you will receive a tracking number.

theDVSguy's picture

ok great

you mentioned the parts are on back order.  Do you have an approx ETA when you will be able to ship them ?