dickylie

location

Dec 10th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: Traceback (most recent call last):
  2. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/job.py", line 309, in process_msg
  3. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_text_message(uid, msg)
  4. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 142, in handle_text_message
  5. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_normal_qn(uid, msg)
  6. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 482, in handle_normal_qn
  7. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_nlp_resp(uid, nlp_resp)
  8. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 534, in handle_nlp_resp
  9. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_best_match(uid, matched_questions[0])
  10. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 600, in handle_best_match
  11. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_nlp_question_obj(uid, nlp_mongo_id)
  12. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 630, in handle_nlp_question_obj
  13. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_nlp_answer(uid, answer, ask_feedback=ask_feedback)
  14. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 644, in handle_nlp_answer
  15. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: answer['flow']['params'] if ('params' in answer['flow'] and len(answer['flow']['params']) > 0) else None))
  16. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 196, in handle_postbacks
  17. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_flow(uid, flow_id, params=params, step=step, id=id)
  18. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/chatbot_manager.py", line 239, in handle_flow
  19. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: followup = globals()[function_name](uid)
  20. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/features/branch_manager.py", line 12, in send_schroders_address
  21. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: handle_branch_locations(uid, ['Singapore'])
  22. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/features/branch_manager.py", line 48, in handle_branch_locations
  23. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: display_branch_locations(uid, location_objs)
  24. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: File "/opt/app/schrodersv3/features/branch_manager.py", line 90, in display_branch_locations
  25. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: location_name = location_objs[0]['attributes']['country']['value'][language]
  26. Dec 11 11:44:04 ip-172-27-1-254 python[32625]: IndexError: list index out of range
Add Comment
Please, Sign In to add comment