Cannot build psycopg2 in x86_64

2009-09-28 Thread Simon Lee
I am trying to deploy the django app that from the django development server to the Apache on Leopard. When I try to launch the app from my browser, I got a "Internal Server Error". I checked the error_log and here's the error: [Mon Sep 28 00:43:29 2009] [error] [client 127.0.0.1] ImproperlyConfi

Re: Django admin templates not loading

2009-09-11 Thread Simon Lee
them in /Users/my_name/??? How should I set the permission of the files/ directories under the production sites' directories? Should I set the user/group to be apache, root, or just under my_name? Please advise. Simon On Sep 9, 7:52 pm, Karen Tracey wrote: > On Wed, Sep 9, 2009 at 7:23 A

Django admin templates not loading

2009-09-09 Thread Simon Lee
Hi All, I am following the tutorial in the Django website (writing your first django app) and get it to work on the development server. However, when I port to Apache, the admin template is not loaded and thus I could not get the nice Django UI with Apache. I try copying the default django admin

Re: Error in setting up psycopg2

2009-08-25 Thread Simon Lee
:24 2009] [error] [client 127.0.0.1] --- I did a search on the web but found only two links on similar error without any solution. Does anyone know what caused "Symbol not found: _PQbackendPID"? Simon On Aug 25, 4:25 pm, Simon Lee wrote: > Hi Thomas, > When I typed the

Re: Error in setting up psycopg2

2009-08-25 Thread Simon Lee
ESSION_ENGINE is defined??? Simon --- On Mon, 8/24/09, Thomas Guettler wrote: From: Thomas Guettler Subject: Re: Error in setting up psycopg2 To: "Simon Lee" , django-users@googlegroups.com Date: Monday, August 24, 2009, 11:17 PM Hi Simon, your first traceback looked like this: [Wed

Re: Error in setting up psycopg2

2009-08-21 Thread Simon Lee
I entered my root password (the only password that I know) and it complained that the password is wrong. Please advise. Simon On Aug 22, 2:30 am, Randy Barlow wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Simon Lee declared: > > > Hi Thomas, > > > O

Re: Error in setting up psycopg2

2009-08-21 Thread Simon Lee
his UID > #try to open the file: > more /.../tz.py > > HTH, >   Thomas > > Simon Lee schrieb: > > > tz.py is in the directory: "'/Library/Frameworks/Python.framework/ > > Versions/2.6/lib/python2.6/site-packages/psycopg2" which is in the > > s

Re: Error in setting up psycopg2

2009-08-20 Thread Simon Lee
port tz. > > Maybe you need to install it. I don't this module. > >   Thomas > > Simon Lee schrieb: > > > > > > > Hi Thomas, > > > Tried your method and modified /mysite3/apache/myapp.wsgi as followed: > > > import os, sys > > sys.

Re: Error in setting up psycopg2

2009-08-19 Thread Simon Lee
hon2.6/site-packages/psycopg2'] Any idea? Please advise. Thanks. Simon On Aug 19, 10:44 pm, Thomas Guettler wrote: > Hi, > > you need to know what sys.path looks like. This is a list of > searched directories. > > try: >     import # Import lines that

Error in setting up psycopg2

2009-08-18 Thread Simon Lee
I am trying to set up a simple test website in the Apache Server that comes with OSX 10.5.8 and continuously ran into errors that complainted about not able to import something in pscycopg2. The site works if I ran with the django development server. When I port to Apache, it did not work. Can som