Traceback (most recent call last):


 "/www/lemur/lemur/common/schema.py", line 160, in decorated_function

resp = f(*args, **kwargs)


 "/www/lemur/lemur/certificates/views.py", line 482, in post

cert = service.create(**data)


 "/www/lemur/lemur/certificates/service.py", line 273, in create

cert_body, private_key, cert_chain, external_id, csr = mint(**kwargs)


 "/www/lemur/lemur/certificates/service.py", line 223, in mint

cert_body, cert_chain, external_id = issuer.create_certificate(csr, kwargs)


 "/www/lemur/lemur/plugins/lemur_cfssl/plugin.py", line 58, in create_certificate

key = bytes.fromhex(hex_key)
TypeError: fromhex() argument must be str, not None

Traceback (most recent call last):


 "D:\KunQian\WeiboSpider\weibo_spider\writer\mysql_writer.py", line 77, in _mysql_insert

sql, [tuple(data.values()) for data in data_list])


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 182, in executemany

self.rowcount = sum(self.execute(query, arg) for arg in args)


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 182, in <genexpr>

self.rowcount = sum(self.execute(query, arg) for arg in args)


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 146, in execute

query = self.mogrify(query, args)


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 125, in mogrify

query = query % self._escape_args(args, conn)
TypeError: not enough arguments for format string
