Skip to content

cyber_channel echo /diamond/canbus/chassis_detail error #7

@mickeyouyou

Description

@mickeyouyou

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions