GithubHelp home page GithubHelp logo

Problem with getting data from riegeli files when not using bazel and trying to run print_names_and_sources.py directly about code_contests HOT 2 CLOSED

google-deepmind avatar google-deepmind commented on August 11, 2024
Problem with getting data from riegeli files when not using bazel and trying to run print_names_and_sources.py directly

from code_contests.

Comments (2)

ShuyinOuyang avatar ShuyinOuyang commented on August 11, 2024

The error is :
INFO: Repository com_github_grpc_grpc instantiated at:
E:/pythonproject/code_contest/code_contests/WORKSPACE:4:15: in
Repository rule git_repository defined at:
C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git.bzl:176:33: in
ERROR: An error occurred during the fetch of repository 'com_github_grpc_grpc':
Traceback (most recent call last):
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git.bzl", line 170, column 35, in _git_repository_implementation
update = _clone_or_update_repo(ctx)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, column 20, in clone_or_update_repo
git
= git_repo(ctx, directory)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, column 12, in git_repo
_update(ctx, git_repo)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, column 9, in _update
init(ctx, git_repo)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 118, column 15, in init
_error(ctx.name, cl, st.stderr)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 190, column 9, in _error
fail("error running '%s' while working with @%s:\n%s" % (command_text, name, stderr))
Error in fail: error running 'git init C:/users/m1327/_bazel_m1327/xrzwcqr7/external/com_github_grpc_grpc' while working with @com_github_grpc_grpc:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/m1327/_bazel_m1327/xrzwcqr7/external/com_github_grpc_grpc): The system cannot find the file specified.
(error: 2)
ERROR: E:/pythonproject/code_contest/code_contests/WORKSPACE:4:15: fetching git_repository rule //external:com_github_grpc_grpc: Traceback (most recent call last):
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git.bzl", line 170, column 35, in _git_repository_implementation
update = _clone_or_update_repo(ctx)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, column 20, in clone_or_update_repo
git
= git_repo(ctx, directory)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, column 12, in git_repo
_update(ctx, git_repo)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, column 9, in _update
init(ctx, git_repo)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 118, column 15, in init
_error(ctx.name, cl, st.stderr)
File "C:/users/m1327/_bazel_m1327/xrzwcqr7/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 190, column 9, in _error
fail("error running '%s' while working with @%s:\n%s" % (command_text, name, stderr))
Error in fail: error running 'git init C:/users/m1327/_bazel_m1327/xrzwcqr7/external/com_github_grpc_grpc' while working with @com_github_grpc_grpc:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/m1327/_bazel_m1327/xrzwcqr7/external/com_github_grpc_grpc): The system cannot find the file specified.
(error: 2)
ERROR: Error computing the main repository mapping: no such package '@com_github_grpc_grpc//bazel': error running 'git init C:/users/m1327/_bazel_m1327/xrzwcqr7/external/com_github_grpc_grpc' while working with @com_github_grpc_grpc:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/users/m1327/_bazel_m1327/xrzwcqr7/external/com_github_grpc_grpc): The system cannot find the file specified.
(error: 2)

from code_contests.

felixgimeno avatar felixgimeno commented on August 11, 2024

contest_problem_pb2 corresponds to the Python generated code for the ContestProblem protocol buffer, which is needed to read the raw data from the dataset. contest_problem_pb2 is generated on the fly when using bazel for building, thus we don't support reading the data without using bazel.

from code_contests.

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.