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
[da24eb50-a015-438e-bfb2-5f47ac2175a3] 'numpy.int64' object has no attribute '__ex_id__'
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_pipeline_manager.py line 299
at <frozen runpy> line 226
at <frozen runpy> line 98
at <frozen runpy> line 88
at bug/gen_bla_rent line 4
at bug/gen_bla line 25 (mapped to 'bla.sds' line 5)
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_pipeline_manager.py line 436
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_memoization_map.py line 177
at C:\Users\Lars\AppData\Local\pypoetry\Cache\virtualenvs\safe-ds-runner-KD7s4J4Y-py3.12\Lib\site-packages\safeds\data\tabular\containers\_table.py line 1147
at bug/gen_bla line 18 (mapped to 'bla.sds' line 5)
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_pipeline_manager.py line 436
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_memoization_map.py line 181
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_memoization_utils.py line 432
at E:\Repositories\safe-ds\Runner\src\safeds_runner\server\_memoization_utils.py line 269
To Reproduce
Run this pipeline:
package bug
pipeline rent {
val houseRentData = Table({"Rent": [1,2]});
val test = houseRentData.filterRows((r) -> ((r.getValue("Rent") as Int)<300000));
}
Expected behavior
No error.
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered:
Closes#93
### Summary of Changes
* Treat `numpy` datatypes as primitive, so they don't get wrapped.
* Wrap the addition of the `__ex_id__` into a try-except block to catch
a potential attribute error.
Describe the bug
Running the pipeline below leads to the error
To Reproduce
Expected behavior
No error.
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered: