Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLC did not generate a Python file #282

Open
axuchao458 opened this issue Dec 13, 2024 · 2 comments
Open

IDLC did not generate a Python file #282

axuchao458 opened this issue Dec 13, 2024 · 2 comments

Comments

@axuchao458
Copy link

I have not generated any files or encountered any errors using [idlc-l py Hello World. idl]. How can I locate the error
image

Chinese programmer, using translation to ask questions. We apologize for any offense

@NicoBrug
Copy link

NicoBrug commented Feb 17, 2025

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 : #189

@NicoBrug
Copy link

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.

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

No branches or pull requests

2 participants