Ref docs issue

Open
#2,606 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start with update_toc.py and the reported Python traceback showing that importing yaml fails during the documentation build. Check the build setup related to this script and reproduce the failure using the provided error context. Done means the documentation build no longer stops at the missing yaml module.

Written by the indexing model from the issue text.

Description

Error:

Caused by: java.util.concurrent.CompletionException: com.microsoft.exception.TaskError: [DownloadPackageTask][com.azure:azure-ai-contentsafety:1.0.9] failed. Details:Call getFullPom failed..
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: com.microsoft.exception.TaskError: [DownloadPackageTask][com.azure:azure-ai-contentsafety:1.0.9] failed. Details:Call getFullPom failed..
at com.microsoft.exception.TaskError.createError(TaskError.java:24)
at com.microsoft.base.task.DownloadPackageTask.process(DownloadPackageTask.java:75)
at com.microsoft.base.task.DownloadPackageTask.process(DownloadPackageTask.java:38)
at com.microsoft.base.Pipeline.lambda$run$0(Pipeline.java:23)
at java.base/java.util.Arrays$ArrayList.forEach(Arrays.java:4204)
at com.microsoft.base.Pipeline.run(Pipeline.java:23)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
... 6 more
Caused by: org.apache.maven.shared.invoker.MavenInvocationException: Call getFullPom failed.

C:\hostedtoolcache\windows\Python\3.10.16\x64\python.exe D:\a_work\1\s\target_repo\update_toc.py
Traceback (most recent call last):
File "D:\a_work\1\s\target_repo\update_toc.py", line 6, in
import yaml
ModuleNotFoundError: No module named 'yaml'

For more details check here:

@danieljurek for notification.

Dominant language
Python
Stars
66
Forks
284
Avg merge
4m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MicrosoftDocs/azure-docs-sdk-java

All issues in MicrosoftDocs/azure-docs-sdk-java

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.