-
Notifications
You must be signed in to change notification settings - Fork 33
Increase stdout from setup/configure? #38
Comments
I got impatient and
I'm trying the command one more time -- if this doesn't work, I might blow away my conda installation and see what happens if |
@mnlevy1981, thank you for reporting this issue.
Since we are using subprocess, one solution is to split the bash scripts into smaller scripts. Hopefully, this will helps us to report back to the user every few minutes whenever each small task is done. What do yo think? |
Can you try running conda env update -f ./setup/env-conda-base.yml conda env update -f ./setup/env-analysis.yml on their own and see what conda is doing? |
That would be nice -- being able to see, for instance, if this was hanging in the
(I'm sure there's a better format than above, but that's the level of information I'd find helpful). Also, does it make sense to offer a step-by-step approach in the
Like you just suggested. I'll do that now and let you know. |
Verifying I was able to update |
Glad to hear that individual steps work. Remember to run the post build script too: ./setup/post_build |
|
That is interesting! Does |
Nope! Not even
|
I see... We need to make sure that that directory exists and if doesn't, we should create it in the post build scripts.. When you get time, can you take a look at https://circleci.com/gh/NCAR/ncar-python-tutorial/76 and let me know what you thing in terms of the stdout info. |
Making the directory doesn't seem to matter much, the error is still from the
Unless
It looks like you're still tweaking things, but a couple of comments based on the output
This is certainly more informative than the previous output, though I still think it would be useful to append a time stamp to each step so that users can track how long it's actually been. I'd like
but could see an argument for
Also, it's still just two big steps:
So I was picturing
|
Looking at this a bit more
It appears the python $CARTOPY_ASSET_SCRIPT --output ~/.local/share/cartopy cultural-extra cultural gshhs physical I am going to investigate why $CARTOPY_ASSET_SCRIPT is null. |
I know why this is happening. Try running the original ./setup/configure |
👍 I just added this in #40 |
The latest version stdout: ****** Step 1/5: Installing Miniconda (20:10:31) ******
****** Step 2/5: Updating `base` environment (20:10:36) ******
****** Step 3/5: Creating/Updating `analysis` environment (this can take 5-10 min) (20:12:01) ******
****** Step 4/5: Running post build script for `base` environment (20:15:39) ******
****** Step 5/5: Running post build script for `analysis` environment (20:17:16) ******
****** Setup completed successfully. (20:20:52) ******
==> For changes to take effect, close and re-open your current shell. <== @mnlevy1981, let me know if you give #40 the green light, and I will merge it. |
This worked, thanks! I'm not sure why (I responded to your comments about the PR itself in #40 -- off to a meeting now, but will try to finalize review before I leave for the night. Thanks for taking this on!) |
I got a new laptop and after a week of use realized I still needed to install jupyter... I figured I'd go ahead and set up the recommended analysis environment as well. Per the README, I ran
./setup/configure
and things seem to be stalled atIt's been 20+ minutes, and while I would not be surprised to learn that conda is doing something behind the screens, a little more information on how to track progress over this period of time would be nice.
$ conda list
isn't showing any updates to(base)
yet, but something is happening to my environment:I'll continue to let the script run in the background, hopefully it'll finish eventually...
(Possibly related to #30?)
The text was updated successfully, but these errors were encountered: