Install problems on 1843

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
 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kwatters's picture

Revert!

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's picture

Not the beetlejuice you're looking for.

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's picture

Mmmmm .... Soon as I can get

Mmmmm .... Soon as I can get to a puter I'll look into it..

calamity's picture

don't worry too much about my

don't worry too much about my commit, I can redo it later, it was only minor changes

GroG's picture

Ok,  I don't know what

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 ..
 

GroG's picture

Webgui fixed tested in

Webgui fixed tested in eclipse only