Synthesis failed for python-language

Hello! Autosynth couldn't regenerate python-language. :broken_heart:
Here's the output from running synth.py:
w branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f5e4c17 feat: Add include_protos parameter support for GAPICBazel (#489)
2020-06-20 08:21:05,919 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-20 08:21:05,923 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-20 08:21:05,928 autosynth [INFO] > Running synthtool
2020-06-20 08:21:05,928 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-20 08:21:05,928 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-language/self/2/sponge_log.log
2020-06-20 08:21:05,930 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-20 08:21:06,133 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-language/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-20 08:21:06,259 synthtool [DEBUG] > Ensuring dependencies.
2020-06-20 08:21:06,271 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-20 08:21:06,275 synthtool [DEBUG] > Cloning googleapis.
2020-06-20 08:21:06,276 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-20 08:21:06,279 synthtool [DEBUG] > Generating code for: //google/cloud/language/v1beta2:language-v1beta2-py.
2020-06-20 08:21:10,779 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/language/v1beta2:language-v1beta2-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/4cb5d58f258afdb8abc0b99706370b4a59252b22.zip) = 3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/5bd90a1f67c1c128291702cc320d667060f40f95.zip) = c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.2.tar.gz) = ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Analyzing: target //google/cloud/language/v1beta2:language-v1beta2-py (1 packages loaded, 0 targets configured)
INFO: Call stack for the definition of repository 'go_sdk' which is a _go_download_sdk (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:79:20):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:92:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/io_bazel_rules_go/go/private/sdk.bzl:260:13
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:81:1
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/language/v1beta2:language-v1beta2-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 4.488s
INFO: 0 processes.

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-language/synth.py", line 33, in <module>
    include_protos=True,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/language/v1beta2:language-v1beta2-py']' returned non-zero exit status 1.
2020-06-20 08:21:10,826 autosynth [ERROR] > Synthesis failed
2020-06-20 08:21:10,826 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f16bd6d chore: Migrate python-languge synth.py from artman to bazel (#15)
2020-06-20 08:21:10,832 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-20 08:21:10,837 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-20 08:21:11,018 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-language/pull/21
2020-06-20 08:21:11,018 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/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 python-language. :sob:
Here's the output from running synth.py:
o so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
2020-06-21 05:28:02,102 autosynth [DEBUG] > Running: git checkout f5e4c17dc78a966dbf29961dd01f9bbd63e20a04
Note: checking out 'f5e4c17dc78a966dbf29961dd01f9bbd63e20a04'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f5e4c17 feat: Add include_protos parameter support for GAPICBazel (#489)
2020-06-21 05:28:02,118 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-21 05:28:02,121 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-21 05:28:02,126 autosynth [INFO] > Running synthtool
2020-06-21 05:28:02,126 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-21 05:28:02,126 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-language/self/2/sponge_log.log
2020-06-21 05:28:02,128 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-21 05:28:02,349 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-language/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-21 05:28:02,480 synthtool [DEBUG] > Ensuring dependencies.
2020-06-21 05:28:02,490 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-21 05:28:02,495 synthtool [DEBUG] > Cloning googleapis.
2020-06-21 05:28:02,495 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-21 05:28:02,498 synthtool [DEBUG] > Generating code for: //google/cloud/language/v1beta2:language-v1beta2-py.
2020-06-21 05:28:05,376 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/language/v1beta2:language-v1beta2-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/4cb5d58f258afdb8abc0b99706370b4a59252b22.zip) = 3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/5bd90a1f67c1c128291702cc320d667060f40f95.zip) = c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.2.tar.gz) = ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Analyzing: target //google/cloud/language/v1beta2:language-v1beta2-py (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/language/v1beta2:language-v1beta2-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 2.867s
INFO: 0 processes.

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-language/synth.py", line 33, in <module>
    include_protos=True,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/language/v1beta2:language-v1beta2-py']' returned non-zero exit status 1.
2020-06-21 05:28:05,413 autosynth [ERROR] > Synthesis failed
2020-06-21 05:28:05,413 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f16bd6d chore: Migrate python-languge synth.py from artman to bazel (#15)
2020-06-21 05:28:05,418 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-21 05:28:05,423 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-21 05:28:05,621 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-language/pull/21
2020-06-21 05:28:05,621 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/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 python-language. :sob:
Here's the output from running synth.py:
 checkout -b <new-branch-name>

HEAD is now at 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
2020-06-22 05:27:46,680 autosynth [DEBUG] > Running: git checkout f5e4c17dc78a966dbf29961dd01f9bbd63e20a04
Note: checking out 'f5e4c17dc78a966dbf29961dd01f9bbd63e20a04'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f5e4c17 feat: Add include_protos parameter support for GAPICBazel (#489)
2020-06-22 05:27:46,694 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-22 05:27:46,698 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-22 05:27:46,702 autosynth [INFO] > Running synthtool
2020-06-22 05:27:46,702 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-22 05:27:46,702 autosynth [DEBUG] > log_file_path: /tmpfs/src/github/synthtool/logs/googleapis/python-language/self/2/sponge_log.log
2020-06-22 05:27:46,704 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-22 05:27:46,919 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-language/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-22 05:27:47,049 synthtool [DEBUG] > Ensuring dependencies.
2020-06-22 05:27:47,059 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-22 05:27:47,063 synthtool [DEBUG] > Cloning googleapis.
2020-06-22 05:27:47,063 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-22 05:27:47,066 synthtool [DEBUG] > Generating code for: //google/cloud/language/v1beta2:language-v1beta2-py.
2020-06-22 05:27:50,323 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/language/v1beta2:language-v1beta2-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/4cb5d58f258afdb8abc0b99706370b4a59252b22.zip) = 3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/5bd90a1f67c1c128291702cc320d667060f40f95.zip) = c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.2.tar.gz) = ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Loading: 0 packages loaded
    currently loading: google/cloud/language/v1beta2
Analyzing: target //google/cloud/language/v1beta2:language-v1beta2-py (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/language/v1beta2:language-v1beta2-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 3.248s
INFO: 0 processes.

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-language/synth.py", line 33, in <module>
    include_protos=True,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/language/v1beta2:language-v1beta2-py']' returned non-zero exit status 1.
