Commit 88db83f
authored
chore(librarian): fix generation for google-cloud-common (#14611)
This fixes the following stack trace with generation for
`google-cloud-common` which caused generation to fail
```
2025-10-01 16:23:35,628 synthtool [WARNING] > No replacements made in packages/google-cloud-common/docs/index.rst for pattern API Reference
-------------
.. toctree::
:maxdepth: 2
common/services_
common/types_
, maybe replacement is no longer needed?
2025-10-01 16:23:35,628 synthtool [WARNING] > No replacements made in packages/google-cloud-common/docs/index.rst for pattern API Reference
-------------
.. toctree::
:maxdepth: 2
common/services_
common/types_
, maybe replacement is no longer needed?
README.rst
Skipping: docs/index.rst
docs/summary_overview.md
Traceback (most recent call last):
File "/app/./cli.py", line 535, in handle_generate
_run_post_processor(output, library_id)
File "/app/./cli.py", line 300, in _run_post_processor
python_mono_repo.owlbot_main(path_to_library)
File "/usr/local/lib/python3.9/site-packages/synthtool/languages/python_mono_repo.py", line 329, in owlbot_main
apply_client_specific_post_processing(
File "/usr/local/lib/python3.9/site-packages/synthtool/languages/python_mono_repo.py", line 213, in apply_client_specific_post_processing
assert (
AssertionError: Replaced 0 rather than 1 instances
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/./cli.py", line 1406, in <module>
args.func(
File "/app/./cli.py", line 538, in handle_generate
raise ValueError("Generation failed.") from e
ValueError: Generation failed.
```1 parent de1cf08 commit 88db83f
3 files changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
698 | | - | |
| 697 | + | |
| 698 | + | |
699 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
700 | 703 | | |
701 | 704 | | |
702 | 705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1357 | 1357 | | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | | - | |
| 1360 | + | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1370 | 1379 | | |
1371 | 1380 | | |
1372 | 1381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1569 | 1569 | | |
1570 | 1570 | | |
1571 | 1571 | | |
| 1572 | + | |
1572 | 1573 | | |
1573 | 1574 | | |
1574 | 1575 | | |
| |||
0 commit comments