Re: Nuancier, Python Fedora

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 05, 2019 at 05:33:48PM +0300, Benson Muite wrote:
> 
> 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-dev/tasks/main.yml
> > 
> > 
> > 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_add_submission_end_date.py

Good catch! I had checked the code of the core of the application not of the
alembic revisions.

Pierre
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux