sw
sw copied to clipboard
You have spaces in the storage directory path
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'
Hi,
- Check
c:\Users\u\.sw\sw.yml
. There will bestorage_dir
setting. Change it to some dir without spaces. - I'll try to remove this limitation in my dev builds.
I think if it at least warned you when you ran the setup (and pointed to that config file) it would be an improvement.
Ok, I'll think how to improve that.