2020-06-22 05:27:50,359 autosynth [ERROR] > Synthesis failed
2020-06-22 05:27:50,360 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f16bd6d chore: Migrate python-languge synth.py from artman to bazel (#15)
2020-06-22 05:27:50,365 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-22 05:27:50,369 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-22 05:27:50,634 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-language/pull/21
2020-06-22 05:27:50,634 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/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 python-language. :sob:
Here's the output from running synth.py:
stall_deps.tmpl.rst
scripts/readme-gen/templates/install_portaudio.tmpl.rst
setup.cfg
testing/.gitignore
2020-06-23 12:40:13,944 synthtool [WARNING] > No replacements made in google/cloud/**/language_service_pb2.py for pattern __doc__ = """################################################################
  #

  Represents the input to API methods., maybe replacement is no longer needed?
2020-06-23 12:40:13,944 synthtool [INFO] > Replaced 'types\\.EncodingType' in google/cloud/language_v1beta2/gapic/language_service_client.py.
2020-06-23 12:40:13,945 synthtool [INFO] > Replaced 'types\\.EncodingType' in google/cloud/language_v1/gapic/language_service_client.py.
Running session blacken
Creating virtual environment (virtualenv) using python3.6 in .nox/blacken
pip install black==19.3b0
black docs google tests noxfile.py setup.py samples
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1/gapic/language_service_client_config.py
reformatted /home/kbuilder/.cache/synthtool/python-language/docs/conf.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1/gapic/transports/language_service_grpc_transport.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1/gapic/enums.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1/proto/language_service_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1/gapic/language_service_client.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1beta2/gapic/language_service_client_config.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1beta2/gapic/transports/language_service_grpc_transport.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1beta2/gapic/enums.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1beta2/gapic/language_service_client.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1beta2/proto/language_service_pb2_grpc.py
reformatted /home/kbuilder/.cache/synthtool/python-language/tests/system/gapic/v1beta2/test_system_language_service_v1beta2.py
reformatted /home/kbuilder/.cache/synthtool/python-language/tests/unit/gapic/v1/test_language_service_client_v1.py
reformatted /home/kbuilder/.cache/synthtool/python-language/tests/unit/gapic/v1beta2/test_language_service_client_v1beta2.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1/proto/language_service_pb2.py
reformatted /home/kbuilder/.cache/synthtool/python-language/google/cloud/language_v1beta2/proto/language_service_pb2.py
All done! ✨ 🍰 ✨
16 files reformatted, 28 files left unchanged.
Session blacken was successful.
2020-06-23 12:40:22,284 synthtool [DEBUG] > Wrote metadata to synth.metadata.
2020-06-23 12:40:22,366 autosynth [INFO] > Changed files:
2020-06-23 12:40:22,366 autosynth [INFO] > M .flake8
 M .gitignore
 M .kokoro/publish-docs.sh
 M .kokoro/release.sh
 M MANIFEST.in
 M docs/conf.py
 M google/cloud/language_v1/gapic/enums.py
 M google/cloud/language_v1/gapic/language_service_client.py
 M google/cloud/language_v1/gapic/transports/language_service_grpc_transport.py
 M google/cloud/language_v1/proto/language_service_pb2.py
 M google/cloud/language_v1beta2/gapic/enums.py
 M google/cloud/language_v1beta2/gapic/language_service_client.py
 M google/cloud/language_v1beta2/gapic/transports/language_service_grpc_transport.py
 M google/cloud/language_v1beta2/proto/language_service_pb2.py
 M synth.metadata
?? .kokoro/samples/
?? .kokoro/test-samples.sh
?? docs/multiprocessing.rst
?? scripts/
?? testing/
2020-06-23 12:40:22,366 autosynth [DEBUG] > Running: git log fa4d2ecd0804eb92f27a65fe65ce2a554a361b93 -1 --no-decorate --pretty=%s
2020-06-23 12:40:22,371 autosynth [DEBUG] > Running: git log fa4d2ecd0804eb92f27a65fe65ce2a554a361b93 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2020-06-23 12:40:22,377 autosynth [DEBUG] > Running: git add -A
2020-06-23 12:40:22,387 autosynth [DEBUG] > Running: git commit -m fix: migrate talent/v4beta1 to grpc_service_config

PiperOrigin-RevId: 317110673

Source-Author: Google APIs<EMAIL_ADDRESS>Source-Date: Thu Jun 18 08:49:07 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: fa4d2ecd0804eb92f27a65fe65ce2a554a361b93
Source-Link: https://github.com/googleapis/googleapis/commit/fa4d2ecd0804eb92f27a65fe65ce2a554a361b93
[autosynth-276 cc3daf8] fix: migrate talent/v4beta1 to grpc_service_config
 41 files changed, 3472 insertions(+), 815 deletions(-)
 create mode 100644 .kokoro/samples/lint/common.cfg
 create mode 100644 .kokoro/samples/lint/continuous.cfg
 create mode 100644 .kokoro/samples/lint/periodic.cfg
 create mode 100644 .kokoro/samples/lint/presubmit.cfg
 create mode 100644 .kokoro/samples/python3.6/common.cfg
 create mode 100644 .kokoro/samples/python3.6/continuous.cfg
 create mode 100644 .kokoro/samples/python3.6/periodic.cfg
 create mode 100644 .kokoro/samples/python3.6/presubmit.cfg
 create mode 100644 .kokoro/samples/python3.7/common.cfg
 create mode 100644 .kokoro/samples/python3.7/continuous.cfg
 create mode 100644 .kokoro/samples/python3.7/periodic.cfg
 create mode 100644 .kokoro/samples/python3.7/presubmit.cfg
 create mode 100644 .kokoro/samples/python3.8/common.cfg
 create mode 100644 .kokoro/samples/python3.8/continuous.cfg
 create mode 100644 .kokoro/samples/python3.8/periodic.cfg
 create mode 100644 .kokoro/samples/python3.8/presubmit.cfg
 create mode 100755 .kokoro/test-samples.sh
 create mode 100644 docs/multiprocessing.rst
 create mode 100755 scripts/decrypt-secrets.sh
 create mode 100644 scripts/readme-gen/readme_gen.py
 create mode 100644 scripts/readme-gen/templates/README.tmpl.rst
 create mode 100644 scripts/readme-gen/templates/auth.tmpl.rst
 create mode 100644 scripts/readme-gen/templates/auth_api_key.tmpl.rst
 create mode 100644 scripts/readme-gen/templates/install_deps.tmpl.rst
 create mode 100644 scripts/readme-gen/templates/install_portaudio.tmpl.rst
 create mode 100644 testing/.gitignore
2020-06-23 12:40:22,421 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at cc3daf8 fix: migrate talent/v4beta1 to grpc_service_config
2020-06-23 12:40:22,433 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-06-23 12:40:22,442 autosynth [DEBUG] > Running: git diff HEAD..autosynth-276 -- . :(exclude)synth.metadata
2020-06-23 12:40:22,449 autosynth [DEBUG] > Running: git diff HEAD..autosynth-276 -- synth.metadata
2020-06-23 12:40:22,456 autosynth [DEBUG] > Running: git diff HEAD..autosynth-277 -- . :(exclude)synth.metadata
2020-06-23 12:40:22,464 autosynth [DEBUG] > Running: git diff HEAD autosynth-277
2020-06-23 12:40:22,474 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp3utgymxv/autosynth-277.patch
2020-06-23 12:40:22,480 autosynth [DEBUG] > Running: git add -A
2020-06-23 12:40:22,487 autosynth [DEBUG] > Running: git commit -m fix(python): change autodoc_default_flags to autodoc_default_options

Source-Author: HemangChothani<EMAIL_ADDRESS>Source-Date: Thu Jun 18 22:50:02 2020 +0530
Source-Repo: googleapis/synthtool
Source-Sha: cd522c3b4dde821766d95c80ae5aeb43d7a41170
Source-Link: https://github.com/googleapis/synthtool/commit/cd522c3b4dde821766d95c80ae5aeb43d7a41170
[autosynth 4e9423a] fix(python): change autodoc_default_flags to autodoc_default_options
 2 files changed, 4 insertions(+), 4 deletions(-)
2020-06-23 12:40:22,499 autosynth [DEBUG] > Running: git diff autosynth-277..autosynth-280 -- . :(exclude)synth.metadata
2020-06-23 12:40:22,508 autosynth [DEBUG] > Running: git diff autosynth-277..autosynth-280 -- synth.metadata
2020-06-23 12:40:22,516 autosynth [DEBUG] > Running: git diff autosynth-280..autosynth-321 -- . :(exclude)synth.metadata
2020-06-23 12:40:22,522 autosynth [DEBUG] > Running: git diff autosynth-280..autosynth-321 -- synth.metadata
2020-06-23 12:40:22,531 autosynth [DEBUG] > Running: git push --force origin autosynth
To https://github.com/googleapis/python-language.git
 + 8984272...4e9423a autosynth -> autosynth (forced update)
2020-06-23 12:40:26,403 autosynth [DEBUG] > Running: git log -14 --pretty=%b
2020-06-23 12:40:29,843 autosynth [DEBUG] > Running: git clean -fdx
Removing .nox/
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 649, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 629, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/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 python-language. :sob:
Here's the output from running synth.py:
e a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 42ee97c1 chore: revert bigtable-admin to Gapic V1 for Ruby only
2020-06-24 12:22:31,280 autosynth [DEBUG] > Running: git checkout f5e4c17dc78a966dbf29961dd01f9bbd63e20a04
Note: checking out 'f5e4c17dc78a966dbf29961dd01f9bbd63e20a04'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at f5e4c17 feat: Add include_protos parameter support for GAPICBazel (#489)
2020-06-24 12:22:31,296 autosynth [DEBUG] > Running: git branch -f autosynth-self-2
2020-06-24 12:22:31,300 autosynth [DEBUG] > Running: git checkout autosynth-self-2
Switched to branch 'autosynth-self-2'
2020-06-24 12:22:31,304 autosynth [INFO] > Running synthtool
2020-06-24 12:22:31,304 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-06-24 12:22:31,305 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/python-language/self/2/sponge_log.log
2020-06-24 12:22:31,306 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-06-24 12:22:31,511 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/python-language/synth.py.
On branch autosynth-self-2
nothing to commit, working tree clean
2020-06-24 12:22:31,640 synthtool [DEBUG] > Ensuring dependencies.
2020-06-24 12:22:31,651 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2020-06-24 12:22:31,656 synthtool [DEBUG] > Cloning googleapis.
2020-06-24 12:22:31,656 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-06-24 12:22:31,659 synthtool [DEBUG] > Generating code for: //google/cloud/language/v1beta2:language-v1beta2-py.
2020-06-24 12:22:34,564 synthtool [ERROR] > Failed executing bazel --max_idle_secs=60 build //google/cloud/language/v1beta2:language-v1beta2-py:

Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/4cb5d58f258afdb8abc0b99706370b4a59252b22.zip) = 3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/5bd90a1f67c1c128291702cc320d667060f40f95.zip) = c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.2.tar.gz) = ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Analyzing: target //google/cloud/language/v1beta2:language-v1beta2-py (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/language/v1beta2:language-v1beta2-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 2.894s
INFO: 0 processes.

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-language/synth.py", line 33, in <module>
    include_protos=True,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/language/v1beta2:language-v1beta2-py']' returned non-zero exit status 1.
2020-06-24 12:22:34,607 autosynth [ERROR] > Synthesis failed
2020-06-24 12:22:34,607 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7dff809 docs: add spacing for readability (#22)
2020-06-24 12:22:34,612 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-24 12:22:34,617 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-24 12:22:34,788 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-language/pull/26
2020-06-24 12:22:34,788 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/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 python-language. :sob:
Here's the output from running synth.py:
pc/grpc-java/archive/v1.27.2.zip) = 92ffb4391f847e02e115933a761e243dd1423f3fcafdc9b7ae0327eca102d76b
DEBUG: Rule 'io_grpc_grpc_java' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "92ffb4391f847e02e115933a761e243dd1423f3fcafdc9b7ae0327eca102d76b"
DEBUG: Call stack for the definition of repository 'io_grpc_grpc_java' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:114:5
 - /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/com_google_api_gax_java/repositories.bzl:60:5
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:138:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/googleapis/gapic-generator/archive/4cb5d58f258afdb8abc0b99706370b4a59252b22.zip) = 3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb
Loading: 0 packages loaded
DEBUG: Rule 'com_google_api_codegen' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3cb59685c8a4ae3db1dec60b286f22d8d3aa3d3b36bb08bf003b5e088fac83cb"
DEBUG: Call stack for the definition of repository 'com_google_api_codegen' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:62:1
INFO: SHA256 (https://github.com/googleapis/protoc-java-resource-names-plugin/archive/5bd90a1f67c1c128291702cc320d667060f40f95.zip) = c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906
DEBUG: Rule 'com_google_protoc_java_resource_names_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "c3c0661b6c30fce5c63b1d5f473b1c6c4d59e19853ce3b9e8f5a447f953af906"
DEBUG: Call stack for the definition of repository 'com_google_protoc_java_resource_names_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:155:1
INFO: SHA256 (https://github.com/googleapis/protoc-docs-plugin/archive/b2502d56b5ec2d47e063976da773206af295362d.zip) = 765ec120bb165ae98c3bae78705d2a127e64016e59738552e909fc8b11d06338
DEBUG: Rule 'protoc_docs_plugin' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "765ec120bb165ae98c3bae78705d2a127e64016e59738552e909fc8b11d06338"
DEBUG: Call stack for the definition of repository 'protoc_docs_plugin' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:179:1
Loading: 0 packages loaded
INFO: SHA256 (https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.20.0/bazel-gazelle-v0.20.0.tar.gz) = d8c45ee70ec39a57e7a05e5027c32b1576cc7f16d9dd37135b0eddde45cf1b10
DEBUG: Rule 'bazel_gazelle' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "d8c45ee70ec39a57e7a05e5027c32b1576cc7f16d9dd37135b0eddde45cf1b10"
DEBUG: Call stack for the definition of repository 'bazel_gazelle' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:200:1
INFO: SHA256 (https://github.com/googleapis/gapic-generator-go/archive/v0.13.2.tar.gz) = ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22
DEBUG: Rule 'com_googleapis_gapic_generator_go' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "ab7a2ffd74e6a6dac6da38027d4acadb84d0075c055289e3335d86a46f9f3b22"
DEBUG: Call stack for the definition of repository 'com_googleapis_gapic_generator_go' which is a http_archive (rule definition at /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/bazel_tools/tools/build_defs/repo/http.bzl:296:16):
 - <builtin>
 - /home/kbuilder/.cache/synthtool/googleapis/WORKSPACE:209:1
Loading: 0 packages loaded
INFO: Build option --protocopt has changed, discarding analysis cache.
Analyzing: target //google/cloud/language/v1beta2:language-v1beta2-py (1 packages loaded, 0 targets configured)
ERROR: While resolving toolchains for target @pypi_black//:black: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
ERROR: Analysis of target '//google/cloud/language/v1beta2:language-v1beta2-py' failed; build aborted: invalid registered toolchain '@gapic_generator_python//:pyenv3_toolchain': no such package '@gapic_generator_python//': The repository '@gapic_generator_python' could not be resolved
INFO: Elapsed time: 9.147s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (21 packages loaded, 100 targets configured)
FAILED: Build did NOT complete successfully (21 packages loaded, 100 targets configured)

2020-06-25 06:30:42,843 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/python-language/synth.py", line 33, in <module>
    include_protos=True,
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 46, in py_library
    return self._generate_code(service, version, "python", **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/gcp/gapic_bazel.py", line 180, in _generate_code
    shell.run(bazel_run_args)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=60', 'build', '//google/cloud/language/v1beta2:language-v1beta2-py']' returned non-zero exit status 1.
2020-06-25 06:30:42,878 autosynth [ERROR] > Synthesis failed
2020-06-25 06:30:42,878 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 7dff809 docs: add spacing for readability (#22)
2020-06-25 06:30:42,883 autosynth [DEBUG] > Running: git checkout autosynth-self
Switched to branch 'autosynth-self'
2020-06-25 06:30:42,887 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-06-25 06:30:43,076 autosynth [INFO] > PR already exists: https://github.com/googleapis/python-language/pull/26
2020-06-25 06:30:43,077 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing google/__pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/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:


Update to evtx_dump_json.py

fixed JSON dump to collect all necessary xml data from logs. Originally missing pivotal Sysmon data from within the System portion of Event XML data.

would you please provide some test data and demonstrate how the script extracts further information? it would be best to add a test case, too, so we asset the script works well in the future after unrelated changes.

A good example of this is in the screenshot below. I missed out on key data like "EventID," "TimeCreated", and "Computer" using the old version since I only focused on the "EventRecordID" within the System portion of the Eventlog xml. The new version parses the entire System and EventData sections of the Eventlog xml now!

Are you able to share that log file, or generate a similar one?

Are you able to share that log file, or generate a similar one?

Definitely, how would you like it?

let's add it to tests/data and we can reference it from a test.

added to tests/data!

Is there a reason why the tests fail each time? Using that form of testing is new to me!

Wow, it had been a bit since I looked at the testing code. I went through and made a bunch of fixes and enhancements. Now the tests should work well (they do in CI: https://github.com/williballenthin/python-evtx/actions/runs/9641798469).
 Github may have a button for it above, or you can pull from master locally. I think the only conflicts should be around single vs double quotes.

Definitely, I'll rebase locally and then put in a new PR


[problem with VisibilityDetector?] Bad state: No ProviderScope found. Error thrown during a task callback.

only found in crash report, which i cant reproduce
error log
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Bad state: No ProviderScope found. Error thrown during a task callback.
at ProviderScope.containerOf(framework.dart:107)
at ConsumerStatefulElement.read(consumer.dart:613)
at _ListHeaderWidget.build.(xx_page.dart:278)
at VisibilityDetectorLayer._fireCallback(visibility_detector_layer.dart:263)
at VisibilityDetectorLayer._processCallbacks(visibility_detector_layer.dart:222)
at _TaskEntry.run(binding.dart:92)
at SchedulerBinding.handleEventLoopCallback(binding.dart:515)
at SchedulerBinding._runTasks(binding.dart:490)
at TickerFuture.whenCompleteOrCancel.thunk(ticker.dart:420)
purpose of this code is to detect if the progress view container is visible, which this view is in a "list header"
else show center progress view
              // consume progress
              SizedBox(
                width: 24,
                height: 24,
                child: VisibilityDetector(
                  key: _progressViewVisiblityKey,
                  onVisibilityChanged: (VisibilityInfo visibilityInfo) {
                    log.finest('visibilityInfo: ', visibilityInfo);
                    final visible = visibilityInfo.visibleBounds != Rect.zero;
                    log.finest('visible: ', visible);
                    ref.read(progressViewVisibleProvider.notifier).state =
                        visible;
                  },
                  child: Consumer(builder: (context, ref, child) {
                    final progress =
                        ref.watch(requestProvider.select((e) => e.progress));
                    log.finest('progress: ', progress);
                    if (progress) {
                      final visible = ref.watch(progressViewVisibleProvider);
                      log.finest('visible: ', visible);
                      if (visible) {
                        return CircularProgressIndicator(
                            valueColor: AlwaysStoppedAnimation(
                                StyleUtil.getColorScheme().fg1));
                      }
                    }
                    return Container();
                  }),
                ),
              ),

i guess, is that the view as a item in listview, is disposed? so no scope?

if your widget got disposed, ref.read will throw, yes.

It's similar to how using BuildContext throws on unmounted widgets

no crash log,
but sorry, i think still need to notify the change event (as it really happened), otherwise lost
any tips?

Sorry, forgot to tell how I resolved

keep notifier on init
on dispose, use that notifier,  so no need the ref


change posterior plotting to be corner plot

So far we visualise the posterior by plotting the univariate marginal histograms.
But it would be better to do a corner plot, so we can see not only these univariate marginals, but also the bivariate joint distributions.
This would be useful in diagnosing any issues with inference or the models.

That's basically that. Less than 50 lines. More improvements to come, but we are done with this issue


Left menu nesting missing as in current doc.

Seems like the nesting feature is implemented but it's not visually clear.
Also, Security features documentation should be broken down in the left menu. Currently, everything seems to be on one page.


Migration AWS account

[x] write cloudformation to deploy service

[x] ec2
[x] ecs
[x] vpc
[x] elb
[x] elasticcache
[x] elasticsearch with lambda function
[x] logs
[x] cloudwatch
[x] sns
[x] acm
[x] s3

[x] migrate s3 folders and files
[x] migrate aws acm ssl certification
[x] migrate redis db
[x] DNS change
[x] migrate elasticsearch and kibana setting
[x] migrate lambda code
[x] setting cloudwatch alarm
[x] change travis ci aws key, s3 bucket name

redis db migration :
http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/backups-exporting.html
http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/backups-restoring.html

s3 migration
https://aws.amazon.com/tw/premiumsupport/knowledge-center/account-transfer-s3/

finish, cloud formation repo is
https://github.com/meifamily/aws-cloudformation
high five~ :)


Title should be possible to set by a option

https://github.com/kvartborg/super-cli/blob/master/lib/super-cli.js#L35-L42

The title option should be bound on this.title instead of this.options.title


Emphasize that the documentation of each binding library should be read

When migrating to the isolated worker model it's required to use the latest nuget packages for function bindings. By adding tohse nuget packages the supported host.json format changes. This is not clear from the document and can cause big difference at run-time.
For example, the bindings for service bus triggers where the settings for maxConcurrentCalls used to be nested below messageHandlerOptions and are now moved up.
https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus?tabs=isolated-process%2Cextensionv5%2Cextensionv3&pivots=programming-language-csharp#hostjson-settings
This PR adds a note to emphasize the risk of not reading the binding library documentation.

@mattchenderson
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


DropBackgroundAudio is missing from DubAsync

This property is missing from the payload for the dubbing request via https://github.com/RageAgainstThePixel/ElevenLabs-DotNet/blob/e642904400300683c7b2af3a02159b80305b6910/ElevenLabs-DotNet/Dubbing/DubbingEndpoint.cs#L32

Pretty sure this was removed from the OpenAPI spec but I'll double check

@cwule this is no longer part of the OpenAPI spec:
"Body_Dub_a_video_or_an_audio_file_v1_dubbing_post": {
    "properties": {
        "mode": {
            "type": "string",
            "title": "Mode",
            "description": "automatic or manual. Manual mode is only supported when creating a dubbing studio project"
        },
        "file": {
            "type": "string",
            "format": "binary",
            "title": "File",
            "description": "A list of file paths to audio recordings intended for voice cloning"
        },
        "csv_file": {
            "type": "string",
            "format": "binary",
            "title": "Csv File",
            "description": "CSV file containing transcription/translation metadata"
        },
        "foreground_audio_file": {
            "type": "string",
            "format": "binary",
            "title": "Foreground Audio File",
            "description": "For use only with csv input"
        },
        "background_audio_file": {
            "type": "string",
            "format": "binary",
            "title": "Background Audio File",
            "description": "For use only with csv input"
        },
        "name": {
            "type": "string",
            "title": "Name",
            "description": "Name of the dubbing project."
        },
        "source_url": {
            "type": "string",
            "title": "Source Url",
            "description": "URL of the source video/audio file."
        },
        "source_lang": {
            "type": "string",
            "title": "Source Lang",
            "description": "Source language.",
            "default": "auto"
        },
        "target_lang": {
            "type": "string",
            "title": "Target Lang",
            "description": "The Target language to dub the content into. Can be none if dubbing studio editor is enabled and running manual mode"
        },
        "num_speakers": {
            "type": "integer",
            "title": "Num Speakers",
            "description": "Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers",
            "default": 0
        },
        "watermark": {
            "type": "boolean",
            "title": "Watermark",
            "description": "Whether to apply watermark to the output video.",
            "default": false
        },
        "start_time": {
            "type": "integer",
            "title": "Start Time",
            "description": "Start time of the source video/audio file."
        },
        "end_time": {
            "type": "integer",
            "title": "End Time",
            "description": "End time of the source video/audio file."
        },
        "highest_resolution": {
            "type": "boolean",
            "title": "Highest Resolution",
            "description": "Whether to use the highest resolution available.",
            "default": false
        },
        "dubbing_studio": {
            "type": "boolean",
            "title": "Dubbing Studio",
            "description": "Whether to prepare dub for edits in dubbing studio.",
            "default": false
        }
    },
    "type": "object",
    "title": "Body_Dub_a_video_or_an_audio_file_v1_dubbing_post"
}

Hmm maybe I was too quick on this. The API ref docs themselves have it.
So confusing.

https://elevenlabs.io/docs/api-reference/create-dub

Actually I already have it in the request object.
https://github.com/RageAgainstThePixel/ElevenLabs-DotNet/blob/e642904400300683c7b2af3a02159b80305b6910/ElevenLabs-DotNet/Dubbing/DubbingRequest.cs#L20
Use it like so:
var request = new DubbingRequest(filePath, "es", "en", 1, dropBackgroundAudio: true);
var metadata = await ElevenLabsClient.DubbingEndpoint.DubAsync(request, progress: new Progress<DubbingProjectMetadata>(metadata =>
{
    switch (metadata.Status)
    {
        case "dubbing":
            Console.WriteLine($"Dubbing for {metadata.DubbingId} in progress... Expected Duration: {metadata.ExpectedDurationSeconds:0.00} seconds");
            break;
        case "dubbed":
            Console.WriteLine($"Dubbing for {metadata.DubbingId} complete in {metadata.TimeCompleted.TotalSeconds:0.00} seconds!");
            break;
        default:
            Console.WriteLine($"Status: {metadata.Status}");
            break;
    }
}));

Ah but I didn't actually put it into the payload in the request method 😅

Great, thanks for looking into that!


Tests

check changes as new tests for expt runtimes are working on my system as well as github with a good amount of buffer in how much time they can take; however, given the variability of different computational resources these tests may be worth reevaluating though it solves a past issue from our github.

This pull request addresses 5 issues:

Adding tests to account for runinfo @ properties.
Adding tests for experiment runtimes.
Adding tests for increased experiment dt's.
Added read and write only properties to test instrument driver and are testing them directly there.
Accounted for read and write only properties in auto_test_driver to ensure they will pass test cases.

The Stanford830 branch has the updated files for this branch and so it should be pulled instead of this

The Stanford830 branch has the updated files for this branch and so it should be pulled instead of this.


Rewrite timeout tracking to be in cpu-time instead of wall-time

Problem
Script time execution tracking is currently done with wall-clock-time, not cputime. This means differences in the OS scheduler affect script time execution.
Context
This initial implementation is not cross-platform (clock_gettime is a POSIX API). Additionally, this implementation does not yet use the pthread_getcpuclockid function discovered after the implementation work was already complete.
The failing timeout test is due the timeout being induced by  sleep 0.1, which does not take up any CPU time.
This implementation uses pthread_getcpuclockid to obtain the CPU clock for the thread running V8 code, then continually polls that clock to check for the execution timeout.

testing webhook

More more bad news, haha: These versions of macos that the tests are running on are likely no longer supported by github, which is why they aren't getting picked up.

validated things are working in hm with this change. (still using timeout, not cputime_limit)

Just as some notes because I checked out this PR and noticed it was C++, std::atomic is possibly the wrong type on windows (its 32bit) for mini_racer - though I'm not sure if windows is a platform that's in scope, but you may want std::atomic_uint64_t either way
C++17 atomics are also uninitialised in a very weird way (you can only destruct them, or manually init them), so using atomic operations on it is UB. A default initialised std::atomic must be finished up with std::atomic_init, and then be written to atomically (as the initialisation via std::atomic_init is not atomic. Woo!) 🎈 🍰 . See here or here for details if you're curious
In C++20, it'll be non atomically 0 inited by default
In both C++17, and C++20, using a relaxed memory store to initialise the std::atomic ends up leading to UB later, as relaxed consistency does not enforce ordering constraints, so other threads can race-ily observe the non atomic 0 init (assuming the C++17 version is fixed, because atm its straight UB). The initialisation of the atomic via the evalparams struct, and the initialisation via a write of the atomic, are in different threads via a relaxed write, which is what causes problems as there's no ordering guarantees for any later reads
If nogvl_context_eval is always called before v8_update_cpu_time and rb_context_update_cpu_time, I believe you could use a sequential consistency store. Or you could initialise the atomic directly before initialising the thread, and avoid this problem entirely
As a side note: relaxed consistency is probably not what you want in general here either, as it might result in the timer appearing to fail to update intermittently, and would recommend sequential consistency (as acquire/release isn't worth the mental burden). Its less important on x86 than arm in this context, but I think apple's x86 emulation doesn't emulate the memory ordering by default, so its more likely to cause weird issues there

Thanks for the detailed notes; it's been a while since I've done C++ and it looks like I ran right into some traps :sweat_smile:
I do want to mention that the atomic variable is currently very dead code anyway; the current implementation using a pthread_getcpuclockid doesn't touch it at all outside of (failing to) init it and storing 0L. I'll open a PR to remove it entirely.

Just as some notes because I checked out this PR and noticed it was C++, std::atomic is possibly the wrong type on windows (its 32bit) for mini_racer - though I'm not sure if windows is a platform that's in scope, but you may want std::atomic_uint64_t either way

Windows is very much not in scope, since it doesn't support the pthread APIs in the first place (and upstream MR also doesn't support it).

C++17 atomics are also uninitialised in a very weird way (you can only destruct them, or manually init them), so using atomic operations on it is UB. A default initialised std::atomic must be finished up with std::atomic_init, and then be written to atomically (as the initialisation via std::atomic_init is not atomic. Woo!)

That is... extremely wierd. You'd think the point of a constructor is to, uh, initialize the type so it can be used.

In both C++17, and C++20, using a relaxed memory store to initialise the std::atomic ends up leading to UB later, as relaxed consistency does not enforce ordering constraints, so other threads can race-ily observe the non atomic 0 init (assuming the C++17 version is fixed, because atm its straight UB).

The initialisation of the atomic via the evalparams struct, and the initialisation via a write of the atomic, are in different threads via a relaxed write, which is what causes problems as there's no ordering guarantees for any later reads

The atomic variable is actually only ever written from one thread, since code flow starting from rb_context_eval_unsafe never moves threads (it can't, the thread's locking an v8::Isolate; and rb_thread_call_without_gvl does not cause a thread change, only a GVL-unlock). In the previous implementation, there was also a call to v8::Isolate::RequestInterrupt(InterruptCallback, void*), and the callback function for passed there jumps threads to the same thread that V8's currently executing on.
But yes, the read being uninitialized is a good point. I managed to completely miss that while thinking through the semantics of this (which are already non-trivial, since there's an implied happens-before with v8::Isolate::RequestInterrupt to script execution starting)

If nogvl_context_eval is always called before v8_update_cpu_time and rb_context_update_cpu_time, I believe you could use a sequential consistency store. Or you could initialise the atomic directly before initialising the thread, and avoid this problem entirely

Funnily enough, it might actually not be! There is a happens-before relationship here due to linear code flow, but it's "watchdog thread spawned" (which used to call rb_context_update_cpu_time after 100ms) happens-before "nogvl_context_eval is called". Whoops!

As a side note: relaxed consistency is probably not what you want in general here either, as it might result in the timer appearing to fail to update intermittently

Due to how v8::Isolate::RequestInterrupt works (which was used to update the timer before), there was always a possibility that the timer would not be updated intermittently, so I didn't see that as an issue.

and would recommend sequential consistency (as acquire/release isn't worth the mental burden).

Noted for future reference, thanks.

@20k Thanks for the 👀 and your thoughts!

Quick drive-by comment: I actually wouldn't recommend going with sequential consistency unless you specifically know that you need the properties it gives. Acquire/release semantics are what you want in the majority of cases.

Perhaps put more eloquently:
It's a commonly known fact that for any piece of code that is correct, you can change all the atomic operations to have sequentially consistent ordering and it will still be correct. This fact often leads to people advocating for using nothing but sequential consistency. However, no matter what atomic ordering you use, you have to do quite a bit of thinking to make sure your code is actually definitely 100% correct. In doing so, you'll often find that acquire/release or even relaxed semantics are the correct choice and that the additional guarantees of sequential consistency are unnecessary. This is why actually seeing a sequentially consistent operation in code is an immediate red flag to me: it means that the author either didn't actually think about their code, and assumed that sequential consistency will just "make it work" or that the code relies on fairly esoteric/uncommon guarantees regarding the existence of a globally consistent modification order on atomic operations. In either case, it's an indication that you should read very closely.


chore: migrate scheduler/{v1,v1beta1} to the PHP microgenerator

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/bf04b530-c9fb-4052-8384-4e72442fc45e/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 373087373
Source-Link: https://github.com/googleapis/googleapis/commit/6c96d191b31797c48f7383940e7f8422098cf6f5
PiperOrigin-RevId: 369288631
Source-Link: https://github.com/googleapis/googleapis/commit/93a4a58e39bef226d65c571072a42d97e53a5248

Superceded by https://github.com/googleapis/google-cloud-php/pull/4897


35.search insert position

Pull Request Template
What have you Changed(must)
Added solution for problem 35.search insert position
Write here what you have changed in cosebase
Issue no.(must) - #75
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder
[x] I am following clean code and Documentation.
[x] I have added title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

Added issue number.


How to predicate body with multipart/form-data ?

Hello,
I've been using Moutebank for quite some time now, thanks a lot for your hard work !
It has always perfectly worked with application/json API, but now I'm having trouble with multipart/form-data
With that imposter :
    "protocol": "http",
    "port": 5252,
    "name": "pne",
    "stubs": [
        {
            "predicates": [
                {
                    "equals": {
                        "headers": {
                            "Content-Type": "multipart/form-data",
                            "username": "username",
                            "password": "password",
                            "api-key": "apikey"
                        },
                        "query": {
                            "created": "1519948800",
                            "signature": "NTE0NTBlMjA3NGU3YjUxYzg5YWRmMWJlZjhjYzZiZDE3NjViNDg3NA==",
                            "nonce": "1234"
                        }
                    },
                    "deepEquals": {
                        "method": "POST",
                        "path": "/pne/V1.0/Order/CreateOrder"
                    },
                   "contains": {
                        "body": "PartyId=1"
                    }
                }
            ],
            "responses": [
                {
                    "is": {
                        "statusCode": 200,
                        "headers": {
                            "Server": "nginx",
                            "Date": "Tue, 30 Jan 2018 16:53:49 GMT",
                            "Content-Type": "application/json; charset=UTF-8",
                            "Content-Length": "233",
                            "Connection": "keep-alive",
                            "Expires": "Tue, 30 Jan 2018 15:53:49 GMT",
                            "Cache-Control": "no-cache, must-revalidate",
                            "Pragma": "no-cache",
                            "Vary": "Accept-Encoding",
                            "X-Content-Type-Options": "nosniff",
                            "X-Frame-Options": "SAMEORIGIN",
                            "Strict-Transport-Security": "max-age=1576800; includeSubdomains"
                        },
                        "body": "{\"PaymentUrl\":\"https:\/\/paymentUrl\/?key=Y1NaSVVvTTg4UmFkMUd4SGNIWlJpNG4wVThrQ2h3WXJIRSUyQVZHUGhYd0Y0WENnSGw3QWNPRDhPRnZnZFJJZE9lMkFnY3JUdEpVbTA5NWR3WW5nV09mZw==\",\"PayerId\":\"2506111\",\"OrderId\":\"4358019\"}",
                        "_mode": "text"
                    }
                }
            ]
        }
}

I'm expecting matching that CURL :
curl -X POST "http://localhost:5252/pne/V1.0/Order/CreateOrder?created=1519948800&signature=NTE0NTBlMjA3NGU3YjUxYzg5YWRmMWJlZjhjYzZiZDE3NjViNDg3NA==&nonce=1234" -H "username: username" -H "password: password" -H "api-key: apikey" -H "Content-Type: multipart/form-data" -F PartyId=1
But it doesn't. When I remove the -F PartyId=1 at the end of the CURL, it works.
Am I missing something ?
Thanks by advance

Hi there,
It appears to be due to the way curl is formatting the body. You can see it if you run mb with --loglevel debug:
debug: [http:5252] ::1:65314 => {"requestFrom":"::1:65314","method":"POST","path":"/pne/V1.0/Order/CreateOrder","query":{"created":"1519948800","signature":"NTE0NTBlMjA3NGU3YjUxYzg5YWRmMWJlZjhjYzZiZDE3NjViNDg3NA==","nonce":"1234"},"headers":{"Host":"localhost:5252","User-Agent":"curl/7.43.0","Accept":"*/*","username":"username","password":"password","api-key":"apikey","Content-Length":"143","Expect":"100-continue","Content-Type":"multipart/form-data; boundary=------------------------3c271a9249fc7520"},"body":"--------------------------3c271a9249fc7520\r\nContent-Disposition: form-data; name=\"PartyId\"\r\n\r\n1\r\n--------------------------3c271a9249fc7520--\r\n"}

curl is throwing a couple newlines in there which your predicate is missing. Since contains is a simple string compare, the predicate doesn't match. You can work around it by either adding the newlines (ugly, I know), using a predicate injection, or using a matches predicate.

just want to note for google searchers that there is a way to match on form content now - http://www.mbtest.org/docs/protocols/http
"predicates": [             {               "equals": {                 "method": "POST",                 "path": "/login/oauth2/access_token",                 "form": {                   "grant_type": "refresh_token"                 }               }             }           ],

Thanks for sharing!
On Sun, Mar 6, 2022 at 10:05 PM lucjross @.***> wrote:

just want to note for google searchers that there is a way to match on
form content now - http://www.mbtest.org/docs/protocols/http
"predicates": [ { "equals": { "method": "POST", "path":
"/login/oauth2/access_token", "form": { "grant_type": "refresh_token" } } }
],
—
Reply to this email directly, view it on GitHub
https://github.com/bbyars/mountebank/issues/325#issuecomment-1060140550,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAARFP23A7WWBVRN46376P3U6VW6RANCNFSM4EOLLBPQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>


dockerfile port

Hey, gm. Nice relay man.
I have tried to put it up by binding docker container into port 10000:10000 but it keep unavaliable. It worked just when I  runned it as docker run --privileged --network host <tag>. Is some host <IP_ADDRESS> config nedded to allow it to be expose from container?

sorry, i did not write the docker file, and generally i never used the docker. This was merged by #1.


How to show on OPM UI a 'count'?

Hi!
I would like to show how many clients have prices generated in my database. To this, I use the follow SQL:
select count(distinct cd_cliente) qtd from public.dc_preco
On pgAdmin and console returns correctly, but using the custom_query service don't return the number. On terminal I get this return:
[root@localhost check_pgactivity-2.0]# ./check_pgactivity -h localhost -p 5432 -d database -s custom_query --query 'select count(distinct cd_cliente) qtd from public.dc_preco' -c 90 -w 80 Argument "(1 registro)" isn't numeric in numeric gt (>) at ./check_pgactivity line 2925. POSTGRES_CUSTOM_QUERY OK: Custom query ok
How can I show the number returned of the 'count' clause in a graph on UI?
Tks!

The query used in custom_query must return at least 2 fields:

the first one is a numeric field, and will be compared to the threshold (if provided)
the second (and possibly all the others) are the perfdata that will be returned

In your example, you should call check_pgactivity like this:
./check_pgactivity -h localhost -p 5432 -d database -s custom_query --query 'select count(distinct cd_cliente), count(distinct cd_cliente) AS qtd from public.dc_preco' -c 90 -w 80

So the same count is used for the threshold, and the second value is aliased as "qtd" meaning you'll have a qtd serie on the UI.
It's not very clear to me why you get this error, but in any case you should get the last release of check_pgactivity (v2.2).

Hi,
Without further update on your side, we close this issue.


Unable to execute scripts having the keyword access(all) instead of pub

Instructions
access(all) keyword is not supported for executeScript
Problem
when using executeScript, if that script is defined by pub fun main(), it works normally
but if it is defined by access(all) fun main(), it will throw this error:
TypeError: Cannot read properties of undefined (reading 'map')
this seems a small bug but it is really annoying for people who do not want to use pub for their scripts

@SnowyField1906 why you would want to avoid this? Both of them are equal in access rights and pub is even easier to write 😅
It should be easy to fix, but can you elaborate why?

@SnowyField1906 why you would want to avoid this? Both of them are equal in access rights and pub is even easier to write 😅
It should be easy to fix, but can you elaborate why?

https://github.com/onflow/cadence/pull/2540 I think pub is being removed in favour of access(all)

Just checked. This test runs just fine:
  test("executeScript - shall return with access(all) modifier", async ()=>{
    const [result] = await executeScript({
      code: `
        access(all) fun main(): Int{
          return 42
        }
      `
    })
    expect(result).toBe("42")
  })

Can you tell me the versions of CLI and flow-js-testing you are using?

@MaxStalker Oh I forgot to put the condition "with parameters"
Without parameters, access(all) works fine but if the parameters exist, it will throw error
Please run this test instead:
it("executeScript - shall return with access(all) modifier", async () => {
    const num = "1"
    const [pub] = await executeScript({
        code: `
            pub fun main(a: Int): Int{
                return a
            }
        `,
        args: [num]
    })
    expect(pub).toBe(num)
    const [access] = await executeScript({
        code: `
            access(all) fun main(a: Int): Int {
            return a
        }`
        ,
        args: [num]
    })
    expect(access).toBe(num)
})
    ```

https://github.com/onflow/flow-cadut/pull/136
https://github.com/onflow/flow-js-testing/pull/225

resolved


Feature: Reword Enable overriding folder preferences in individual directories to Sync folder layout

What feature or improvement do you think would benefit Files?
The current wording is long and confusing.
Requirements

Rename the option to Sync folder layout or Sync folder settings
Remove the below description as it wont be needed.
Invert the toggle.

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.1105
Comments
No response

"Sync folders preferences across all directories"?

Sounds good


[New Game Feature]: Adding Candy Crush Game along with proper score

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like.
I would like to add the game Candy Crush. This will be more entertaining for the users to play the classic Candy Crush game. It will have feature of swapping candy pieces, crushing candy pieces, and generating new ones.
Describe alternatives you've considered.
I couldn't find the game on the website. It will be entertaining to play so I thought of adding this.
Add any other context or screenshots about the feature request here.
@swapnilsparsh Can you please assign this game addition to me under GSSoC'24. Thank you!

@nehavaishnav Thank you for providing your insight but it is not required as of now.


Rework of ReversibleGraphNet

Main algorithm is topological_order that brings all nodes in a graph in an order, aka in a sorted list. It ensures that latter nodes in this list have all inputs executed.

[ ] Nodes instantiate modules directly.
[ ] Buffer-free evaluation
[ ] Return a tuple of output, jacobian
[ ] Rename to GraphINN
[ ] Embed GraphINN into GraphINNs (output must be tuple, output_dims returns something sensible)
[ ] Embed SequenceINN into GraphINNs  (output must be tuple, output_dims returns something sensible)
[ ] intermediate_outputs=True => Jacobian dict?

You may also consider, if the unit tests pass - as you altered the internal implementation (only/mostly). test_conditioning.py
might be a good start.

Can this be merged already? I think the tests won't pass because the new modules aren't merged yet, and the new module's tests won't pass because the new RGN isn't merged yet.

Then the answer is yes, I suppose.

All tests pass except some numerical checks with insufficient accuracy (but numbers are close, so might have been a problem beforehand)
Jacobian of GMM appears incorrectly shaped

Splendid! The GMM is someone else's task to fix! You can do the honor of hitting the "MERGE" button!


Webgl issue210

This PR fixes the issue #210
The getImageDataType in the Webgl renderer is now updated to look at the datatype of the image pixel data to make its decision rather than the Min/Max value.

Coverage decreased (-0.07%) to 63.812% when pulling 20e2b8e048697d5d95e59634fcbe5eac13193bc0 on webgl-issue210 into 50a552e255658187471fc87620ed8ebbc2447c12 on master.

LGTM - thanks!


SQL query text in Query History does not wrap around

See image below:

can't repro this locally, looks ok to me.

Alanna, it's getting cut-off starting with the term SE_ADT_1525_LT_ ... on
wards
On Sun, Oct 2, 2016 at 9:09 PM, Alanna Scott<EMAIL_ADDRESS>wrote:

can't repro this locally, looks ok to me.
[image: screenshot 2016-10-02 21 08 22]
https://cloud.githubusercontent.com/assets/130878/19027362/6fb0a8dc-88e4-11e6-97bc-37cc9fac6078.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/caravel/issues/1218#issuecomment-251023034,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARcz4R0Cm__MyC7LMqZW4P_B4nKag91Iks5qwH_wgaJpZM4KKE_K
.

--
Jeff Feng
Product Manager
m:<PHONE_NUMBER>
twitter: @jtfeng

Alanna, it's getting cut-off starting with the term SE_ADT_1525_LT_ ... on wards

https://github.com/airbnb/caravel/pull/1430

Modal added in
https://github.com/airbnb/caravel/pull/1426
will solve this problem.


Appending a value to the end of the config.title instead of the beginning

I would like to set a default title in the Aurelia config and then append values to the end of it in views, but Aurelia seems to want to append values to the beginning of the config.title value.
I have this question currently open on Stack Overflow: http://stackoverflow.com/questions/32802219/appending-a-value-to-the-aurelia-router-config-title

Solved:
In main.js, override buildTitle:
import {NavigationContext} from 'aurelia-router';

NavigationContext.prototype.standardBuildTitle = NavigationContext.prototype.buildTitle;

function buildTitle(separator=' | ') {
    var titleValues = this.standardBuildTitle(separator).split(separator),
        routeTitle = titleValues[0],
        configTitle = titleValues.slice(1);
    configTitle.push(routeTitle);
    return configTitle.join(separator);
}

NavigationContext.prototype.buildTitle = buildTitle;

We should make it easier to customize this behavior.

Perhaps a config option to append or pre-pend the route title?

That sounds reasonable.
On Sep 29, 2015 12:43 PM, "Brandon Taylor"<EMAIL_ADDRESS>wrote:

Perhaps a config option to append or pre-pend the route title?
—
Reply to this email directly or view it on GitHub
https://github.com/aurelia/router/issues/218#issuecomment-144110490.

The NavigationInstruction._buildTitle function has as a separator parameter. From what I can tell only the default value separator = " | " is used.
Please would you consider allowing the separator to be configured as well?


RFP - eclipse-java-oxygen

http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/oxygen3

please also give the link to the project page of the software that you're requesting.
Otherwise we can't mark this as available for maintainers.

updated

Status: Review
https://chocolatey.org/packages/eclipse-java-oxygen

Status: Published
https://chocolatey.org/packages/eclipse-java-oxygen
Can be closed.


Relation between Entities and Intents

Hi,
Q1) Is there any relation between entity and intent classification in the pipeline (or) does both of them function separately in the pipeline? For example training classifier without any entity data will it affect the intent classification ?
Q2) I have read the medium article Alan where he explains even average of word2vec's of a sentence give decent performance. My question is what exactly are you doing to represent a sentence for classification after getting word embeddings for each word ?
Thank you.

Yes they work independently
Depends on the featurizer you use, for instance with spacy

Thanks for the reply. Do you know about mitie ?

MITIE is an option for both intent and entity recognition in the Rasa pipeline.  https://rasa-nlu.readthedocs.io/en/latest/pipeline.html#pre-configured-pipelines

For classification we need vector for each sentence. So in the mitie pipeline, after getting spectral word embeddings for each word, what did you do to obtain a single vector for sentence. Is it just an average of all the word embeddings present in the sentence ?

@PHLF or @tmbo may know the answer to that off the top of their head. I would have to dig through code.
Here's the Rasa MITIE classifier component code if you want to look yourself. https://github.com/RasaHQ/rasa_nlu/blob/master/rasa_nlu/classifiers/mitie_intent_classifier.py

From what i understood from mitie_featurizer.py, it's just an average of all spectral word embeddings present in the sentence.(https://github.com/RasaHQ/rasa_nlu/blob/76fe1e38c49cac158a3fae55d17eb72af4ef6745/rasa_nlu/featurizers/mitie_featurizer.py#L71)
Please correct me @PHLF  @tmbo

Looks like you're right.

I'm closing, but let us know if you have more questions.