apsknight / gangaextension

Jupyter Extension for running Ganga Jobs inside Notebook
GNU General Public License v3.0
4 stars 4 forks source link

LostConnection Error #8

Closed moscicki closed 6 years ago

moscicki commented 6 years ago

This is 100% reproducible.

image

apsknight commented 6 years ago

This is the log entry of this error: screenshot from 2018-07-28 17-42-02

apsknight commented 6 years ago

@egede Sir, any idea where is this coming from ?

egede commented 6 years ago

@apsknight Digging a bit around, I believe that the message is coming from the stomp library. The message is innocent. @rob-c might know how to turn off the error or indeed turn off the use of the messager service completely.

rob-c commented 6 years ago

This is indeed harmless, I'm not sure we have the ability to stop stomp from being activated atm. It should be a trivial thing to add back in but I can't remember how this area of the code works without looking through the service at some point.

mesmith75 commented 6 years ago

What if you set UsageMonitoringMSG to False in your .gangarc ? That should stop stomp trying to publish things.

apsknight commented 6 years ago

Yes, it can be fixed by setting UsageMonitoringMSG = False in .gangarc. This also solves #9 (Delay rendering of Job widget). Thanks, @mesmith75 for this fix.

apsknight commented 6 years ago

Disabled UsageMonitoringMSG in kernel extension: https://github.com/apsknight/gangaextension/blob/fb540c5f7856952b4c83996126f32b3bc65e928e/extension/gangaextension/kernelextension/gangajob.py#L22

Due to this fix #9 (Delay rendering of Job widget) is also fixed.

@moscicki Please verify it.