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
Could not create directory c:\ado\personal #53
Comments
This is an issue with the way the |
Ok, that's good to know. I'd love to know when the bug is fixed, since I'm very excited to use this package. |
I'll try to see if I can work something in over the next week, but if not I should be able to get to it next week. |
Can you try reinstalling the program from the Project Page and let me know if the problem you encountered is fixed now? It required a modification to a separate utility command dirfile, which now no longer uses the confirm command and has a more robust mechanism for handling existing subdirectories/files. If everything works well for you and I can replicate that it is fixed on someone else's Windows machine I'll push the most recent build to the SSC. Thanks again, net inst brewscheme, from("http://wbuchanan.github.io/brewscheme") replace force |
@rowen0718 can you check this out on your machine as well? I'll try to get in their today just to test things, but if I get pulled into a bunch of meetings this should be something easy to check out and then we can use it internally to develop some data visualization standards (e.g., create specific scheme files for different purposes that we could use). |
This issue is still here. Need to check for lines involving calls like confirm file `c(sysdir_personal)' across the commands. |
This error should be fixed for you now: . ado, find(brewscheme)
. net inst brewscheme, from("http://wbuchanan.github.io/brewscheme/") force replace
checking brewscheme consistency and verifying not already installed...
the following files will be replaced:
c:\ado\plus\jar\brewterpolate.jar
c:\ado\plus\jar\filesys.jar
installing into c:\ado\plus\...
installation complete.
. brewcolordb, replace
This program needs to clear all data currently in memory. If this is ok hit enter, otherwise enter the letter 'n' and hit enter to exit the program without clearing data from memory..
(242 real changes made)
. brewscheme, scheme(set1) allst(set1) allc(5) allsat(80) replace
Directory exists and rebuild option not specified. No further action
For bugs/issues, please submit issues to:
http://github.com/wbuchanan/brewscheme
For additional information about the program visit:
http://wbuchanan.github.io/brewscheme |
Hi, Sorry, I don't know what I'm doing wrong. When I type "net inst No matter how many times I hit enter, nothing happens, it's just stuck. Thanks for all your hard work, On Wed, Nov 9, 2016 at 9:59 AM, William Buchanan notifications@github.com
|
It can take a little while and if it hangs like that it may be one of the earlier pushes to the system I made this morning where some calls were made quietly (which would make it appear that way). The most updated version should work for you, but you may need to do a complete uninstall of // This command will return a number inside square brackets
ado, find(brewscheme)
// Place that number inside the square brackets below and it should uninstall the package
ado uninstall [#]
// Then restart Stata and reinstall:
net inst brewscheme, from("http://wbuchanan.github.io/brewscheme/") force replace |
Thanks for the tips. I have tried completely uninstalling brewscheme, Cheers, On Wed, Nov 9, 2016 at 11:52 AM, William Buchanan notifications@github.com
|
Can you try doing something a bit different to help me Identify/isolate the issue you're running into? Do what was done before, but copy/paste the output from the results window from : // This command will return a number inside square brackets
ado, find(brewscheme)
// Place that number inside the square brackets below and it should uninstall the package
ado uninstall [#]
// Then restart Stata and reinstall:
net inst brewscheme, from("http://wbuchanan.github.io/brewscheme/") force replace
// Set the tracedepth to show enough detail to locate where the failure occurs
set tracedepth 3
// Turn on the traceback
set trace on
// Run the command while tracing the call stack
brewcolordb, replace This should hopefully help to isolate where the hang occurs and it might be something where there needs to be a different kind of prompt or something. In either case this should show where in the source code things are stuck and then I can try to figure things out from there. |
Here's what I get: . brewcolordb, replace
begin dirfile.chksubdir --- |
Are you seeing the message: Delete the file color-green_achromatopsia.style from c:\ado\personal//style? (Y/n) in the results window? And does anything happen after you hit enter? What about entering |
So, nothing gets displayed unless the trace is on. The last line with When I enter y, It spits out:
end dirfile.chksubdir ---
end dirfile ---
begin dirfile ---
begin dirfile.chksubdir --- I keep entering y, and it cycles through the last lines: It repeats and never ends. On Thu, Nov 10, 2016 at 1:28 PM, William Buchanan notifications@github.com
|
This is to avoid deleting any files in the subdirectory without the end-user's explicit permission. The lines: Delete the file color-gs0_achromatopsia.style from c:\ado\personal//style? (Y/n)
Delete the file color-gs0_deuteranopia.style from c:\ado\personal//style? (Y/n)
Delete the file color-gs0_protanopia.style from c:\ado\personal//style? (Y/n)
Delete the file color-gs0_tritanopia.style from c:\ado\personal//style? (Y/n) Are iterating through each of the files in the subdirectory C:\ado\personal\style. If you wanted, you could delete that subdirectory manually from the operating system. When you run the command above after that there will be no files over which to iterate, so you won't see those prompts as much. This is showing some of the internal features of the toolkit, which is to automatically create versions of the files that are simulated to represent the different forms of color sight impairments. |
Awesome progress! Ok, so manually deleting the style folder allows the I presume these would be in the "brewcolors xkcd, make install replace", Directory exists and rebuild option not specified. No further action On Thu, Nov 10, 2016 at 3:13 PM, William Buchanan notifications@github.com
|
Not sure I know what is happening. I really need to know what command resulted in the error/warning in order to have any chance of helping out. For the last error message, that would be better served by opening a new issue since it isn't related to this particular issue. The same thing could also be said for the warning note that you ran into. I'll close this issue, but feel free to open the others with more specifics. Generally, if you do the whole: set tracedepth 2
set trace on Before running the command it will provide much better information to help debug things. |
I'm following the install instructions. I get to "brewcolors xkcd, make install replace", and I get the error:
could not create directory c:\ado\personal/
r(693);
That folder already exists on my computer, so I'm not sure why it needs to make the folder in the first place.
The text was updated successfully, but these errors were encountered: