<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Trying to play rosbag with pyrealsense but get the error: Invalid file format, file does not [...] in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Trying-to-play-rosbag-with-pyrealsense-but-get-the-error-Invalid/m-p/1230346#M1564</link>
    <description>&lt;P&gt;Hello! I've recorded a rosbag using the intel realsense depth camera D455. I'm playing the rosbag in one terminal on loop and trying to initialize a pyrealsense2 pipeline but I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;RunTimeError: Failed to resolve request. Request to enable_device_from_file("testBag.bag") was invalid, Reason: Failed to create ros reader: Invalid file fromat, file does not contain topic "/file_version" nor "/FILE_VERSION"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a code snippit from where the error occours:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import rospy
import cv2
import pyrealsense2 as rs
from sensor_msg.msg import Image
from cv_bridge import CvBridge

def process_image(msg):
    pipeline = rs.pipeline()
    cfg = rs.config()
    cfg.enable_device_from_file("testBag.bag")
    profile = pipeline.start(cfg)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help I can get!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 20:39:23 GMT</pubDate>
    <dc:creator>zeidlizerik</dc:creator>
    <dc:date>2020-11-20T20:39:23Z</dc:date>
    <item>
      <title>Trying to play rosbag with pyrealsense but get the error: Invalid file format, file does not [...]</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Trying-to-play-rosbag-with-pyrealsense-but-get-the-error-Invalid/m-p/1230346#M1564</link>
      <description>&lt;P&gt;Hello! I've recorded a rosbag using the intel realsense depth camera D455. I'm playing the rosbag in one terminal on loop and trying to initialize a pyrealsense2 pipeline but I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;RunTimeError: Failed to resolve request. Request to enable_device_from_file("testBag.bag") was invalid, Reason: Failed to create ros reader: Invalid file fromat, file does not contain topic "/file_version" nor "/FILE_VERSION"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a code snippit from where the error occours:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import rospy
import cv2
import pyrealsense2 as rs
from sensor_msg.msg import Image
from cv_bridge import CvBridge

def process_image(msg):
    pipeline = rs.pipeline()
    cfg = rs.config()
    cfg.enable_device_from_file("testBag.bag")
    profile = pipeline.start(cfg)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help I can get!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 20:39:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Trying-to-play-rosbag-with-pyrealsense-but-get-the-error-Invalid/m-p/1230346#M1564</guid>
      <dc:creator>zeidlizerik</dc:creator>
      <dc:date>2020-11-20T20:39:23Z</dc:date>
    </item>
    <item>
      <title>Re:Trying to play rosbag with pyrealsense but get the error: Invalid file format, file does not [...]</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Trying-to-play-rosbag-with-pyrealsense-but-get-the-error-Invalid/m-p/1230673#M1565</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;This forum primarily support queries related to issues with intel distribution of python. RealSense queries are not supported here. Please submit RealSense queries here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.intelrealsense.com/hc/en-us/requests/new" rel="noopener noreferrer" target="_blank"&gt;https://support.intelrealsense.com/hc/en-us/requests/new&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We wouldn't be monitoring this thread further. Please feel free to raise a new thread in case of issues with Intel distribution of python.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Nov 2020 04:47:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Trying-to-play-rosbag-with-pyrealsense-but-get-the-error-Invalid/m-p/1230673#M1565</guid>
      <dc:creator>AthiraM_Intel</dc:creator>
      <dc:date>2020-11-23T04:47:44Z</dc:date>
    </item>
  </channel>
</rss>

