Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synthesis failed for vision #6

Open
theacodes opened this issue Dec 7, 2018 · 1 comment
Open

Synthesis failed for vision #6

theacodes opened this issue Dec 7, 2018 · 1 comment

Comments

@theacodes
Copy link
Owner

Hello! Autosynth couldn't regenerate vision. 💔

Here's the output from running synth.py:

Cloning into 'working_repo'...
Traceback (most recent call last):
  File "/Users/theaflowers/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/theaflowers/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/theaflowers/workspace/autosynth/autosynth/synth.py", line 212, in <module>
    main()
  File "/Users/theaflowers/workspace/autosynth/autosynth/synth.py", line 172, in main
    configure_git(args.github_user, args.github_email)
  File "/Users/theaflowers/workspace/autosynth/autosynth/synth.py", line 57, in configure_git
    with open(GLOBAL_GITIGNORE_FILE) as fh:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/theaflowers/.autosynth-gitignore'

Google internal developers can see the full log here.

@theacodes
Copy link
Owner Author

Autosynth is still having trouble generating vision. 😭

Here's the output from running synth.py:

Cloning into 'working_repo'...
Switched to branch 'autosynth-vision'
Running synthtool
['/Users/theaflowers/workspace/autosynth/env/bin/python3', '-m', 'synthtool', 'synth.py', '--']
synthtool > gcp-synthtool has a newer version available. Current version is 2018.12.5, newest is 2018.12.6. Run `python3 -m pip install --upgrade gcp-synthtool` to update.
synthtool > Executing /Users/theaflowers/workspace/autosynth/working_repo/vision/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:2f6b261ee7fe1aedf238991c93a20b3820de37a343d0cacf3e3e9555c2aaf2ea
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/cloud/vision/artman_vision_v1.yaml.
synthtool > Generated code into /Users/theaflowers/.cache/synthtool/googleapis/artman-genfiles/python/vision-v1.
synthtool > Replaced 'from __future__ import absolute_import' in google/cloud/vision_v1/__init__.py.
synthtool > Replaced 'image_annotator_client' in google/cloud/vision_v1/__init__.py.
synthtool > Replaced 'from google.cloud.vision_v1.gapic import iac' in google/cloud/vision_v1/__init__.py.
synthtool > Replaced 'class ImageAnnotatorClient\\(iac.ImageAnnotatorClient\\):' in google/cloud/vision_v1/__init__.py.
synthtool > Running generator for google/cloud/vision/artman_vision_v1p1beta1.yaml.
synthtool > Generated code into /Users/theaflowers/.cache/synthtool/googleapis/artman-genfiles/python/vision-v1p1beta1.
synthtool > Replaced 'from __future__ import absolute_import' in google/cloud/vision_v1p1beta1/__init__.py.
synthtool > Replaced 'image_annotator_client' in google/cloud/vision_v1p1beta1/__init__.py.
synthtool > Replaced 'from google.cloud.vision_v1p1beta1.gapic import iac' in google/cloud/vision_v1p1beta1/__init__.py.
synthtool > Replaced 'class ImageAnnotatorClient\\(iac.ImageAnnotatorClient\\):' in google/cloud/vision_v1p1beta1/__init__.py.
synthtool > Running generator for google/cloud/vision/artman_vision_v1p2beta1.yaml.
synthtool > Generated code into /Users/theaflowers/.cache/synthtool/googleapis/artman-genfiles/python/vision-v1p2beta1.
Traceback (most recent call last):
  File "/Users/theaflowers/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/theaflowers/.pyenv/versions/3.7.0/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/theaflowers/workspace/synthtool/synthtool/__main__.py", line 87, in <module>
    main()
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/theaflowers/workspace/synthtool/synthtool/__main__.py", line 79, in main
    spec.loader.exec_module(synth_module)
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/theaflowers/workspace/autosynth/working_repo/vision/synth.py", line 28, in <module>
  File "/Users/theaflowers/workspace/synthtool/synthtool/transforms.py", line 162, in move
    source, canonical_destination, excludes=excludes, merge=merge
  File "/Users/theaflowers/workspace/synthtool/synthtool/transforms.py", line 124, in _copy_dir_to_existing_dir
    os.makedirs(str(dest_dir), exist_ok=True)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/os.py", line 211, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "/Users/theaflowers/workspace/autosynth/env/lib/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'google'
synthtool > Cleaned up 0 temporary directories.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/Users/theaflowers/workspace/synthtool/synthtool/metadata.py", line 63, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'synth.metadata'

Synthesis failed

Google internal developers can see the full log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant