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

hashsum error #360

Open
dtenenba opened this issue Oct 20, 2020 · 0 comments
Open

hashsum error #360

dtenenba opened this issue Oct 20, 2020 · 0 comments

Comments

@dtenenba
Copy link
Contributor

Happened to see this in the celery log:

[2020-10-20 09:06:00,309: ERROR/ForkPoolWorker-16] list modified during sort
Traceback (most recent call last):
  File "/app/src/backend/api/tasks/celery_tasks.py", line 124, in hashsum_job
    result_src = _hashsum_job_single(self, hashsum_job, side='src', start_time=start_time)
  File "/app/src/backend/api/tasks/celery_tasks.py", line 245, in _hashsum_job_single
    f'progress_{side}_tree': get_hashsum_tree(),
  File "/app/src/backend/api/tasks/celery_tasks.py", line 225, in get_hashsum_tree
    tree = generate_file_tree(files)
  File "/app/src/backend/api/utils/file_utils.py", line 24, in generate_file_tree
    data.sort(key=lambda d: d["Name"])
ValueError: list modified during sort
[2020-10-20 09:06:00,388: INFO/ForkPoolWorker-16] Task motuz.api.tasks.hashsum_job[477] succeeded in 530.8646520916373s: {'error_text': 'list modified during sort'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Motuz Milestone 3
  
Backlog
Development

No branches or pull requests

1 participant