text:
Synthesis failed for vision

Hello! Autosynth couldn't regenerate vision. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
o -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
ERROR: /h/.cache/synthtool/googleapis/google/cloud/vision/v1/BUILD.bazel:201:18: //google/cloud/vision/v1:vision_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,gapic_yaml=google/cloud/vision/v1/vision_gapic.yaml,service_yaml=google/cloud/vision/v1/vision_v1.yaml,grpc_service_config=google/cloud/vision/v1/vision_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/cloud/vision/v1/vision_php_gapic_srcjar.srcjar.zip -Igoogle/cloud/vision/v1/geometry.proto=google/cloud/vision/v1/geometry.proto -Igoogle/cloud/vision/v1/image_annotator.proto=google/cloud/vision/v1/image_annotator.proto -Igoogle/cloud/vision/v1/product_search.proto=google/cloud/vision/v1/product_search.proto -Igoogle/cloud/vision/v1/product_search_service.proto=google/cloud/vision/v1/product_search_service.proto -Igoogle/cloud/vision/v1/text_annotation.proto=google/cloud/vision/v1/text_annotation.proto -Igoogle/cloud/vision/v1/web_detection.proto=google/cloud/vision/v1/web_detection.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/type/color.proto=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto -Igoogle/cloud/common_resources.proto=google/cloud/common_resources.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto google/cloud/common_resources.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/cloud/vision/v1:google-cloud-vision-v1-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.246s, Critical Path: 1.07s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-08-25 00:43:39,028 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 29, in <module>
    v1_library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/vision/v1:google-cloud-vision-v1-php']' returned non-zero exit status 1.
