Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 421
    • Issues 421
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1008
Closed
Open
Issue created Sep 16, 2018 by Admin@OpenFOAM-adminMaintainer

running the solvers in a path with space in the naming #Windows #WSL

I'm here again with some Windows WSL issues :(

I am doing lots of simulations and I have to use Microsoft OneDrive for Business to sync them across computers. I'm running these simulations in WSL but I guess it wouldn't make a difference if I do that in a Docker container or Cygwin. The issue is that OneDrive for business, at least in my university, has an absurd naming where there are multiple spaces in the local folder naming. For example OneDrive saves files in a folder named OneDrive - University of Bar.

Now whenever I try to run a code inside this folder I get the error:

Build : v1806

Arch : "LSB;label=32;scalar=64"

Exec : sonicFoam

Date : Sep 16 2018

Time : 23:30:13

Host : "DESKTOP-4LRIVB8"

PID : 510

fileName::stripInvalid() called for invalid fileName /mnt/c/Users/buzz/OneDrive-UniversityofBar/Projects/…

For debug level (= 2) > 1 this is considered fatal

Aborted (core dumped)

I have tried for almost one week to solve this issue and it has wasted so much of my time already. You may see my struggle here. This actually one of the reasons I am using WSL instead of Docker now. I have tried creating a link by:

ln -s "~/some/path/OneDrive - University of Bar" ~/linkFile

However when I run the solver I get the same error!

I would really appreciate if you could help me solve this problem.

## Reattaching the author to the issue ticket: @foadsf ##

Edited Dec 11, 2019 by Kutalmış Berçin
Assignee
Assign to
Time tracking