Closed boegh closed 3 years ago
After having played a bit around, the issue seems to be two-fold (but solved):
\U
, \\\U
, \u
and \\\u
makes golang expect a eight or four character unicode, which is why it expects a hexadecimal number.c:\\\Lsers
results in level=info msg="Created base dir" path="d:\\\u2028sers"
(and in the end just a directory named sers
). Exactly two backlashes in paths is the right number.@bogeh another solution is to use single-quote '
instead of "
for example
dir: 'c:\Users\user\Downloads'
works the same as
dir: "c:\\Users\\user\\Downloads"
I am trying to use the standalone binary on a Windows 10 host. However with
config.yaml
that is made directly fromconfig-sample.yaml
except for a change of thedir
-directive I get the following error when launching dave:The line number (26) is the
dir
-directiveI have tried with the following two
dir
-directive, where I have tried the following two:and
I can't find anything in the documentation, that might indicate, that it should be written otherwise :(
Moving the line with the
dir
around, makes the error change to that line, so I am certain it is related todir
...