Hi team, I’m having ValueError: badly formed hexadecimal UUID string trying to log previously saved dataset back to the phoenix. Script I’m using:
trace_dataset = px.TraceDataset.load('trace_dataset-a14b4e4d-2338-41e5-abdd-b0eab5f9733b', directory=directory)
px.Client(endpoint="http://localhost:6006").log_traces(trace_dataset)
Trace dataset is attached.
Thanks for flagging, taking a look.
Thank you. The traceback is:
trace_dataset = px.TraceDataset.load('trace_dataset-a14b4e4d-2338-41e5-abdd-b0eab5f9733b', directory=directory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/gsolovev/PycharmProjects/bsci/venv/lib/python3.11/site-packages/phoenix/trace/trace_dataset.py", line 281, in load
id = UUID(id)
^^^^^^^^
File "/Users/gsolovev/PycharmProjects/bsci/bazel-bin/tools/virtualenv.runfiles/rules_python~0.28.0~python~python_3_11_x86_64-apple-darwin/lib/python3.11/uuid.py", line 178, in __init__
raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID stringHey Gregory S., can you pass in just the UUID instead of the name including trace_dataset? So
trace_dataset = px.TraceDataset.load('a14b4e4d-2338-41e5-abdd-b0eab5f9733b', directory=directory)
px.Client(endpoint="http://localhost:6006").log_traces(trace_dataset)
That was the case. Sorry for overlooking it.
No worries, thanks for flagging.
