Giter Club home page Giter Club logo

Comments (2)

tsibley avatar tsibley commented on September 26, 2024

Thanks, Kairsten. That's a private repo, though, so could you summarize context here a bit more?

from cli.

kairstenfay avatar kairstenfay commented on September 26, 2024

When I try to run the ncov build without AWS permissions, I get this output:

Traceback (most recent call last):
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/runner/aws_batch/s3.py", line 193, in bucket
    boto3.client("s3").head_bucket(Bucket = bucket.name)
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/botocore/client.py", line 276, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/botocore/client.py", line 586, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kairsten/miniconda3/envs/ncov-ingest/bin/nextstrain", line 8, in <module>
    sys.exit(main())
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/__main__.py", line 10, in main
    return cli.run( argv[1:] )
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/__init__.py", line 56, in run
    return opts.__command__.run(opts)
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/command/build.py", line 80, in run
    return runner.run(opts, working_volume = opts.build)
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/runner/__init__.py", line 147, in run
    return opts.__runner__.run(opts, argv, working_volume = working_volume, extra_env = extra_env)
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/runner/aws_batch/__init__.py", line 114, in run
    bucket = s3.bucket(opts.s3_bucket)
  File "/home/kairsten/miniconda3/envs/ncov-ingest/lib/python3.6/site-packages/nextstrain/cli/runner/aws_batch/s3.py", line 195, in bucket
    raise ValueError('Bucket named "%s" does not exist' % bucket.name)
ValueError: Bucket named "nextstrain-jobs" does not exist
Nextstrain Run ID: cd3dad13-36bb-400e-a8aa-70c651779969
Uploading /home/kairsten/nextstrain/ncov-ingest/ncov to S3

Notably, the Nextstrain CLI doesn't exit with an error. I'm using version 1.16.2.

from cli.

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.