-
Notifications
You must be signed in to change notification settings - Fork 4
Errors while setting up a new nightly runner #1
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
Comments
Sorry for pasting all the screenshots, I couldn't understand the error properly. |
Hi @Naman-Priyadarshi, thanks for filing this issue. Right now we run the benchmarks in two environements: one with python 3.6 and on with 3.8. It looks like creating the 3.6 environment is what's failing on your computer. Our benchmark server runs linux, so I'm not entirely surprised that it doesn't work on windows. One quick fix just to get things working on your computer might be to disable the 3.6 environment by deleting/commenting out these lines in the configuration file: https://github.com/pvlib/pvlib-python/blob/master/benchmarks/asv.conf.json#L115-L125 Of course we should think about better fixes for the longer term. A couple ideas:
|
Hmm, I'm not sure about that one. It kind of looks like there's some artifact of an old build left over. Can you locate that file and delete it? Restarting your computer might help too, if it's something silly like an old process didn't close that file properly. Otherwise I'm not sure what to suggest. |
I located the file and deleted it, but I'm still getting the same error. (Restarted my computer too) |
Should I try setting up the benchmark in linux? |
Update:
But after running the next step i.e. (also I have some suggestions for Readme.md) |
Good progress! Looks like the example benchmarks you're running are written for python 2.x, but you're running on 3.7, so no big surprise that it's failing. I guess maybe you copied the example benchmarks from here? Since the failures are in the benchmark code itself, it seems like ASV itself is working correctly, which is great! FYI I just sent in this PR to update the asv docs to not use those old 2.x examples anymore: airspeed-velocity/asv#1207 Anyway, instead of using those dummy example benchmarks, I guess the next step is to use the real pvlib benchmarks. If you have the So it should probably look like this:
A PR with improvements would be most welcome! I originally wrote those instructions for myself in case we needed to switch machines at some point in the future. I didn't really think anybody else would read them, and I've not had any reason to update them until now :) |
The Benchmarks ran successfully! Thanks @kanderso-nrel |
After following the steps given in the Readme.md, I got an error in step 10 i.e. Validate and build environments using
asv check
.Versions:
asv = 0.4.2
python = 3.7.1
conda = 4.10.3
virtualenv 20.14.0
The text was updated successfully, but these errors were encountered: