facets icon indicating copy to clipboard operation
facets copied to clipboard

Bazel Build failed

Open ganesh3 opened this issue 8 years ago • 6 comments

(D:\Anaconda3\envs\pythonREnv) D:\Anaconda3\share\jupyter\nbextensions\facets-master>bazel build facets:facets_jupyter ..................... DEBUG: C:/users/ganes/appdata/local/temp/_bazel_ganes/teuucrii/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:37:3: Auto-Configuration Warning: 'BAZEL_VC' is not set, start looking for the latest Visual C++ installed. DEBUG: C:/users/ganes/appdata/local/temp/_bazel_ganes/teuucrii/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:37:3: Auto-Configuration Warning: Looking for VS%VERSION%COMNTOOLS environment variables,eg. VS140COMNTOOLS DEBUG: C:/users/ganes/appdata/local/temp/_bazel_ganes/teuucrii/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:37:3: Auto-Configuration Warning: Visual C++ build tools found at C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
INFO: Analysed target //facets:facets_jupyter (163 packages loaded). INFO: Found 1 target... ERROR: D:/anaconda3/share/jupyter/nbextensions/facets-master/facets_dive/lib/BUILD:29:1: Compiling 4 TypeScript files //facets_dive/lib:data-example failed (Exit 1) Traceback (most recent call last): File "D:\Anaconda3\envs\pythonREnv\lib\site.py", line 547, in main() File "D:\Anaconda3\envs\pythonREnv\lib\site.py", line 542, in main os.environ["PATH"]) File "D:\Anaconda3\envs\pythonREnv\lib\os.py", line 669, in getitem raise KeyError(key) from None KeyError: 'PATH' Failed to import the site module Target //facets:facets_jupyter failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 354.135s, Critical Path: 5.57s FAILED: Build did NOT complete successfully

ganesh3 avatar Dec 12 '17 11:12 ganesh3

Thanks for the bug report.

I see this is on a windows machine. Have you tried this on another operating system? We haven't run Facets on windows before and I'm curious if you see this problem always or just on window.

jameswex avatar Dec 12 '17 15:12 jameswex

Yes. It is windows.

I haven't tried it on any other OS. Would be great if you can help with Windows.

Regards Ganesh Bhat

On Dec 12, 2017 9:23 PM, "James Wexler" [email protected] wrote:

Thanks for the bug report.

I see this is on a windows machine. Have you tried this on another operating system? We haven't run Facets on windows before and I'm curious if you see this problem always or just on window.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/PAIR-code/facets/issues/96#issuecomment-351093488, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7F9CZYDGo_63DvcImSUmQ_o_owIwF-ks5s_qFxgaJpZM4Q-0KW .

ganesh3 avatar Dec 12 '17 16:12 ganesh3

I had to set use_default_shell_env = True in ctx.action as documented here in another project using bazel to overcome this problem.

nehaljwani avatar May 03 '18 20:05 nehaljwani

+1

eggachecat avatar Aug 26 '19 15:08 eggachecat

@ganesh3 hi have you solved this problem?

eggachecat avatar Aug 27 '19 00:08 eggachecat

Nope.

Regards Ganesh Bhat

On Tue, Aug 27, 2019, 06:06 sun ao [email protected] wrote:

@ganesh3 https://github.com/ganesh3 hi have you solved this problem?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PAIR-code/facets/issues/96?email_source=notifications&email_token=AAHML5BOCVKJXHVK4PEEOBTQGRZHNA5CNFSM4EH3IKLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5GC4XY#issuecomment-525086303, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHML5B2HNCPOR2DAFCCSJ3QGRZHNANCNFSM4EH3IKLA .

ganesh3 avatar Aug 27 '19 03:08 ganesh3