Closed sosswald closed 7 years ago
self.edges[sub][topic].keys() returns a list, while next() expects an iterator, which leads to a TypeError: list object is not an iterator exception. Fixed by converting key list to iterator first (this solution works both in Python 2 and 3).
Thank you for the patch. This is a regression from here: https://github.com/ros-visualization/rqt_common_plugins/pull/421/files#diff-21af4bb8c2f026faf20035854787c197R175
self.edges[sub][topic].keys() returns a list, while next() expects an iterator, which leads to a TypeError: list object is not an iterator exception. Fixed by converting key list to iterator first (this solution works both in Python 2 and 3).