If you try to install MRL on later versions you will get this type of error and the logfile will fill up very quickly. 
My logfile went to 1.5 G in just a few seconds.
 
16:45:23.670 [webgui] INFO c.m.f.Service [Service.java:2020] subscribe [python/p
ublishState ---> webgui/onState]
16:45:23.795 [New I/O worker #7] INFO c.m.s.WebGui [WebGui.java:496] POST /api/m
essages
16:45:23.796 [New I/O worker #7] INFO c.m.f.Service [Service.java:2020] subscrib
e [log/publishLogEvent ---> webgui/onLogEvent]
16:45:23.797 [log] INFO c.m.s.Log [Log.java:95] private subscription publishLogE
vent webgui onLogEvent
16:45:23.797 [log] INFO c.m.s.Log [Log.java:116] adding addListener from log.pub
lishLogEvent to webgui.onLogEvent
16:45:23.798 [New I/O worker #7] INFO c.m.s.WebGui [WebGui.java:496] POST /api/m
essages
16:45:23.798 [New I/O worker #7] ERROR c.m.c.CodecMessage [CodecMessage.java:29]
 method onLogEvent data [New I/O worker #7] [INFO] POST /api/messages
16:45:23.799 [New I/O worker #7] ERROR c.m.c.CodecMessage [CodecMessage.java:29]
 method onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New
I/O worker #7] [INFO] POST /api/messages
16:45:23.799 [New I/O worker #7] ERROR c.m.c.CodecMessage [CodecMessage.java:29]
 method onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New
I/O worker #7] [ERROR] method onLogEvent data [New I/O worker #7] [INFO] POST /a
pi/messages
16:45:23.799 [New I/O worker #7] ERROR c.m.c.CodecMessage [CodecMessage.java:29]
 method onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New
I/O worker #7] [ERROR] method onLogEvent data [New I/O worker #7] [ERROR] method
 onLogEvent data [New I/O worker #7] [INFO] POST /api/messages
16:45:23.800 [New I/O worker #7] ERROR c.m.c.CodecMessage [CodecMessage.java:29]
 method onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New
I/O worker #7] [ERROR] method onLogEvent data [New I/O worker #7] [ERROR] method
 onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New I/O wor
ker #7] [INFO] POST /api/messages
16:45:23.800 [New I/O worker #7] ERROR c.m.c.CodecMessage [CodecMessage.java:29]
 method onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New
I/O worker #7] [ERROR] method onLogEvent data [New I/O worker #7] [ERROR] method
 onLogEvent data [New I/O worker #7] [ERROR] method onLogEvent data [New I/O wor
ker #7] [ERROR] method onLogEvent data [New I/O worker #7] [INFO] POST /api/mess
ages
 
The problem seems to be related to some type of loop in the WebGui logging. 
 
If you start MRL with this command ( i.e. without the WebGui ) it works fine to install even with the latest release.
 
java -jar myrobotlab.jar -service log Log gui GUIService python Python
 
I have a feeling that this problem started with checkin 1841 because it made changes to how logging works.
 
Beetlejuices change in 1842 seems to be unrelated. I have a feeling that he changed the project to be UTF-8 encoded so it touches almost all files in the project but doesn't really change anything in the logic.  
 
 
/Mats
 

kwatters

7 years 4 months ago

I'm testing a local build here now after reverting Beetlejuice's mega merge.  It seems to be worky.  I'm going to squash those commits.  

I have no idea what beetle was doing, it seems like his commit was all for javadocs , line endings and stuff.  

The only commit that is going to be lost here would be beetlejuices and some of calamity's recent commits.  I'll see if I can cherry pick Calamity's commit after we've got a stable build again.

 

 

kwatters

7 years 4 months ago

In reply to by kwatters

So,  I just reverted one of Greg's changes, and at least now the swing gui works again, but it seems like the build is still borked...    At least now, the swing gui is worky again, but the webgui is totally busted.

 

GroG

7 years 4 months ago

Ok, 
I don't know what exactly happen .. but this is what I've found out so far.

The CodecMessage I had locally is the same which is in head, but they are in conflict because I have a comment . 

Revert - looks like it reverted some webgui files which should not be reverted. They are called serviceQuery js & html files. 

have to sleep a little before 4am flight ..