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
Since Search Index status response format change, the jenkins job for build search index will failed with error:
Traceback (most recent call last):
File "/commerce-devops-utilities/scripts/commerce/triggerBuildIndex.py", line 50, in
if int(status) == 0:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'
This issue will happen on 9.0.1.x
The fix is to change the scripts in wc-devops-utilities/scripts/commerce/triggerBuildIndex.py at line 47
Since Search Index status response format change, the jenkins job for build search index will failed with error:
Traceback (most recent call last):
File "/commerce-devops-utilities/scripts/commerce/triggerBuildIndex.py", line 50, in
if int(status) == 0:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'dict'
This issue will happen on 9.0.1.x
The fix is to change the scripts in wc-devops-utilities/scripts/commerce/triggerBuildIndex.py at line 47
from
status = progress['status']
to
status = progress['status']['status']