Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You have spaces in the storage directory path #56

Open
howardjones opened this issue Oct 18, 2020 · 3 comments
Open

You have spaces in the storage directory path #56

howardjones opened this issue Oct 18, 2020 · 3 comments
Labels
question Further information is requested

Comments

@howardjones
Copy link

I am trying to build Tesseract on Windows, which uses sw.

I've run sw setup and then the build command for Tesseract. I get the following error. My home directory is based on my username, which has a space in it. I can't change it. sw chose the storage directory path (and didn't complain during the setup phase). How can I proceed?

Exception in file D:/dev/cppan2/client2/src/sw/support/storage.cpp:18, function checkPath: You have spaces in the storage directory path. SW cannot work in this directory: 'C:\Users\Howard Jones\.sw\storage'
@howardjones howardjones added the question Further information is requested label Oct 18, 2020
@egorpugin
Copy link
Contributor

Hi,

  1. Check c:\Users\u\.sw\sw.yml. There will be storage_dir setting. Change it to some dir without spaces.
  2. I'll try to remove this limitation in my dev builds.

@howardjones
Copy link
Author

I think if it at least warned you when you ran the setup (and pointed to that config file) it would be an improvement.

@egorpugin
Copy link
Contributor

Ok, I'll think how to improve that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants