Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • beat.core beat.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • beatbeat
  • beat.corebeat.core
  • Issues
  • #100
Closed
Open
Issue created Jul 14, 2020 by Amir MOHAMMADI@amohammadiMaintainer0 of 1 checklist item completed0/1 checklist item

Follow-up from "[livdet-iris-2020] Fix category type in view"

The following discussion from beat.examples!25 (merged) should be addressed:

  • @amohammadi started a discussion: (+3 comments)

    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.

Assignee
Assign to
Time tracking