Hi everybody,
 
I didn't update my eclipse since few month. I did it today and the service for my robot don't work anymore.
 
i found why, the files have been removed april the 7th (commit "misc updates 11bce31) . Is it possible to get the files back please ? 
 
The swing Gui problem :
 
With eclipse i can compile or run myrobotlab without problem but if i use my compiled file or even the latest release downloaded from myrobotlab website , the window open but there is only the "welcome tab" 

the error in log is :

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
        at org.myrobotlab.framework.MethodCache.getMethod(MethodCache.java:368)
        at org.myrobotlab.framework.MethodCache.getMethod(MethodCache.java:281)
        at org.myrobotlab.framework.MethodCache.getMethod(MethodCache.java:299)
        at org.myrobotlab.framework.Service.invokeOn(Service.java:1265)
        at org.myrobotlab.framework.Service.send(Service.java:1561)
        at org.myrobotlab.framework.Service.send(Service.java:1532)
        at org.myrobotlab.service.SwingGui$1.run(SwingGui.java:443)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

        ... 20 more.

I run it with the command :

" My folder to Java versions " \jdk-11.0.15.1\bin\java.exe" -Djava.library.path=libraries/native -Djna.library.path=libraries/native -Dfile.encoding=UTF-8 -jar myrobotlab.jar -m 1024m --service gui SwingGui python Python 

OS : Windows 10 x64

 

Thx for your help

Ray.Edgley

1 year 9 months ago

Hello Beelejuce,

First of the major changes is support for the SwingGUI has mostly been dropped. :-(

Instead the WebGUI has taken it's place.

When starting MRL, you need to use either the myrobotlab.bat file in a windows system or myrobotlab.sh in mac or Linux.

The new GUI is getting better all the time and the new Inmoov2 service will support other hardware that the previous one would not, such as the Adafruit16ChServo Driver and the Raspi :-)

One of the other major changes, is you can now save your configuration and load it back up, that is all the service you started and what they were attached to :-)

There is a lot more help available in Discord: https://discord.gg/XygZbWwsCq
This has replace the older shoutbox.
And it's searchable as well :-)

 

Ray

 

Ahoy beetlejuice ! ... always good to see you :D
Yeah, some of the interfaces changed - and I couldn't keep up with development.

I'd be excited to help make Andrew stronger and more fun than before .. but as Cyber said - the swing gui is no more.

I saw that you popped into discord .. it be nice to chat about what you want to do there ..

https://discord.com/channels/887362610360643664/887362610360643667