-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Malcom,

The steps to repeat this problem is simply to invoke 'syncdb' 
using either django-admin.py and/or manage.py, on a fresh database: 

1. export PYTHONPATH=`pwd`:/path/to/django (optional)
2. sudo dropdb -U db_user db_name 
3. sudo createdb -U db_user db_name
4. django-admin.py --settings=foo_settings syncdb 

As as a work-around, I've managed to install all the SQL tables
schemas using the sqlall hook:

1. django-admin.py --settings=foo_settings sqlall app_label > tables.sql  

Then you can install the tables manually instead of using syncdb: 

2. django-admin.py --settings=foo_settings dbshell 
some_app=>\i tables.sql  

Finally, the version number reported by the psycopg2 module is 2.0.5 (revision 
895).

Hope this helps :) 

Etienne




On Wed, 11 Jul 2007 14:00:51 +1000
Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:

> 
> On Tue, 2007-07-10 at 10:51 -0400, Etienne Robillard 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 ?
> 
> So what is the way to repeat this problem? In this message you don't
> give any details. In the subsequent message, you've given a traceback,
> but no explanation of what needs to be done to repeat the problem.
> 
> Also what counts as "latest psycopg2 module" from your persepctive? What
> version number does it report?
> 
> Regards,
> Malcolm
> 
> -- 
> Despite the cost of living, have you noticed how popular it remains? 
> http://www.pointy-stick.com/blog/
> 
> 
> > 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGlDRtdXKAffkXj4MRAmG1AKCBJkimyNzgiIzoHPl4PsFhS67HsgCeOBIE
TvzL6ofsIPal1f97mc2XxaI=
=gKgR
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to