Comments (2)
Thanks, Kairsten. That's a private repo, though, so could you summarize context here a bit more?
from cli.
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)
- Python user site directory leaks into Conda runtime HOT 5
- Test compatibility with SingularityCE 4.x series
- nextstrain view can't connect to host on a Mac inside a Conda environment HOT 8
- Use same version resolution method in `nextstrain setup conda` as `nextstrain update conda` HOT 1
- Invalid `~/.shrc` file named in standalone installer instructions HOT 5
- Broken CI due to upstream release; mypy implicated HOT 1
- Consider UI/UX for AWS Batch runtime without Docker runtime HOT 1
- Singularity/Apptainer Version HOT 4
- remote/s3 should instantiate its own MimeTypes instance
- CLI-ception: Some commands do not work in managed runtime shells HOT 4
- Extend validity of login refresh tokens to 90 days from 30 days HOT 1
- Unhandled exception when renewing login from a different Cognito user pool HOT 1
- Pass AWS credentials from standard file to Docker HOT 1
- Show progress during `check-setup` HOT 1
- Unable to set up Singularity runtime on Fred Hutch's `rhino` HOT 2
- shell: Command hangs when `--conda` is used and the runtime has not been set up HOT 13
- Update pinned version of micromamba (1.1.0 -> 1.5.8) as it's been 9 months since last bump
- Update "build directory" terminology in help and docs HOT 1
- Scheduled CI failed across macOS due to IQTree error: `Invalid "-ntmax" option` HOT 2
- aws-batch: support Snakemake `--report` HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.