montagejs / screening

49 stars 16 forks source link

Agent is flickering #277

Closed irinamok closed 12 years ago

irinamok commented 12 years ago

Add chromedriver agent to Screening. The icon keeps flickering causing agent to lose focus. Makes it impossible to execute or record a script

zacharyc commented 12 years ago

I believe that there is inconsistent evidence of this. I've experienced it and then it has gone away again. I'm wondering under what conditions it happens.

eliseosoto commented 12 years ago

I think it's related to socket.io, but I can't tell for sure.

irinamok commented 12 years ago

It's flickering on my machine right now. All I did is I removed node_modules from server directory and re-run npm install. It is probably socket.io related

zacharyc commented 12 years ago

I've proven that is related to Socket.io greater than version 0.9.0. I'm looking into what may be wrong with Socket.io, but in the mean time downgrade to version 0.9.0 and you should be fine. You can do this by cding to your screening/server/ directory and running npm install socket.io@0.9.0

irinamok commented 12 years ago

which version of socket.io are we using? Is it 0.9.6? When did we upgrade to this version?

zacharyc commented 12 years ago

Our logic was to upgrade to the latest version <= 1.0.0. I've changed it for the time being and filed an issue at socket.io-client: https://github.com/LearnBoost/socket.io-client/issues/451

Hopefully they have some idea what is going on here. I looked at their code and was a bit confused

zacharyc commented 12 years ago

Okay, I'm going to close this for now. If we have a pressing need to upgrade socket.io or they fix the bug then I'll change the version back up.