Hey,
my bad, i forgot to tag it…
Yes, i am running the NRP locally and “wavetest” is actually just the name of the python function in my TF.
Just a heads up, there is a lot off log dump following, sry in advance
The first thing in my console log to go wrong is the following:
Traceback (most recent call last):
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/init.py”, line 355, in set_transfer_function
config.active_node.initialize_tf(tf)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/_TransferFunctionManager.py”, line 208, in initialize_tf
tf.params[i] = tf.params[i].create_adapter(self)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/_Neuron2Robot.py”, line 136, in create_adapter
**self.config)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/common/__AbstractCommunicationAdapter.py”, line 107, in register_spike_source
device = self.__register_device(populations, spike_generator_type, **params)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/common/__AbstractCommunicationAdapter.py”, line 92, in __register_device
device.connect(populations)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/pynn/devices/__PyNNPoissonSpikeGenerator.py”, line 193, in connect
“label”))
File “/home/ben/.opt/platform_venv/lib/python2.7/site-packages/pyNN/nest/projections.py”, line 47, in init
space, label)
File “/home/ben/.opt/platform_venv/lib/python2.7/site-packages/pyNN/common/projections.py”, line 95, in init
assert len(valid_types) > 0
AssertionError
following through the log, the next thing that turns up is this warning:
[/clock ] [rospy.intern] [WARNING] Unknown error initiating TCP/IP socket to 127.0.0.1:40670 (http://127.0.0.1:43957/): Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py”, line 556, in connect
self.write_header()
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py”, line 635, in write_header
self.stat_bytes += write_ros_handshake_header(sock, protocol.get_header_fields())
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rosgraph/network.py”, line 422, in write_ros_handshake_header
sock.sendall(s)
File “/usr/lib/python2.7/socket.py”, line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 104] Connection reset by peer
which ends in a massive error dump shortly after:
[hbp_nrp_cles] [ERROR] Initialization failed
Traceback (most recent call last):
File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/ROSCLESimulationFactory.py”, line 222, in create_new_simulation
launcher.initialize(environment_file, self.except_hook)
File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/SimulationAssembly.py”, line 120, in initialize
self._initialize(environment, except_hook)
File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/CLEGazeboSimulationAssembly.py”, line 427, in _initialize
self.__load_tfs()
File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/CLEGazeboSimulationAssembly.py”, line 663, in __load_tfs
nrp.set_transfer_function(tf_code, new_code, tf.name)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/init.py”, line 355, in set_transfer_function
config.active_node.initialize_tf(tf)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/_TransferFunctionManager.py”, line 208, in initialize_tf
tf.params[i] = tf.params[i].create_adapter(self)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/_Neuron2Robot.py”, line 136, in create_adapter
**self.config)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/common/__AbstractCommunicationAdapter.py”, line 107, in register_spike_source
device = self.__register_device(populations, spike_generator_type, **params)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/common/__AbstractCommunicationAdapter.py”, line 92, in __register_device
device.connect(populations)
File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/pynn/devices/__PyNNPoissonSpikeGenerator.py”, line 193, in connect
“label”))
File “/home/ben/.opt/platform_venv/lib/python2.7/site-packages/pyNN/nest/projections.py”, line 47, in init
space, label)
File “/home/ben/.opt/platform_venv/lib/python2.7/site-packages/pyNN/common/projections.py”, line 95, in init
assert len(valid_types) > 0
TFLoadingException: wavetest: ‘’ (TF Loading Exception)
(<class ‘hbp_nrp_cle.tf_framework.TFLoadingException’>, TFLoadingException(’’,), <traceback object at 0x7fc77027b830>)
[ERROR] [1517740479.181485]: Error processing request: wavetest: ‘’ (TF Loading Exception)
[‘Traceback (most recent call last):\n’, ’ File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py”, line 625, in _handle_request\n response = convert_return_to_response(self.handler(request), self.response_class)\n’, ’ File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/ROSCLESimulationFactory.py”, line 222, in create_new_simulation\n launcher.initialize(environment_file, self.except_hook)\n’, ’ File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/SimulationAssembly.py”, line 120, in initialize\n self._initialize(environment, except_hook)\n’, ’ File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/CLEGazeboSimulationAssembly.py”, line 427, in _initialize\n self.__load_tfs()\n’, ’ File “/home/ben/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/CLEGazeboSimulationAssembly.py”, line 663, in __load_tfs\n nrp.set_transfer_function(tf_code, new_code, tf.name)\n’, ’ File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/init.py”, line 355, in set_transfer_function\n config.active_node.initialize_tf(tf)\n’, ’ File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/_TransferFunctionManager.py”, line 208, in initialize_tf\n tf.params[i] = tf.params[i].create_adapter(self)\n’, ’ File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/tf_framework/_Neuron2Robot.py”, line 136, in create_adapter\n **self.config)\n’, ’ File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/common/__AbstractCommunicationAdapter.py”, line 107, in register_spike_source\n device = self.__register_device(populations, spike_generator_type, **params)\n’, ’ File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/common/__AbstractCommunicationAdapter.py”, line 92, in __register_device\n device.connect(populations)\n’, ’ File “/home/ben/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/brainsim/pynn/devices/__PyNNPoissonSpikeGenerator.py”, line 193, in connect\n “label”))\n’, ’ File “/home/ben/.opt/platform_venv/lib/python2.7/site-packages/pyNN/nest/projections.py”, line 47, in init\n space, label)\n’, ’ File “/home/ben/.opt/platform_venv/lib/python2.7/site-packages/pyNN/common/projections.py”, line 95, in init\n assert len(valid_types) > 0\n’, “TFLoadingException: wavetest: ‘’ (TF Loading Exception)\n”]
Let me know if i can be of help,
thanks in advance,
Ben