Sunday, June 30, 2013

Python Fabric manage.py problem

I use Python Fabric to deploy. Works great for accessing the remote server, install dependencies, run linux commands, etc..

But when I try to run file commands manage.py Django, NOT work!


Example of my fabfile.py:

with prefix ('source/home/user/env/bin/activate'):

with cd ('path/to/your/project/django'):

run ('python manage.py help --settings=path.for.settings')


Fatal error: runstrong text() received nonzero return code while executing one!


I've tried putting a --noinput but the error remains:

run ('python manage.py help --settings=caminho.para.settings --noinput')

Does anyone know how to solve?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment