cyclonedds icon indicating copy to clipboard operation
cyclonedds copied to clipboard

Idlc on Windows doesn't work generating Python language

Open smnrgrs opened this issue 2 years ago • 2 comments

Tested with cyclonedds-master compiled using VS2017 Win64 To reproduce: cd examples\helloworld idlc -lpy HelloWorldData.idl

This writes an empty _HelloWorldData.cache file in a HelloWorldData folder. When working on Ubuntu we get a _HelloWorldData.py file written containing python.

smnrgrs avatar Mar 05 '23 20:03 smnrgrs

Strange ... I haven't had a chance to dive into it yet — and given that it is Windows that means it takes me much more time and effort to do that, and in any case I don't have VS2017 so that had better not affect things.

I did do a quick bit of browsing in the sources, and that suggests that the intermediate .cache files are removed at the end after successfully writing out a .py files, so this all suggests to me that there is a nasty little bit of Windows funniness in how the files get handled.

Something nasty, but not quite the same as, not being able to delete a file that is kept open by another process.

Anyway, I just wanted to let you know the issue is not being ignored!

eboasson avatar Mar 10 '23 10:03 eboasson

This is still an issue - hit it today when trying to test out cyclonedds-insight for the first time (on windows).

smnrgrs avatar Jun 24 '24 12:06 smnrgrs