eclipse-cyclonedds / eclipse-cyclonedds/cyclonedds-python

how to Working with the IDL compiler?

Open
#189 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
110
Forks
68
Avg merge
1h 8m
Merged PRs (30d)
1

Description

i use the idlc follow the doc (https://cyclonedds.io/docs/cyclonedds-python/0.10.2/idl.html)
idlc -l py hello.idl
and the content of the hello.idl as follows:
module HelloWorldData { struct Msg { @key long userID; string message; }; };

then the errors occurs:
idlc: cannot load generator py
No default extensibility provided. For one or more of the aggregated types in the IDL the extensibility is not explicitly set. Currently the default
extensibility for these types is 'final', but this may change to 'appendable' in a future release because that is the default in the DDS XTypes specification.

what is the generator py? how to install it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked IDL documentation and the idlc -l py hello.idl entry point, then trace how the compiler discovers language generators. Compare the documented command with the reported cannot load generator py output. Done means the documentation explains what the py generator is and how it is installed or otherwise made available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.