UndefinedColumnError

column "name_" does not exist HINT: Perhaps you meant to reference the column "category.name_it" or the column "category.name_en".

Traceback (most recent call last):

File /home/realabruzzo/realabruzzo/env/lib/python3.6/site-packages/sanic/app.py, line 503, in handle_request

response = await response

File /usr/lib/python3.6/asyncio/coroutines.py, line 129, in throw

return self.gen.throw(type, value, traceback)

File main.py, line 134, in index

get_categories(request.app)

File /usr/lib/python3.6/asyncio/coroutines.py, line 126, in send

return self.gen.send(value)

File /home/realabruzzo/realabruzzo/places/list.py, line 77, in get_categories

"""

File /usr/lib/python3.6/asyncio/coroutines.py, line 129, in throw

return self.gen.throw(type, value, traceback)

File /home/realabruzzo/realabruzzo/env/lib/python3.6/site-packages/asyncpg/connection.py, line 359, in fetch

return await self._execute(query, args, 0, timeout)

File /usr/lib/python3.6/asyncio/coroutines.py, line 129, in throw

return self.gen.throw(type, value, traceback)

File /home/realabruzzo/realabruzzo/env/lib/python3.6/site-packages/asyncpg/connection.py, line 1303, in _execute

query, args, limit, timeout, return_status=return_status)

File /usr/lib/python3.6/asyncio/coroutines.py, line 129, in throw

return self.gen.throw(type, value, traceback)

File /home/realabruzzo/realabruzzo/env/lib/python3.6/site-packages/asyncpg/connection.py, line 1311, in __execute

return await self._do_execute(query, executor, timeout)

File /usr/lib/python3.6/asyncio/coroutines.py, line 129, in throw

return self.gen.throw(type, value, traceback)

File /home/realabruzzo/realabruzzo/env/lib/python3.6/site-packages/asyncpg/connection.py, line 1323, in _do_execute

stmt = await self._get_statement(query, None)

File /usr/lib/python3.6/asyncio/coroutines.py, line 129, in throw

return self.gen.throw(type, value, traceback)

File /home/realabruzzo/realabruzzo/env/lib/python3.6/site-packages/asyncpg/connection.py, line 288, in _get_statement

statement = await self._protocol.prepare(stmt_name, query, timeout)

File asyncpg/protocol/protocol.pyx, line 171, in prepare

UndefinedColumnError: column "name_" does not exist HINT: Perhaps you meant to reference the column "category.name_it" or the column "category.name_en". while handling path /