Skip to content

embedding projector standalone "no srcs found in transitive closure with path component prefix matching request path" #4158

@luggie

Description

@luggie

tested with:

  • Python: Conda 2.7 and 3.7
  • bazel 3.1 installed via conda
  • Ubuntu 18.04

starting standlone with

sudo bazel run --action_env PYTHONPATH="~/python2.7/site-packages" tensorboard/plugins/projector/vz_projector:standalone
sudo bazel run --action_env PYTHONPATH="~/anaconda3/lib/python3.7/site-packages" tensorboard/plugins/projector/vz_projector:standalone

after the local server ran once,

sudo bazel run tensorboard/plugins/projector/vz_projector:standalone

was enough to start (before that I had problems with not finding numpy).

However when starting the server and navigating to localhost:6006/index.html I get this:

Bazel Closure Rules
//tensorboard/plugins/projector/vz_projector:standalone
No srcs found in transitive closure with path component prefix matching request path.

Console output shows this:

INFO: Analyzed target //tensorboard/plugins/projector/vz_projector:standalone (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //tensorboard/plugins/projector/vz_projector:standalone up-to-date:
  bazel-bin/tensorboard/plugins/projector/vz_projector/standalone.html
INFO: Elapsed time: 0.213s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
Sep 14, 2020 12:28:39 PM io.bazel.rules.closure.webfiles.server.Metadata$Loader loadMetadataIntoObjectGraph
INFO: Loaded build graph in 83ms
Sep 14, 2020 12:28:39 PM io.bazel.rules.closure.webfiles.server.WebfilesServer runForever
INFO: 
Closure Rules WebfilesServer
Listening on: http://192.168.0.85:6006/


Sep 14, 2020 12:28:46 PM io.bazel.rules.closure.http.filter.LoggingFilter handle
INFO: 47,290µs /127.0.0.1:44884 404 GET /index.html



Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions