Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created February 9, 2015 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobsilverberg/038a14a645c1969c7c93 to your computer and use it in GitHub Desktop.
Save bobsilverberg/038a14a645c1969c7c93 to your computer and use it in GitHub Desktop.
stackato.stager: Staging application 'oneanddone'
staging:
staging: -----> Installing dependencies using pip
staging: Downloading/unpacking MySQL-python==1.2.3 (from -r /staging/staged/requirements.pip (line 1))
staging: Running setup.py egg_info for package MySQL-python
staging:
staging: warning: no files found matching 'MANIFEST'
staging: warning: no files found matching 'ChangeLog'
staging: warning: no files found matching 'GPL'
staging: Downloading/unpacking jinja2==2.5.5 (from -r /staging/staged/requirements.pip (line 2))
staging: Running setup.py egg_info for package jinja2
staging:
staging: warning: no previously-included files matching '*' found under directory 'docs/_build'
staging: warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyc' found under directory 'docs'
staging: warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyo' found under directory 'docs'
staging: Downloading/unpacking py-bcrypt==0.3 (from -r /staging/staged/requirements.pip (line 3))
staging: Downloading py-bcrypt-0.3.tar.gz
staging: Running setup.py egg_info for package py-bcrypt
staging:
staging: Installing collected packages: MySQL-python, jinja2, py-bcrypt
staging: Running setup.py install for MySQL-python
staging: building '_mysql' extension
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/include/mysql -I/opt/ActivePython-2.7/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -DBIG_JOINS=1 -fno-strict-aliasing -g
staging: In file included from _mysql.c:36:0:
staging: /usr/include/mysql/my_config.h:422:0: warning: "HAVE_WCSCOLL" redefined [enabled by default]
staging: /opt/ActivePython-2.7/include/python2.7/pyconfig.h:887:0: note: this is the location of the previous definition
stackato.stager: Staging application 'oneanddone'
staging: gcc -pthread -shared build/temp.linux-x86_64-2.7/_mysql.o -L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -ldl -o build/lib.linux-x86_64-2.7/_mysql.so
staging:
staging: warning: no files found matching 'MANIFEST'
staging: warning: no files found matching 'ChangeLog'
staging: warning: no files found matching 'GPL'
staging: Running setup.py install for jinja2
staging:
staging: warning: no previously-included files matching '*' found under directory 'docs/_build'
staging: warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyc' found under directory 'docs'
staging: warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyo' found under directory 'docs'
staging: Running setup.py install for py-bcrypt
staging: building 'bcrypt._bcrypt' extension
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/ActivePython-2.7/include/python2.7 -c bcrypt/bcrypt_python.c -o build/temp.linux-x86_64-2.7/bcrypt/bcrypt_python.o
staging: bcrypt/bcrypt_python.c: In function ‘bcrypt_encode_salt’:
staging: bcrypt/bcrypt_python.c:56:2: warning: pointer targets in passing argument 2 of ‘encode_salt’ differ in signedness [-Wpointer-sign]
staging: bcrypt/bcrypt_python.c:29:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/ActivePython-2.7/include/python2.7 -c bcrypt/blowfish.c -o build/temp.linux-x86_64-2.7/bcrypt/blowfish.o
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/ActivePython-2.7/include/python2.7 -c bcrypt/bcrypt.c -o build/temp.linux-x86_64-2.7/bcrypt/bcrypt.o
staging: gcc -pthread -shared build/temp.linux-x86_64-2.7/bcrypt/bcrypt_python.o build/temp.linux-x86_64-2.7/bcrypt/blowfish.o build/temp.linux-x86_64-2.7/bcrypt/bcrypt.o -o build/lib.linux-x86_64-2.7/bcrypt/_bcrypt.so
staging:
staging: Successfully installed MySQL-python jinja2 py-bcrypt
staging: Cleaning up...
staging: -----> python manage.py syncdb --noinput
staging: self.validate()
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/base.py", line 266, in validate
staging: num_errors = get_validation_errors(s, app)
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/validation.py", line 103, in get_validation_errors
staging: connection.validation.validate_field(e, opts, f)
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/mysql/validation.py", line 14, in validate_field
staging: db_version = self.connection.get_server_version()
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/mysql/base.py", line 415, in get_server_version
staging: self.cursor().close()
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/__init__.py", line 319, in cursor
staging: cursor = util.CursorWrapper(self._cursor(), self)
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/mysql/base.py", line 387, in _cursor
staging: self.connection = Database.connect(**kwargs)
staging: File "/staging/staged/python/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
staging: return Connection(*args, **kwargs)
staging: File "/staging/staged/python/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__
staging: super(Connection, self).__init__(*args, **kwargs2)
staging: _mysql_exceptions.OperationalError: (1130, "Host '10.22.93.33' is not allowed to connect to this MySQL server")
staging:
staging: -----> Installing dependencies using pip
staging: Downloading/unpacking MySQL-python==1.2.3 (from -r /staging/staged/requirements.pip (line 1))
staging: Running setup.py egg_info for package MySQL-python
staging:
staging: warning: no files found matching 'MANIFEST'
staging: warning: no files found matching 'ChangeLog'
staging: warning: no files found matching 'GPL'
staging: Downloading/unpacking jinja2==2.5.5 (from -r /staging/staged/requirements.pip (line 2))
staging: Running setup.py egg_info for package jinja2
staging:
staging: warning: no previously-included files matching '*' found under directory 'docs/_build'
staging: warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyc' found under directory 'docs'
staging: warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyo' found under directory 'docs'
staging: Downloading/unpacking py-bcrypt==0.3 (from -r /staging/staged/requirements.pip (line 3))
staging: Downloading py-bcrypt-0.3.tar.gz
staging: Running setup.py egg_info for package py-bcrypt
staging:
staging: Installing collected packages: MySQL-python, jinja2, py-bcrypt
staging: Running setup.py install for MySQL-python
staging: building '_mysql' extension
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Dversion_info=(1,2,3,'final',0) -D__version__=1.2.3 -I/usr/include/mysql -I/opt/ActivePython-2.7/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -DBIG_JOINS=1 -fno-strict-aliasing -g
staging: In file included from _mysql.c:36:0:
staging: /usr/include/mysql/my_config.h:422:0: warning: "HAVE_WCSCOLL" redefined [enabled by default]
staging: /opt/ActivePython-2.7/include/python2.7/pyconfig.h:887:0: note: this is the location of the previous definition
staging: gcc -pthread -shared build/temp.linux-x86_64-2.7/_mysql.o -L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lpthread -lz -lm -lrt -ldl -o build/lib.linux-x86_64-2.7/_mysql.so
staging:
staging: warning: no files found matching 'MANIFEST'
staging: warning: no files found matching 'ChangeLog'
staging: warning: no files found matching 'GPL'
staging: Running setup.py install for jinja2
staging:
staging: warning: no previously-included files matching '*' found under directory 'docs/_build'
staging: warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyc' found under directory 'docs'
staging: warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
staging: warning: no previously-included files matching '*.pyo' found under directory 'docs'
staging: Running setup.py install for py-bcrypt
staging: building 'bcrypt._bcrypt' extension
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/ActivePython-2.7/include/python2.7 -c bcrypt/bcrypt_python.c -o build/temp.linux-x86_64-2.7/bcrypt/bcrypt_python.o
staging: bcrypt/bcrypt_python.c: In function ‘bcrypt_encode_salt’:
staging: bcrypt/bcrypt_python.c:56:2: warning: pointer targets in passing argument 2 of ‘encode_salt’ differ in signedness [-Wpointer-sign]
staging: bcrypt/bcrypt_python.c:29:6: note: expected ‘u_int8_t *’ but argument is of type ‘char *’
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/ActivePython-2.7/include/python2.7 -c bcrypt/blowfish.c -o build/temp.linux-x86_64-2.7/bcrypt/blowfish.o
staging: gcc -pthread -fno-strict-aliasing -fPIC -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/ActivePython-2.7/include/python2.7 -c bcrypt/bcrypt.c -o build/temp.linux-x86_64-2.7/bcrypt/bcrypt.o
staging: gcc -pthread -shared build/temp.linux-x86_64-2.7/bcrypt/bcrypt_python.o build/temp.linux-x86_64-2.7/bcrypt/blowfish.o build/temp.linux-x86_64-2.7/bcrypt/bcrypt.o -o build/lib.linux-x86_64-2.7/bcrypt/_bcrypt.so
staging:
staging: Successfully installed MySQL-python jinja2 py-bcrypt
staging: Cleaning up...
staging: -----> python manage.py syncdb --noinput
staging: Traceback (most recent call last):
staging: File "manage.py", line 27, in <module>
staging: manage.main()
staging: File "/staging/staged/app/vendor/src/funfactory/funfactory/manage.py", line 143, in main
staging: execute_manager(current_settings)
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/__init__.py", line 459, in execute_manager
staging: utility.execute()
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/__init__.py", line 382, in execute
staging: self.fetch_command(subcommand).run_from_argv(self.argv)
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/base.py", line 196, in run_from_argv
staging: self.execute(*args, **options.__dict__)
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/base.py", line 231, in execute
staging: self.validate()
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/base.py", line 266, in validate
staging: num_errors = get_validation_errors(s, app)
staging: File "/staging/staged/app/vendor/lib/python/django/core/management/validation.py", line 103, in get_validation_errors
staging: connection.validation.validate_field(e, opts, f)
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/mysql/validation.py", line 14, in validate_field
staging: db_version = self.connection.get_server_version()
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/mysql/base.py", line 415, in get_server_version
staging: self.cursor().close()
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/__init__.py", line 319, in cursor
staging: cursor = util.CursorWrapper(self._cursor(), self)
staging: File "/staging/staged/app/vendor/lib/python/django/db/backends/mysql/base.py", line 387, in _cursor
staging: self.connection = Database.connect(**kwargs)
staging: File "/staging/staged/python/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
staging: return Connection(*args, **kwargs)
staging: File "/staging/staged/python/lib/python2.7/site-packages/MySQLdb/connections.py", line 187, in __init__
staging: super(Connection, self).__init__(*args, **kwargs2)
staging: _mysql_exceptions.OperationalError: (1130, "Host '10.22.93.33' is not allowed to connect to this MySQL server")
Server broke connection. ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment