Skip to content

fix: path slash and retry loop in concoredocker.hpp)#423

Merged
pradeeban merged 1 commit into
ControlCore-Project:devfrom
avinxshKD:fix/concoredocker-path-and-retry
Feb 20, 2026
Merged

fix: path slash and retry loop in concoredocker.hpp)#423
pradeeban merged 1 commit into
ControlCore-Project:devfrom
avinxshKD:fix/concoredocker-path-and-retry

Conversation

@avinxshKD
Copy link
Copy Markdown
Contributor

Fixes #349

Path construction was doing inpath + std::to_string(port) which gives /in1/data instead of /in/1/data, so C++ nodes were reading/writing to a completely different directory than Python nodes. Also, the retry loop was calling infile.open() on an already-open stream ,,once failbit is set, open() is a no-op, so it just spins 5 times reading nothing. Added infile.close() before the reopen.

Two lines changed in read(), one in write().

@pradeeban pradeeban merged commit 4002db0 into ControlCore-Project:dev Feb 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants