Comments (2)
Autosynth is still having trouble generating nodejs-media-translation.
Here's the output from running synth.py
:
DUCT.md
CONTRIBUTING.md
LICENSE
README.md
api-extractor.json
renovate.json
samples/README.md
2020-11-18 04:42:40,806 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2020-11-18 04:42:40,806 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
> [email protected] postinstall /home/kbuilder/.cache/synthtool/nodejs-media-translation/node_modules/protobufjs
> node scripts/postinstall
> @google-cloud/[email protected] prepare /home/kbuilder/.cache/synthtool/nodejs-media-translation
> npm run compile-protos && npm run compile
> @google-cloud/[email protected] compile-protos /home/kbuilder/.cache/synthtool/nodejs-media-translation
> compileProtos src
installing semver@^7.1.2
installing tmp@^0.2.0
installing uglify-js@^3.7.7
installing espree@^7.0.0
installing escodegen@^2.0.0
installing estraverse@^5.1.0
> @google-cloud/[email protected] precompile /home/kbuilder/.cache/synthtool/nodejs-media-translation
> gts clean
version: 14
Removing build ...
> @google-cloud/[email protected] compile /home/kbuilder/.cache/synthtool/nodejs-media-translation
> tsc -p . && cp -r protos build/
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 667 packages from 769 contributors and audited 669 packages in 28.539s
57 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-11-18 04:43:10,024 synthtool [DEBUG] > Running prelint...
DEBUG:synthtool:Running prelint...
> @google-cloud/[email protected] prelint /home/kbuilder/.cache/synthtool/nodejs-media-translation
> cd samples; npm link ../; npm install
> @google-cloud/[email protected] prepare /home/kbuilder/.cache/synthtool/nodejs-media-translation
> npm run compile-protos && npm run compile
> @google-cloud/[email protected] compile-protos /home/kbuilder/.cache/synthtool/nodejs-media-translation
> compileProtos src
> @google-cloud/[email protected] precompile /home/kbuilder/.cache/synthtool/nodejs-media-translation
> gts clean
version: 14
Removing build ...
> @google-cloud/[email protected] compile /home/kbuilder/.cache/synthtool/nodejs-media-translation
> tsc -p . && cp -r protos build/
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 669 packages in 12.269s
57 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
/home/kbuilder/.nvm/versions/node/v14.15.1/lib/node_modules/@google-cloud/media-translation -> /home/kbuilder/.cache/synthtool/nodejs-media-translation
/home/kbuilder/.cache/synthtool/nodejs-media-translation/samples/node_modules/@google-cloud/media-translation -> /home/kbuilder/.nvm/versions/node/v14.15.1/lib/node_modules/@google-cloud/media-translation -> /home/kbuilder/.cache/synthtool/nodejs-media-translation
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 140 packages from 119 contributors and audited 228 packages in 5.139s
57 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
2020-11-18 04:43:29,067 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...
> @google-cloud/[email protected] fix /home/kbuilder/.cache/synthtool/nodejs-media-translation
> gts fix
version: 14
/home/kbuilder/.cache/synthtool/nodejs-media-translation/src/v1beta1/speech_translation_service_client.ts
23:13 warning 'protos' is defined but never used @typescript-eslint/no-unused-vars
100:48 error 'window' is not defined no-undef
✖ 2 problems (1 error, 1 warning)
Error: Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
at makeError (/home/kbuilder/.cache/synthtool/nodejs-media-translation/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/kbuilder/.cache/synthtool/nodejs-media-translation/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async run (/home/kbuilder/.cache/synthtool/nodejs-media-translation/node_modules/gts/build/src/cli.js:120:17) {
shortMessage: 'Command failed with exit code 1: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/[email protected] fix: `gts fix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @google-cloud/[email protected] fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kbuilder/.npm/_logs/2020-11-18T12_43_32_648Z-debug.log
2020-11-18 04:43:32,660 synthtool [ERROR] > Failed executing npm run fix:
None
ERROR:synthtool:Failed executing npm run fix:
None
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/nodejs-media-translation/synth.py", line 39, in <module>
node.postprocess_gapic_library()
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 194, in postprocess_gapic_library
fix(hide_output=hide_output)
File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 179, in fix
shell.run(["npm", "run", "fix"], hide_output=hide_output)
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 '['npm', 'run', 'fix']' returned non-zero exit status 1.
2020-11-18 04:43:32,747 autosynth [ERROR] > Synthesis failed
2020-11-18 04:43:32,747 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at f58a09e chore: release 2.2.1 (#95)
2020-11-18 04:43:32,760 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-11-18 04:43:32,772 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
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 354, in <module>
main()
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
return _inner_main(temp_dir)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, 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.
from nodejs-media-translation.
Autosynth passed, closing!
from nodejs-media-translation.
Related Issues (19)
- Action Required: Fix Renovate Configuration
- Exception is thrown at the end of recording from mic in NodeJS sample code HOT 2
- typo on line 48 HOT 3
- Error: 3 INVALID_ARGUMENT: Invalid BCP-47 language code: tu-TU HOT 4
- Error: 3 INVALID_ARGUMENT: Language pair: en-US:tr is currently unsupported. HOT 4
- Dependency Dashboard
- 📦 pack-n-play test: TypeScript code failed HOT 1
- remove exceptions from linkinator.config.json HOT 1
- Your .repo-metadata.json file has a problem 🤒
- Warning: a recent release failed
- Translate from file example produces no output. HOT 1
- Warning: a recent release failed
- Quickstart: should translate from a streamed file failed
- MediaTranslation: should translate from a streamed file failed
- Translating from microphone no longer works HOT 1
- Synthesis failed for nodejs-media-translation HOT 3
- Synthesis failed for nodejs-media-translation HOT 1
- Synthesis failed for nodejs-media-translation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-media-translation.