Monday, October 5, 2009

Re: "manage.py syncdb" fails when called via SCons

Before you start python (assuming *nix, including os/x), type:

$ which python

Then, in the subshell, before starting python, type the same thing. Compare.

Bill

On Mon, Oct 5, 2009 at 12:02 PM, Ralph Heinkel <ralph.heinkel@web.de> wrote:
>
> Hi,
>
> I just checked the environment for PYTHONPATH, it is neither set in
> the parent nor in the subshell.
>
> Actually, I can reduce the problem to this:
>
> 1. In my unix shell I start the python interpreter
> 2. in Python:   import os; os.system('/bin/bash')
> 3. In the just opened subshell:   python manage.py syncdb
>
> Again, it doesn't create my own model tables, just the system tables.
>
> Ralph
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate