Skip to content

Python interface: File path corruption on Windows #13435

@jonjenssen

Description

@jonjenssen

File paths with \ sent from python side ends up as a path with the \ removed on C++ side most likely due to "feature" in PdmFieldScriptingCapabilityIOHandler.

Seems to happen with lists of paths, not single path parameters.

Workaround is to use pathlib.PurePath.as_posix() on Python side to get a path with only / before sending the paths to ResInsight.

Metadata

Metadata

Assignees

Labels

BugInReleaseBug in an official release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions