Open
Description
[taskset-35] Traceback (most recent call last):
[taskset-35] File "/home/bitbots/colcon_ws/install/bitbots_body_behavior/lib/bitbots_body_behavior/body_behavior", line 33, in <module>
[taskset-35] sys.exit(load_entry_point('bitbots-body-behavior', 'console_scripts', 'body_behavior')())
[taskset-35] File "/home/bitbots/colcon_ws/build/bitbots_body_behavior/bitbots_body_behavior/body_behavior.py", line 98, in main
[taskset-35] body_dsd = BodyDSD(node)
[taskset-35] File "<@beartype(bitbots_body_behavior.body_behavior.BodyDSD.__init__) at 0x7f1d8c38d6c0>", line 32, in __init__
[taskset-35] File "/home/bitbots/colcon_ws/build/bitbots_body_behavior/bitbots_body_behavior/body_behavior.py", line 27, in __init__
[taskset-35] blackboard = BodyBlackboard(node, self.tf_buffer)
[taskset-35] File "<@beartype(bitbots_blackboard.body_blackboard.BodyBlackboard.__init__) at 0x7f1d8c38d120>", line 51, in __init__
[taskset-35] File "/home/bitbots/colcon_ws/install/bitbots_blackboard/lib/python3.10/site-packages/bitbots_blackboard/body_blackboard.py", line 29, in __init__
[taskset-35] self.misc = MiscCapsule(self.node, self)
[taskset-35] File "/home/bitbots/colcon_ws/install/bitbots_blackboard/lib/python3.10/site-packages/bitbots_blackboard/capsules/misc_capsule.py", line 33, in __init__
[taskset-35] self.position_number: int = gamestate_settings["position_number"]
[taskset-35] File "/home/bitbots/.local/lib/python3.10/site-packages/beartype/door/_func/doorcheck.py", line 137, in die_if_unbearable
[taskset-35] func_raiser(obj) # pyright: ignore
[taskset-35] File "<@beartype(__beartype_checker_3) at 0x5ce45f820ec0>", line 19, in __beartype_checker_3
[taskset-35] beartype.roar.BeartypeDoorHintViolation: Callable bitbots_blackboard.capsules.misc_capsule.MiscCapsule.__init__() local variable "self" value "None" violates type hint <class 'int'>, as <class "builtins.NoneType"> "None" not instance of int.
This is raised because the robot was not configured in building. We should catch and raise this error better, to allow fixes.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🔖 Ready