
Traceback (most recent call last):


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


 "/tmp/pip-build-VQOhCT/cryptography/setup.py", line 321, in <module>

**keywords_with_side_effects(sys.argv)


 "/usr/lib64/python2.7/distutils/core.py", line 111, in setup

_setup_distribution = dist = klass(attrs)


 "/home/user/.local/lib64/python2.7/site-packages/setuptools/dist.py", line 320, in __init__

_Distribution.__init__(self, attrs)


 "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__

self.finalize_options()


 "/home/user/.local/lib64/python2.7/site-packages/setuptools/dist.py", line 387, in finalize_options

ep.load()(self, ep.name, value)


 "/home/user/.local/lib64/python2.7/site-packages/cffi/setuptools_ext.py", line 188, in cffi_modules

add_cffi_module(dist, cffi_module)


 "/home/user/.local/lib64/python2.7/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module

execfile(build_file_name, mod_vars)


 "/home/user/.local/lib64/python2.7/site-packages/cffi/setuptools_ext.py", line 25, in execfile

exec(code, glob, glob)


 "src/_cffi_src/build_openssl.py", line 82, in <module>

extra_link_args=extra_link_args(compiler_type()),


 "/tmp/pip-build-VQOhCT/cryptography/src/_cffi_src/utils.py", line 61, in build_ffi_for_binding

extra_link_args=extra_link_args,


 "/tmp/pip-build-VQOhCT/cryptography/src/_cffi_src/utils.py", line 69, in build_ffi

ffi = FFI()


 "/home/user/.local/lib64/python2.7/site-packages/cffi/api.py", line 63, in __init__

from . import cparser


 "/home/user/.local/lib64/python2.7/site-packages/cffi/cparser.py", line 7, in <module>

import pycparser


 "/home/user/.local/lib64/python2.7/site-packages/pycparser/__init__.py", line 14, in <module>

from .c_parser import CParser


 "/home/user/.local/lib64/python2.7/site-packages/pycparser/c_parser.py", line 20, in <module>

class CParser(PLYParser):


 "/home/user/.local/lib64/python2.7/site-packages/pycparser/plyparser.py", line 95, in template

_create_param_rules(cls, method)


 "/home/user/.local/lib64/python2.7/site-packages/pycparser/plyparser.py", line 112, in _create_param_rules

param_rule.__doc__ = func.__doc__.replace('xxx', xxx).replace('yyy', yyy)

AttributeError: 'NoneType' object has no attribute 'replace'

Traceback (most recent call last):


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/sanic/app.py", line 1170, in run

serve(**server_settings)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/sanic/server.py", line 832, in serve

trigger_events(before_start, loop)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/sanic/server.py", line 648, in trigger_events

loop.run_until_complete(result)


 "uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete


 "app.py", line 17, in init_db

await db.gino.create_all()


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 347, in create_all

await self.create(bind=bind, tables=tables, checkfirst=checkfirst)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 334, in create

await getattr(bind, "_run_visitor")(


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/engine.py", line 859, in _run_visitor

await getattr(conn, "_run_visitor")(*args, **kwargs)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/engine.py", line 530, in _run_visitor

await visitorcallable(self.dialect, self, **kwargs).traverse_single(element)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 30, in traverse_single

return await meth(obj, **kw)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 91, in visit_metadata

await self.traverse_single(


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 30, in traverse_single

return await meth(obj, **kw)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 119, in visit_table

await _Async(table.dispatch.before_create)(


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 416, in call

await _call_portable_instancemethod(fn, args, kw)


 "/home/disciple/Documents/Code/All/Sanic/venv/lib/python3.8/site-packages/gino/schema.py", line 402, in _call_portable_instancemethod

m = getattr(fn.target, fn.name + "_async", None)
AttributeError: 'function' object has no attribute 'target'
