tensorflow / tensorflow/tensorboard
Build failure due to no such file or directory
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 1
Description
Environment
- macOS 10.12.5
- nodejs v8.2.1 (nvm)
- Python 3.5.2
- Tensorflow 1.2.1
- TypeScript 2.4.2
Command
When I tried to build tensorboard this error was shown.
$ bazel build --sandbox_debug --verbose_failures //tensorboard:tensorboard
external/protobuf/python: warning: directory does not exist.
ERROR: /Users/sasakikai/dev/tensorboard/tensorboard/components/tf_globals/BUILD:8:1: Compiling 4 TypeScript files //tensorboard/components/tf_globals:tf_globals failed: sandbox-exec failed: error executing command
(exec env - \
/usr/bin/sandbox-exec -f /private/var/tmp/_bazel_sasakikai/c33ae317b1e1d3a1b969c094a5c3f12a/bazel-sandbox/8861130884645658410/sandbox.sb /private/var/tmp/_bazel_sasakikai/c33ae317b1e1d3a1b969c094a5c3f12a/execroot/org_tensorflow_tensorboard/_bin/process-wrapper -1 5 - - bazel-out/host/bin/tensorboard/scripts/execrooter bazel-out/darwin_x86_64-fastbuild/bin/tensorboard/components/tf_globals/tf_globals-tsc-execroot.json).
env: python: No such file or directory
Use --strategy=Generating=standalone to disable sandboxing for the failing actions.
Target //tensorboard:tensorboard failed to build
INFO: Elapsed time: 32.743s, Critical Path: 8.81s
I read the build instruction and generating fake data was succeeded but launching tensorboard was failed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with DEVELOPMENT.md and reproduce the reported command, bazel build --sandbox_debug --verbose_failures //tensorboard:tensorboard, on the listed macOS environment. Inspect tensorboard/components/tf_globals/BUILD at line 8 and the sandboxed TypeScript build action; done means the target builds and TensorBoard can be launched rather than failing with env: python: No such file or directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100