You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raises errors trying to serialize bytes from comments.
[WARNING]: Failure using method (v2_playbook_on_play_start) in callback plugin (</home/naz/eNovance/git/DCI/dci-
ansible/callback/dci.CallbackModule object at 0x7f85e48f8a58>): b'success' is not JSON serializable
Which is fixed by the following:
--- a/callback/dci.py
+++ b/callback/dci.py
@@ -178,7 +178,7 @@ class CallbackModule(CallbackBase):
# If no name has been specified to the play, play.name is equal
# to the hosts value
elif play.name and play.name not in play.hosts:
- comment = play.name.encode('UTF-8')
+ comment = play.name #play.name.encode('UTF-8')
else:
comment = ''
Also throws a bunch of exceptions after running:
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f0eb5f15268>
Traceback (most recent call last):
File "/home/naz/.virtualenvs/dci/lib64/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
The text was updated successfully, but these errors were encountered:
Raises errors trying to serialize bytes from comments.
Which is fixed by the following:
Also throws a bunch of exceptions after running:
The text was updated successfully, but these errors were encountered: