Also, I'm on Mac OS 10.11.3 running Python 2.7.10.

On Thursday, January 21, 2016 at 10:28:23 AM UTC-5, Victor Keenan 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/5de6a6df-4f46-4909-9baf-af3fa87a99ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to