You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposing to run: docker run -it --net hydra_net --ip 172.20.0.12 --env-file /home/giovanni/UoM/deployment/scripts/../config/d_hs_1/env.list --name docker-hs-run-1 -p 8180:8080 docker-hs
/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8;in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
""")8 2018-08-13 10:32:00,320 - INFO - Connecting to database: mysql+mysqlconnector://root:Hydra2018!@172.20.0.10/basinit_1/usr/local/lib/python3.6/site-packages/sqlalchemy/sql/base.py:528: SAWarning: Column 'name' on table <sqlalchemy.sql.selectable.Select at 0x7f83e13fcac8; Select object> being replaced by Column('name', String(length=60), table=<Select object>, nullable=False), which has the same key. Consider use_labels for select() statements. (key, getattr(existing, 'table', None), value))Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/mysql/connector/connection_cext.py", line 377, in cmd_query raw_as_string=raw_as_string)_mysql_connector.MySQLInterfaceError: Cannot add or update a child row: a foreign key constraint fails (`basinit_1`.`tProject`, CONSTRAINT `tProject_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `tUser` (`id`))During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context context) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 508, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.6/site-packages/mysql/connector/cursor_cext.py", line 264, in execute raw_as_string=self._raw_as_string) File "/usr/local/lib/python3.6/site-packages/mysql/connector/connection_cext.py", line 380, in cmd_query sqlstate=exc.sqlstate)mysql.connector.errors.IntegrityError: 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`basinit_1`.`tProject`, CONSTRAINT `tProject_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `tUser` (`id`))The above exception was the direct cause of the following exception:Traceback (most recent call last): File "run_server.py", line 19, in <module> from hydra_server import s File "/app/hydra_server/__init__.py", line 277, in <module> s = HydraServer() File "/app/hydra_server/__init__.py", line 197, in __init__ hdb.create_default_net() File "/app/hydra-base/hydra_base/util/hdb.py", line 154, in create_default_net db.DBSession.flush() File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/scoping.py", line 153, in do return getattr(self.registry(), name)(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2254, in flush self._flush(objects) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2380, in _flush transaction.rollback(_capture_exception=True) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 187, in reraise raise value File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/session.py", line 2344, in _flush flush_context.execute() File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py", line 391, in execute rec.execute(self) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/unitofwork.py", line 556, in execute uow File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py", line 181, in save_obj mapper, table, insert) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/orm/persistence.py", line 866, in _emit_insert_statements execute(statement, params) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 948, in execute return meth(self, multiparams, params) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 269, in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1060, in _execute_clauseelement compiled_sql, distilled_params File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1200, in _execute_context context) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1413, in _handle_dbapi_exception exc_info File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise raise value.with_traceback(tb) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context context) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 508, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.6/site-packages/mysql/connector/cursor_cext.py", line 264, in execute raw_as_string=self._raw_as_string) File "/usr/local/lib/python3.6/site-packages/mysql/connector/connection_cext.py", line 380, in cmd_query sqlstate=exc.sqlstate)sqlalchemy.exc.IntegrityError: (mysql.connector.errors.IntegrityError) 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`basinit_1`.`tProject`, CONSTRAINT `tProject_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `tUser` (`id`)) [SQL: 'INSERT INTO `tProject` (name, description, created_by) VALUES (%(name)s, %(description)s, %(created_by)s)'] [parameters: {'name': 'Project network', 'description': None, 'created_by': 1}] (Background on this error at: http://sqlalche.me/e/gkpj)-- DONE ---
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: