You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
ExternalCallFailedException Traceback (most recent call last)
/var/folders/90/frsch0qx4nb6qc5hzm_jrvvr0000gn/T/ipykernel_2346/3754138513.py in <module>
3 #x[1][1] = 0
4 x.assign_value(7)
----> 5 x.get_override_mask().get_value()
~/Git/pyquibbler/pyquibbler/quib/function_quibs/external_call_failed_exception_handling.py in _wrapper(*args, **kwargs)
86 except ExternalCallFailedException as e:
87 # We want to remove any context
---> 88 raise ExternalCallFailedException(exception=e.exception,
89 quibs_with_calls=e.quibs_with_calls,
90 tb=e.traceback) from None
ExternalCallFailedException: Failed to execute get_override_mask(QuibRef(quib=x = iquib(2)))
The following quibs were in the stack of the exception:
File "('/var/folders/90/frsch0qx4nb6qc5hzm_jrvvr0000gn/T/ipykernel_2346/3754138513.py', 5)", line None
get_override_mask(QuibRef(quib=x = iquib(2))) -> get_value()
File "('/var/folders/90/frsch0qx4nb6qc5hzm_jrvvr0000gn/T/ipykernel_2346/3754138513.py', 5)", line None
get_override_mask(QuibRef(quib=x = iquib(2))) -> get_shape()
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
/Users/roeekishony/.conda/envs/pyquibbler/lib/python3.9/site-packages/numpy/core/fromnumeric.py:1970:
VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences
(which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated.
If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
result = asarray(a).shape
---------------------------------------------------------------------------
ExternalCallFailedException Traceback (most recent call last)
/var/folders/90/frsch0qx4nb6qc5hzm_jrvvr0000gn/T/ipykernel_2346/756016232.py in <module>
2 x[1] = 0
3 x.assign_value(7)
----> 4 x.get_override_mask().get_value()
~/Git/pyquibbler/pyquibbler/quib/function_quibs/external_call_failed_exception_handling.py in _wrapper(*args, **kwargs)
86 except ExternalCallFailedException as e:
87 # We want to remove any context
---> 88 raise ExternalCallFailedException(exception=e.exception,
89 quibs_with_calls=e.quibs_with_calls,
90 tb=e.traceback) from None
ExternalCallFailedException: Failed to execute get_override_mask(QuibRef(quib=x = iquib([1, 2, 3])))
The following quibs were in the stack of the exception:
File "('/var/folders/90/frsch0qx4nb6qc5hzm_jrvvr0000gn/T/ipykernel_2346/756016232.py', 4)", line None
get_override_mask(QuibRef(quib=x = iquib([1, 2, 3]))) -> get_value()
File "('/var/folders/90/frsch0qx4nb6qc5hzm_jrvvr0000gn/T/ipykernel_2346/756016232.py', 4)", line None
get_override_mask(QuibRef(quib=x = iquib([1, 2, 3]))) -> get_shape()
TypeError: 'bool' object does not support item assignment
Several bugs in override_mask:
yields
The text was updated successfully, but these errors were encountered: