We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
run_all.py gives me the following error:
run_all.py
************** header == doctest python ./bench.py compile gcc --debug --files 200 --tests 0 Traceback (most recent call last): File "./bench.py", line 60, in <module> urllib.urlretrieve("https://github.com/catchorg/Catch2/releases/download/v" + catch_ver + "/catch.hpp", catch_header) AttributeError: module 'urllib' has no attribute 'urlretrieve' Traceback (most recent call last): File "./run_all.py", line 48, in <module> res = float(runBench(command)) ValueError: could not convert string to float:
These changes make it run properly:
@ line 8 -import urllib +import urllib.request @ line 60 - urllib.urlretrieve("https://github.com/catchorg/Catch2/releases/download/v" + catch_ver + "/catch.hpp", catch_header) + urllib.request.urlretrieve("https://github.com/catchorg/Catch2/releases/download/v" + catch_ver + "/catch.hpp", catch_header)
I don't know what the proper fix would be to not break it on systems using urllib before urlretrieve was moved into request.
urlretrieve
request
cd scripts/bench && ./run_all.py
The text was updated successfully, but these errors were encountered:
I should probably move to python 3.x :) Thanks for the fix! I'll incorporate it... when I can.
Sorry, something went wrong.
7435f4a
No branches or pull requests
Description
run_all.py
gives me the following error:Fix
These changes make it run properly:
I don't know what the proper fix would be to not break it on systems using urllib before
urlretrieve
was moved intorequest
.Steps to reproduce
cd scripts/bench && ./run_all.py
Extra information
The text was updated successfully, but these errors were encountered: