Thanks for the detailed bug report, William. That really saves us time.
When playing around with the ccny's Augmented Reality demos I viewed one of their provided bag files in rxbag and I received this exception:Error loading image on topic /usb_cam/image_raw: buffer is not long enoughException in thread Thread-1:Traceback (most recent call last):File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_innerself.run()File "/opt/ros/cturtle/ros/tools/rxbag/src/rxbag/timeline_cache.py", line 95, in runmsg_stamp, item = self.loader(topic, stamp, item_details)File "/opt/ros/cturtle/stacks/visualization/rxbag_plugins/src/rxbag_plugins/image_timeline_renderer.py", line 177, in _load_thumbnailthumbnail_bitmap = image_helper.pil_to_cairo(thumbnail)File "/opt/ros/cturtle/stacks/visualization/rxbag_plugins/src/rxbag_plugins/image_helper.py", line 117, in pil_to_cairoreturn cairo.ImageSurface.create_for_data(data, cairo.FORMAT_ARGB32, w, h)TypeError: buffer is not long enoughIt seems to me that problem is to do with how the images are being loaded into cairo, or are a limitation of cario.My system:Guest Ubuntu Lucid Lynx 10.04 on a Host OS X Laptop:CTurtle binary install 1.2.xlibcairo2-dev version 1.8.10-2ubuntu1Steps to reproduce:1. Get the bag files for the ccny ar_pose demo, instructions: http://www.ros.org/wiki/ar_pose2. roscd ar_pose/demo3. rxbag usb_cam_topics_ar_multi.bag4. Enable thumbnailsOr5. View the "Image" of an Image topic6. The images will not appear and the exception will be in the terminal where rxbag was launched from.If I need to create a ticket for this let me know and I will.Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Woodall
Graduate Software Engineering
Auburn University
w@auburn.edu
wjwwood@gmail.com
256-345-9938
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users