brianfrankcooper / YCSB

Yahoo! Cloud Serving Benchmark
Apache License 2.0
4.94k stars 2.24k forks source link

SyntaxError: multiple exception types must be parenthesized when running on c6g or c7g instance #1629

Closed mericas closed 3 months ago

mericas commented 2 years ago

When running on a AWS c6g or c7g instance under ubuntu 22.04 I get the following error when invoking ycsb:

./bin/ycsb load  redis -s -P workloads/workloada -p "redis.host=127.0.0.1" -p "redis.port=6379"
  File "/data/benchmark/ycsb-0.17.0/./bin/ycsb", line 228
    except subprocess.CalledProcessError, err:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
busbey commented 2 years ago

your python version is incorrect. we don't have python 3 support yet. (though IIRC we are in the final phase of getting one of the outstanding PRs with python 3 support added)