Traceback (most recent call last):


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

resp = f(*args, **kwargs)


 "/www/lemur/lemur/authorities/views.py", line 223, in post

return service.create(**data)


 "/www/lemur/lemur/authorities/service.py", line 107, in create

cert = upload(**kwargs)


 "/www/lemur/lemur/certificates/service.py", line 222, in upload

cert = Certificate(**kwargs)


 "<string>", line 4, in __init__


 "/www/lemur/lib/python3.5/site-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance

manager.dispatch.init_failure(self, args, kwargs)


 "/www/lemur/lib/python3.5/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__

compat.reraise(exc_type, exc_value, exc_tb)


 "/www/lemur/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 187, in reraise

raise value


 "/www/lemur/lib/python3.5/site-packages/sqlalchemy/orm/state.py", line 411, in _initialize_instance

return manager.original_init(*mixed[1:], **kwargs)


 "/www/lemur/lemur/certificates/models.py", line 130, in __init__

cert = lemur.common.utils.parse_certificate(kwargs['body'])


 "/www/lemur/lemur/common/utils.py", line 53, in parse_certificate

return x509.load_pem_x509_certificate(body, default_backend())


 "/www/lemur/lib/python3.5/site-packages/cryptography/x509/base.py", line 43, in load_pem_x509_certificate

return backend.load_pem_x509_certificate(data)


 "/www/lemur/lib/python3.5/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 1063, in load_pem_x509_certificate

mem_bio = self._bytes_to_bio(data)


 "/www/lemur/lib/python3.5/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 432, in _bytes_to_bio

data_char_p = self._ffi.new("char[]", data)
TypeError: 'NoneType' object cannot be interpreted as an integer

Traceback (most recent call last):


 "<string>", line 1, in <module>


 "c:\users\lucas\appdata\local\temp\pip-build-bxrui8\thinc\setup.py", line 308, in <module>

setup_package()


 "c:\users\lucas\appdata\local\temp\pip-build-bxrui8\thinc\setup.py", line 303, in setup_package

'build_ext': build_ext_subclass},


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\core.py", line 151, in setup

dist.run_commands()


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\dist.py", line 953, in run_commands

self.run_command(cmd)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\site-packages\setuptools-27.2.0-py2.7.egg\setuptools\command\install.py", line 61, in run


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\command\install.py", line 563, in run

self.run_command('build')


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\command\build.py", line 127, in run

self.run_command(cmd_name)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\cmd.py", line 326, in run_command

self.distribution.run_command(command)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\dist.py", line 972, in run_command

cmd_obj.run()


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\command\build_ext.py", line 340, in run

self.build_extensions()


 "c:\users\lucas\appdata\local\temp\pip-build-bxrui8\thinc\setup.py", line 116, in build_extensions

build_ext.build_extensions(self)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\command\build_ext.py", line 449, in build_extensions

self.build_extension(ext)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\command\build_ext.py", line 499, in build_extension

depends=ext.depends)


 "C:\Program 
s\Anaconda2\envs\spacy_alpha\lib\distutils\msvc9compiler.py", line 546, in compile

extra_postargs)

TypeError: can only concatenate list (not "dict") to list