2021-08-25 00:43:39,080 autosynth [ERROR] > Synthesis failed
2021-08-25 00:43:39,081 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57869a76 feat: add minute_ranges field to RunRealtimeReportRequest object (#4240)
2021-08-25 00:43:39,133 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
o -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
ERROR: /h/.cache/synthtool/googleapis/google/cloud/vision/v1/BUILD.bazel:201:18: //google/cloud/vision/v1:vision_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,gapic_yaml=google/cloud/vision/v1/vision_gapic.yaml,service_yaml=google/cloud/vision/v1/vision_v1.yaml,grpc_service_config=google/cloud/vision/v1/vision_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/cloud/vision/v1/vision_php_gapic_srcjar.srcjar.zip -Igoogle/cloud/vision/v1/geometry.proto=google/cloud/vision/v1/geometry.proto -Igoogle/cloud/vision/v1/image_annotator.proto=google/cloud/vision/v1/image_annotator.proto -Igoogle/cloud/vision/v1/product_search.proto=google/cloud/vision/v1/product_search.proto -Igoogle/cloud/vision/v1/product_search_service.proto=google/cloud/vision/v1/product_search_service.proto -Igoogle/cloud/vision/v1/text_annotation.proto=google/cloud/vision/v1/text_annotation.proto -Igoogle/cloud/vision/v1/web_detection.proto=google/cloud/vision/v1/web_detection.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/type/color.proto=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto -Igoogle/cloud/common_resources.proto=google/cloud/common_resources.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto google/cloud/common_resources.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/cloud/vision/v1:google-cloud-vision-v1-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.293s, Critical Path: 1.11s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-08-25 01:33:06,014 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 29, in <module>
    v1_library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/vision/v1:google-cloud-vision-v1-php']' returned non-zero exit status 1.
2021-08-25 01:33:06,061 autosynth [ERROR] > Synthesis failed
2021-08-25 01:33:06,061 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 57869a76 feat: add minute_ranges field to RunRealtimeReportRequest object (#4240)
2021-08-25 01:33:06,114 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
to=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
ERROR: /h/.cache/synthtool/googleapis/google/cloud/vision/v1/BUILD.bazel:201:18: //google/cloud/vision/v1:vision_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,gapic_yaml=google/cloud/vision/v1/vision_gapic.yaml,service_yaml=google/cloud/vision/v1/vision_v1.yaml,grpc_service_config=google/cloud/vision/v1/vision_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/cloud/vision/v1/vision_php_gapic_srcjar.srcjar.zip -Igoogle/cloud/vision/v1/geometry.proto=google/cloud/vision/v1/geometry.proto -Igoogle/cloud/vision/v1/image_annotator.proto=google/cloud/vision/v1/image_annotator.proto -Igoogle/cloud/vision/v1/product_search.proto=google/cloud/vision/v1/product_search.proto -Igoogle/cloud/vision/v1/product_search_service.proto=google/cloud/vision/v1/product_search_service.proto -Igoogle/cloud/vision/v1/text_annotation.proto=google/cloud/vision/v1/text_annotation.proto -Igoogle/cloud/vision/v1/web_detection.proto=google/cloud/vision/v1/web_detection.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/type/color.proto=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto -Igoogle/cloud/common_resources.proto=google/cloud/common_resources.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto google/cloud/common_resources.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/cloud/vision/v1:google-cloud-vision-v1-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.266s, Critical Path: 1.11s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-08-25 02:37:23,561 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 29, in <module>
    v1_library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/vision/v1:google-cloud-vision-v1-php']' returned non-zero exit status 1.
2021-08-25 02:37:23,608 autosynth [ERROR] > Synthesis failed
2021-08-25 02:37:23,608 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d60741e feat: introduce clientCertSource option (#4332)
2021-08-25 02:37:23,659 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
to=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
ERROR: /h/.cache/synthtool/googleapis/google/cloud/vision/v1/BUILD.bazel:201:18: //google/cloud/vision/v1:vision_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,gapic_yaml=google/cloud/vision/v1/vision_gapic.yaml,service_yaml=google/cloud/vision/v1/vision_v1.yaml,grpc_service_config=google/cloud/vision/v1/vision_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/cloud/vision/v1/vision_php_gapic_srcjar.srcjar.zip -Igoogle/cloud/vision/v1/geometry.proto=google/cloud/vision/v1/geometry.proto -Igoogle/cloud/vision/v1/image_annotator.proto=google/cloud/vision/v1/image_annotator.proto -Igoogle/cloud/vision/v1/product_search.proto=google/cloud/vision/v1/product_search.proto -Igoogle/cloud/vision/v1/product_search_service.proto=google/cloud/vision/v1/product_search_service.proto -Igoogle/cloud/vision/v1/text_annotation.proto=google/cloud/vision/v1/text_annotation.proto -Igoogle/cloud/vision/v1/web_detection.proto=google/cloud/vision/v1/web_detection.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/type/color.proto=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto -Igoogle/cloud/common_resources.proto=google/cloud/common_resources.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto google/cloud/common_resources.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/cloud/vision/v1:google-cloud-vision-v1-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.129s, Critical Path: 0.98s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-08-25 03:21:27,110 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 29, in <module>
    v1_library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/vision/v1:google-cloud-vision-v1-php']' returned non-zero exit status 1.
2021-08-25 03:21:27,151 autosynth [ERROR] > Synthesis failed
2021-08-25 03:21:27,151 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d60741e feat: introduce clientCertSource option (#4332)
2021-08-25 03:21:27,196 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating vision. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the vision API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
to=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
ERROR: /h/.cache/synthtool/googleapis/google/cloud/vision/v1/BUILD.bazel:201:18: //google/cloud/vision/v1:vision_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,gapic_yaml=google/cloud/vision/v1/vision_gapic.yaml,service_yaml=google/cloud/vision/v1/vision_v1.yaml,grpc_service_config=google/cloud/vision/v1/vision_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/cloud/vision/v1/vision_php_gapic_srcjar.srcjar.zip -Igoogle/cloud/vision/v1/geometry.proto=google/cloud/vision/v1/geometry.proto -Igoogle/cloud/vision/v1/image_annotator.proto=google/cloud/vision/v1/image_annotator.proto -Igoogle/cloud/vision/v1/product_search.proto=google/cloud/vision/v1/product_search.proto -Igoogle/cloud/vision/v1/product_search_service.proto=google/cloud/vision/v1/product_search_service.proto -Igoogle/cloud/vision/v1/text_annotation.proto=google/cloud/vision/v1/text_annotation.proto -Igoogle/cloud/vision/v1/web_detection.proto=google/cloud/vision/v1/web_detection.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/api/field_behavior.proto=google/api/field_behavior.proto -Igoogle/api/resource.proto=google/api/resource.proto -Igoogle/longrunning/operations.proto=google/longrunning/operations.proto -Igoogle/rpc/status.proto=google/rpc/status.proto -Igoogle/protobuf/any.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/any_proto/google/protobuf/any.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/empty.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/empty_proto/google/protobuf/empty.proto -Igoogle/type/color.proto=google/type/color.proto -Igoogle/protobuf/wrappers.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/wrappers_proto/google/protobuf/wrappers.proto -Igoogle/type/latlng.proto=google/type/latlng.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/protobuf/timestamp.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/timestamp_proto/google/protobuf/timestamp.proto -Igoogle/cloud/common_resources.proto=google/cloud/common_resources.proto google/cloud/vision/v1/geometry.proto google/cloud/vision/v1/image_annotator.proto google/cloud/vision/v1/product_search.proto google/cloud/vision/v1/product_search_service.proto google/cloud/vision/v1/text_annotation.proto google/cloud/vision/v1/web_detection.proto google/cloud/common_resources.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 31 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/vision/v1/geometry.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/product_search.proto:23:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/text_annotation.proto:20:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/web_detection.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/cloud/vision/v1/image_annotator.proto:27:1: warning: Import google/protobuf/field_mask.proto is unused.
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/cloud/vision/v1:google-cloud-vision-v1-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.285s, Critical Path: 1.11s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-08-25 04:07:47,036 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/cloud/vision/v1:google-cloud-vision-v1-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Vision/synth.py", line 29, in <module>
    v1_library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/cloud/vision/v1:google-cloud-vision-v1-php']' returned non-zero exit status 1.
2021-08-25 04:07:47,090 autosynth [ERROR] > Synthesis failed
2021-08-25 04:07:47,091 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 6d60741e feat: introduce clientCertSource option (#4332)
2021-08-25 04:07:47,143 autosynth [DEBUG] > Running: git checkout autosynth-vision
Switched to branch 'autosynth-vision'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:

repo: googleapis/google-cloud-php


text:
feat: update require version for google/cloud-core

This will ensure the proper google/cloud-core version is used to enable proper LRO encoding updated in #2837

Don't merge this until we see whether the core version changes from patch to minor.

source: gharchive/pull-request

authors: AVaksman jdpedrie

license_type: permissive

license_source: github-api


text:
chore(Spanner): fix system tests

Currently system tests are failing due to use of wrong expected exceptions and lack of having a backup before performing a restore. This PR will complete all changes started in https://github.com/googleapis/google-cloud-php/pull/5758.
Change

Migrate from /BadRequestException to BadRequestException in affected tests.

Add test dependency of testCreateBackup to all tests where backup object is instantiated.

earliestVersionTime represents timestamp for data availability in Spanner and [versionTime]
(https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.backups#Backup.FIELDS) represents createTime of backup or can be manually specified. They are not supposed to be same, so removing its assertion.

Tests are failing because thesizeBytes for backups's metadata is zero. Even in pantheon UI, it shows up as zero. There is a record inserted in test setup though, so my hypothesis is it seems size takes sometime to show up OR maybe the size is too small to show up accurately. Either ways the assertion needs a change.

Tests
google-cloud-php/Spanner % vendor/bin/phpunit -c phpunit-system.xml.dist tests/System/BackupTest.php
PHPUnit 8.5.31 by Sebastian Bergmann and contributors.

R
projects/the-book-club-337319/instances/google-cloud-php-system-tests.......................                                          24 / 24 (100%)

Time: 1.11 hours, Memory: 12.00 MB

There was 1 risky test:

1) Google\Cloud\Spanner\Tests\System\BackupTest::testListAllInstances
This test did not perform any assertions

/Users/vishwarajanand/github/google-cloud-php/Spanner/tests/System/BackupTest.php:114

phpvfscomposer:///Users/vishwarajanand/github/google-cloud-php/Spanner/vendor/phpunit/phpunit/phpunit:97

OK, but incomplete, skipped, or risky tests!
Tests: 24, Assertions: 85, Risky: 1.
google-cloud-php/Spanner %

ref: b/263759734

@dwsupplee 's comments:

Explore whether we can assert on size equals to original table, rather than asserting on >= 0


text:
chore: release 2.1.2

:robot: I have created a release *beep* *boop*
2.1.2 (2019-08-14)
Bug Fixes

types: correct internal timeout field type (#470) (e7dd206)
upgrade to version of teeny-request with looser types for method (#472) (143774c)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-common/releases/tag/v2.1.2

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:

repo: googleapis/nodejs-common

license_source: bigquery


text:
chore: release 4.1.3

:robot: I have created a release *beep* *boop*
4.1.3 (2019-06-27)
Bug Fixes

docs: link to reference docs section on googleapis.dev (#444) (0fd5492)
typescript: grpc->@grpc-js (#446) (d8a8c81)
typescript: query pojection -> projection (#445) (32b6311)

This PR was generated with Release Please.

Release is at https://github.com/googleapis/nodejs-datastore/releases/tag/v4.1.3

The release build has started, the log can be viewed here. :sunflower:

:egg: You hatched a release! The release build finished successfully! :purple_heart:

repo: googleapis/nodejs-datastore


text:
docs: fix npm package name in README

Fixes #677

@laljikanjareeya thank you 👍

authors: bcoe laljikanjareeya

repo: googleapis/nodejs-dialogflow


text:
Does the Logging client support logs and Entries for Folders and Organizations

Hey,
I'm looking for some clarification and direction. I currently have some resources setup as follows:
─ my-organization
    └── my-folder
          └── my-project

I can write logs to a project with the sample code:
async write(): {
  const logging = new Logging();
  const log = logging.log('folder-log-1');

  // A json log entry with additional context
  const metadata = {
    severity: 'WARNING',
    resource: {
      type: 'global'
    }
  };

  const message = {
    "message": "Some message for some log",
  };

  const json_Entry = log.entry(metadata, message);
  await log.write(json_Entry);
}

But, I would also like to write/retrieve logs/entries from the organization and folder levels. The service account for the project has Logging Admin and Logs Viewer access for the Folder and organization.
Is this client only able to write/view logs and entries for a Project?

Thank @losalex.
I was able to get what I needed by doing:
  async getLogs(resource: 'projects' | 'folders' | 'organizations'): Promise<string[]> {
    const response = await this._client.auth.request({
      url: `https://logging.googleapis.com/v2/${resource}/logs`,
      method: 'GET'
    });

    return response.data;
  }

But being able to use the client directly would be great.

source: gharchive/issue

repo: googleapis/nodejs-logging


text:
feature(database): make session pool hot swappable

Fixes #236 (it's a good idea to open an issue first for discussion)

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

@walshie4 I pushed a new commit here that includes a sizeable refactor to the session pool. If you have the bandwidth, could you test it out to see if you still experience any of the leaks/etc. reported in #192?

@callmehiphop I'll see if I can find a task to try this out on in the next few days or this weekend.  👍

@crwilcox @stephenplusplus still working on some unit tests, but this should be ready for a look through!

Looking good here @callmehiphop.  Are we good to merge?

@JustinBeckwith I think we should be good unless @stephenplusplus or @walshie4 have more feedback!

authors: JustinBeckwith callmehiphop walshie4

repo: googleapis/nodejs-spanner


text:
Fix: improve GetFilesResponse interface

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes https://github.com/googleapis/nodejs-storage/issues/2464 🦕

Hi @olishevskii thank you for opening a PR and trying to clean this up.
If you take a look at https://github.com/googleapis/nodejs-storage/blob/b4dbd73189b9fae4c23d614753670ee562bc717b/src/bucket.ts#L2840 you will see that what is actually being returned is a cross between GetFilesOptions & {pageToken?: string}. This PR omits the GetFilesOptions portion.
I'm also not sure we want to define a new interface that will need to be exported just to hold the page token portion.

Hi @ddelgrosso1. I see your point of view regarding defining a new interface NextPageFilesOptions. I've rewritten my solution using TypeScript utilities. Additionally, I noticed that a query can be not only like GetFilesOptions but also like GetFilesCallback.
https://github.com/googleapis/nodejs-storage/blob/b4dbd73189b9fae4c23d614753670ee562bc717b/src/bucket.ts#L2798-L2802

repo: googleapis/nodejs-storage


text:
chore: migrate to Owl-Bot using a staging directory

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

I discovered an issue.  Reverting to draft.

repo: googleapis/nodejs-web-risk


text:
Remove unnecessary version files

Seeing changes on tests/testdata/handwritten/google/cloud/storage/version.py and tests/testdata/non-cloud/pandas_gbq/version.py; these files are likely not needed but they generate noise and possible confusion to the testing system.

I could make changes so that the version files are not needed and go away, however I'll leave them as-is to preserve as much of the client library's original behaviors as possible. I have to make a lot of tweaks and it won't be really worth the effort just so I'm not "annoyed" for every release (it's not really that annoying). I'll just put a note for what their original versions are, since that can be easily lost.

repo: googleapis/sphinx-docfx-yaml


text:
Add a pause/continue service to cartographer_ros

Rendered version

As I mentioned offline, the idea of the feature sounds good to me if there is an urgent need by the community.
However, I am afraid that it entails large changes to Collator, PoseExtrapolator and generally local SLAM because cartographer does not expects jumps in time.
So in order to move forward, more detailed plans how to implement this would be needed.

Moved to backlog.

authors: MichaelGrupp gaschler

repo: googlecartographer/rfcs


text:
Question: why increase sReqCode for each call to getChangeTempIntent ?

This code:
private PendingIntent getChangeTempIntent(int value) {
    Intent intent = new Intent(ACTION_CHANGE_TEMP);
    intent.setClass(context, MyBroadcastReceiver.class);
    intent.putExtra(EXTRA_TEMP_VALUE, value);
    return PendingIntent.getBroadcast(getContext(), sReqCode++, intent,
            PendingIntent.FLAG_UPDATE_CURRENT);
}

I think it's not really needed to increase it all the time, as the request might interfere with other kinds of codes.
I think it's easier to split it to inc&dec. For example:
private PendingIntent getChangeTempIntent(int value, boolean hasIncreased) {
    Intent intent = new Intent(ACTION_CHANGE_TEMP);
    intent.setClass(context, MyBroadcastReceiver.class);
    intent.putExtra(EXTRA_TEMP_VALUE, value);
    return PendingIntent.getBroadcast(getContext(), hasIncreased ? 0 : 1, intent,
            PendingIntent.FLAG_UPDATE_CURRENT);
}

And the usage:
    SliceAction tempUp = new SliceAction(getChangeTempIntent(sTemperature + 1, true),
            IconCompat.createWithResource(context, R.drawable.ic_temp_up).toIcon(),
            "Increase temperature");
    SliceAction tempDown = new SliceAction(getChangeTempIntent(sTemperature - 1, false),
            IconCompat.createWithResource(context, R.drawable.ic_temp_down).toIcon(),
            "Decrease temperature");

Seems to work fine...

I rewrote the codelab in Kotlin, and it is a bit different now, so I am closing this issue. Please reopen if you see the same issue and I will look into it ASAP.

authors: AndroidDeveloperLB codingjeremy

repo: googlecodelabs/slices-basic-codelab


text:
Public Weather data of firebase.io is not accessible

weather-data of newyork not accessible

@GuptaAkshay looks like the link is accessible now.

authors: GuptaAkshay gautamarora

repo: googlecodelabs/your-first-pwapp


text:
Fix isTensor() function

typeof operator was missing, causing the function to always return false.

@googlebot I signed it!

great catch thank you!

authors: hapticdata mrxdst


text:
MIME type?

I went with text/vnd.simoncozens.fez but I think a real one should be defined
[fred@デブ.狸.agency ~]$ curl -I https://ftp.mfek.org/FRBAmericanCursive/fea/classes.fez
HTTP/1.1 200 OK
Server: nginx/1.25.2
Date: Fri, 22 Sep 2023 14:53:28 GMT
Content-Type: text/vnd.simoncozens.fez
Content-Length: 3048
Last-Modified: Sat, 15 Apr 2023 07:06:05 GMT
Connection: keep-alive
ETag: "643a4cdd-be8"
X-Clacks-Overhead: GNU Terry Pratchett
X-Clacks-Overhead: GNU Natalie Portman
X-Clacks-Overhead: GNU Stephen Hawking
X-Clacks-Overhead: GNU Leonard Nimoy
X-Clacks-Overhead: GNU Terry A. Davis
X-Clacks-Overhead: GNU Aaron Swartz
X-Clacks-Overhead: GNU John Perry Barlow
X-Clacks-Overhead: GNU Douglas Adams
Accept-Ranges: bytes

What's the FEA MIME type? (Do they have one?)

My reading of RFC 8081 is that it's font/layout, but that could be off. For simplicity of nginx configuration I'm using text/vnd.adobe.fea.

authors: ctrlcctrlv simoncozens

repo: googlefonts/fez


text:
All blacklisted fonts have issues with hinting tables

All blacklisted fonts on fontbakery-build-fontmetadata.py have issues with the OpenType hinting tables that trigger the check at https://github.com/felipesanches/fontbakery/blob/06945641497a642422a101d904420fda3eca9815/fontbakery-build-fontmetadata.py#L588-L607
See issue #704. I attempted to remove each of the blacklisted fonts in order to replicate the problem that originally caused them to be blacklisted. But instead all of those were auto-blacklisted by the all-or-nothing hinting tables criteria described at https://github.com/googlefonts/fontbakery/issues/705#issuecomment-244800828.

@davelab6 edited this issue to consolidate tasks from the discussion below.

[ ] IOError: execution context too long (issue #703) - Padauk

[ ] IOError: execution context too long (issue #703) - KumarOne

[ ] ZeroDivisionError: float division by zero - AdobeBlank

[ ] ZeroDivisionError: float division by zero - Phetsarath

[ ] IOError: invalid reference (reference) - Corben

[ ] IOError: stack overflow on text_width, text_height = font.getsize(TEXT) - Rubik

And indeed, if I disable the hinting tables check I end up getting a division by zero that results from a detected text_height value of zero !
Seems likely to be caused by the bad hinting tables perhaps?

Next actions on this are...

[  ] reconfirm the problems causing these fonts to be blacklisted are still caught by the 0.3.1 release
[ ] file an issue on google/fonts for each class of problem to track fixing them, and removing them from this blacklist
[ ] remove the blacklist

As there are only 6 remaining blacklisted font files, I think we can track them all here. They are:
#IOError: execution context too long (issue #703)
  "Padauk",
  "KumarOne",

#ZeroDivisionError: float division by zero
  "AdobeBlank",
  "Phetsarath",

# IOError: invalid reference See also: https://github.com/google/fonts/issues/132#issuecomment-244796023
  "Corben",

# IOError: stack overflow on text_width, text_height = font.getsize(TEXT)
  "Rubik",

"stack overflow" and "division by zero", if happened in the hinting instructions, are part of FontVal 2.0. "execution too long" is part of FontVal 2.1 .

source code patches are welcome!

The "details" part of all Fontval's errors/warnings for hinting instructions do tell you exactly what byte offsets when the offending instruction happens, and what that instruction is. While not actually source-code patches to the fonts, it tells you exactly where to look and patch...

@davelab6 Is this a hotfix or should I regenerate from source?

These are hinting errors, so no, I think that may be too much .
Rubik should be fixed by Marc compiling the VTT data and submitting a new PR.
For AdobeBlank the error should be reported upstream. Would this be correct?

Topic: HinTak FontVal: "ZeroDivisionError: float division by zero"
Body: The HinTak fork of MS FontVal says that AdobeBlank fails in hinting with

For the others, if you can still reproduce this in Padauk, KumarOne, Phetsarath and Corben, try roundtripping through TTX and that might fix it; if not, try stripping the hints (with ttfautohint -d) and then rehinting with latest release of ttfautohint and see if that fixes it.

Most of the other errors are because of hinting being fundamentally broken, but for the stack overflow error, it could be maxp not quite right too, so you might need to change maxp instead (don't know if ttfautohint does that). Difficult to tell without see the fonts or the full output.

Thanks HinTak!

Indeed I've been thinking about it and it might be useful if ttfautohint had an option to dry-run not changing the actual hinting code, but instead suggesting an adequate value for max stack size on maxp.

In the more general case, this kind of computation of the ideal stacksize value for the maxp table could be inferred by loading the font with freetype with an excessive stack memory allocation and then tracing what maximum value was reached at runtime.

I only suggest that because it seems that it would be impractical or really challenging to calculate the max stack size needed with static analysis of the bytecode. Inference via a runtime test-run would be much easier to implement. And I believe it would be safe since hinting bytecode always runs with the same input (the outlines of the full glyph-set of a font) so it is not prone to have a different stack-size requirement depending on user input (there's no varying user input at all as far as I can tell, so the proposed dynamic analysis would be very deterministic).

Yes and no. Freetype over-allocates maxstack by 32 and does not trust maxp as correct. So Freetype's behavior does not match microsoft's, and is of no use if you want your fonts to work on windows.
FontVal 2.1's behavior is tuned to match Microsoft's, rather than Freetype's, while still preserving Freetype's general fault-tolerance. Needless to say, FontVal 2.1 's behavior matches the legacy Microsoft 1.0 backend in this. FontVal 2.0 exhibits the Freetype over-allocate behavior and was reported as a bug a while ago.

Exactly what I meant ! :-)

The stack requirement can change with requested glyph size . Hence you have to run with a range of glyph sizes to see whether it is exceeded. I seem to be trying to explain why the microsoft people wrote what they wrote, in the font validator that way :-).

yep, with point sizes from 4 to 72...

not just 4-72 ; up to 126. Here is the list:
 vp.sizes = List[int]([4,5,6,7,8,9,10,
                              11,12,13,14,15,16,17,18,19,20,
                              21,22,23,24,25,26,27,28,29,30,
                              31,32,33,34,35,36,37,38,39,40,
                              41,42,43,44,45,46,47,48,49,50,
                              51,52,53,54,55,56,57,58,59,60,
                              61,62,63,64,65,66,67,68,69,70,
                              71,72,
                              80,88,96,102,110,118,126])

Btw, removing the 32-over-allocation to match Microsoft's strict behavior, is the kind of change that FontVal does , which could never be upstreamed.
Freetype always goes on the generous side , assuming the value is always wrong, but FontVal needs to know exactly when the assumed-correct value is exceeded.

Sure. But the boundary check could compensate for that overallocation testing and logging whenever the stack reaches "allocated minus overallocation". And that would be perfectly upstreamable as it is just a diagnostics log call as all the other ones.

I don't think this is a healthy discussion - code that is of no use for upstream is just random crap, that one throws at others to ask them to maintain afterwards. Rather irresponsible.

repo: googlefonts/fontbakery


text:
Remove adobefonts override on the DSIG check

We have just updated the policy implemented on check/dsig to WARN users that they should remove the DSIG table (unless they're specially interested in still supporting OpenType features on fonts used on MS Office 2013).
See issue #3398 for more info.
This change in check behavior means the Adobe Fonts check override is not needed anymore (now it would actually be incorrect if kept unchanged):

@cjchapman FYI: I am removing that override on the adobefonts profile since the logic in the check implementation has flipped to suggest (with a WARN) the complete removal of the DSIG table instead of demanding (with a FAIL) the inclusion of a dummy signature.


text:
Get Google Analytics tracking code

Not sure who has to create this, but guessing we'll want to track it :)

UA-24053025-7

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-24053025-7"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-24053025-7');
</script>

This is in master, waiting to set up a PR to deploy to gh_pages in order to have @kennethormandy 's work in #115 in there as well

repo: googlefonts/typography


text:
Ireland, Germany and Nigeria Numbers digit restriction

Hi,
Some of the series of numbers were failing in Ireland, Germany and Nigeria. Here are the failing scenarios:
Ireland - Arklow - +353 86 446 0784 = This has 9 digits and currently its letting to enter only 8 digits.
Ireland - Dublin -  +353 1 222 5550 = This works fine because it has 8 digits
Germany - Bad Homburg - +49 6172 9262148,
Germany - Berlin - +49 30 22732152,
Germany - Bonn - +49 228 9817525 - Here in these numbers digits has different length and which varies from 10-12 and current library is letting to enter more than 9
Also Nigera - Mobile numbers are +234 8080803431 current library accepts 9 digits but its throwing exception phone not valid for selected region (234) and its looking for 8 digits.
So here in this number it has 10 digits which the system is not letting to enter that. +234 8080803431
Also I have attached the spreadsheet which has what I have mentioned above.
Let me know
Thanks
Sandeep
phonenos1 (002).xlsx

They all seem to be valid for me.
Can you please check the demo?

mar. 2017 9.02 p.m. skrev "sandheepraj" notifications@github.com:

Hi,
Some of the series of numbers were failing in Ireland, Germany and Nigeria.
Here are the failing scenarios:
Ireland - Arklow - +353 86 446 0784 <+353%2086%20446%200784> = This has 9
digits and currently its letting to enter only 8 digits.
Ireland - Dublin - +353 1 222 5550 <+353%201%20222%205550> = This works
fine because it has 8 digits
Germany - Bad Homburg - +49 6172 9262148 <+49%206172%209262148>,
Germany - Berlin - +49 30 22732152 <+49%2030%2022732152>,
Germany - Bonn - +49 228 9817525 <+49%20228%209817525> - Here in these
numbers digits has different length and which varies from 10-12 and current
library is letting to enter more than 9
Also Nigera - Mobile numbers are +234 8080803431 <+234%20808%20080%203431>
current library accepts 9 digits but its throwing exception phone not valid
for selected region (234) and its looking for 8 digits.
So here in this number it has 10 digits which the system is not letting to
enter that. +234 8080803431 <+234%20808%20080%203431>
Also I have attached the spreadsheet which has what I have mentioned above.
Let me know
Thanks
Sandeep
phonenos1 (002).xlsx
https://github.com/googlei18n/libphonenumber/files/866033/phonenos1.002.xlsx
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1657, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AIjis7nep6AdfhMCqUri9A4mJNkAhTp3ks5ros_xgaJpZM4MnSkX
.

which demo you are referring to?

http://libphonenumber.appspot.com
It's under the big "Demo" heading on our front page on github, in the
README.

mar. 2017 10.14 p.m. skrev "sandheepraj" notifications@github.com:

which demo you are referring to?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1657#issuecomment-288862177,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjis1cio8aC_9l3xrzxkGrTG3jv2CgXks5rouC1gaJpZM4MnSkX
.

Yes, these are all valid with the latest version of the library.
Please read our contribution guidelines, it discusses how to fix issues you may be having that are not due to our library (under "Is the issue reproducible using the demo?")

The number +234-803-333-9806 is valid mobile MTN number is Nigeria, However in our test environment the total number in telephone field is written as (+234)80 333 398 instead of Original format	+234 803 333 9806( which is what you have in you demo app)....the number fields defined is inaccurate and does not take the entire mobile number......such is the case of the remaining countries mentioned in Sandeep's post

Seems your environment is using an old version of the library then. You
need to update to the latest jars.

mar. 2017 11.04 p.m. skrev "latifaAkin" notifications@github.com:

The number +234-803-333-9806 <+234%20803%20333%209806> is valid mobile MTN
number is Nigeria, However in our test environment the total number in
telephone field is written as (+234)80 333 398 instead of Original format +234
803 333 9806 <+234%20803%20333%209806>( which is what you have in you demo
app)....the number fields defined is inaccurate and does not take the
entire mobile number......such is the case of the remaining countries
mentioned in Sandeep's post
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1657#issuecomment-288874733,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjisySMdXG2ZVTMgNji1KnJP3YI0uVoks5rouxigaJpZM4MnSkX
.

This is what we are using this is the latest version available right?
https://www.nuget.org/packages/libphonenumber-csharp/8.3.1.1
Let me know

Hi @sandheepraj,
Sorry to mention this again, but did you read the contribution guidelines?
In this case it looks like you should contact the other port. Please do read the guidelines, I think they have everything you need.
You can always see our latest release at the releases page. Just find it on the repository's home page; right now it says "50 releases" and if you click that link you get to https://github.com/googlei18n/libphonenumber/releases, and the latest is 8.3.3.

when will the csharp library will get updated currently c# is still 8.3.1.1. Here is what I am refering to
https://www.nuget.org/packages/libphonenumber-csharp/
libphonenumber-csharp 8.3.1.1
when it will be updated to 8.3.3
Let me know

Ask them, we don't manage it.

authors: keghani lararennie latifaAkin sandheepraj


text:
change implementation of pagination to infinite-scroll by using cursors and function on a load-more basis when scrolling to the bottom

Resolves #104

Will you add similar scrolling to the 'my tasks' page. We should open an issue for that

I'll talk to Leonard about this so we can open an issue and tackle this if time permits.

repo: googleinterns/NeighborGood


text:
Version19

schmitt filter

wait.. is this same as PR #21?

Sorry.... I forgot to push...

discard schmitt filter
change to skip debouncing

repo: googleinterns/cros-hummingbird


text:
open Google Street View app

how to open google street view at the desired location. i was able to open open the streetview app by url scheme streetview:// but unable to pass any parameter

Please see https://developers.google.com/maps/documentation/urls/guide for a better approach to handling this problem. Thanks!

authors: ajaysinghthakur domesticmouse

repo: googlemaps/OpenInGoogleMaps-iOS


text:
Google-Maps-iOS-Utils not working

Hi,
I've added two folders "Clustering and QuadTree" manually from Google-Maps-Utils library to integrate marker clustering but its not showing clusters.
And also added required bridging-header.
I want to add marker and cluster based on users current location, markers are working, but unable to get cluster working.
Below is my code-
`import UIKit
import Alamofire
import SwiftyJSON
import CoreLocation
import GoogleMaps
/// Point of Interest Item which implements the GMUClusterItem protocol. COdE FROM GOOGLE SAMPLE PROJECT
class POIItem: NSObject, GMUClusterItem {
var position: CLLocationCoordinate2D
var name: String!
init(position: CLLocationCoordinate2D, name: String) {
    self.position = position
    self.name = name
}

}
let kClusterItemCount = 10000
let kCameraLatitude = -33.8
let kCameraLongitude = 151.2
class SearchTab: UIViewController ,GMSMapViewDelegate ,CLLocationManagerDelegate ,GMUClusterManagerDelegate{
var tapId = Int()

var getParams :Dictionary<String, String> = [String: String]()   // DECLARING DICTIONARY FOR POST PARAMETERS

var params :[[String: AnyObject]] = [[:]]   // DECLARING DICTIONARY FOR Result PARAMETERS

var searchCount = Int()

var locationManager = CLLocationManager()

var lati = Double()
var long = Double()
var boundArray = [CLLocationCoordinate2D]()

var mapview = GMSMapView()

var clusterManager: GMUClusterManager!

@IBOutlet weak var mapView: UIView!

override func viewDidLoad() {
    super.viewDidLoad()

                //DELEGATES MAP AND LOCATION MANAGER
                mapview.delegate = self
                self.locationManager.delegate = self
                self.locationManager.desiredAccuracy = kCLLocationAccuracyBest
                self.locationManager.requestWhenInUseAuthorization()
                self.locationManager.requestLocation()

                // Set up the cluster manager with default icon generator and renderer.
                let iconGenerator = GMUDefaultClusterIconGenerator()
                let algorithm = GMUNonHierarchicalDistanceBasedAlgorithm()
                let renderer = GMUDefaultClusterRenderer(mapView: mapview, clusterIconGenerator: iconGenerator)
                clusterManager = GMUClusterManager(map: mapview, algorithm: algorithm, renderer: renderer)

                // Register self to listen to both GMUClusterManagerDelegate and GMSMapViewDelegate events.
                clusterManager.setDelegate(self, mapDelegate: self)
}

// MARK: - GMUClusterManagerDelegate

func clusterManager(clusterManager: GMUClusterManager, didTapCluster cluster: GMUCluster) {
    let newCamera = GMSCameraPosition.cameraWithTarget(cluster.position,
                                                       zoom: mapview.camera.zoom + 1)
    let update = GMSCameraUpdate.setCamera(newCamera)
    mapview.moveCamera(update)

}

    /// Returns a random value between -1.0 and 1.0.
    private func randomScale() -> Double {
        return Double(arc4random()) / Double(UINT32_MAX) * 2.0 - 1.0
    }

func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation])
{

            let location = locations.first

            self.locationManager.stopUpdatingLocation()
            getParams["lat"] = location?.coordinate.latitude
            getParams[lon"] = location?.coordinate.longitude

            setupMap()
 }

func locationManager(manager: CLLocationManager, didFailWithError error: NSError)
{

    print("Errors: " + error.localizedDescription)
}

//Mark-- setup location on map using the users current location
func setupMap(){

                let lat :Double =  Double(getParams["lat"]!)
                let long = Double(getParams["lon"]!)
                let camera = GMSCameraPosition.cameraWithLatitude(lat , longitude: long, zoom: 10.0)

                let userLocation = CLLocationCoordinate2D(latitude: lat, longitude: long)

                let userCam = GMSCameraUpdate.setTarget(userLocation)

                mapview = GMSMapView(frame: self.mapView.bounds)
                mapview.myLocationEnabled = true
                mapview.settings.myLocationButton = true

                mapview.delegate = self

                mapview.camera = camera

                self.lati = lat
                self.long =  long
                 self.getParams = [:]
                self.getParams["lat"] = "\(lat)"
                self.getParams["lng"] = "\(long)"
                self.mapView.addSubview(mapview)

               //CALLING FUNCTION TI SEARCH Required results near the users current location
                gpsSearch()
 }

//MARK -- LOCAtion BASED SEARCH
func gpsSearch() {

    LoadingOverlay.shared.showOverlay((self.navigationController?.view)!)
    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
            dispatch_async(dispatch_get_main_queue()) {

            self.getParams["miles"] = "5"

                            Alamofire.request(.POST, "MY SEARCH URL", parameters: self.getParams, encoding:.JSON).responseJSON
                {

                    response in switch response.result
                    {

                    case .Success(let res):
                        //                            print(res)

                        let userData = JSON(res)
                        if userData["error"] != "false"{
                            print(userData["error"])
                            self.displayALert("Aw snap! No results found. Give us another shot")
                            LoadingOverlay.shared.hideOverlayView()
                            return
                        }

                        self.params = res["result"]  as! [[String:AnyObject]]
                        print("THESE ARE Marker RESULTS COUNT-- \(self.params.count)")

                        var count = 0
                        for  result in self.params{
                            //      print("--------- \(result)")
                            let marker = GMSMarker()
                            marker.icon = UIImage(named: "annotImage")
                            marker.infoWindowAnchor = CGPointMake(0,0)
                            marker.accessibilityLabel = "\(count)"

                            marker.position = CLLocationCoordinate2DMake(result["lat"]!.doubleValue , result["lng"]!.doubleValue)

                            marker.map = self.mapview
                            count += 1

                            let cor =  marker.position
                            self.boundArray.append(cor)
                        }

                        let location = CLLocationCoordinate2D(latitude: self.lati , longitude: self.long)

                        self.boundArray.append(location)//["coordinate"] = location

                        let lastLoc = CLLocationCoordinate2D(latitude: self.params[count - 1]["lat"]!.doubleValue , longitude: self.params[count - 1]["lng"]!.doubleValue)

                        let bounds = GMSCoordinateBounds(coordinate: location, coordinate: lastLoc)
                        let camera = self.mapview.cameraForBounds(bounds, insets: UIEdgeInsets())!
                        self.mapview.camera = camera

                        let zoomCamera = GMSCameraUpdate.zoomOut()
                        self.mapview.animateWithCameraUpdate(zoomCamera)

                         var clustItem = 0
                        let extent = 0.2
                        for result in self.params{

//                                       print("--------- (result)")
let lat = result["lat"]!.doubleValue + extent * self.randomScale()
let lng = result["lng"]!.doubleValue + extent * self.randomScale()
let name = "Item (clustItem)"
let item = POIItem(position: CLLocationCoordinate2DMake(lat, lng), name: name)
                            clustItem += 1
                            self.clusterManager.addItem(item)
                        }

                        self.clusterManager.cluster()

                        LoadingOverlay.shared.hideOverlayView()

                    case .Failure(let error):
                        LoadingOverlay.shared.hideOverlayView()
                        self.displayALert("Something went wrong, please try again")

                        print("Request failed with error: \(error)")
                    }
            }

        }}

}
//MARK: GMSMapViewDelegate
func mapView(mapView: GMSMapView!, markerInfoWindow marker: GMSMarker!) -> UIView! {
    // Get a reference for the custom overlay
    let index:Int! = Int(marker.accessibilityLabel!)
    let customInfoWindow = NSBundle.mainBundle().loadNibNamed("CustomInfoWindow", owner: self, options: nil)[0] as! CustomInfoWindow
    customInfoWindow.title.text = self.params[index]["name"] as! String
    customInfoWindow.subTitle.text = self.params[index]["address"] as! String
    customInfoWindow.backgroundColor = UIColor.blackColor()
    customInfoWindow.alpha = 0.7
    customInfoWindow.layer.cornerRadius =  5
    customInfoWindow.title.textColor = UIColor.whiteColor()
    customInfoWindow.subTitle.textColor = UIColor.whiteColor()
    //
    let vancouver = CLLocationCoordinate2D(latitude: self.params[index]["lat"]!.doubleValue, longitude: self.params[index]["lng"]!.doubleValue)
    let vancouverCam = GMSCameraUpdate.setTarget(vancouver)
    mapview.animateWithCameraUpdate(vancouverCam)

    return customInfoWindow
}

//MARK :- FUNCTION TO DETECT tap on Infowindow of map

func mapView(mapView: GMSMapView, didTapInfoWindowOfMarker marker: GMSMarker) {

    //        print("Tapp detected")
    let index:Int! = Int(marker.accessibilityLabel!)

    tapId = self.params[index]["winery_id"] as! Int
     print("Tapp detected---- win id \(tapId)")

}

func displayALert(userMessage:String){              //FUNCTION FOR DISPLAYING ALERT ON EMPTY FIELDS

    let alertController:UIAlertController = UIAlertController(title: "Alert", message:
        userMessage, preferredStyle: UIAlertControllerStyle.Alert)

    alertController.addAction(UIAlertAction(title: "Ok", style: UIAlertActionStyle.Default,handler: nil))

    self.presentViewController(alertController, animated: true, completion: nil)

}   //END OF DISPLAY ALERT FUN

}
`
The app builds and runs ,but clusters are not not getting displayed, please help

Are you able to attach a screenshot? Is it possible that the gpsSearch() call in setupMap() has moved the camera to a different viewport which does not have any clusters? If you comment it out do you see the clusters?

Closing this out as stale. Please re-open with a link to a minimal reproduction case as a GitHub repo if this is still an issue. Thanks!

authors: domesticmouse mountainvat yadavanand

repo: googlemaps/google-maps-ios-utils


text:
Missing script in transport-tracker/admin/package.json

transport-tracker/admin/>npm run main
npm ERR! missing script: main

transport-tracker/admin/package.json
"main": "index.js"
{
  "name": "admin",
  "version": "1.0.0",
  "description": "Transport Tracker admin",
  "main": "index.js",
  "author": "Stephen McDonald <stephenmcd@google.com>",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/googlemaps/transport-tracker.git"
  },
  "dependencies": {
    "ejs": "2.5.5"
  }
}

@stephenmcd

But I don't believe it was built to be used in that way.

That's the correct way to access it - the JS is client-side and package.json exists so that the dependencies can be installed.

authors: domesticmouse leonharbour stephenmcd

repo: googlemaps/transport-tracker


text:
MusicService is not compatible with Oreo

reading oreo doc regarding background services
https://developer.android.com/about/versions/oreo/background
i think that this line on Oreo will throw exception "IllegalStateException: Not allowed to start service in background"
https://github.com/googlesamples/android-UniversalMusicPlayer/blob/master/mobile/src/main/java/com/example/android/uamp/MusicService.java#L370
so should be fixed to
 if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.O){
             * After the system has created the service, the app has five seconds to call the service's
             * startForeground() method to show the new service's user-visible notification.
             * If the app does not call startForeground() within the time limit,
             * the system stops the service and declares the app to be ANR.
             */
            startForegroundService(new Intent(getApplicationContext(), MusicService.class));
        }
        else {
            startService(new Intent(getApplicationContext(), MusicService.class));
        }

regards

Or just use  ContextCompat.startForegroundService()

It still throws error after 2 years passed.

I think this has been addressed in the rewrite. (I haven't run into any issues during my own testing at least.)
#394

authors: Turacbey bubbleguuum smarcet


text:
barcode-reader example crashing

I'm trying to run the barcode-reader example as it is on my Nokia 2.1 running Android 8.1.0 and Google Play Services 15.0.90. The camera starts but no barcode is detected and in the logcat I get (continuously while the camera is working) the following error:
2019-02-09 18:17:04.990 3364-3497/com.google.android.gms.samples.vision.barcodereader E/BarcodeNativeHandle: Error Loading module     com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.         at com.google.android.gms.dynamite.DynamiteModule.load(Unknown Source:8)         at com.google.android.gms.internal.vision.zzl.zzp(Unknown Source:39)         at com.google.android.gms.internal.vision.zzl.isOperational(Unknown Source:0)         at com.google.android.gms.vision.barcode.BarcodeDetector.isOperational(Unknown Source:2)         at com.google.android.gms.vision.Detector.receiveFrame(Unknown Source:16)         at com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSource$FrameProcessingRunnable.run(CameraSource.java:1205)         at java.lang.Thread.run(Thread.java:764)
What can I do to be able to run it?
Thanks!

We have just started experiencing a similar error (No acceptable module found) on the Samsung N9 Lite. Same Android and Google play services versions as you: 8.1.0 and 15.0.90. I installed this demo to help troubleshoot our own app using vision barcode detection which has just stopped working (has been ok until now). We can wait (for native code download), clear data/cache from play services etc without luck (including factory reset). It will just keep repeating:

W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:0
E/NativeBarcodeDetectorHandle: Error creating remote native barcode detector
                               com.google.android.gms.internal.zzsb$zza: No acceptable module found. Local version is 0 and remote version is 0.
                                   at com.google.android.gms.internal.zzsb.zza(Unknown Source:149)
                                   at com.google.android.gms.vision.barcode.internal.client.zzd.zzchw(Unknown Source:17)
                                   at com.google.android.gms.vision.barcode.internal.client.zzd.isOperational(Unknown Source:0)
                                   at com.google.android.gms.vision.barcode.internal.client.zzd.zza(Unknown Source:1)
                                   at com.google.android.gms.vision.barcode.BarcodeDetector.detect(Unknown Source:60)
                                   at com.google.android.gms.vision.Detector.receiveFrame(Unknown Source:30)
                                   at com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSource$FrameProcessingRunnable.run(CameraSource.java:1205)
                                   at java.lang.Thread.run(Thread.java:764)

I have issues on Moto E5 (Android Go 8.1) as well.

Does someone already fix this issue?
I am experiencing the same issue

authors: foozeNZ nekhbet nicail18 polesapart

repo: googlesamples/android-vision


text:
FaceDetector module fails to download

I have created an app using the FaceDetector APIs. However. at runtime the face detector isOperational always returns false. And on logcat I see this
I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:2702
    Selected remote version of com.google.android.gms.vision.dynamite, version >= 2702
W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.face not found.
I/DynamiteModule: Considering local module com.google.android.gms.vision.face:0 and remote module com.google.android.gms.vision.face:0
E/Vision: Error loading module com.google.android.gms.vision.face optional module true: gm: No acceptable module found. Local version is 0 and remote version is 0.
I/Vision: Request download for engine face is a no-op because rate limiting
I/FaceDetectorCreator: Fallback loading v1 model while waiting for v2 model to download.
I/Vision: Loading library libmobile_vision_face.so
I/Vision: libmobile_vision_face.so library load status: false
I/Vision: Request download for engine face is a no-op because rate limiting
I/Vision: Request download for engine face is a no-op because rate limiting

Hey, buddy, have you solved this problem yet


text:
quickstart.py - FileNotFoundError: [Errno 2] No such file or directory: 'credentials.json'

I'm running pip and python from the Anaconda Prompt on my Windows 10 PC.  I've 2 Google Drives running on virtual drives G and H.  I've done Step 1 and 2 from https://developers.google.com/apps-script/api/quickstart/python.
When I got to Step 3, I got this error:
(base) C:\Users\Max\Downloads>python quickstart.py
Traceback (most recent call last):
  File "quickstart.py", line 81, in <module>
    main()
  File "quickstart.py", line 45, in main
    'credentials.json', SCOPES)
  File "C:\Users\Max\anaconda3\lib\site-packages\google_auth_oauthlib\flow.py", line 201, in from_client_secrets_file
    with open(client_secrets_file, "r") as json_file:
FileNotFoundError: [Errno 2] No such file or directory: 'credentials.json'

In the quickstart.py file, I've tried changing this:
flow = InstalledAppFlow.from_client_secrets_file('credentials.json', SCOPES)
To this:
flow = InstalledAppFlow.from_client_secrets_file('C:\Users\Max\Downloads\credentials.json', SCOPES)
And to this:
flow = InstalledAppFlow.from_client_secrets_file('G:\My Drive\Google Sheets\credentials.json', SCOPES)
I've a copy of credentials.json at both locations, but both didn't work.  I've tried setting the Windows Path variable to include G:\My Drive\Google Sheets, but that didn't work either.  I also did this from the command prompt based on these instructions: https://cloud.google.com/docs/authentication/getting-started#windows.
set GOOGLE_APPLICATION_CREDENTIALS="G:\My Drive\Google Sheets\credentials.json"
But that didn't work too.
I then tried the same steps with new credentials.json and quickstart.py based on instructions from: https://developers.google.com/sheets/api/quickstart/python.
I got a similar error:
(base) G:\My Drive\Google Sheets>python quickstart.py
Traceback (most recent call last):
  File "quickstart.py", line 54, in <module>
    main()
  File "quickstart.py", line 31, in main
    'credentials.json', SCOPES)
  File "C:\Users\Max\anaconda3\lib\site-packages\google_auth_oauthlib\flow.py", line 201, in from_client_secrets_file
    with open(client_secrets_file, "r") as json_file:
FileNotFoundError: [Errno 2] No such file or directory: 'credentials.json'

Does anyone know how to resolve this?  Is there a way to set the working directory?
Originally posted by @maxloosmu in https://github.com/googleworkspace/python-samples/issues/134#issuecomment-950338118

FileNotFoundError: [Errno 2] No such file or directory: 'api-key.json'

repo: googleworkspace/python-samples


text:
Better support for nil in apply

If m is a (*HTML)(nil) then the first nil check will fail. This adds another after the cast to *HTML.

Perfect, thanks for this!

authors: davelondon slimsag

repo: gopherjs/vecty