On 10/5/19 11:09 AM, Benson Muite wrote:
Thanks. Am updating deployment Ansible:
https://github.com/bkmgit/nuancier/blob/master/Vagrantfile.example
https://github.com/bkmgit/nuancier/blob/master/devel/ansible/roles/nuancier-...
When running Vagrant up, seem to get stuck at the following point:
TASK [nuancier-dev : Stamp the database with its current migration]
File "/home/vagrant/devel/alembic/versions/7db0e24a2a85_add_submission_end_date.py", line 32", " print 'ERROR', err", " ^", "SyntaxError: Missing parentheses in call to 'print'. Did you mean print('ERROR', err)?", "usage: alembic stamp [-h] [--sql] [--tag TAG] [--purge]", " revisions [revisions ...]", "alembic stamp: error: the following arguments are required: revisions"], "stdout": "", "stdout_lines": []}
PLAY RECAP
nuancier : ok=12 changed=11 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.
Fixed error by changing print statement in
https://github.com/bkmgit/nuancier/blob/master/alembic/versions/7db0e24a2a85...