text:
Synthesis failed for python-iam

Hello! Autosynth couldn't regenerate python-iam. :broken_heart:
Here's the output from running synth.py:
7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmp7zk_s26t/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 82, in create_module
        return importlib.import_module('._distutils', 'setuptools')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'

    ----------------------------------------
 (Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-71kl4l91/pypandoc/
)
ERROR: no such package '@gapic_generator_python_pip_deps//': pip_import failed: Collecting click==7.1.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
  Saved ./click-7.1.2-py2.py3-none-any.whl
Collecting google-api-core==1.22.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/e0/2d/7c6c75013105e1d2b6eaa1bf18a56995be1dbc673c38885aea31136e9918/google_api_core-1.22.1-py2.py3-none-any.whl
  Saved ./google_api_core-1.22.1-py2.py3-none-any.whl
Collecting googleapis-common-protos==1.52.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/03/74/3956721ea1eb4bcf7502a311fdaa60b85bd751de4e57d1943afe9b334141/googleapis_common_protos-1.52.0-py2.py3-none-any.whl
  Saved ./googleapis_common_protos-1.52.0-py2.py3-none-any.whl
Collecting jinja2==2.11.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmp7zk_s26t/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 82, in create_module
        return importlib.import_module('._distutils', 'setuptools')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'

    ----------------------------------------
 (Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-71kl4l91/pypandoc/
)
INFO: Elapsed time: 2.287s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

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-iam/synth.py", line 30, 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 183, 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=240', 'build', '//google/iam/credentials/v1:iam-credentials-v1-py']' returned non-zero exit status 1.
2020-08-31 05:19:30,317 autosynth [ERROR] > Synthesis failed
2020-08-31 05:19:30,317 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f895427 docs: link to migration guide (#28)
2020-08-31 05:19:30,322 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-08-31 05:19:30,327 autosynth [DEBUG] > Running: git clean -fdx
Removing __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 690, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 539, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 670, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, 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-iam. :sob:
Here's the output from running synth.py:
7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmpqq89fo63/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 82, in create_module
        return importlib.import_module('._distutils', 'setuptools')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'

    ----------------------------------------
 (Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-qo67gu9x/pypandoc/
)
ERROR: no such package '@gapic_generator_python_pip_deps//': pip_import failed: Collecting click==7.1.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
  Saved ./click-7.1.2-py2.py3-none-any.whl
Collecting google-api-core==1.22.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/e0/2d/7c6c75013105e1d2b6eaa1bf18a56995be1dbc673c38885aea31136e9918/google_api_core-1.22.1-py2.py3-none-any.whl
  Saved ./google_api_core-1.22.1-py2.py3-none-any.whl
Collecting googleapis-common-protos==1.52.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/03/74/3956721ea1eb4bcf7502a311fdaa60b85bd751de4e57d1943afe9b334141/googleapis_common_protos-1.52.0-py2.py3-none-any.whl
  Saved ./googleapis_common_protos-1.52.0-py2.py3-none-any.whl
Collecting jinja2==2.11.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmpqq89fo63/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 82, in create_module
        return importlib.import_module('._distutils', 'setuptools')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'

    ----------------------------------------
 (Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-qo67gu9x/pypandoc/
)
INFO: Elapsed time: 2.063s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

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-iam/synth.py", line 30, 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 183, 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=240', 'build', '//google/iam/credentials/v1:iam-credentials-v1-py']' returned non-zero exit status 1.
2020-09-01 05:18:46,158 autosynth [ERROR] > Synthesis failed
2020-09-01 05:18:46,159 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f895427 docs: link to migration guide (#28)
2020-09-01 05:18:46,163 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-01 05:18:46,167 autosynth [DEBUG] > Running: git clean -fdx
Removing __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 690, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 539, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 670, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, 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-iam. :sob:
Here's the output from running synth.py:
32c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmps10gt39w/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 83, in create_module
        return importlib.import_module('setuptools._distutils')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'

    ----------------------------------------
 (Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-3gg75q5v/pypandoc/
)
ERROR: no such package '@gapic_generator_python_pip_deps//': pip_import failed: Collecting click==7.1.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
  Saved ./click-7.1.2-py2.py3-none-any.whl
Collecting google-api-core==1.22.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/e0/2d/7c6c75013105e1d2b6eaa1bf18a56995be1dbc673c38885aea31136e9918/google_api_core-1.22.1-py2.py3-none-any.whl
  Saved ./google_api_core-1.22.1-py2.py3-none-any.whl
Collecting googleapis-common-protos==1.52.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/03/74/3956721ea1eb4bcf7502a311fdaa60b85bd751de4e57d1943afe9b334141/googleapis_common_protos-1.52.0-py2.py3-none-any.whl
  Saved ./googleapis_common_protos-1.52.0-py2.py3-none-any.whl
Collecting jinja2==2.11.2 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
  Saved ./Jinja2-2.11.2-py2.py3-none-any.whl
Collecting MarkupSafe==1.1.1 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting protobuf==3.13.0 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 6))
  Using cached https://files.pythonhosted.org/packages/30/79/510974552cebff2ba04038544799450defe75e96ea5f1675dbf72cc8744f/protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
  Saved ./protobuf-3.13.0-cp36-cp36m-manylinux1_x86_64.whl
Collecting pypandoc==1.5 (from -r /home/kbuilder/.cache/bazel/_bazel_kbuilder/a732f932c2cbeb7e37e1543f189a2a73/external/gapic_generator_python/requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/d6/b7/5050dc1769c8a93d3ec7c4bd55be161991c94b8b235f88bf7c764449e708/pypandoc-1.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmpfs/tmp/tmps10gt39w/setuptools-tmp/setuptools/__init__.py", line 6, in <module>
        import distutils.core
      File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/_distutils_hack/__init__.py", line 83, in create_module
        return importlib.import_module('setuptools._distutils')
      File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/importlib/__init__.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
    ModuleNotFoundError: No module named 'setuptools._distutils'

    ----------------------------------------
 (Command "python setup.py egg_info" failed with error code 1 in /tmpfs/tmp/pip-build-3gg75q5v/pypandoc/
)
INFO: Elapsed time: 2.238s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

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-iam/synth.py", line 30, 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 183, 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=240', 'build', '//google/iam/credentials/v1:iam-credentials-v1-py']' returned non-zero exit status 1.
2020-09-02 05:18:56,146 autosynth [ERROR] > Synthesis failed
2020-09-02 05:18:56,146 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f895427 docs: link to migration guide (#28)
2020-09-02 05:18:56,152 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-09-02 05:18:56,156 autosynth [DEBUG] > Running: git clean -fdx
Removing __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 690, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 539, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 670, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 273, 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:

repo: googleapis/python-iam


text:
Manifest releaser always releases every package regardless of changes

Hi, 👋
Summary
It appears that packages (in the manifest) are always being released, regardless of whether their contents were edited or not. I believe the packages that haven't changed are inheriting the root package's version and being re-released?
Environment details

OS: Ubuntu 20.04.4 LTS (20220710.1)
Node.js version: -
npm version: -
release-please version: 13.18.7
release-please-action version: v3.2.8 (SHA: b910fcea1279e7744f01ca9c82f79502240ccf7c)

Steps to reproduce

Make a change to one of the packages defined in the Manifest
Merge the proposed pull-request
Notice release-please create a new release for every package, not just those that changed

Affected pull request: https://github.com/axieum/minecord-rp-test/pull/2
Affected GitHub Actions run: https://github.com/axieum/minecord-rp-test/actions/runs/2682112305
Please find the GitHub Actions run logs here: logs_6.zip
Thanks,
Jonathan.

Sorry for the slow response on this issue.
What's happening is that commits are filtered by component path (the core is not smart enough to understand to exclude other components' paths). So the root component (.) is seeing the bugfix for your chat component.
It could be possible to add an option as a feature request that would have the commit splitter ignore commits that are in other modules. We do want to keep the current behavior as the default because often folks will use this repository structure to release a root component which is a meta-package of all the subpackages and which does want to version bump if any of its subpackages is version bumped.

Hi @chingor13,
What you've described sounds correct, but it appears it's also bumping unchanged sub-packages when the root component changes?

release a root component which is a meta-package of all the subpackages and which does want to version bump if any of its subpackages is version bumped.

I'd expect other sub-package versions' to not be affected by different sub-package changes, however?
In the example I've posted, I have the following project layout:

.
minecord-api/
minecord-chat/
minecord-cmds/
...

When I make a change to the minecord-chat/ component, it generates the pull request (axieum/minecord-rp-test#2) correctly, however, after merging said pull-request it goes ahead and releases more than the PR mentioned. It released . and minecord-chat/ correctly, but then the unchanged sub-packages were also re-released with the . version.
If I find time soon, I might try to clone release-please and step through the debugger to identify why it's bumping unchanged components.

Ok, the 5 tagged releases totally looks like a bug. It should be parsing the release notes to know which components to tag and at what versions.

I'm having the same issue and after a long investigation I've casually noticed that this issue happens when you include a custom pr title pattern with the version of the . package. Apparently all the packages will be tagged with that "root" version and release-please probably doesn't find the correct tag for the packages. I can provide a repo to reproduce this issue if this can help.

source: gharchive/issue

repo: googleapis/release-please

license_type: permissive

license_source: bigquery


text:
Update step-02/js/main.js

Hi.
We need to know when video and audio are not available.

@googlebot I signed it!

source: gharchive/pull-request

repo: googlecodelabs/webrtc-web


text:
HTTP Error 400 - Bad Request

I'm persistently getting the following error after uploading about 10-15 files to Google Drive. I pass the initial authentication, then can to proceed with uploading my files to the Drive as normal.
Running Python 2.7.9, on Debian 8.5
Any help would be much appreciated!
1472175215354	addons.productaddons	ERROR	Request failed certificate checks: [Exception... "SSL is required and URI scheme is not https."  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://gre/modules/CertUtils.jsm :: checkCert :: line 145"  data: no]
Traceback (most recent call last):
  File "combinedScript.py", line 69, in <module>
    fileNew.Upload()
  File "/usr/local/lib/python2.7/dist-packages/pydrive/files.py", line 256, in Upload
    self._FilesInsert(param=param)
  File "/usr/local/lib/python2.7/dist-packages/pydrive/auth.py", line 76, in _decorated
    return decoratee(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pydrive/files.py", line 342, in _FilesInsert
    raise ApiRequestError(error)
pydrive.files.ApiRequestError: <HttpError 400 when requesting https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&alt=json returned "Bad Request">

Could you please post a small code snippet here so I can reproduce this error?
How large are the files you are uploading?

Apologies for this delayed response. Before I post a code sample, let me give you some context. I have a script that downloads a PDF from a website, saves it locally, renames that file, and then uploads it to Google Drive. The download process does indeed happen in Mozilla Firefox (Firefox ESR 45.3.0). Selenium drives the browser through all the PDFs I need to get.
`
import urllib2
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.keys import Keys
from bs4.diagnose import profile
from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
#set working directory
os.chdir("/home/somedirectory")
#start Firefox profile
prof = webdriver.FirefoxProfile()
#setting up the profile config
prof.set_preference("browser.download.folderList",2)
prof.set_preference("browser.download.dir", "/home/somedirectory")
prof.set_preference("browser.download.manager.showWhenStarting",False)
prof.set_preference("browser.helperApps.alwaysAsk.force", False)
prof.set_preference("browser.helperApps.neverAsk.saveToDisk", "application/vnd.hzn-3d-crossword;video/3gpp;video/3gpp2;application/vnd.mseq;application/vnd.3m.post-it-notes;application/vnd.3gpp.pic-bw-large;application/vnd.3gpp.pic-bw-small;application/vnd.3gpp.pic-bw-var;application/vnd.3gp2.tcap;application/x-7z-compressed;application/x-abiword;application/x-ace-compressed;application/vnd.americandynamics.acc;application/vnd.acucobol;application/vnd.acucorp;audio/adpcm;application/x-authorware-bin;application/x-athorware-map;application/x-authorware-seg;application/vnd.adobe.air-application-installer-package+zip;application/x-shockwave-flash;application/vnd.adobe.fxp;application/pdf;application/vnd.cups-ppd;application/x-director;applicaion/vnd.adobe.xdp+xml;application/vnd.adobe.xfdf;audio/x-aac;application/vnd.ahead.space;application/vnd.airzip.filesecure.azf;application/vnd.airzip.filesecure.azs;application/vnd.amazon.ebook;application/vnd.amiga.ami;applicatin/andrew-inset;application/vnd.android.package-archive;application/vnd.anser-web-certificate-issue-initiation;application/vnd.anser-web-funds-transfer-initiation;application/vnd.antix.game-component;application/vnd.apple.installe+xml;application/applixware;application/vnd.hhe.lesson-player;application/vnd.aristanetworks.swi;text/x-asm;application/atomcat+xml;application/atomsvc+xml;application/atom+xml;application/pkix-attr-cert;audio/x-aiff;video/x-msvieo;application/vnd.audiograph;image/vnd.dxf;model/vnd.dwf;text/plain-bas;application/x-bcpio;application/octet-stream;image/bmp;application/x-bittorrent;application/vnd.rim.cod;application/vnd.blueice.multipass;application/vnd.bm;application/x-sh;image/prs.btif;application/vnd.businessobjects;application/x-bzip;application/x-bzip2;application/x-csh;text/x-c;application/vnd.chemdraw+xml;text/css;chemical/x-cdx;chemical/x-cml;chemical/x-csml;application/vn.contact.cmsg;application/vnd.claymore;application/vnd.clonk.c4group;image/vnd.dvb.subtitle;application/cdmi-capability;application/cdmi-container;application/cdmi-domain;application/cdmi-object;application/cdmi-queue;applicationvnd.cluetrust.cartomobile-config;application/vnd.cluetrust.cartomobile-config-pkg;image/x-cmu-raster;model/vnd.collada+xml;text/csv;application/mac-compactpro;application/vnd.wap.wmlc;image/cgm;x-conference/x-cooltalk;image/x-cmx;application/vnd.xara;application/vnd.cosmocaller;application/x-cpio;application/vnd.crick.clicker;application/vnd.crick.clicker.keyboard;application/vnd.crick.clicker.palette;application/vnd.crick.clicker.template;application/vn.crick.clicker.wordbank;application/vnd.criticaltools.wbs+xml;application/vnd.rig.cryptonote;chemical/x-cif;chemical/x-cmdf;application/cu-seeme;application/prs.cww;text/vnd.curl;text/vnd.curl.dcurl;text/vnd.curl.mcurl;text/vnd.crl.scurl;application/vnd.curl.car;application/vnd.curl.pcurl;application/vnd.yellowriver-custom-menu;application/dssc+der;application/dssc+xml;application/x-debian-package;audio/vnd.dece.audio;image/vnd.dece.graphic;video/vnd.dec.hd;video/vnd.dece.mobile;video/vnd.uvvu.mp4;video/vnd.dece.pd;video/vnd.dece.sd;video/vnd.dece.video;application/x-dvi;application/vnd.fdsn.seed;application/x-dtbook+xml;application/x-dtbresource+xml;application/vnd.dvb.ait;applcation/vnd.dvb.service;audio/vnd.digital-winds;image/vnd.djvu;application/xml-dtd;application/vnd.dolby.mlp;application/x-doom;application/vnd.dpgraph;audio/vnd.dra;application/vnd.dreamfactory;audio/vnd.dts;audio/vnd.dts.hd;imag/vnd.dwg;application/vnd.dynageo;application/ecmascript;application/vnd.ecowin.chart;image/vnd.fujixerox.edmics-mmr;image/vnd.fujixerox.edmics-rlc;application/exi;application/vnd.proteus.magazine;application/epub+zip;message/rfc82;application/vnd.enliven;application/vnd.is-xpr;image/vnd.xiff;application/vnd.xfdl;application/emma+xml;application/vnd.ezpix-album;application/vnd.ezpix-package;image/vnd.fst;video/vnd.fvt;image/vnd.fastbidsheet;application/vn.denovo.fcselayout-link;video/x-f4v;video/x-flv;image/vnd.fpx;image/vnd.net-fpx;text/vnd.fmi.flexstor;video/x-fli;application/vnd.fluxtime.clip;application/vnd.fdf;text/x-fortran;application/vnd.mif;application/vnd.framemaker;imae/x-freehand;application/vnd.fsc.weblaunch;application/vnd.frogans.fnc;application/vnd.frogans.ltf;application/vnd.fujixerox.ddd;application/vnd.fujixerox.docuworks;application/vnd.fujixerox.docuworks.binder;application/vnd.fujitu.oasys;application/vnd.fujitsu.oasys2;application/vnd.fujitsu.oasys3;application/vnd.fujitsu.oasysgp;application/vnd.fujitsu.oasysprs;application/x-futuresplash;application/vnd.fuzzysheet;image/g3fax;application/vnd.gmx;model/vn.gtw;application/vnd.genomatix.tuxedo;application/vnd.geogebra.file;application/vnd.geogebra.tool;model/vnd.gdl;application/vnd.geometry-explorer;application/vnd.geonext;application/vnd.geoplan;application/vnd.geospace;applicatio/x-font-ghostscript;application/x-font-bdf;application/x-gtar;application/x-texinfo;application/x-gnumeric;application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/vnd.grafeq;image/gif;text/vnd.graphviz;aplication/vnd.groove-account;application/vnd.groove-help;application/vnd.groove-identity-message;application/vnd.groove-injector;application/vnd.groove-tool-message;application/vnd.groove-tool-template;application/vnd.groove-vcar;video/h261;video/h263;video/h264;application/vnd.hp-hpid;application/vnd.hp-hps;application/x-hdf;audio/vnd.rip;application/vnd.hbci;application/vnd.hp-jlyt;application/vnd.hp-pcl;application/vnd.hp-hpgl;application/vnd.yamaha.h-script;application/vnd.yamaha.hv-dic;application/vnd.yamaha.hv-voice;application/vnd.hydrostatix.sof-data;application/hyperstudio;application/vnd.hal+xml;text/html;application/vnd.ibm.rights-management;application/vnd.ibm.securecontainer;text/calendar;application/vnd.iccprofile;image/x-icon;application/vnd.igloader;image/ief;application/vnd.immervision-ivp;application/vnd.immervision-ivu;application/reginfo+xml;text/vnd.in3d.3dml;text/vnd.in3d.spot;mode/iges;application/vnd.intergeo;application/vnd.cinderella;application/vnd.intercon.formnet;application/vnd.isac.fcs;application/ipfix;application/pkix-cert;application/pkixcmp;application/pkix-crl;application/pkix-pkipath;applicaion/vnd.insors.igm;application/vnd.ipunplugged.rcprofile;application/vnd.irepository.package+xml;text/vnd.sun.j2me.app-descriptor;application/java-archive;application/java-vm;application/x-java-jnlp-file;application/java-serializd-object;text/x-java-source,java;application/javascript;application/json;application/vnd.joost.joda-archive;video/jpm;image/jpeg;video/jpeg;application/vnd.kahootz;application/vnd.chipnuts.karaoke-mmd;application/vnd.kde.karbon;aplication/vnd.kde.kchart;application/vnd.kde.kformula;application/vnd.kde.kivio;application/vnd.kde.kontour;application/vnd.kde.kpresenter;application/vnd.kde.kspread;application/vnd.kde.kword;application/vnd.kenameaapp;applicatin/vnd.kidspiration;application/vnd.kinar;application/vnd.kodak-descriptor;application/vnd.las.las+xml;application/x-latex;application/vnd.llamagraphics.life-balance.desktop;application/vnd.llamagraphics.life-balance.exchange+xml;application/vnd.jam;application/vnd.lotus-1-2-3;application/vnd.lotus-approach;application/vnd.lotus-freelance;application/vnd.lotus-notes;application/vnd.lotus-organizer;application/vnd.lotus-screencam;application/vnd.lotus-wordro;audio/vnd.lucent.voice;audio/x-mpegurl;video/x-m4v;application/mac-binhex40;application/vnd.macports.portpkg;application/vnd.osgeo.mapguide.package;application/marc;application/marcxml+xml;application/mxf;application/vnd.wolfrm.player;application/mathematica;application/mathml+xml;application/mbox;application/vnd.medcalcdata;application/mediaservercontrol+xml;application/vnd.mediastation.cdkey;application/vnd.mfer;application/vnd.mfmp;model/mesh;appliation/mads+xml;application/mets+xml;application/mods+xml;application/metalink4+xml;application/vnd.ms-powerpoint.template.macroenabled.12;application/vnd.ms-word.document.macroenabled.12;application/vnd.ms-word.template.macroenabed.12;application/vnd.mcd;application/vnd.micrografx.flo;application/vnd.micrografx.igx;application/vnd.eszigno3+xml;application/x-msaccess;video/x-ms-asf;application/x-msdownload;application/vnd.ms-artgalry;application/vnd.ms-ca-compressed;application/vnd.ms-ims;application/x-ms-application;application/x-msclip;image/vnd.ms-modi;application/vnd.ms-fontobject;application/vnd.ms-excel;application/vnd.ms-excel.addin.macroenabled.12;application/vnd.ms-excelsheet.binary.macroenabled.12;application/vnd.ms-excel.template.macroenabled.12;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.ms-htmlhelp;application/x-mscardfile;application/vnd.ms-lrm;application/x-msmediaview;aplication/x-msmoney;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.openxmlformats-officedocument.presentationml.slide;application/vnd.openxmlformats-officedocument.presentationml.slideshw;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.openxmformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/x-msbinder;application/vnd.ms-officetheme;application/onenote;audio/vnd.ms-playready.media.pya;vdeo/vnd.ms-playready.media.pyv;application/vnd.ms-powerpoint;application/vnd.ms-powerpoint.addin.macroenabled.12;application/vnd.ms-powerpoint.slide.macroenabled.12;application/vnd.ms-powerpoint.presentation.macroenabled.12;appliation/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.ms-project;application/x-mspublisher;application/x-msschedule;application/x-silverlight-app;application/vnd.ms-pki.stl;application/vnd.ms-pki.seccat;application/vn.visio;video/x-ms-wm;audio/x-ms-wma;audio/x-ms-wax;video/x-ms-wmx;application/x-ms-wmd;application/vnd.ms-wpl;application/x-ms-wmz;video/x-ms-wmv;video/x-ms-wvx;application/x-msmetafile;application/x-msterminal;application/msword;application/x-mswrite;application/vnd.ms-works;application/x-ms-xbap;application/vnd.ms-xpsdocument;audio/midi;application/vnd.ibm.minipay;application/vnd.ibm.modcap;application/vnd.jcp.javame.midlet-rms;application/vnd.tmobile-ivetv;application/x-mobipocket-ebook;application/vnd.mobius.mbk;application/vnd.mobius.dis;application/vnd.mobius.plc;application/vnd.mobius.mqy;application/vnd.mobius.msl;application/vnd.mobius.txf;application/vnd.mobius.daf;tex/vnd.fly;application/vnd.mophun.certificate;application/vnd.mophun.application;video/mj2;audio/mpeg;video/vnd.mpegurl;video/mpeg;application/mp21;audio/mp4;video/mp4;application/mp4;application/vnd.apple.mpegurl;application/vnd.msician;application/vnd.muvee.style;application/xv+xml;application/vnd.nokia.n-gage.data;application/vnd.nokia.n-gage.symbian.install;application/x-dtbncx+xml;application/x-netcdf;application/vnd.neurolanguage.nlu;application/vnd.na;application/vnd.noblenet-directory;application/vnd.noblenet-sealer;application/vnd.noblenet-web;application/vnd.nokia.radio-preset;application/vnd.nokia.radio-presets;text/n3;application/vnd.novadigm.edm;application/vnd.novadim.edx;application/vnd.novadigm.ext;application/vnd.flographit;audio/vnd.nuera.ecelp4800;audio/vnd.nuera.ecelp7470;audio/vnd.nuera.ecelp9600;application/oda;application/ogg;audio/ogg;video/ogg;application/vnd.oma.dd2+xml;applicatin/vnd.oasis.opendocument.text-web;application/oebps-package+xml;application/vnd.intu.qbo;application/vnd.openofficeorg.extension;application/vnd.yamaha.openscoreformat;audio/webm;video/webm;application/vnd.oasis.opendocument.char;application/vnd.oasis.opendocument.chart-template;application/vnd.oasis.opendocument.database;application/vnd.oasis.opendocument.formula;application/vnd.oasis.opendocument.formula-template;application/vnd.oasis.opendocument.grapics;application/vnd.oasis.opendocument.graphics-template;application/vnd.oasis.opendocument.image;application/vnd.oasis.opendocument.image-template;application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocumen.presentation-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-master;application/vnd.asis.opendocument.text-template;image/ktx;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;application/vnd.sun.xml.impress;application/vnd.sun.xl.impress.template;application/vnd.sun.xml.math;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.global;application/vnd.sun.xml.writer.template;application/x-font-otf;application/vnd.yamaha.openscoreformat.osfpvg+xml;application/vnd.osgi.dp;application/vnd.palm;text/x-pascal;application/vnd.pawaafile;application/vnd.hp-pclxl;application/vnd.picsel;image/x-pcx;image/vnd.adobe.photoshop;application/pics-rules;image/x-pict;application/x-chat;aplication/pkcs10;application/x-pkcs12;application/pkcs7-mime;application/pkcs7-signature;application/x-pkcs7-certreqresp;application/x-pkcs7-certificates;application/pkcs8;application/vnd.pocketlearn;image/x-portable-anymap;image/-portable-bitmap;application/x-font-pcf;application/font-tdpfr;application/x-chess-pgn;image/x-portable-graymap;image/png;image/x-portable-pixmap;application/pskc+xml;application/vnd.ctc-posml;application/postscript;application/xfont-type1;application/vnd.powerbuilder6;application/pgp-encrypted;application/pgp-signature;application/vnd.previewsystems.box;application/vnd.pvi.ptid1;application/pls+xml;application/vnd.pg.format;application/vnd.pg.osasli;tex/prs.lines.tag;application/x-font-linux-psf;application/vnd.publishare-delta-tree;application/vnd.pmi.widget;application/vnd.quark.quarkxpress;application/vnd.epson.esf;application/vnd.epson.msf;application/vnd.epson.ssf;applicaton/vnd.epson.quickanime;application/vnd.intu.qfx;video/quicktime;application/x-rar-compressed;audio/x-pn-realaudio;audio/x-pn-realaudio-plugin;application/rsd+xml;application/vnd.rn-realmedia;application/vnd.realvnc.bed;applicatin/vnd.recordare.musicxml;application/vnd.recordare.musicxml+xml;application/relax-ng-compact-syntax;application/vnd.data-vision.rdz;application/rdf+xml;application/vnd.cloanto.rp9;application/vnd.jisp;application/rtf;text/richtex;application/vnd.route66.link66+xml;application/rss+xml;application/shf+xml;application/vnd.sailingtracker.track;image/svg+xml;application/vnd.sus-calendar;application/sru+xml;application/set-payment-initiation;application/set-reistration-initiation;application/vnd.sema;application/vnd.semd;application/vnd.semf;application/vnd.seemail;application/x-font-snf;application/scvp-vp-request;application/scvp-vp-response;application/scvp-cv-request;application/svp-cv-response;application/sdp;text/x-setext;video/x-sgi-movie;application/vnd.shana.informed.formdata;application/vnd.shana.informed.formtemplate;application/vnd.shana.informed.interchange;application/vnd.shana.informed.package;application/thraud+xml;application/x-shar;image/x-rgb;application/vnd.epson.salt;application/vnd.accpac.simply.aso;application/vnd.accpac.simply.imp;application/vnd.simtech-mindmapper;application/vnd.commonspace;application/vnd.ymaha.smaf-audio;application/vnd.smaf;application/vnd.yamaha.smaf-phrase;application/vnd.smart.teacher;application/vnd.svd;application/sparql-query;application/sparql-results+xml;application/srgs;application/srgs+xml;application/sml+xml;application/vnd.koan;text/sgml;application/vnd.stardivision.calc;application/vnd.stardivision.draw;application/vnd.stardivision.impress;application/vnd.stardivision.math;application/vnd.stardivision.writer;application/vnd.tardivision.writer-global;application/vnd.stepmania.stepchart;application/x-stuffit;application/x-stuffitx;application/vnd.solent.sdkm+xml;application/vnd.olpc-sugar;audio/basic;application/vnd.wqd;application/vnd.symbian.install;application/smil+xml;application/vnd.syncml+xml;application/vnd.syncml.dm+wbxml;application/vnd.syncml.dm+xml;application/x-sv4cpio;application/x-sv4crc;application/sbml+xml;text/tab-separated-values;image/tiff;application/vnd.to.intent-module-archive;application/x-tar;application/x-tcl;application/x-tex;application/x-tex-tfm;application/tei+xml;text/plain;application/vnd.spotfire.dxp;application/vnd.spotfire.sfs;application/timestamped-data;applicationvnd.trid.tpt;application/vnd.triscape.mxs;text/troff;application/vnd.trueapp;application/x-font-ttf;text/turtle;application/vnd.umajin;application/vnd.uoml+xml;application/vnd.unity;application/vnd.ufdl;text/uri-list;application/nd.uiq.theme;application/x-ustar;text/x-uuencode;text/x-vcalendar;text/x-vcard;application/x-cdlink;application/vnd.vsf;model/vrml;application/vnd.vcx;model/vnd.mts;model/vnd.vtu;application/vnd.visionary;video/vnd.vivo;applicatin/ccxml+xml,;application/voicexml+xml;application/x-wais-source;application/vnd.wap.wbxml;image/vnd.wap.wbmp;audio/x-wav;application/davmount+xml;application/x-font-woff;application/wspolicy+xml;image/webp;application/vnd.webturb;application/widget;application/winhlp;text/vnd.wap.wml;text/vnd.wap.wmlscript;application/vnd.wap.wmlscriptc;application/vnd.wordperfect;application/vnd.wt.stf;application/wsdl+xml;image/x-xbitmap;image/x-xpixmap;image/x-xwindowump;application/x-x509-ca-cert;application/x-xfig;application/xhtml+xml;application/xml;application/xcap-diff+xml;application/xenc+xml;application/patch-ops-error+xml;application/resource-lists+xml;application/rls-services+xml;aplication/resource-lists-diff+xml;application/xslt+xml;application/xop+xml;application/x-xpinstall;application/xspf+xml;application/vnd.mozilla.xul+xml;chemical/x-xyz;text/yaml;application/yang;application/yin+xml;application/vnd.ul;application/zip;application/vnd.handheld-entertainment+xml;application/vnd.zzazz.deck+xml")
prof.set_preference("pdfjs.disabled", True)
#call on the driver w/ defined profile
driver = webdriver.Firefox(firefox_profile=prof)
#set up the Google Drive export
gauth = GoogleAuth()
drive = GoogleDrive(gauth)
#create Google Drive folder ID
folderID = "MyDriveFolderID"
#define base URL and the range of PDF IDs to look over
urlBase = "http://target-website.com"
urlID = range(26155, 50000)
for link in urlID:
urlPDF = str(urlBase)+str(link)
driver.get(urlPDF)
try:
    pdfLink = driver.find_element_by_css_selector("#download")
    pdfLink.click()

    fileName = str(link)+'.pdf'

    if os.path.isfile('IMAGE.pdf') is True:
        os.rename("IMAGE.pdf", str(fileName))

    if os.path.isfile('document.pdf') is True:
        os.rename('document.pdf', str(fileName))

except NoSuchElementException:
    continue

fileNew = drive.CreateFile({'title': str(fileName), 'parents': [{'id': folderID}]})
fileNew.SetContentFile(str(fileName))
fileNew.Upload()

os.remove(str(fileName))

`
Thank you for pointing me to potential browser problems - I'll try to replicate this in Chrome

Thank you for the detailed description. Could you try separating the two actions (download and upload), and maybe download 10 files, then upload 10 files, etc.?
I am not that familiar with selenium so separating the two concerns would make it less likely that it is the combination of the two libraries which is the cause of this error.
Make sure to call fsync after your os.rename calls, as described here.
Does the line pdfLink.click() block until the file is downloaded?
On an unrelated note, I edited your reply to set the language of the code block, which you can do with ```<name of language here, e.g. python>
<Some code>
```

I see some problems here in the code:
1472175215354   addons.productaddons    ERROR   Request failed certificate checks: [Exception... "SSL is required and URI scheme is not https."  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: resource://gre/modules/CertUtils.jsm :: checkCert :: line 145"  data: no]

this error refers to SSL certification error, maybe your machine does not have CA-Certificate bundle or you can use https instead of http in your request.
from this problem you are not getting the right file or you are getting null file and pydrive may not be able to handle this.
I ran into a problem like this when i was trying to create a folder in drive but there was only binary files generated.

Closing this due to inactivity.

authors: RNabel arpit1997 snakonechny

repo: googledrive/PyDrive


text:
Suspected endless loop in autohinting Shaper coverage computation with Poppins Semibold

In Chrome content_shell and https://rtsh.es/test/poppins.html the content tab starts to hang.
Running this and content_shell with gdb
$ gdb --args out/gnrelease/content_shell --single-process https://rtsh.es/test/poppins.html
Then stopping and running
thread apply all backtrace
reveals the stack trace at which this is hanging:
[#65 repeats]
#65 0x00007ffff5913703 in skrifa::outline::autohint::shape::GsubHandler::process_lookup::h05a71b4249d913f6 () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#66 0x00007ffff5910d39 in skrifa::outline::autohint::shape::Shaper::compute_coverage::h8b6af0d2971cd068 () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#67 0x00007ffff58fe6fd in skrifa::outline::autohint::style::GlyphStyleMap::new::he7232822c79b7d06 () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#68 0x00007ffff590021b in skrifa::outline::autohint::instance::GlyphStyles::new::h8993ddbc473295b4 () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#69 0x00007ffff5900407 in skrifa::outline::autohint::instance::Instance::new::h1fd5544fce0fc93c () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#70 0x00007ffff587e861 in skrifa::outline::hint::HintingInstance::reconfigure::hff00a995aaa3c43c () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#71 0x00007ffff587efe2 in skrifa::outline::hint::HintingInstance::new::h8760a010858fb68a () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#72 0x00007ffff5866eaf in skia_cbridge_urust_uside::make_hinting_instance::h8f1b0d2f10919329 () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#73 0x00007ffff57b1c94 in fontations_ffi::make_hinting_instance(fontations_ffi::BridgeOutlineCollection const&, float, fontations_ffi::BridgeNormalizedCoords const&, bool, bool, bool, bool) () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so
#74 0x00007ffff53492d7 in SkFontationsScalerContext::SkFontationsScalerContext(sk_sp<SkTypeface_Fontations>, SkScalerContextEffects const&, SkDescriptor const*, sk_sp<SkTypeface>) () at /usr/local/google/home/drott/dev/blink/src/out/gnrelease/libskia.so

Repro snippet example: https://gist.github.com/drott/358588887648cefdf845f7a33451f0c2

Does seem to occur with Poppins 4.003 from MS:
https://puzmo.blob.core.windows.net/assets/fonts/Poppins-SemiBold.ttf
but not with 4.004(b4) from Google Fonts.

Does not repro with https://github.com/itfoundry/Poppins/releases/tag/v4.003 and file Poppins-SemiBold.ttf from that archive.

Does seem to occur with Poppins 4.003 from MS: https://puzmo.blob.core.windows.net/assets/fonts/Poppins-SemiBold.ttf but not with 4.004(b4) from Google Fonts.

In this font, lookup 27 (from abvs feature) is a contextual lookup with two subtables that both chain to lookup 0 which is another contextual lookup with four subtables that all cycle.

authors: dfrg drott

repo: googlefonts/fontations


text:
Update CPAL to use offsets to arrays

~This is on top of #75, which will be merged first.~
I'm encouraged by how much code this deletes.

Good demo of the power of codegen :)

authors: cmyr rsheeter


text:
Fix people holding hands

Because of two errors, half of the "people holding hands" emoji sequences are broken:

The first commit addresss a bug in the code generating rtl sequences, the second adds aliases for the remaining emoji. The result is now:

Sigh... wrong email address used for commit

repo: googlefonts/noto-emoji


text:
Clean up imports and whitespace.

This is in preparation for v1beta2 -> v1 code changes.

LGTM - that's a lot of whitespace.

authors: calbach deflaux

repo: googlegenomics/utils-java


text:
WIP: Minor performance improvements

Simplify Point __init__ to speed up instantiation

Maybe use slots?
Supersedes https://github.com/googlei18n/glyphsLib/pull/450.

New benchmark:
Without __slots__:
In [2]: %timeit Point(100, 200)
364 ns ± 2.03 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

In [3]: %timeit Point(100, 200)
367 ns ± 6.27 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

With __slots__:
In [3]: %timeit Point(100, 200)
326 ns ± 0.59 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

In [4]: %timeit Point(100, 200)
329 ns ± 2.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)


text:
do not attempt to interpolate Nastaliq Urdu

Fixes a compilation issue reported at https://github.com/googlei18n/fontmake/issues/352
NotoNastaliqUrdu-MM.glyphs does not have interpolatable outlines or GPOS, so it doesn't make sense to call fontmake with -i or --interpolate-binary-layout options in that case.
We can build static OTFs and TTFs straight from the master UFOs.
The only thing that distinguishes the instances in NotoNastaliqUrdu-MM.glyphs from the respective masters is that in Glyphs.app only the instances have OS/2 Weight and Width clearly defined, whereas masters do not.
We work around this by setting openTypeOS2WeightClass and openTypeOS2WidthClass custom parameters ourselves directly on the masters. Even though in Glyphs.app these will appear greyed out (as they are not normally assigned to masters but to instances), glyphsLib will read and apply correctly to the generated UFO masters.
/cc @brawer

LGTM


text:
Generalize ligature unit test

Before, this tested some Roboto-specific behavior. Now it's
generalized a bit.

LGTM

authors: dougfelt jamesgk


text:
Cannot produce variable font from Cantarell glyphs source

(Not sure if this is a ufo2ft bug or something else.)

wget https://github.com/madig/cantarell-fonts/raw/master/src/Cantarell.glyphs
fontmake -g Cantarell.glyphs -o variable

INFO:fontmake.font_project:Building master UFOs and designspace from Glyphs source
INFO:glyphsLib.parser:Parsing .glyphs file
INFO:glyphsLib:Loading to UFOs
INFO:glyphsLib.util:Writing master_ufo/Cantarell-Light.ufo
INFO:glyphsLib.util:Writing master_ufo/Cantarell-Regular.ufo
INFO:glyphsLib.util:Writing master_ufo/Cantarell-Bold.ufo
INFO:fontmake.font_project:Building interpolation-compatible TTFs
INFO:fontmake.font_project:Converting curves compatibly
INFO:cu2qu.ufo:New spline lengths: 1: 14, 2: 722, 3: 338, 4: 20, 5: 14, 6: 11, 7: 13
INFO:fontmake.font_project:Saving TTF for Cantarell-Light
Traceback (most recent call last):
  File "/home/nikolaus/.local/bin/fontmake", line 11, in <module>
    sys.exit(main())
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontmake/__main__.py", line 186, in main
    project.run_from_glyphs(glyphs_path, **args)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontmake/font_project.py", line 369, in run_from_glyphs
    designspace_path, instance_data=instance_data, **kwargs)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontmake/font_project.py", line 437, in run_from_designspace
    interpolate_layout_from=interpolate_layout_from, **kwargs)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontmake/font_project.py", line 491, in run_from_ufos
    ufos, reverse_direction, conversion_error, **kwargs)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontmake/font_project.py", line 199, in build_interpolatable_ttfs
    self.save_otfs(ufos, ttf=True, interpolatable=True, **kwargs)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontmake/font_project.py", line 284, in save_otfs
    font = compileTTF(ufo, convertCubics=False, **compiler_options)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/ufo2ft/__init__.py", line 116, in compileTTF
    postProcessor = PostProcessor(otf, ufo)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/ufo2ft/postProcessor.py", line 18, in __init__
    otf.save(stream)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/ttFont.py", line 165, in save
    writer_reordersTables = self._save(tmp)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/ttFont.py", line 204, in _save
    self._writeTable(tag, writer, done, tableCache)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/ttFont.py", line 615, in _writeTable
    self._writeTable(masterTable, writer, done, tableCache)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/ttFont.py", line 615, in _writeTable
    self._writeTable(masterTable, writer, done, tableCache)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/ttFont.py", line 619, in _writeTable
    tabledata = self.getTableData(tag)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/ttFont.py", line 637, in getTableData
    return self.tables[tag].compile(self)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/tables/_g_l_y_f.py", line 84, in compile
    glyphData = glyph.compile(self, recalcBBoxes)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/tables/_g_l_y_f.py", line 350, in compile
    data = data + self.compileComponents(glyfTable)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/tables/_g_l_y_f.py", line 573, in compileComponents
    data = data + compo.compile(more, haveInstructions, glyfTable)
  File "/home/nikolaus/.local/lib/python3.6/site-packages/fontTools/ttLib/tables/_g_l_y_f.py", line 1095, in compile
    transform[0][0], transform[1][1])
struct.error: 'h' format requires -32768 <= number <= 32767

Producing non-variable interpolated fonts works.
fontMath==0.4.4
fonttools==3.22.0
glyphsLib==2.2.1
MutatorMath==2.1.0
ufo2ft==1.1.0
ufoLib==2.1.1

@anthrotype can you debug this?

I had the same problem yesterday with some version of Montserrat on my machine. It looks like it comes from a component that is scale by >= 2.0 which if I understand correctly does not fit in the opentype "2.14" format for floats on two words.
Here is the debug session: https://gist.github.com/belluzj/663b1dfe4431dbb9fdd0e87dc01e0f0d
Here is the transform in the file:

That doesn't explain why it's failing in glyf table though. Why does it work without variations?  Oh, it might be that we flatten composites in the normal output?

Correct. Correct range is [-2,+2).
I think we should automatically replace +2 with 0b1.11111111111111, which is 1.99993896484375.

And decompose glyphs using larger values. In the varfont case, we should decompose in all masters.

do you mean, we should special-case the component transfomation values when they are == +2.0  and clamp that to be 0b1.11111111111111?
Where? Inside the fonttools TTGlyphpPen, or in the ufo2ft.outlineCompiler that calls it?
Maybe, in the former. So we can also decompose if the value > +2.0 or < -2.0 and we support the full range [-2,+2] (though we're technically cheating, aren't we?).

do you mean, we should special-case the component transfomation values when they are == +2.0 and clamp that to be 0b1.11111111111111?

Yes.

Where? Inside the fonttools TTGlyphpPen, or in the ufo2ft.outlineCompiler that calls it?

I'd be fine with TTGlyphPen doing.

Maybe, in the former. So we can also decompose if the value > +2.0 or < -2.0 and we support the full range [-2,+2] (though we're technically cheating, aren't we?).

Whatever. Everything we do has a cheating element to it ;). Just make sure you do that for all masters at the same time, if it's for interpolatable output.

this was fixed in upstream fonttools https://github.com/fonttools/fonttools/issues/1200

https://github.com/fonttools/fonttools/pull/1205/files added an option to TTGlyphPen called handleOverflowingTransforms which defaults to True. Ufo2ft now needs to call the pen with handleOverflowingTransforms=False when producing interpolatable output, and handle the decomposition of the overflowing glyph in a compatible for all the masters.
See @behdad's comment
https://github.com/fonttools/fonttools/pull/1205#issuecomment-369697364

Make it an option then, default to True is fine, but disable in interpolatable output.

authors: anthrotype behdad belluzj madig

license: mit


text:
Add TopoJSON Support

Add TopoJSON Support

urgent and prioritize!

urgent and prioritize!

valid

This is valid. We are considering this for a product but our incoming data is in TopoJSON format due to its smaller size.

must have. required. important. critical. :D

urgent!

urgent

still important!

authors: chitgoks lucasgcb

repo: googlemaps/android-maps-utils

license_source: github-api


text:
Fix when on empty view, swipe to refresh not completely show refreshi…

…ng circle

I signed it!


text:
Todo-mvp-dagger: Module with Implicit constructor need not be instantiated

As we know, if we have Module with default or implicit constructor, it need not be instantiated.
mRepositoryComponent = DaggerTasksRepositoryComponent.builder()
                .applicationModule(new ApplicationModule((getApplicationContext())))
                .tasksRepositoryModule(new TasksRepositoryModule()).build();

Thus in above code tasksRepositoryModule(new TasksRepositoryModule()) can be removed.

fixed in #356

authors: digitalbuddha shekarrex

repo: googlesamples/android-architecture


text:
Permission Denied Error[13]

File "C:\Users\sanjaypranav.conda\envs\mmdet\lib\site-packages\mmcv\fileio\file_client.py", line 535, in get
with open(filepath, 'rb') as f:
PermissionError: [Errno 13] Permission denied: 'data/cityscapes/leftImg8bit/train/strasbourg'

what should i do to solve this error ?

