question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

output-artifact hangs in some situations

See original GitHub issue

The cmdline hangs and never ends:

autorest C:\Users\lmazuel\Git\azure-rest-api-specs\specification\authorization\resource-manager\readme.md --output-folder=D:\authorization\ --multiapi --python --python-mode=update --python-sdks-folder=C:\Users\lmazuel\Git\azure-sdk-for-python --use=@microsoft.azure/autorest.python@preview --version=preview --output-artifact=configuration.yaml

The readme is this one: https://github.com/lmazuel/azure-rest-api-specs/blob/4b240be03db054e5cb368768fe63754be53403ff/specification/authorization/resource-manager/readme.md

Removing the “output-folder” from the cmd line solves it. Is this because the Readme is setting “–python.output-folder”?

I know two output-folders is dumb, but Autorest should not hangs and fail at worst if it’s really a problem.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
lmazuelcommented, Dec 5, 2017

@olydis @fearthecowboy Yes, I’m here tomorrow!

0reactions
akshita31commented, Dec 1, 2022

Had a similar issue and running autorest --reset solved it for me. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting AWS CodePipeline Artifacts - Stelligent
In this post, I describe the details in how to use and troubleshoot what's often a confusing concept in CodePipeline: Input and Output...
Read more >
Jobs timeout seeking artifacts when paths use doublestar glob ...
Summary When artifact:paths uses a doublestar glob (**) and points to a non-existent artifact outside $CI_PROJECT_DIR the job hangs until the.
Read more >
Input and output artifacts - AWS CodePipeline
CodePipeline triggers your pipeline to run when there is a commit to the source repository, providing the output artifact (any files to be...
Read more >
Storing Build Artifacts - CircleCI
Artifacts persist data after a job is completed and may be used for storage of the outputs of your build process. For example,...
Read more >
Resolve Missing Artifacts, Links, and Results in the Model ...
Additionally, some artifacts and links are not supported by the Model Testing ... The dashboard stops recognizing the temporary results when you close...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found