Hi Thomas,

Ok, I put in the "assert False, os.getuid()". The error log logged the
following:

[Fri Aug 21 23:37:48 2009] [error] [client 127.0.0.1]     assert
False, os.getuid()
[Fri Aug 21 23:37:48 2009] [error] [client 127.0.0.1] AssertionError:
70

Then, I go the shell and entered "su - 70". It asked for the password.
I entered my root password, that's the only password that I set before
and the only password I know. But it said the password is wrong. I
cannot go any further as your advised. What should I do? I am not too
familiar with using Linux. Please help.

Simon

On Aug 21, 2:18 pm, Thomas Guettler <h...@tbz-pariv.de> wrote:
> Hi Simon,
>
> it could be a permission problem:
>
> in the code do something like
>
> assert False, os.getuid().
>
> then on the shell, you need get this user:
> su - corresponding-user
> id # check if you have this 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
> > sys.path list. Why does the import still fail? Please advise.
>
> --
> Thomas Guettler,http://www.thomas-guettler.de/
> E-Mail: guettli (*) thomas-guettler + de
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to