masasin / pyrosbag

Programmatically control ROS Bag files.
MIT License
13 stars 1 forks source link

No handlers could be found for logger "bag_player" #4

Open ribinmathew opened 6 years ago

ribinmathew commented 6 years ago

Traceback (most recent call last): File "/home/ribin/PycharmProjects/PointCloud/ros_pcl_integration.py", line 12, in files.play() File "/home/ribin/.local/lib/python2.7/site-packages/pyrosbag/pyrosbag.py", line 234, in play arguments.extend(self.filenames) TypeError: 'Bag' object is not iterable

getting this error while trying to play a bag file

callumtyler commented 6 years ago

I have also had this issue - see below:

No handlers could be found for logger "bag_player" Traceback (most recent call last): File "pyrosbag_test.py", line 7, in example.play() File "/usr/local/lib/python2.7/site-packages/pyrosbag/pyrosbag.py", line 262, in play stdin=stdin, stdout=stdout, stderr=stderr) File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory