Project

General

Profile

Actions

Bug #1112

closed

VariantField: ValueError: Invalid tag provided.

Added by Costin Zanfir almost 7 years ago. Updated about 4 years ago.

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

writer2.py (1.84 KB) writer2.py Costin Zanfir, 05/23/2017 09:24 AM
Actions #1

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.

Actions

Also available in: Atom PDF