From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: keanld1@gmail.com
Subject: BUG #16664: Problem running django
Date: Fri, 09 Oct 2020 16:51:03 +0000
Message-ID: <16664-d36e878527b27b48@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16664
Logged by: Kean Dumba
Email address: keanld1@gmail.com
PostgreSQL version: 9.5.0
Operating system: OS X
Description:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 22, in <module>
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/core/management/__init__.py",
line 401, in execute_from_command_line
utility.execute()
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/core/management/__init__.py",
line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/core/management/base.py",
line 330, in run_from_argv
self.execute(*args, **cmd_options)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/core/management/base.py",
line 371, in execute
output = self.handle(*args, **options)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/core/management/base.py",
line 85, in wrapped
res = handle_func(*args, **kwargs)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/core/management/commands/makemigrations.py",
line 101, in handle
loader.check_consistent_history(connection)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
line 290, in check_consistent_history
applied = recorder.applied_migrations()
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
line 77, in applied_migrations
if self.has_table():
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
line 55, in has_table
with self.connection.cursor() as cursor:
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
line 26, in inner
return func(*args, **kwargs)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
line 259, in cursor
return self._cursor()
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
line 235, in _cursor
self.ensure_connection()
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
line 26, in inner
return func(*args, **kwargs)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
line 219, in ensure_connection
self.connect()
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/utils.py",
line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
line 219, in ensure_connection
self.connect()
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
line 26, in inner
return func(*args, **kwargs)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
line 200, in connect
self.connection = self.get_new_connection(conn_params)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
line 26, in inner
return func(*args, **kwargs)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
line 187, in get_new_connection
connection = Database.connect(**conn_params)
File
"/Volumes/Projects/project/venv/lib/python3.8/site-packages/psycopg2/__init__.py",
line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: fe_sendauth: no password supplied
Please advise how to resolve?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, keanld1@gmail.com
Subject: Re: BUG #16664: Problem running django
In-Reply-To: <16664-d36e878527b27b48@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox