openshiftio / openshift.io

Red Hat OpenShift.io is an end-to-end development environment for planning, building and deploying modern applications.
https://openshift.io
97 stars 66 forks source link

ValueError: need more than 1 value to unpack #4440

Open msrb opened 6 years ago

msrb commented 6 years ago

From sentry: https://errortracking.prod-preview.openshift.io/openshift_io/fabric8-analytics-production/issues/6899/

ValueError: need more than 1 value to unpack
  File "celery/app/trace.py", line 375, in trace_task
    R = retval = fun(*args, **kwargs)
  File "celery/app/trace.py", line 632, in __protected_call__
    return self.run(*args, **kwargs)
  File "selinon/task_envelope.py", line 169, in run
    raise self.retry(max_retries=0, exc=exc)
  File "celery/app/task.py", line 668, in retry
    raise_with_context(exc)
  File "selinon/task_envelope.py", line 114, in run
    result = task.run(node_args)
  File "f8a_worker/base.py", line 106, in run
    raise exc
  File "f8a_worker/base.py", line 81, in run
    result = self.execute(node_args)
  File "f8a_worker/workers/dependency_parser.py", line 34, in execute
    github_repo=github_repo, github_sha=github_sha))
  File "f8a_worker/workers/dependency_parser.py", line 86, in extract_dependencies
    return GithubDependencyTreeTask.get_python_dependencies(repo.repo_path)
  File "f8a_worker/workers/dependency_parser.py", line 266, in get_python_dependencies
    name, version = dependency.split("==")
abs51295 commented 6 years ago

This is because of https://github.com/openshiftio/openshift.io/issues/4424#issuecomment-430581978.