Closed timlinux closed 9 years ago
bash-3.2$ make shell ------------------------------------------------------------------ Shelling in in production mode ------------------------------------------------------------------ root@uwsgi:/home/web/django_project# root@uwsgi:/home/web/django_project# python manage.py createsuperuser *********** Setting up sentry logging ************ {'WATCHKEEPER_UWSGI_1_ENV_DATABASE_PASSWORD': 'docker', 'DB_ENV_USERNAME': 'docker', 'WATCHKEEPER_DB_1_NAME': '/watchkeeper_uwsgi_run_3/watchkeeper_db_1', 'RABBITMQ_1_PORT_5672_TCP_PORT': '5672', 'WATCHKEEPER_UWSGI_1_ENV_DEBIAN_FRONTEND': 'noninteractive', 'UWSGI_PORT_8080_TCP': 'tcp://172.17.0.15:8080', 'RABBITMQ_ENV_RABBIT_PASSWORD': 'rabbit_test_password', 'WATCHKEEPER_RABBITMQ_1_NAME': '/watchkeeper_uwsgi_run_3/watchkeeper_rabbitmq_1', 'WATCHKEEPER_UWSGI_1_PORT_8080_TCP_PORT': '8080', 'RABBITMQ_ENV_RABBITMQ_LOGS': '-', 'PYTHON_VERSION': '2.7.8', 'SMTP_ENV_maildomain': 'kartoza.com', 'WATCHKEEPER_RABBITMQ_1_ENV_RABBITMQ_SASL_LOGS': '-', 'WATCHKEEPER_DB_1_PORT_5432_TCP': 'tcp://172.17.0.10:5432', 'DB_PORT_5432_TCP_PROTO': 'tcp', 'SMTP_ENV_DEBIAN_FRONTEND': 'noninteractive', 'WATCHKEEPER_DB_1_PORT_5432_TCP_PORT': '5432', 'RABBITMQ_1_ENV_USER': 'rabbit_user', 'SMTP_NAME': '/watchkeeper_uwsgi_run_3/smtp', 'RABBITMQ_PORT': 'tcp://172.17.0.14:5672', 'UWSGI_1_ENV_DATABASE_PASSWORD': 'docker', 'SMTP_1_ENV_smtp_userNV_RABBITMQ_NODENAME': 'rabbit', 'DB_1_NAME': '/watchkeeper_uwsgi_run_3/db_1', 'RABBITMQ_1_PORT_5672_TCP': 'tcp://172.17.0.14:5672', 'DEBIAN_FRONTEND': 'noninteractive', 'UWSGI_1_PORT': 'tcp://172.17.0.15:8080', 'WATCHKEEPER_UWSGI_1_ENV_DJANGO_SETTINGS_MODULE': 'core.settings.prod_docker', 'RABBITMQ_ENV_RABBITMQ_NODENAME': 'rabbit', 'WATCHKEEPER_RABBITMQ_1_ENV_USER': 'rabbit_user', 'DB_PORT_5432_TCP': 'tcp://172.17.0.10:5432', 'UWSGI_1_PORT_8080_TCP_PROTO': 'tcp', 'UWSGI_1_ENV_DEBIAN_FRONTEND': 'noninteractive', 'DATABASE_HOST': 'db', 'RABBITMQ_1_PORT_5672_TCP_ADDR': '172.17.0.14', 'WATCHKEEPER_RABBITMQ_1_ENV_RABBITMQ_NODENAME': 'rabbit', 'WATCHKEEPER_RABBITMQ_1_PORT_5672_TCP_ADDR': '172.17.0.14', 'DB_1_PORT_5432_TCP': 'tcp://172.17.0.10:5432', 'UWSGI_ENV_VIRTUAL_PORT': '8080', 'RABBITMQ_1_NAME': '/watchkeeper_uwsgi_run_3/rabbitmq_1', 'WATCHKEEPER_RABBITMQ_1_PORT': 'tcp://172.17.0.14:5672', 'WATCHKEEPER_UWSGI_1_ENV_VIRTUAL_PORT': '8080', 'UWSGI_ENV_DJANGO_SETTINGS_MODULE': 'core.settings.prod_docker', 'UWSGI_PEmail: tim@kartoza.com First Name: Tim Last Name: Sutton Password: Password (again): Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 55, in execute return super(Command, self).execute(*args, **options) File "/usr/local/lib/python2.7/site-packages/raven/contrib/django/management/__init__.py", line 41, in new_execute return original_func(self, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 160, in handle self.UserModel._default_manager.db_manager(database).create_superuser(**user_data) File "/home/web/django_project/event_mapper/models/user_manager.py", line 62, in create_superuser password=password, File "/home/web/django_project/event_mapper/models/user_manager.py", line 42, in create_user key=key File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 452, in __init__ raise TypeError("'%s' is an invalid keyword argument for this function" % list(kwargs)[0]) TypeError: 'area_of_interest' is an invalid keyword argument for this function Sentry is attempting to send 1 pending error messages Waiting up to 10 seconds Press Ctrl-C to quit