Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: too many values to unpack #721

Closed
rozetko opened this issue Jul 22, 2019 · 0 comments · Fixed by #725
Closed

Error: too many values to unpack #721

rozetko opened this issue Jul 22, 2019 · 0 comments · Fixed by #725
Labels
Milestone

Comments

@rozetko
Copy link
Member

@rozetko rozetko commented Jul 22, 2019

Steps to reproduce

  • create anomaly analytic unit
  • enable seasonality
  • label something
  • Apply

Logs

2019-07-22 12:02:05,989 [Analytics] [ERROR]  handle_analytic_task Exception: 'Traceback (most recent call last):
  File "bin/../analytics/analytic_unit_manager.py", line 86, in handle_analytic_task
    result_payload = await self.__handle_analytic_task(task)
  File "bin/../analytics/analytic_unit_manager.py", line 77, in __handle_analytic_task
    return await worker.do_detect(data, payload['cache'])
  File "bin/../analytics/analytic_unit_worker.py", line 66, in do_detect
    detected: DetectionResult = self._detector.detect(chunk_dataframe, cache)
  File "bin/../analytics/detectors/anomaly_detector.py", line 114, in detect
    bound_data, comparator = bound_data
ValueError: too many values to unpack (expected 2)
'
@rozetko rozetko added this to the 0.4.0 milestone Jul 22, 2019
@rozetko rozetko changed the title Anomaly detector with seasonality error: too many values to unpack Anomaly detector with seasonality: "Error: too many values to unpack" Jul 22, 2019
@rozetko rozetko changed the title Anomaly detector with seasonality: "Error: too many values to unpack" Error: too many values to unpack Jul 22, 2019
@rozetko rozetko closed this in #725 Jul 25, 2019
rozetko added a commit that referenced this issue Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.