dyno icon indicating copy to clipboard operation
dyno copied to clipboard

"An older version of Singularity was detected ()" with singularity 3.4.1

Open shuang1330 opened this issue 4 years ago • 3 comments

Hi,

"dynwrap::test_singularity_installation(detailed = TRUE)" gives me the output below:

Error in dynwrap::test_singularity_installation(detailed = TRUE) : ❌ An older version of Singularity was detected (). Install the latest stable release from: https://github.com/sylabs/singularity/releases.

but I have singularity 3.4.1 installed Could someone help me with the issue?

shuang1330 avatar Aug 26 '20 14:08 shuang1330

Hi @shuang1330 Could you provide me with the output of singularity version? There might be something wrong on our end with the version checking.

zouter avatar Aug 27 '20 10:08 zouter

Hi, thanks for the quick response, Below is the output: 3.4.1-1.2.el7

shuang1330 avatar Aug 27 '20 12:08 shuang1330

Hello @shuang1330. Sorry for the delay in the response. I'm looking at resolving your issue.

I'm not sure why dynwrap is not detecting your singularity version -- the version is detecting is printed between the parentheses (in this case ()), so it's detecting no version number at all.

Could you show me the output from running this code:

processx::run(
  "singularity",
  "version", 
  error_on_status = FALSE, 
  stderr_callback = babelwhale::print_processx, 
  timeout = 2
)

For example, the output on my PC is:

$status
[1] 0

$stdout
[1] "3.6.2-1.fc31\n"

$stderr
[1] ""

$timeout
[1] FALSE

Kind regards, Robrecht

rcannood avatar Sep 21 '20 13:09 rcannood