This error has been reported before: AttributeError: 'CertificateBatchHandler' object has no attribute 'certificates_to_issue' - #3 by osheenchavhan
Bascially you should ensure that you have certificates in the dir you defined here:
unsigned_certificates_dir=./data/unsigned_certificates