Bug #1112
closedVariantField: ValueError: Invalid tag provided.
0%
Description
Hi,
I'm trying to run one of the examples from http://diamon.org/babeltrace/docs/python/examples/#variant-fields with:
Ubuntu 16.04
babeltrace 1.5.2
Python 3.5.2
The code is basically the same as the one from the variant field example.
But, unfortunately I get an Exception.
{code}
==> 0 (<babeltrace.CTFWriter.EnumerationField object at 0x7fadf2eeb160>)
Traceback (most recent call last):
File "./writer2.py", line 53, in <module>
event.payload('var').field(tag_field).value = 23
File "/usr/local/lib/python3.5/dist-packages/babeltrace.py", line 2221, in field
raise ValueError("Invalid tag provided.")
ValueError: Invalid tag provided.
{code}
Thank you
Files
Updated by Jonathan Rajotte Julien about 4 years ago
- Status changed from New to Invalid
The state of babeltrace changed a lot.
Closing as invalid. If this still applies to Babeltrace 2, please create a new issue.