Follow-up from "[livdet-iris-2020] Fix category type in view"
The following discussion from beat.examples!25 (merged) should be addressed:
btw the error for this was like this:
$ beat exp run amohammadi/amohammadi/livdet/1/livedet Skipping execution of `amohammadi/livdet_baseline/1' for block `algorithm' - outputs exist Running `amohammadi/livdet_analyzer/1' for block `analyzer' Start the execution of 'amohammadi/livdet_analyzer/1' Block did not execute properly - outputs were reset Standard output: Standard error: Captured user error: File "/home/amir/miniconda/envs/iris/lib/python3.7/site-packages/beat/backend/python/baseformat.py", line 115, in setup_scalar % (attrname, formatname, numpy.array(value).dtype, dtype) TypeError: cannot safely cast attribute `value' on dataformat `system/integer/1' with type `int64' to `int32' without precision loss Captured system error: Error: Error occured: returned value is 1 Removing cache files: No data written
which was very hard to debug.
The problem here is that the backtrace error I was getting was not telling me this error was in the view and not in my analyzer (the step I was on when hitting this error). So, I kept looking at my analyzer and thinking why I get this error while the error was in the view.