<div dir="ltr"><div><div><div><div><div>Hello All,<br><br></div>I am running into this problem where using babeltrace with python bindings is unable to read a <span class="" style="" id=":3iy.1" tabindex="-1">ust</span> trace even though the trace can be processed normally if I run <span class="" style="" id=":3iy.2" tabindex="-1">babeltrace</span> from the command line.<br><br></div>I have tried the example given in the <span class="" style="" id=":3iy.3" tabindex="-1">LTTng</span> documentation for using <span class="" style="" id=":3iy.4" tabindex="-1">babeltrace</span> with python bindings. It works normally with a kernel trace. However, when I give it a <span class="" style="" id=":3iy.5" tabindex="-1">ust</span> trace (just to see if it can open it) I get the following error:<br><br>Unable to open <span class="" style="" id=":3iy.6" tabindex="-1">metadata</span>.<br>[warning] Unable to open trace <span class="" style="" id=":3iy.7" tabindex="-1">metadata</span> for path "/md1200/home/elsayed9/<span class="" style="" id=":3iy.8" tabindex="-1">LTTng</span>/<span class="" style="" id=":3iy.9" tabindex="-1">lttng</span>-traces/hello-test-session-20180219-184952/<span class="" style="" id=":3iy.10" tabindex="-1">ust</span>/".<br>[warning] [Context] Cannot open_trace of format <span class="" style="" id=":3iy.11" tabindex="-1">ctf</span> at path /md1200/home/elsayed9/<span class="" style="" id=":3iy.12" tabindex="-1">LTTng</span>/<span class="" style="" id=":3iy.13" tabindex="-1">lttng</span>-traces/hello-test-session-20180219-184952/<span class="" style="" id=":3iy.14" tabindex="-1">ust</span>/.<br><span class="" style="" id=":3iy.15" tabindex="-1">Traceback</span> (most recent call last):<br>  File "test.<span class="" style="" id=":3iy.16" tabindex="-1">py</span>", line 70, in <module><br>    <span class="" style="" id=":3iy.17" tabindex="-1">sys</span>.exit(0 if top5proc() else 1)<br>  File "test.<span class="" style="" id=":3iy.18" tabindex="-1">py</span>", line 18, in top5proc<br>    raise <span class="" style="" id=":3iy.19" tabindex="-1">RuntimeError</span>('Cannot add trace')<br><span class="" style="" id=":3iy.20" tabindex="-1">RuntimeError</span>: Cannot add trace<br><br></div>Any ideas on how to solve this problem are greatly appreciated.<br><br></div>Thanks,<br></div><span class="" style="" id=":3iy.21" tabindex="-1">Shehab</span><br></div>