
Comment: An exception occurred in this state: Traceback (most recent call last):

 "/usr/lib/python2.7/site-packages/salt/state.py", line 1733, in call
**cdata['kwargs'])

 "/usr/lib/python2.7/site-packages/salt/loader.py", line 1652, in wrapper
return f(*args, **kwargs)

 "/usr/lib/python2.7/site-packages/salt/states/x509.py", line 432, in certificate_managed
new = __salt__['x509.create_certificate'](testrun=True, **kwargs)

 "/usr/lib/python2.7/site-packages/salt/modules/x509.py", line 1185, in create_certificate
ext = _new_extension(name=extname, value=extval, critical=critical, issuer=issuer)

 "/usr/lib/python2.7/site-packages/salt/modules/x509.py", line 118, in _new_extension
lhash = M2Crypto.m2.x509v3_lhash()
# pylint: disable=no-member
AttributeError: 'module' object has no attribute 'x509v3_lhash'```
Traceback (most recent call last):


 "dc_gan.py", line 205, in <module>

trainer(dataloader)


 "/usr/local/anaconda3/envs/pt1.0py37/lib/python3.7/site-packages/torchgan/trainer/base_trainer.py", line 455, in __call__

self.train(data_loader, **kwargs)


 "/usr/local/anaconda3/envs/pt1.0py37/lib/python3.7/site-packages/torchgan/trainer/base_trainer.py", line 400, in train

master_bar_iter.first_bar.comment = f"Training Progress"
AttributeError: 'ConsoleMasterBar' object has no attribute 'first_bar'
