Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptions must inherit from BaseException #3

Open
m2-farzan opened this issue Feb 2, 2022 · 0 comments
Open

Exceptions must inherit from BaseException #3

m2-farzan opened this issue Feb 2, 2022 · 0 comments

Comments

@m2-farzan
Copy link
Contributor

Traceback (most recent call last):
  File "/app/main.py", line 7, in <module>
    robot.wheels.set_speed(0.5)
  File "/usr/local/lib/python3.8/dist-packages/cake/runtime/runtime.py", line 96, in wrapper
    raise exception
  File "/usr/local/lib/python3.8/dist-packages/cake/modules/hardware/wheels/Wheels.py", line 31, in set_speed
    self._raise_undefined_or_unimplemented()
  File "/usr/local/lib/python3.8/dist-packages/cake/modules/hardware/wheels/Wheels.py", line 52, in _raise_undefined_or_unimplemented
    raise UndefinedHardware
cake.exceptions.UndefinedHardware
Exception ignored in: <function Executor.__del__ at 0x7fc11dc40af0>
Traceback (most recent call last):
  File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/executors.py", line 229, in __del__
  File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/signals.py", line 39, in destroy
AttributeError: 'NoneType' object has no attribute 'rclpy_unregister_sigint_guard_condition'
Exception ignored in: <function SignalHandlerGuardCondition.__del__ at 0x7fc11dc1ed30>
Traceback (most recent call last):
  File "/opt/ros/galactic/lib/python3.8/site-packages/rclpy/signals.py", line 30, in __del__
TypeError: catching classes that do not inherit from BaseException is not allowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant