Chris Haynes
unread,Jun 23, 2009, 10:09:25 PM6/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I've just installed postgresql and psycopg2. I supplied a password in
the postgres install, but don't know how to supply it to psycopg2:
~/s/sd$ manage.py syncdb
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/users/home/system/lib/djangotrunk/django/core/management/
__init__.py", line 347, in execute_manager
utility.execute()
File "/users/home/system/lib/djangotrunk/django/core/management/
__init__.py", line 295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/users/home/system/lib/djangotrunk/django/core/management/
base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/users/home/system/lib/djangotrunk/django/core/management/
base.py", line 222, in execute
output = self.handle(*args, **options)
File "/users/home/system/lib/djangotrunk/django/core/management/
base.py", line 351, in handle
return self.handle_noargs(**options)
File "/users/home/system/lib/djangotrunk/django/core/management/
commands/syncdb.py", line 48, in handle_noargs
cursor = connection.cursor()
File "/users/home/system/lib/djangotrunk/django/db/backends/
__init__.py", line 62, in cursor
cursor = self._cursor(settings)
File "/users/home/system/lib/djangotrunk/django/db/backends/
postgresql_psycopg2/base.py", line 84, in _cursor
self.connection = Database.connect(conn_string, **self.options)
psycopg2.OperationalError: fe_sendauth: no password supplied