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

e.response.status has no attribute status #62

Open
IsabellaMiaNielsen opened this issue Jun 13, 2024 · 0 comments
Open

e.response.status has no attribute status #62

IsabellaMiaNielsen opened this issue Jun 13, 2024 · 0 comments

Comments

@IsabellaMiaNielsen
Copy link

Hi, when I try to run the canfd_msg.py example, and any code that broadcasts, I get the following error:

Transfer handler exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/dist-packages/dronecan/node.py", line 198, in call_handlers
    wrapper(transfer)
  File "/usr/local/lib/python3.12/dist-packages/dronecan/node.py", line 171, in call
    result = handler(event, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/dronecan/app/node_monitor.py", line 200, in _on_info_response
    entry._update_from_info(e)
  File "/usr/local/lib/python3.12/dist-packages/dronecan/app/node_monitor.py", line 51, in _update_from_info
    self.status = e.response.status
                  ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/dronecan/transport.py", line 562, in __getattr__
    raise AttributeError(attr)
AttributeError: status

I am trying to communicate to a cube orange through CANBUS. I am using ubuntu 24.04, and python 3.12.3.
It doesn't matter what I send, I get the same error. Also happens when I try to send a vendor-specific-type as a message.

Is it not supported for the python version or is there something else wrong?

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