Skip to content

Conversation

@douglowe
Copy link
Contributor

I found that the VS Code debugging interface wouldn't work anymore with the latest version of this code. My error message was: “Fatal Python Error: can’t initialize sys standard streams”

Digging around (https://www.askpython.com/python/examples/fixed-cant-initialize-sys-standard-streams) I found a recommendation to avoid namespace clashes. I moved the io directory, to rocv_io, and everything works again.

The directory name rocv_io probably isn't helpful, but we should avoid the namespace clash. Let me know if you've a preferred directory name, and I can adjust the PR accordingly.

@douglowe douglowe force-pushed the io_namespace_upstream branch from 7eb93b8 to ba6b35f Compare December 19, 2025 16:27
@kikkomep
Copy link
Member

kikkomep commented Jan 7, 2026

Thanks for pointing this out. We can include the change as is for now, since I’m planning to restructure the utils module and move the IO-related functionality there, possibly renaming the package to utils/io_helpers.

@kikkomep kikkomep merged commit d194ab0 into crs4:develop Jan 7, 2026
2 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