by the way i tried running cmd as administrator as well

repo: googlesamples/assistant-sdk-python


text:
Add modem tests to travis.

Not sure if this is ready yet, only way I know to test is have it run against a PR.

The core of this PR is ready, unfortunately the tests are failing due to the "ERROR: this mock object (used in test GetCommandTest.gets) should be deleted but never is. Its address is @0x99ea60" issues I was ignoring before. I am working on fixing those before merging this.

This PR is ready.

LGTM

repo: googlesamples/firebase-arduino


text:
Local development

Hi @Mansari and @vinay-google
Thanks for this great example! , was very useful.
I have everything working but now I'm not sure how my team and I can work locally on the project.
What I did was to tunnel server.js with ngrok and put the public url on deployment.json and default.json, then rebuilding . It works, I can see my local changes but now if anyone wants to work it will have to re-deploy with their own ngrok url blocking the rest of the team.
Is there another way to work locally?  I could only find this which shows there is live reload: https://developers.googleblog.com/2021/03/evolving-google-workspace-add-ons-with.html but it doesnt explain how
Thanks!

Hi @llermaly,
Thank you for your feedback! I love what you shared about building a local test environment, that would be a great blog post to publish if you are interested, or feel free to add it as an addition to the READ.ME.
Now for co-developing an add-on in a team, there are a few ways I can think of setting this up:
Option 1 : One add-on that everyone works on it
In this case, you will deploy ONE copy of the add-on, publish it internally your domain, and then either install it for everyone as an admin (using admin install) or have those developing install it from the Google Workspace Marketplace.
This copy of the add-on will be pointing to a published HTTPS endpoint that the team controls (e.g. linked to a dev/staging copy of the add-on backend code), and as the team continues to push their updates to this branch/codebase, you either manually update the deployment or have a CI/CD pipeline that does that. You can configure a CI/CD (or a deployment script) to pick any differences in the deployment.json for example, and use the [Google Workspace Add-ons APIs] (https://developers.google.com/workspace/add-ons/reference/rest) to create/update deployments, and refresh your hosting server with the latest checked-in backend code. Everyone will now see the latest version of the add-on and will be able to collaborate / QA one version.
Option 2 : Every developer has their own copy of the add-on
In this case, everyone will do exactly what you did. They will have their own add-on that is linked to their local codebase and any refresh will show up in their own version.
There is nothing that prevents you from doing both. You can have an individual copy of the add-on for each developer linked to their local code, and you can have one (or many) shared copies - staging, QA, prod, that are shared amongst the team members.
These ideas are just off the top of my head before I head to sleep, so forgive me if I missed anything, and feel free to comment if you have any additional questions.

Thanks for your quick answer! . Option 1 will not allow live testing, right?

It all depends on where the code is running - if you point this version of the add-on to the code running on your machine, then you can debug it live on yours. If you change the endpoints to point to someone else's machine, then it can be debug there.
You can indeed run Cloud Run (which is used in this sample) locally . If you wanted to refactor the code/deployment to use Cloud Functions instead, they can also be run locally.
Does this help? If you can let me know how you plan to setup the dev environment for your team, or what is your ideal setup for debugging/testing, I am sure @vinay-google may have some more guidance to share as well.

@Mansari Maybe I'm missing something, because to run it locally what I did was to tunnel localhost to a public address that I had to add to the config, then to test the UI I went to the actual addon.
Doing this if another member wants to work and do the same , will override the URL I created and I will not be able to work on my changes.
Is this accurate? Or there is a way to set the URL to localhost and see live changes in the UI without affecting others ?
If we use Cloud Run locally we should only replace the URL in the json config? or tunneling is also needed to be reachable from the addon?
Sorry for so many questions, I'm not very familiar to this workflow. On similar situations (e.g: atlassian apps) the repo comes with a way to run the server locally and set the app to developer mode.

@llermaly You are correct. If each member wants to test on their local machine, then they would have to do the tunneling + updating the deployment manifest to point to their URL, thus overriding the other's changes.
if you are looking for a collaborative coding environment where everyone have access to the same codebase and the add-on is linked to that codebase, I would then suggest using something like Repl.it (not an endorsement as I have not personally used it) or similar shared IDE / hosted code solutions may be the answer. In that setup, you can host one endpoint that you can point the add-on to, but you + your colleagues will have access to the code that runs it to monitor/modify it together.
Does that help? I asked my colleague @PierrickVoulet who also might be able to add more thoughts on this.

@llermaly BTW a new guide on how to debug Google Workspace Add-ons has just been published. It features a similar approach using ngrok, but might be helpful to review if it gives you any additional guidance.

Thanks @llermaly ! Don't hesitate to reach out if anything else comes up. For now, I'll mark this issue as resolved.

authors: Mansari llermaly

repo: googleworkspace/gws-genai-addon-sample


text:
🛑 goormIDE is down

In e59d0f3, goormIDE (https://ide.goorm.io) was down:

HTTP code: 403
Response time: 704 ms

Resolved: goormIDE is back up in 1a9611b after 17 minutes.

repo: goorm-dev/goorm-status

license: MIT


text:
feat: Add Map helpers

RelatedTo: https://github.com/goravel/goravel/issues/82
📑 Description
This pull request introduces a set of map helper methods to enhance map manipulation in Go.
Supported Methods

Add: Add an element to a map using “dot” notation if it doesn't exist.
Dot: Flatten a map using dot notation.
Exists: Check if the given key exists in the provided map (only top level).
Forget: Remove a given key or keys from the provided map.
Get: Retrieve an item from an object using "dot" notation.
Has: Check if the given key or keys exist in the provided map.
HasAny: Check if any of the given keys exist in the provided map.
Only: Return the items in the map with the specified keys.
Pull: Return a new map with the specified keys removed.
Set: Set an element to a map using “dot” notation.

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[ ] I have updated the documentation as required
[x] All the tests have passed

Hi Bro, If this PR is ready for review, please add the Review Ready tag.

As we discussed, I can't implement nested key feature for all cases. So I am not working this feature anymore.

Some of the methods are good, don't you want to merge them?

authors: hwbrzzl kkumar-gcc

repo: goravel/framework


text:
Recommend main and exports

Per https://nodejs.org/api/esm.html#esm_main_entry_point_export

To set the main entry point for a package, it is advisable to define both "exports" and "main" in the package’s package.json file:
{
"main": "./main.js",
"exports": "./main.js"
}
The benefit of doing this is that when using the "exports" field all subpaths of the package will no longer be available to importers under require('pkg/subpath.js'), and instead they will get a new error, ERR_PACKAGE_PATH_NOT_EXPORTED.
This encapsulation of exports provides more reliable guarantees about package interfaces for tools and when handling semver upgrades for a package. It is not a strong encapsulation since a direct require of any absolute subpath of the package such as require('/path/to/node_modules/pkg/subpath.js') will still load subpath.js.

Also the order within exports (and the order within exports subpaths, e.g., {exports: {"./feature": {browser: "./feature-browser.js", default: "./feature.js"}} and within nested conditions, e.g., {"exports": {"import": {"node": "./feature-node.mjs"}}}) could be enforced per https://nodejs.org/api/esm.html#esm_conditional_exports :

"node" - matched for any Node.js environment. Can be a CommonJS or ES module file. This condition should always come after "import" or "require".
"default" - the generic fallback that will always match. Can be a CommonJS or ES module file. This condition should always come last.

We should probably note that it's in most cases a breaking change to add exports:
https://medium.com/javascript-in-plain-english/is-promise-post-mortem-cab807f18dcc


text:
pip install error

Did anyone face this problem before ?
`% pip install zen-engine
Collecting zen-engine
Downloading zen_engine-0.18.1.tar.gz (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.7/114.7 kB 1.8 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: zen-engine
Building wheel for zen-engine (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for zen-engine (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [13 lines of output]
Running maturin pep517 build-wheel -i /Users/jerry/.pyenv/versions/3.9.6/bin/python --compatibility off
🔗 Found pyo3 bindings
🐍 Found CPython 3.9 at /Users/jerry/.pyenv/versions/3.9.6/bin/python
📡 Using build options features from pyproject.toml
💻 Using MACOSX_DEPLOYMENT_TARGET=11.0 for aarch64-apple-darwin by default
error: package ahash v0.8.8 cannot be built because it requires rustc 1.72.0 or newer, while the currently active rustc version is 1.70.0
Either upgrade to rustc 1.72.0 or newer, or use
cargo update -p ahash@0.8.8 --precise ver
where ver is the latest version of ahash supporting rustc 1.70.0
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": MACOSX_DEPLOYMENT_TARGET="11.0" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.9-64bit" PYO3_PYTHON="/Users/jerry/.pyenv/versions/3.9.6/bin/python" PYTHON_SYS_EXECUTABLE="/Users/jerry/.pyenv/versions/3.9.6/bin/python" "cargo" "rustc" "--release" "--features" "pyo3/extension-module" "--manifest-path" "/private/var/folders/dt/yzrtn6ns2m7gvzstcz8bgx0w0000gp/T/pip-install-807s8ydr/zen-engine_f971b7357e66402d93f065d126a64eca/Cargo.toml" "--message-format" "json" "--lib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/zen.cpython-39-darwin.so"
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/Users/jerry/.pyenv/versions/3.9.6/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for zen-engine
Failed to build zen-engine
ERROR: Could not build wheels for zen-engine, which is required to install pyproject.toml-based projects
jerry@MoneyMatchs-MacBook-Pro goRule % ERROR: Could not build wheels for zen-engine, which is required to install pyproject.toml-based projects
jerry@MoneyMatchs-MacBook-Pro goRule % pip install -e .
Obtaining file:///Users/jerry/Projects/Python/goRule
ERROR: file:///Users/jerry/Projects/Python/goRule does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.`
I am using pip v24.0, Python 3.9.6
Please assist me on this issue. Thanks in advance.

thank you @stefan-gorules

repo: gorules/zen


text:
🛑 Editor CMS is down

In 0d80902, Editor CMS (https://editor.ritamdigital.org/services/ritam/api/posts/top-headlines/tag/top-stories/editor) was down:

HTTP code: 500
Response time: 1065 ms

Resolved: Editor CMS is back up in d0cae76 after 26 minutes.

repo: govindbhardwaj/monitor-ritam


text:
OLH-1291 Onboard APAR (Provider and Assessment Register Service).

Proposed changes

Add APAR to available services.
What changed

Config updated.
Why did it change

To allow the new service to be accessed from the services list and to present a service card when the service has been visited previously.
Related links

Checklists

Environment variables or secrets

[x] No environment variables or secrets were added or changed

Testing

Currently deployed to dev or can be run locally.
How to review

We suspect the URL given for the service card is incorrect, therefore waiting for new url before proceeding.


text:
IPS-1240 50Percent 5Minutes lambda canary deployment strategy added

Proposed changes
What changed
Custom deployment configuration will be added to all envs - 50Percent5Minutes.
This means when a lambda deployment occurs, 50% of traffic will go to the old version of lambda and 50% will go to the new version of the lambda.
Why did it change
This is a better strategy as it means the test traffic passing through a non prod build is equally split between two versions and is a better test.
Issue tracking

IPS-1240

Other considerations

closed as we will add 50% 5 mins config using identity common infra

repo: govuk-one-login/ipv-cri-uk-passport-api