-
Notifications
You must be signed in to change notification settings - Fork 6
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
windows drive letter not working as store path #110
Comments
I set the limit to 100G for a better logoutput. Both configs give me the following output:
|
This is the code that gets the path. Why it doesn't use this util function I don't remember, there may be a reason, or it may just be an oversight on my part. I moved many things from storjnode to storjlib, and in the future storjnode will need to be changed to use storjlib for that code (this will slim down storjnode a lot). This is one of the functions I moved and changed here. I will backport the changes, but will need someone with a windows machine to confirm it works on windows as well. |
It seems my above analysis is incorrect. I already did this a while ago here and the function is being used correctly here. @robertsdotpm @littleskunk could one of you debug what’s wrong with this on windows? I currently do not have access to (or am used to using) windows. |
Output:
|
So the What were the exact arguments given to storjnode and the exact config used? |
I see 2 problems. At the moment the config returns a wrong path. That is not the fault of |
My config:
|
Out of curiosity what does full_path return for "C:/Storj" on windows? Maybe there is some case I didn't see. |
I am running python for windows (C:\Python27\Scripts): python storjnode --wallet=[...] --debug farm |
That means it should be loading from the default config path and I assume the config you posted above is that. @littleskunk what output do you get for |
Server down at the moment. I will debug some more tomorrow starting with https://github.com/Storj/storjnode/blob/develop/storjnode/api.py#L67 cfg_get_current returns my config file %userprofile%.storj\cfg.json. |
|
Found the bug. Setup is called 2 times. The first call returns the wrong path that is the input for the second call.
|
Output of that return statement |
My config:
I also tried:
Both configs don't work. Files are stored in %userprofile%/Storj in both cases.
The text was updated successfully, but these errors were encountered: