precice / precice/python-bindings

Error message for python binding shows cpp method name

Open
#238 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Cython
Stars
30
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Error message while using python binding shows cpp method names instead of python snake-case name.

Describe your setup

Operating system (e.g. Linux distribution and version): Ubuntu 24.04.2
preCICE Version: 3.1.1

Add the versions/commit hashes of further adapter and/or bindings.
pyprecice==3.1.2

Describe the problem

Image

Step To Reproduce

  1. Run the solver-dummy with line56 commented.

Expected behaviour
The error message should print the python method names (snake-case).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Run the solver-dummy example from examples/solverdummy with line 56 in solverdummy.py commented, and capture the reported error. Trace the binding path that produces the message, then verify that the displayed method names use Python snake-case rather than C++ names.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.