We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TierkreisTypeErrors.from_proto
I am getting an ambiguous exception that I can't debug as the error doesn't seem to be raised correctly:
File "/home/ollie/.cache/uv/archive-v0/MbK5gYvNMjb9UnXJZVp_t/lib/python3.10/site-packages/tierkreis/client/server_client.py", line 130, in run_graph raise TierkreisTypeErrors.from_proto(status_value, graph) tierkreis.core.type_errors.TierkreisTypeErrors: <exception str() failed>
I don't currently have a minimal example, but status_value in
status_value
tierkreis/python/tierkreis/client/server_client.py
Line 129 in edfe95d
tierkreis.core.protos.tierkreis.v1alpha1.signature.TypeErrors
TypeErrors(errors=[TierkreisTypeError(variant=ErrorVariant(unify=UnifyError(expected=Type(graph=GraphType(inputs=RowType(content={'a': Type(flt=Empty()), 'b': Type(flt=Empty())}), outputs=RowType(content={'value': Type(flt=Empty())}))), found=Type(graph=GraphType(inputs=RowType(content={'b': Type(flt=Empty()), 'a': Type(flt=Empty())}), outputs=RowType(content={'value': Type(vec=Type(flt=Empty()))}, rest='var659'))))), location=[GraphLocation(node_idx=5), GraphLocation(node_idx=42)]), TierkreisTypeError(variant=ErrorVariant(unify=UnifyError(expected=Type(graph=GraphType(inputs=RowType(content={'value': Type(var='var202')}), outputs=RowType(content={'value_0': Type(var='var202'), 'value_1': Type(var='var202')}))), found=Type(graph=GraphType(inputs=RowType(content={'value': Type(vec=Type(flt=Empty()))}), outputs=RowType(content={'value_0': Type(vec=Type(flt=Empty())), 'value_1': Type(flt=Empty())}, rest='var199'))))), location=[GraphLocation(node_idx=5), GraphLocation(node_idx=7)]), TierkreisTypeError(variant=ErrorVariant(unify=UnifyError(expected=Type(graph=GraphType(inputs=RowType(content={'circ': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper')), 'params': Type(vec=Type(flt=Empty())), 'symbs': Type(vec=Type(str=Empty()))}), outputs=RowType(content={'value': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper'))}))), found=Type(graph=GraphType(inputs=RowType(content={'circ': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper')), 'symbs': Type(vec=Type(str=Empty())), 'params': Type(flt=Empty())}), outputs=RowType(content={'value': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper'))}, rest='var513'))))), location=[GraphLocation(node_idx=5), GraphLocation(node_idx=31)]), TierkreisTypeError(variant=ErrorVariant(unify=UnifyError(expected=Type(graph=GraphType(inputs=RowType(content={'circ': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper')), 'symbs': Type(vec=Type(str=Empty())), 'params': Type(vec=Type(flt=Empty()))}), outputs=RowType(content={'value': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper'))}))), found=Type(graph=GraphType(inputs=RowType(content={'symbs': Type(vec=Type(str=Empty())), 'circ': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper')), 'params': Type(flt=Empty())}), outputs=RowType(content={'value': Type(struct=StructType(shape=RowType(content={'__tk_opaque_circuit_wrapper': Type(str=Empty())}), name='CircuitWrapper'))}, rest='var367'))))), location=[GraphLocation(node_idx=5), GraphLocation(node_idx=20)])])
Let me know if this isn't enough to debug and I can see if I can reproduce it minimally
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting an ambiguous exception that I can't debug as the error doesn't seem to be raised correctly:
I don't currently have a minimal example, but
status_value
intierkreis/python/tierkreis/client/server_client.py
Line 129 in edfe95d
is of type
tierkreis.core.protos.tierkreis.v1alpha1.signature.TypeErrors
and has valueLet me know if this isn't enough to debug and I can see if I can reproduce it minimally
The text was updated successfully, but these errors were encountered: