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 not generating usable modules when types are defined in parent files #252

Open
FirebarSim opened this issue Jun 3, 2024 · 0 comments

Comments

@FirebarSim
Copy link

When running IDLC on the C2INAV IDL (C2INAV) after minor changes and provision of common files from OARIS an apparently successful conversion occurs. However, when attempting to import the generated module a NameError occurs due to missing type definitions.

Certain files, e.g. org__omg__c4i__Domain_Model__Navigation_Domain__Attitude__Offset_Report.idl, use types defined in their parent modules and appear to need relative import statements, e.g. from .._org__omg__c4i__Domain_Model__Navigation_Domain__Attitude import offset_report_key_type_kind, added to function correctly.

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

1 participant