Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C container
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • openmole
  • container
  • Issues
  • #2

Closed
Open
Created Feb 10, 2020 by Juste Raimbault@raimbaultDeveloper

Input file failing when directory does not exists

When using an inputFiles += (fileproto,"path/to/file/in/docker") from OpenMOLE, with Singularity, it fails if the target directory does not exist; I would expect missing dirs to be created, i.e. first a mkdir -p and then a touch; but maybe it is not a desirable behavior? The part of the error stack where it fails: .... better.files.File.touch(File.scala:978) at container.Singularity$.$anonfun$executeFlatImage$8(Singularity.scala:128) at scala.collection.immutable.List.foreach(List.scala:392) at container.Singularity$.executeFlatImage(Singularity.scala:128) at org.openmole.plugin.task.container.ContainerTask$.$anonfun$runCommandInContainer$2(ContainerTask.scala:133) ....

Assignee
Assign to
Time tracking