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

Failed to create directory: D: mp/voj-1008 #6

Open
hzxie opened this issue Nov 25, 2015 · 5 comments
Open

Failed to create directory: D: mp/voj-1008 #6

hzxie opened this issue Nov 25, 2015 · 5 comments
Labels

Comments

@hzxie
Copy link
Owner

hzxie commented Nov 25, 2015

When I set the working directory to D:\tmp, I got following error message:

com.trunkshell.voj.judger.exception.CreateDirectoryException: Failed to create directory: 
D:    mp/voj-1008

And here's the partial configuration of judgers:

judger.workDir = D:\tmp
judger.checkpointDir = D:\tmp\voj-testpoints
@gdsglgf
Copy link
Contributor

gdsglgf commented Mar 16, 2016

\t is escape character.
using D:\\tmp or D:/tmp.

@hzxie
Copy link
Owner Author

hzxie commented Mar 16, 2016

@gdsglgf
Long time no see. How's it going?
But I don't think \\t is friendly to end users. Is there any better solutions?

@gdsglgf
Copy link
Contributor

gdsglgf commented Apr 9, 2016

Fine.
Just as said, /t is OK.

@hzxie hzxie added the bug label Jun 18, 2016
@gdsglgf
Copy link
Contributor

gdsglgf commented Apr 26, 2017

Is fix the bug?
When create directory, check and format the path first.
Such as format \t -> \\t or /t.

@hzxie
Copy link
Owner Author

hzxie commented Apr 27, 2017

Good idea. @gdsglgf

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

No branches or pull requests

2 participants