ContextLab / brainfit-task

a package for acquiring fitness tracker (Fitbit) and cognitive task (JsPsych) data on the Amazon Mechanical Turk platform
2 stars 0 forks source link

Remove MySQL warning printout #27

Open gmnotaro opened 6 years ago

gmnotaro commented 6 years ago

Since we need to use an older version of MySQL (v5.7) for compatibility with this experiment, we get an annoying message popup when first starting the PsiTurk experiment server (it doesnt effect the functionality and is more of a nuisance than anything...)

/usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py:2014: Warning: '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead cursor.execute('SELECT @@tx_isolation') /usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py:2014: Warning: '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead cursor.execute('SELECT @@tx_isolation') /usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py:2014: Warning: '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead cursor.execute('SELECT @@tx_isolation') /usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py:2014: Warning: '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead cursor.execute('SELECT @@tx_isolation') /usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py:2014: Warning: '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead cursor.execute('SELECT @@tx_isolation')