Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\GIT\bsb\bsb\__main__.py", line 3, in <module>
cli.handle_cli()
File "D:\GIT\bsb\bsb\cli\__init__.py", line 10, in handle_cli
handle_command(sys.argv[1:], exit=True)
File "D:\GIT\bsb\bsb\cli\__init__.py", line 30, in handle_command
namespace.handler(namespace, dryrun=dryrun)
File "D:\GIT\bsb\bsb\cli\commands\__init__.py", line 97, in execute_handler
self.handler(context)
File "D:\GIT\bsb\bsb\cli\commands\_commands.py", line 134, in handler
cfg = from_file(context.config)
File "D:\GIT\bsb\bsb\config\__init__.py", line 141, in from_file
return self.from_file(f)
File "D:\GIT\bsb\bsb\config\__init__.py", line 145, in from_file
return self.from_content(file.read(), path)
File "D:\GIT\bsb\bsb\config\__init__.py", line 150, in from_content
return _from_parsed(self, parser, tree, meta, path)
File "D:\GIT\bsb\bsb\config\__init__.py", line 210, in _from_parsed
conf = self.Configuration(tree)
File "D:\GIT\bsb\bsb\config\_make.py", line 65, in __call__
instance = meta_subject.__new__(
File "D:\GIT\bsb\bsb\config\_make.py", line 210, in __new__
instance.__post_new__(**kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 310, in __post_new__
_bubble_up_exc(e, self._meta)
File "D:\GIT\bsb\bsb\config\_make.py", line 329, in _bubble_up_exc
errr.wrap(type(exc), exc, append=node + attr)
File "D:\cerebellum\lib\site-packages\errr\__init__.py", line 7, in wrap
return err_type.wrap(*args, **kwargs)
File "D:\cerebellum\lib\site-packages\errr\exception.py", line 132, in wrap
raise err from None
File "D:\GIT\bsb\bsb\config\_make.py", line 308, in __post_new__
post_new(self, *args, _parent=None, _key=None, **kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 280, in __post_new__
setattr(self, name, value)
File "D:\GIT\bsb\bsb\config\_attrs.py", line 797, in __set__
self.fill(value, _parent=instance, _key=_key or self.attr_name),
File "D:\GIT\bsb\bsb\config\_attrs.py", line 806, in fill
_cfgdict.update(value or builtins.dict())
File "D:\GIT\bsb\bsb\config\_attrs.py", line 747, in update
self[ckey] = value
File "D:\GIT\bsb\bsb\config\_attrs.py", line 691, in __setitem__
value = self._elem_type(value, _parent=self, _key=key)
File "D:\GIT\bsb\bsb\config\_make.py", line 65, in __call__
instance = meta_subject.__new__(
File "D:\GIT\bsb\bsb\config\_make.py", line 210, in __new__
instance.__post_new__(**kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 280, in __post_new__
setattr(self, name, value)
File "D:\GIT\bsb\bsb\config\_attrs.py", line 797, in __set__
self.fill(value, _parent=instance, _key=_key or self.attr_name),
File "D:\GIT\bsb\bsb\config\_attrs.py", line 806, in fill
_cfgdict.update(value or builtins.dict())
File "D:\GIT\bsb\bsb\config\_attrs.py", line 747, in update
self[ckey] = value
File "D:\GIT\bsb\bsb\config\_attrs.py", line 691, in __setitem__
value = self._elem_type(value, _parent=self, _key=key)
File "D:\GIT\bsb\bsb\config\_make.py", line 65, in __call__
instance = meta_subject.__new__(
File "D:\GIT\bsb\bsb\config\_make.py", line 204, in __new__
ncls = class_determinant(_cls, kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 418, in _get_dynamic_class
raise RequirementError(f"Dynamic node must contain a '{attr_name}' attribute")
bsb.exceptions.RequirementError: Dynamic node must contain a 'device' attribute in {root}.simulations.sensory_burst
Process finished with exit code 1
while the error should be raised in {root}.simulations.sensory_burst.devices.initial, fixing those, the next set of errors are a CastError:
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\GIT\bsb\bsb\__main__.py", line 3, in <module>
cli.handle_cli()
File "D:\GIT\bsb\bsb\cli\__init__.py", line 10, in handle_cli
handle_command(sys.argv[1:], exit=True)
File "D:\GIT\bsb\bsb\cli\__init__.py", line 30, in handle_command
namespace.handler(namespace, dryrun=dryrun)
File "D:\GIT\bsb\bsb\cli\commands\__init__.py", line 97, in execute_handler
self.handler(context)
File "D:\GIT\bsb\bsb\cli\commands\_commands.py", line 134, in handler
cfg = from_file(context.config)
File "D:\GIT\bsb\bsb\config\__init__.py", line 141, in from_file
return self.from_file(f)
File "D:\GIT\bsb\bsb\config\__init__.py", line 145, in from_file
return self.from_content(file.read(), path)
File "D:\GIT\bsb\bsb\config\__init__.py", line 150, in from_content
return _from_parsed(self, parser, tree, meta, path)
File "D:\GIT\bsb\bsb\config\__init__.py", line 210, in _from_parsed
conf = self.Configuration(tree)
File "D:\GIT\bsb\bsb\config\_make.py", line 65, in __call__
instance = meta_subject.__new__(
File "D:\GIT\bsb\bsb\config\_make.py", line 210, in __new__
instance.__post_new__(**kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 310, in __post_new__
_bubble_up_exc(e, self._meta)
File "D:\GIT\bsb\bsb\config\_make.py", line 329, in _bubble_up_exc
errr.wrap(type(exc), exc, append=node + attr)
File "D:\cerebellum\lib\site-packages\errr\__init__.py", line 7, in wrap
return err_type.wrap(*args, **kwargs)
File "D:\cerebellum\lib\site-packages\errr\exception.py", line 132, in wrap
raise err from None
File "D:\GIT\bsb\bsb\config\_make.py", line 308, in __post_new__
post_new(self, *args, _parent=None, _key=None, **kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 280, in __post_new__
setattr(self, name, value)
File "D:\GIT\bsb\bsb\config\_attrs.py", line 797, in __set__
self.fill(value, _parent=instance, _key=_key or self.attr_name),
File "D:\GIT\bsb\bsb\config\_attrs.py", line 806, in fill
_cfgdict.update(value or builtins.dict())
File "D:\GIT\bsb\bsb\config\_attrs.py", line 747, in update
self[ckey] = value
File "D:\GIT\bsb\bsb\config\_attrs.py", line 691, in __setitem__
value = self._elem_type(value, _parent=self, _key=key)
File "D:\GIT\bsb\bsb\config\_make.py", line 65, in __call__
instance = meta_subject.__new__(
File "D:\GIT\bsb\bsb\config\_make.py", line 210, in __new__
instance.__post_new__(**kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 280, in __post_new__
setattr(self, name, value)
File "D:\GIT\bsb\bsb\config\_attrs.py", line 797, in __set__
self.fill(value, _parent=instance, _key=_key or self.attr_name),
File "D:\GIT\bsb\bsb\config\_attrs.py", line 806, in fill
_cfgdict.update(value or builtins.dict())
File "D:\GIT\bsb\bsb\config\_attrs.py", line 747, in update
self[ckey] = value
File "D:\GIT\bsb\bsb\config\_attrs.py", line 691, in __setitem__
value = self._elem_type(value, _parent=self, _key=key)
File "D:\GIT\bsb\bsb\config\_make.py", line 65, in __call__
instance = meta_subject.__new__(
File "D:\GIT\bsb\bsb\config\_make.py", line 210, in __new__
instance.__post_new__(**kwargs)
File "D:\GIT\bsb\bsb\config\_make.py", line 280, in __post_new__
setattr(self, name, value)
File "D:\GIT\bsb\bsb\config\_attrs.py", line 457, in __set__
raise CastError(
bsb.exceptions.CastError: 'cell_type' is not convertible to Targetting, for attribute 'targetting' of <bsb.simulators.neuron.devices.spike_generator.SpikeGenerator object at 0x0000024F294E18D0>. in {root}.simulations.sensory_burst
Process finished with exit code 1
This should also be raised from one of the spike generator nodes
Compiling:
raises:
while the error should be raised
in {root}.simulations.sensory_burst.devices.initial
, fixing those, the next set of errors are aCastError
:This should also be raised from one of the spike generator nodes