The following error seen while trying to run cbworkloadgen:
File "couchstore.pyc", in line 32
NameError: name 'exit' is not defined
=> Because cbworkloadgen is trying to access the dll file (in case of windows) from the wrong context.
Also observed that if cbworkloadgen were in the bin/ folder (instead of bin/tools/), it is able to run as expected.