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

robocompdsl: better output when .idsl file not found #1

Open
orensbruli opened this issue Nov 13, 2022 · 0 comments
Open

robocompdsl: better output when .idsl file not found #1

orensbruli opened this issue Nov 13, 2022 · 0 comments

Comments

@orensbruli
Copy link
Collaborator

[08:43:00] Dependency file not found for testcomp.cdsl while generating AST.                                                                                              filesgenerator.py:78
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/robocompdsl/common/filesgenerator.py", line 72, in __load_ast
    self.ast = dsl_factory.DSLFactory().from_file(self.dsl_file, include_directories=self.include_dirs)
  File "/usr/local/lib/python3.10/dist-packages/robocompdsl/dsl_parsers/dsl_factory.py", line 94, in from_file
    result, parser = self.from_string(string, dsl_type, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/robocompdsl/dsl_parsers/dsl_factory.py", line 48, in from_string
    result = parser.string_to_struct(string, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/robocompdsl/dsl_parsers/specific_parsers/cdsl/cdsl_parser.py", line 126, in string_to_struct
    component.recursiveImports = generate_recursive_imports(list(component.imports), self._include_directories)
  File "/usr/local/lib/python3.10/dist-packages/robocompdsl/dsl_parsers/parsing_utils.py", line 27, in generate_recursive_imports
    raise FileNotFoundError(f'generate_recursive_imports: Couldn\'t locate {idsl_basename} in {new_idsl_path}')
FileNotFoundError: generate_recursive_imports: Couldn't locate AprilBasedLocalization.idsl in None

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