Skip to content

Insight can't import .idl file with dependencies #23

@NicoBrug

Description

@NicoBrug

Hi,

I'm trying to import an idl file into the insight data model. I've tried an .idl that contains other includes and it doesn't work, and puts logs that look strange to me.

Here's what it says:

//Copy Process ...
[DEBUG] [datamodel_model.py:278] File copied successfully. [DEBUG] [datamodel_model.py:278] File copied successfully. Clock.idl
[DEBUG] [datamodel_model.py:306] Found _idlpy : PATH.
[INFO] [datamodel_model.py:323] Execute: CMD
[DEBUG] ... /datamodel/idl/Clock.idl:5 : error : Unable to open include file “builtin_interfaces/msg/Time.idl”\N #include “builtin_interfaces/msg/Time.idl”\N1 error in preprocessor.\N “.
2024-09-11 19:06:27,636 [DEBUG] [datamodel_model.py:333] The process ended successfully.
[DEBUG] [datamodel_model.py:333] Process terminated successfully. [DEBUG] [datamodel_model.py:287] Process Time.idl ... [DEBUG] [datamodel_model.py:306] Found _idlpy : PATH
...
[datamodel_model.py:333] Process terminated successfully.

And after that, Insight do not import the files.

Is this a bug? Or maybe my way of importing for idl is not the right one?

Working environment:

  • Windows 11
  • CI build: cyclonedds-insight-0.0.0-windows-x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions