Skip to content

'pybind11::cast_error' on DirectOperate command #34

Description

@wangyanbao666

I'm trying to use pydnp3 in one project and when I tried to send DirectOperate commands from the master I faced this issue: terminate called after throwing an instance of 'pybind11::cast_error' what(): return_value_policy = copy, but type is non-copyable! (#define PYBIND11_DETAILED_ERROR_MESSAGES or compile in debug mode for details).
Then I tested the example master_cmd.py which sends DirectOperate commands but got the same error. Is there anyone facing the same issue?

Here is my python and g++ version:
Python 3.10.12
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

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