Skip to content

record.py --binary error #12

@mtbrun

Description

@mtbrun

Hello,

When I run the record.py example with the --binary argument there is an error.

  • run code :
    python .\record.py --binary

  • error :
    Traceback (most recent call last): File "...\rtde\examples\record.py", line 78, in <module> writer.writeheader() File "...\.venv\lib\site-packages\rtde\csv_binary_writer.py", line 75, in writeheader self.__file.write(struct.pack(str(len(headerStr)) + 's', headerStr)) struct.error: argument for 's' must be a bytes object

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions