Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
beat.core
beat.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • beat
  • beat.corebeat.core
  • Issues
  • #100

Closed
Open
Opened Jul 14, 2020 by Amir MOHAMMADI@amohammadi0 of 1 task completed0/1 task
  • Report abuse
  • New issue
Report abuse New issue

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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: beat/beat.core#100