BUG #16664: Problem running django

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: keanld1(at)gmail(dot)com
Subject: BUG #16664: Problem running django
Date: 2020-10-09 16:51:03
Message-ID: 16664-d36e878527b27b48@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16664
Logged by: Kean Dumba
Email address: keanld1(at)gmail(dot)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?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2020-10-09 17:04:52 Re: BUG #16664: Problem running django
Previous Message PG Bug reporting form 2020-10-09 13:24:15 BUG #16663: DROP INDEX did not free up disk space: idle connection hold file marked as deleted