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

cyber_channel echo /diamond/canbus/chassis_detail error #7

Open
mickeyouyou opened this issue Jul 31, 2020 · 0 comments
Open

cyber_channel echo /diamond/canbus/chassis_detail error #7

mickeyouyou opened this issue Jul 31, 2020 · 0 comments

Comments

@mickeyouyou
Copy link
Contributor

mickeyouyou commented Jul 31, 2020

Platform : ARM onboard

ERROR : TypeError: cyber_PyChannelUtils_get_debugstring_by_msgtype_rawmsgdata() argument 1 must be str, not bytes

LOG:

TypeError: cyber_PyChannelUtils_get_debugstring_by_msgtype_rawmsgdata() argument 1 must be str, not bytes

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "_ctypes/callbacks.c", line 234, in 'calling callback function'
  File "/apollo/bazel-bin/cyber/tools/cyber_channel/cyber_channel.runfiles/apollo/cyber/python/cyber_py3/cyber.py", line 233, in reader_callback
    sub[1](proto)
  File "/apollo/bazel-bin/cyber/tools/cyber_channel/cyber_channel.runfiles/apollo/cyber/tools/cyber_channel/cyber_channel.py", line 347, in callback
    print(cyber.ChannelUtils.get_debugstring_rawmsgdata(msgtype, raw_data))
  File "/apollo/bazel-bin/cyber/tools/cyber_channel/cyber_channel.runfiles/apollo/cyber/python/cyber_py3/cyber.py", line 364, in get_debugstring_rawmsgdata
    return _CYBER.PyChannelUtils_get_debugstring_by_msgtype_rawmsgdata(msg_type, rawmsgdata)
SystemError: <built-in function PyChannelUtils_get_debugstring_by_msgtype_rawmsgdata> returned a result with an error set
E0730 17:53:27.078472  5908 py_cyber.cc:644] [cyber_py]cyber_PyChannelUtils_get_debugstring_by_msgtype_rawmsgdata failed!

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