Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

[BUG] Pulling new version v0.24.0 fails if old version exists #282

Closed
dweemx opened this issue Dec 15, 2020 · 2 comments
Closed

[BUG] Pulling new version v0.24.0 fails if old version exists #282

dweemx opened this issue Dec 15, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@dweemx
Copy link
Contributor

dweemx commented Dec 15, 2020

Describe the bug
If a version of VSN <= v0.23.0 is already existing, pulling the new version v0.24.0 will faill.

To Reproduce
Steps to reproduce the behavior:

  1. Configure with these options:
    None

  2. Run using this entry point:

nextflow pull vib-singlecell-nf/vsn-pipelines
  1. See error:
Checking vib-singlecell-nf/vsn-pipelines ...
Project config file is malformed -- Cause: Compile failed for sources FixedSetSources[name='/groovy/script/Script3F83C31ACD3B56601BB35A21D6E3EC5A/_nf_config_488d7e18']. Cause: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/groovy/script/Script3F83C31ACD3B56601BB35A21D6E3EC5A/_nf_config_488d7e18: 6: unexpected token: << @ line 6, column 1.
   <<<<<<< HEAD
   ^
1 error

Expected behavior
New version of the repository should be pulled without error.

Screenshots
If applicable, add screenshots to help explain your problem.

Please complete the following information:

  • OS: CentOS
  • Nextflow Version: 20.04.1
  • vsn-pipelines Version: <= v0.23.0

Additional context
Add any other context about the problem here.

@dweemx dweemx added the bug Something isn't working label Dec 15, 2020
@KrisDavie KrisDavie pinned this issue Dec 15, 2020
@dweemx dweemx changed the title [BUG] Pulling new version v0.24.0 fails [BUG] Pulling new version v0.24.0 fails if old version exists Dec 15, 2020
@dweemx dweemx self-assigned this Dec 15, 2020
@dweemx
Copy link
Contributor Author

dweemx commented Dec 15, 2020

The solution to this is to remove the old cached version of VSN-Pipelines (<= v0.23.0) and pulling the new version.

# Remove the old cached version
rm -r ~/.nextflow/assets/vib-singlecell-nf/vsn-pipelines

# Pull a fresh copy of the repository
nextflow pull vib-singlecell-nf/vsn-pipelines

@dweemx dweemx closed this as completed Dec 15, 2020
@cflerin
Copy link
Member

cflerin commented Jan 12, 2021

Adding the f flag will make this a bit easier by skipping the checks on all of the git files:

rm -rf ~/.nextflow/assets/vib-singlecell-nf/vsn-pipelines

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

No branches or pull requests

2 participants