Code Monkey home page Code Monkey logo

Comments (5)

sathishreddy avatar sathishreddy commented on August 19, 2024

@cmwatson3524524 . The issue mainly due to proxy setting. You need to change your WORKSPACE file in sonnet/tensorflow. Please check the below example.

comment below lines:

#http_file(
#  name = "weblas_weblas_js",
#  url = "https://raw.githubusercontent.com/waylonflinn/weblas/v0.9.0/dist/weblas.js",
#)

and add follwoing lines to the WORKSAPCE file

http_file(
  name = "weblas_weblas_js",
  url = "file:///local_path/weblas.js",  
)

download weblas.js and store it in your local directory. Similarly you have to repeat this step for 3 or 4 files (OrbitControls.js, three.min.js, ...).

from sonnet.

curtismwatson avatar curtismwatson commented on August 19, 2024

Great thank you! I did suspect that it was something like that as our corporate network inspects and re-issues the certificates. I was able to download the files and modify the WORKSPACE as suggested. I have new error that I imagine is related.

[cmwatson@xx tensorflow]$ ./configure
Please specify the location of python. [Default is /usr/bin/python]:
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
Do you wish to use jemalloc as the malloc implementation? [Y/n]
jemalloc enabled
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N]
No Google Cloud Platform support will be enabled for TensorFlow
Do you wish to build TensorFlow with Hadoop File System support? [y/N]
No Hadoop File System support will be enabled for TensorFlow
Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N]
No XLA support will be enabled for TensorFlow
Found possible Python library paths:
  /usr/lib/python2.7/site-packages
  /usr/lib64/python2.7/site-packages
Please input the desired Python library path to use.  Default is [/usr/lib/python2.7/site-packages]

Using python library path: /usr/lib/python2.7/site-packages
Do you wish to build TensorFlow with OpenCL support? [y/N]
No OpenCL support will be enabled for TensorFlow
Do you wish to build TensorFlow with CUDA support? [y/N]
No CUDA support will be enabled for TensorFlow
Configuration finished
Warning: ignoring http_proxy in environment.
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
Warning: ignoring http_proxy in environment.
..............
ERROR: /home/cmwatson/.cache/bazel/_bazel_cmwatson/69b7f2b22f6b880ca0a532b8cb646acd/external/com_google_dagger/BUILD:13:1: no such package '@com_google_dagger_compiler//': java.io.IOException: Error downloading [http://domain-registry-maven.storage.googleapis.com/repo1.maven.org/maven2/com/google/dagger/dagger-compiler/2.8/dagger-compiler-2.8.jar, http://maven.ibiblio.org/maven2/com/google/dagger/dagger-compiler/2.8/dagger-compiler-2.8.jar, http://repo1.maven.org/maven2/com/google/dagger/dagger-compiler/2.8/dagger-compiler-2.8.jar] to /home/cmwatson/.cache/bazel/_bazel_cmwatson/69b7f2b22f6b880ca0a532b8cb646acd/external/com_google_dagger_compiler/dagger-compiler-2.8.jar: Tried to reconnect at offset 8,481,153 but server didn't support it and referenced by '@com_google_dagger//:com_google_dagger'.
ERROR: /home/cmwatson/.cache/bazel/_bazel_cmwatson/69b7f2b22f6b880ca0a532b8cb646acd/external/com_google_dagger/BUILD:13:1: no such package '@com_google_dagger_compiler//': java.io.IOException: Error downloading [http://domain-registry-maven.storage.googleapis.com/repo1.maven.org/maven2/com/google/dagger/dagger-compiler/2.8/dagger-compiler-2.8.jar, http://maven.ibiblio.org/maven2/com/google/dagger/dagger-compiler/2.8/dagger-compiler-2.8.jar, http://repo1.maven.org/maven2/com/google/dagger/dagger-compiler/2.8/dagger-compiler-2.8.jar] to /home/cmwatson/.cache/bazel/_bazel_cmwatson/69b7f2b22f6b880ca0a532b8cb646acd/external/com_google_dagger_compiler/dagger-compiler-2.8.jar: Tried to reconnect at offset 8,481,153 but server didn't support it and referenced by '@com_google_dagger//:com_google_dagger'.
ERROR: Evaluation of query "deps(((//tensorflow/... - //tensorflow/contrib/nccl/...) - //tensorflow/examples/android/...))" failed: errors were encountered while computing transitive closure.

I downloaded the dagger-compiler-2.8.jar file but now do not know how to get configure to look for it. Any thoughts?

from sonnet.

sathishreddy avatar sathishreddy commented on August 19, 2024

@cmwatson3524524 : This again similar issue but now the issue with github ssl verification; May be put the follwoing line in your .bashrc file
export GIT_SSL_NO_VERIFY=1

from sonnet.

curtismwatson avatar curtismwatson commented on August 19, 2024

@sathishreddy : I am receiving the same error. Is there a way to adjust the proxy settings in bazel through 'configure'?

Looking at https://github.com/bazelbuild/bazel/issues/587 it appears that my problem might be that our proxy goes through http not https and that proxies using http are ignored by default. Is there a way to get 'configure' to adjust this default behavior?

Alternately, I am not planning to do anything with android which it appears to be the use of this 'dagger'. If that is correct and if there is not an explicit need for it, then can i remove it from the build?

from sonnet.

malcolmreynolds avatar malcolmreynolds commented on August 19, 2024

@cmwatson3524524 The dagger jar file is a dependency of TensorFlow - even if you don't want Android, I can't really say how easy / practical it is for this to be removed. You would have to raise an issue against TensorFlow to find out.

I don't think there is a Sonnet related issue here, the problem is that Bazel does not interact well with the network environment where you are. Please re-open if you feel there is a Sonnet-specific problem.

from sonnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.