map is not evaluated in task_executive.py, which cause the error in python3.
this PR use list instead of map for python3
[rosout][ERROR] 2023-03-26 00:07:22,324: bad callback: <bound method TaskExecutive.dialog_cb of <__main__.TaskExecutive object at 0x7f34b97ad820>>
Traceback (most recent call last):
File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/applications/ros/noetic/src/jsk-ros-pkg/jsk_3rdparty/dialogflow_task_executive/node_scripts/task_executive.py", line 190, in dialog_cb
if not self.is_idle:
File "/home/applications/ros/noetic/src/jsk-ros-pkg/jsk_3rdparty/dialogflow_task_executive/node_scripts/task_executive.py", line 183, in is_idle
return len(self.app_manager.running_apps) == 0
TypeError: object of type 'map' has no len()
map
is not evaluated intask_executive.py
, which cause the error in python3. this PR uselist
instead ofmap
for python3