ctn-archive / nengo_gui_2014

HTML5 graphical interface for Nengo -- now obsolete! Please use https://github.com/nengo/nengo_gui instead
Other
6 stars 0 forks source link

Opening multiple javaviz instances #98

Closed drasmuss closed 10 years ago

drasmuss commented 10 years ago

Opening multiple instances of javaviz breaks things (seems like data is not making its way to javaviz). Closing all the open instances does not fix it, but it is fixed by restarting nengo_gui (it is not necessary to restart the javaviz server). Ideally we would support multiple instances, but I don't think that's critical. A more immediate fix would be to prevent the user from opening a new javaviz instance if one is already open.

tcstewar commented 10 years ago

?? Weird.. it's supposed to work fine with multiple instances....

tcstewar commented 10 years ago

Multiple instances works fine for me... what error messages are you getting?

celiasmith commented 10 years ago

Don't forget he's on firefox...

drasmuss commented 10 years ago

I believe this is the error that's breaking things:

Unhandled exception in thread started by
Traceback (most recent call last):
  File "d:\documents\nengogit\nengo_gui\nengo_gui\javaviz.py", line 247, in rece
iver
    self.overrides[id][index]=value
KeyError: 0
tcstewar commented 10 years ago

It also works on firefox for me....