Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible error when checking awsbatch profile and workflow.tracedir #446

Closed
lpantano opened this issue Nov 6, 2019 · 1 comment
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@lpantano
Copy link
Contributor

lpantano commented Nov 6, 2019

I came with this error when doing

nextflow run nf-core/rnaseq -profile awsbatch,test, if you add a prinln workflow.profile, you will see it it awsbatch,test that is not equal to the line that is checking for that in main.nf:

if (workflow.profile == 'awsbatch') {

This command will give an error, but it is a nexflow error saying:

When using `awsbatch` executor a S3 bucket must be provided as working directory either using -bucket-dir or -work-dir command line option

And not the expecting one from main.nf:

Outdir not on S3 - specify S3 Bucket to run on AWSBatch!

or even:

Specify a local tracedir or run without trace! S3 cannot be used for tracefiles

Besides, if you do this, you will see this error:

nextflow run nf-core/rnaseq -profile awsbatch --awsqueue default-6edd1010-f59e-11e9-ab0a-12dffdf25cac  --awsregion us-east-1 -w s3://egenesis-data-processed/nextflowdataegenesis/lpantano_devel/test/work0611 --outdir s3://egenesis-data-processed/nextflowdataegenesis/lpantano_devel/test/out0611 --reads 'https://github.com/nf-core/test-datasets/raw/rnaseq/testdata/SRR4238351_subsamp.fastq.gz' --fasta 'https://github.com/nf-core/test-datasets/raw/rnaseq/reference/genome.fa' --gtf 'https://github.com/nf-core/test-datasets/raw/rnaseq/reference/genes.gtf'
N E X T F L O W  ~  version 19.07.0
Launching `nf-core/rnaseq` [extravagant_watson] - revision: 3b6df9bd10 [master]
Unexpected error [StackOverflowError]

Due to this line:

  if (workflow.tracedir.startsWith('s3:')) exit 1, "Specify a local tracedir or run without trace! S3 cannot be used for tracefiles."

if you do log.info workflow.tracedir you'll get the same.

I think worflow.tracedir doens't exists.

@apeltzer apeltzer added the bug Something isn't working label Nov 6, 2019
@apeltzer apeltzer self-assigned this Nov 6, 2019
apeltzer added a commit to apeltzer/tools that referenced this issue Nov 6, 2019
@apeltzer apeltzer mentioned this issue Nov 6, 2019
5 tasks
@apeltzer apeltzer added this to the 1.8 milestone Nov 6, 2019
lpantano added a commit that referenced this issue Nov 6, 2019
@ewels
Copy link
Member

ewels commented Nov 6, 2019

Good find! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants