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

Unable to generate alertsmanagement #527

Closed
lmazuel opened this issue Mar 27, 2020 · 0 comments
Closed

Unable to generate alertsmanagement #527

lmazuel opened this issue Mar 27, 2020 · 0 comments
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. p0

Comments

@lmazuel
Copy link
Member

lmazuel commented Mar 27, 2020

ERROR: [main.Process:51] Python generator raised an exception
Traceback (most recent call last):
File "C:\Users\lmazuel.autorest@[email protected]\node_modules@autorest\python\autorest\jsonrpc\server.py", line 49, in Process
return plugin.process()
File "C:\Users\lmazuel.autorest@[email protected]\node_modules@autorest\python\autorest\codegen\init.py", line 182, in process
code_model = self._create_code_model(yaml_data=yaml_data, options=options)
File "C:\Users\lmazuel.autorest@[email protected]\node_modules@autorest\python\autorest\codegen\init.py", line 105, in _create_code_model
code_model.add_inheritance_to_models()
File "C:\Users\lmazuel.autorest@[email protected]\node_modules@autorest\python\autorest\codegen\models\code_model.py", line 290, in add_inheritance_to_models
schema.base_model = [b for b in self.schemas.values() if b.id == schema.base_model][0]
IndexError: list index out of range
Error: Plugin codegen reported failure.
Command '['C:\Users\lmazuel\AppData\Roaming\npm\autorest.CMD', 'C:\Users\lmazuel\Git\azure-rest-api-specs\specification\alertsmanagement\resource-manager\readme.md', '--keep-version-file', '--multiapi', '--no-async', '--python', '--python-mode=update', '--python-sdks-folder=C:\Users\lmazuel\Git\azure-sdk-for-python\TEST', '--use=@autorest/[email protected]']' returned non-zero exit status 1.

@lmazuel lmazuel added bug This issue requires a change to an existing behavior in the product in order to be resolved. Autorest v3 refactoring p0 labels Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. p0
Projects
None yet
Development

No branches or pull requests

2 participants