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

nf-aggregate does not work without connection to public internet #60

Open
adamrtalbot opened this issue Oct 21, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@adamrtalbot
Copy link
Contributor

Description of the bug

When using nf-aggregate in a restricted (offline) environment nf-aggregate fails because the Grape library fails to grab the dependency wslite.

The issue appears to stem from this function which imports the wslite error to handle

@Grab('com.github.groovy-wslite:groovy-wslite:1.1.2;transitive=false')

Command used and terminal output

nextflow run 'https://github.com/seqeralabs/nf-aggregate' -name ecstatic_sanger -params-file 'https://seqera.ai/api/ephemeral/woIT1iLPJe2LucqROY9VMw.yaml' -with-tower 'https://seqera.ai/api' -r 0.4.0

Relevant files

Redacted example file:
nf-5twwCthyo4HUhA.log

System information

All without internet connection.

@adamrtalbot adamrtalbot added the bug Something isn't working label Oct 21, 2024
@adamrtalbot
Copy link
Contributor Author

The error is here:

@Grab('com.github.groovy-wslite:groovy-wslite:1.1.2;transitive=false')

Options:

  • Pre-grab the library using grape install com.github.groovy-wslite groovy-wslite 1.1.2 and upload the resulting image?
  • Remove the wslite package and rely on error handling.
  • Use a jar in the lib directory to compile the result instead of dynamically loading.

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

1 participant