IDLC did not generate a Python file
I have not generated any files or encountered any errors using [idlc-l py Hello World. idl]. How can I locate the error
Chinese programmer, using translation to ask questions. We apologize for any offense
Hello, I have the same problem. I have been trying to compile .idl with cyclonedds python for a very long time without success on Windows. I think the problem comes from Windows. Try making a docker with a linux version and compiling from the docker and you can then retrieve them from windows. I know it's not a good solution. It's the only one I've found so far, I've put a message on the discord, if I have an answer I'll put it back here.
It's the same issue here : https://github.com/eclipse-cyclonedds/cyclonedds-python/issues/189
For more context, here are some additional details:
I tried compiling the file from Insight. It works (apart from the fact that insight doesn't handle multiple files from different sub-folders). Let's say I take a simple file, drag it into Insight, and I can see that my file has been compiled in python.
I go to AppData\Roaming\cyclonedds\CycloneDDS Insight\datamodel and I can see the IDL and the file! I go to AppData\Roaming\cyclonedds\CycloneDDS Insight\logs -> I read log and I copy the line into a terminal (I just add “ ” on the paths so that the console doesn't understand the path) and then I execute and ... it doesn't work. It displays the same error message that's not supposed to affect the correct operation of the script, it's just a warning.
The command launched by Insight takes an internal idlpy file: AppData\Local\Programs\CycloneDDS Insight_internal_idlpy.cp39-win_amd64.pyd And also takes an internal idlc.