marek-sezemsky / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

change EMANE option and run session again causes exception #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start EMANE scenario
2. stop it
3. go into the WLAN, modify an EMANE global option (e.g. OTA manager on)
4. start
5. An exception is thrown in the daemon

SESSION 44046 STATE 3: INSTANTIATION at Tue Mar 12 11:04:00 2013
Setup EMANE with master=True.
Thread-5: exception while handling msg:
CoreEventMessage <msgtype = CORE_API_EVENT_MSG, flags = 0x0 <>>
  CORE_TLV_EVENT_TYPE: 3
Traceback (most recent call last):
  File "/usr/local/sbin/cored", line 292, in handlemsg
    replies = msghandler(msg)
  File "/usr/local/sbin/cored", line 967, in handleeventmsg
    self.session.instantiate(handler=self)
  File "/usr/local/lib/python2.7/dist-packages/core/session.py", line 575, in instantiate
    self.emane.startup()
  File "/usr/local/lib/python2.7/dist-packages/core/emane/emane.py", line 165, in startup
    if not self.setup():
  File "/usr/local/lib/python2.7/dist-packages/core/emane/emane.py", line 157, in setup
    self.setnodemodels()
  File "/usr/local/lib/python2.7/dist-packages/core/emane/emane.py", line 334, in setnodemodels
    self.setnodemodel(n)
  File "/usr/local/lib/python2.7/dist-packages/core/emane/emane.py", line 344, in setnodemodel
    emanenode.setmodel(cls, values)
  File "/usr/local/lib/python2.7/dist-packages/core/emane/nodes.py", line 74, in setmodel
    verbose=self.verbose)
TypeError: 'EmaneGlobalModel' object is not callable

Original issue reported on code.google.com by ahrenh...@gmail.com on 12 Mar 2013 at 6:23

GoogleCodeExporter commented 9 years ago
fixed in r715

ConfigurableManager.getconfig() only returns the first config

Original comment by ahrenh...@gmail.com on 13 Mar 2013 at 5:28