On Friday, 29 November 2019 09:42:00 UTC-3, EMPOWER EXCEL wrote:
cqn some body helps me to correct this error while running python manager.py runeserver(analyseprotection) flavien@flavien-VirtualBox:~/MyProjects/alertprot$ python manage.py runserver
Performing system checks...System check identified no issues (0 silenced).
Unhandled exception in thread started by <function wrapper at 0xadc8d72c>
Traceback (most recent call last):
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/utils/autoreload.py", line 228, in wrapper
fn(*args, **kwargs)
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/core/management/ commands/runserver.py", line 127, in inner_run
self.check_migrations()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/core/management/base. py", line 422, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/migrations/executor. py", line 20, in __init__
self.loader = MigrationLoader(self.connection)
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/migrations/loader. py", line 52, in __init__
self.build_graph()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/migrations/loader. py", line 210, in build_graph
self.applied_migrations = recorder.applied_migrations()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/migrations/recorder. py", line 65, in applied_migrations
self.ensure_schema()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/migrations/recorder. py", line 52, in ensure_schema
if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection. cursor()):
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/backends/base/base. py", line 254, in cursor
return self._cursor()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/backends/base/base. py", line 229, in _cursor
self.ensure_connection()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/backends/base/base. py", line 213, in ensure_connection
self.connect()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/backends/base/base. py", line 213, in ensure_connection
self.connect()
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/backends/base/base. py", line 189, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ django/db/backends/postgresql/ base.py", line 176, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/flavien/MyProjects/analyseprotection/local/lib/ python2.7/site-packages/ psycopg2/__init__.py", line 126, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: FATAL: password authentication failed for user "postgres"
FATAL: password authentication failed for user "postgres"
I've the same problem, but I was inputing a wrong string in field password, do you checked if as wrong?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5bba54a0-4458-4743-8a1c-f040f1ad4b46%40googlegroups.com.
No comments:
Post a Comment