dynverse / dyno

Inferring, interpreting and visualising trajectories using a streamlined set of packages 🦕
https://dynverse.github.io/dyno
Other
167 stars 32 forks source link

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

Open shuang1330 opened 4 years ago

shuang1330 commented 4 years ago

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?

zouter commented 4 years ago

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

shuang1330 commented 4 years ago

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

rcannood commented 4 years ago

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