fixed via 
http://github.com/ansible/ansible/commit/f26adcc7da7f8e6605167203249648f7b0e74fb7

On Thu, Jan 21, 2016 at 10:28 AM, Victor Keenan <[email protected]> wrote:
> Thanks Brian for the help! I'm using ansible 2.1.0 (devel 5e18bc5955). My
> -vvvv output is...
>
> Unexpected Exception: integer division or modulo by zero
> the full traceback was:
>
>
> Traceback (most recent call last):
>   File "/Users/VictorSK/ansible/bin/ansible-vault", line 85, in <module>
>     sys.exit(cli.run())
>   File "/Users/VictorSK/ansible/lib/ansible/cli/vault.py", line 119, in run
>     self.execute()
>   File "/Users/VictorSK/ansible/lib/ansible/cli/__init__.py", line 99, in
> execute
>     fn()
>   File "/Users/VictorSK/ansible/lib/ansible/cli/vault.py", line 151, in
> execute_create
>     self.editor.create_file(self.args[0])
>   File "/Users/VictorSK/ansible/lib/ansible/parsing/vault/__init__.py", line
> 341, in create_file
>     self._edit_file_helper(filename)
>   File "/Users/VictorSK/ansible/lib/ansible/parsing/vault/__init__.py", line
> 298, in _edit_file_helper
>     self._shred_file(tmp_path)
>   File "/Users/VictorSK/ansible/lib/ansible/parsing/vault/__init__.py", line
> 281, in _shred_file
>     self._shred_file_custom(tmp_path)
>   File "/Users/VictorSK/ansible/lib/ansible/parsing/vault/__init__.py", line
> 248, in _shred_file_custom
>     for _ in range(0, file_len // chunk_len):
> ZeroDivisionError: integer division or modulo by zero
>
>
> On Thursday, January 21, 2016 at 10:06:40 AM UTC-5, Brian Coca wrote:
>>
>> what version are you using? there was a bug that caused this but it
>> has been fixed. Also output with -vvvv would be helfpul
>>
>>
>>
>>
>> --
>> Brian Coca
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/d48e57ba-1415-413e-93a1-f4b8b348d3e3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3D-3L8_3tzMHcCReoSwcmS0-xY%2BJ0LvL%3DDXPSWN-A79yQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to