Actions
Bug #1112
closedVariantField: ValueError: Invalid tag provided.
Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/23/2017
Due date:
% Done:
0%
Estimated time:
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
Actions