I can confirm that this bug is still happening in both django-trunk
and 5528:
Here's the traceback message when using django 5528:
[36450] conn_notice_callback: NOTICE: CREATE TABLE / PRIMARY KEY will
create im plicit index "auth_group_permissions_pkey" for table
"auth_group_permissions"
[36450] pq_execute: entering syncronous DBAPI compatibility mode
[36450] pq_fetch: pgstatus = PGRES_COMMAND_OK
[36450] pq_fetch: command returned OK (no tuples)
[36450] pq_fetch: fetching done; check for critical errors
[36450] psyco_curs_execute: res = 1, pgres = 0x0
[36450] psyco_curs_execute: starting execution of new query
[36450] curs_execute: pg connection at 0x28a50c00 OK
[36450] pq_begin: pgconn = 0x28a50c00, isolevel = 1, status = 2
[36450] pq_begin: transaction in progress
[36450] pq_execute: executing SYNC query:
[36450] CREATE TABLE "auth_group_permissions" (
"id" serial NOT NULL PRIMARY KEY,
"group_id" integer NOT NULL REFERENCES "auth_group" ("id")
DEFERRABLE INITIA LLY DEFERRED,
"permission_id" integer
[36450] conn_notice_callback: NOTICE: CREATE TABLE will create
implicit sequenc e "auth_group_permissions_id_seq" for serial
column "auth_group_permissions.id"
[36450] pq_execute: entering syncronous DBAPI compatibility mode
[36450] pq_fetch: pgstatus = PGRES_FATAL_ERROR
[36450] pq_fetch: uh-oh, something FAILED
[36450] pq_fetch: fetching done; check for critical errors
[36450] psyco_curs_execute: res = -1, pgres = 0x0
Traceback (most recent call last):
File "/home/erob/django-5528/django/bin/django-admin.py", line 5, in
<module>
management.execute_from_command_line()
File "/home/erob/django-5528/django/core/management.py", line 1633,
in execute _from_command_line
action_mapping[action](int(options.verbosity),
options.interactive)
File "/home/erob/django-5528/django/core/management.py", line 587,
in syncdb
cursor.execute(statement)
File "/home/erob/django-5528/django/db/backends/util.py", line 18,
in execute
return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: relation "auth_group_permissions" already
exists
On 10 juil, 10:51, Etienne Robillard <[EMAIL PROTECTED]>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I'm running into an issue using the latest psycopg2 module from svn.
> Is there a way to have this module working with the latest django-trunk
> and postgresql-8.1.9 ?
>
> As an alternative, is there a specific django version to use for
> getting syncdb up and running ?
>
> Thanks in advance,
> Etienne
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4 (FreeBSD)
>
> iD8DBQFGk5zsdXKAffkXj4MRAhRbAKCUV8PiYA6YhGsQhsh04q1oBSALkwCgpY+W
> olT5RK+Uuoi9Hxd9rbz3fro=
> =qkEa
> -----END PGP SIGNATURE-----
>
> err
> 90KTélécharger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---