MRL on Raspi B+

Just sent a NoWorky.  I have MRL running on my windows laptop, using gesture creator service to control right hand.  Just got a Raspberrypi B+ and loaded Raspian.  I was able to download MRL jar file and get it to boot on pi B+, but when I install all services it misses the main InMoov service and the Python service and a few others.  When I try to install those separate I get error messages.

Am I missing something?

GroG's picture

Hello and welcomd

Hello and welcome DivideWorks,
I'll check your noWorky and see if I can find anything.  Hopefully today if I have enough time I'll try another install on a Pi ... I don't have a B+, but I'd be a "little" surprised if that made a difference...

GroG's picture

I see this in the

I see this in the log:

ERROR: Server access error at url https://raw.githubusercontent.com/MyRobotLab/repo/master/org.python.core... (java.net.SocketException: Connection reset)
java.net.SocketException: Connection reset

Your raspi must have internet connectivity & github must be accessable.  I tried this url from my machine and it works. Perhaps it was a temporary issue @ github?  Can you verify you can get to the url from the raspi ?

DivideWorks's picture

Tried again to install Python

Tried again to install Python service from MRL this morning and got the error below.  I then used the url in your comment above from my Raspi and it downloaded a file called jython.jar
Is this the dependency I needed?  Do I need to execute it before I can install the P{ython service in MRL?  
 
Thanks you in advance.
 
:: problems summary ::
:::: WARNINGS
[FAILED     ] org.python.core#core;2.5.2!jython.jar: SSL peer shut down incorrectly (140784ms)
 
[FAILED     ] org.python.core#core;2.5.2!jython.jar: SSL peer shut down incorrectly (140784ms)
 
==== public-remote: tried
 
 https://raw.githubusercontent.com/MyRobotLab/repo/master/org.python.core/2.5.2/jython.jar
 
::::::::::::::::::::::::::::::::::::::::::::::
 
::              FAILED DOWNLOADS            ::
 
:: ^ see resolution messages for details  ^ ::
 
::::::::::::::::::::::::::::::::::::::::::::::
 
:: org.python.core#core;2.5.2!jython.jar
 
::::::::::::::::::::::::::::::::::::::::::::::
 
 
 
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
287093 [runtime] ERROR class org.myrobotlab.service.Runtime  - error download failed: org.python.core#core;2.5.2!jython.jar 
 
GroG's picture

Ya - jython.jar is

Ya - jython.jar is needed...

Curious error - wonder if the SSL for raspi/Java is not happy .. 

In the past I've had issues with ssl libraries being out of date...

You can try:
apt-get update

and see what scheduled to be updated .. updating has its own risks though too...

DivideWorks's picture

Making progress.  I put the

Making progress.  I put the jython.jar file in the JAR folder in libraries of my RasPi and then the python tab showed up in myrobotlab.  I was also able to install the Python service. Yeah! I still cannot install the main InMoov service though.  I sent a new NoWorky.  

Came back later and noticed the OpenCV.jar file was missing from my libraries jar folder, so I manually copied it from my laptop to a thumb drive to my RasPi, but that did not help.  I also tried as you suggested to update, using sudo apt-get update follwed by sudo apt-get upgrade, which installed the updates, but still no luck installing main InMoov service.  sent another NoWorky hoping you might be able to find something Im doing wrong.

Thanks for your help.

:: problems summary ::
:::: WARNINGS
[NOT FOUND  ] net.sourceforge.opencv#opencv;2.4.10!opencv-linux-arm.jar (11691ms)
 
==== public-remote: tried
 
 https://raw.githubusercontent.com/MyRobotLab/repo/master/net.sourceforge.opencv/2.4.10/opencv-linux-arm.jar
 
::::::::::::::::::::::::::::::::::::::::::::::
 
::              FAILED DOWNLOADS            ::
 
:: ^ see resolution messages for details  ^ ::
 
::::::::::::::::::::::::::::::::::::::::::::::
 
:: net.sourceforge.opencv#opencv;2.4.10!opencv-linux-arm.jar
 
::::::::::::::::::::::::::::::::::::::::::::::
 
 
:::: ERRORS
Server access error at url https://raw.githubusercontent.com/MyRobotLab/repo/master/net.sourceforge... (java.net.SocketException: Connection reset)
 
 
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
132508 [runtime] ERROR class org.myrobotlab.service.Runtime  - error download failed: net.sourceforge.opencv#opencv;2.4.10!opencv-linux-arm.jar 
132599 [runtime] INFO  class org.myrobotlab.framework.Service  - adding addListener from runtime.registered to python.registered
 
GroG's picture

Wow,  I'm impresed !  Great

Wow,  I'm impresed ! 

Great troubleshooting & resolving...

The socket exceptions are new .. I haven't seen many complaints about that.  Is there something special about your connection?  Do you have an older modem? Do you get resets on other downloads?

You did a valiant effort in trying to get opencv to run..  the JavaCV project usually builds these libraries, but I think they have dropped arm Linux support .. regardless we'll get it fix ..

I'll check to see if my build completed.

One thing which would be helpful is if you could tell us the arm instruction set your RasPi uses .. armv7 armv8 ?

Also, raspi's in the past were too slow to run effective video processing .. maybe this will be different with the RasPi+ .. it would be good if you could tell us details about it.

DivideWorks's picture

This is what I have found

This is what I have found about my RasPi B+

Linux raspberrypi 3.18.13+ #784 PREEMPT Sat May 9 15:49:42 BST 2015 armv6l GNU/Linux
 
GroG's picture

Great v6 - I believe

Great v6 - I believe Alessandruino is packaging a build which will be compatible.

DivideWorks's picture

Version 119 worky on RasPI

Version 119 worky on RasPI B+. Thanks guys.