Skip to content

AttributeError: 'UUID' object has no attribute 'encode' #3921

@sentry

Description

@sentry

Sentry Issue: STUDIO-FYJ

AttributeError: 'UUID' object has no attribute 'encode'
(5 additional frame(s) were not displayed)
...
  File "django_celery_results/managers.py", line 43, in _inner
    return fun(*args, **kwargs)
  File "django_celery_results/managers.py", line 173, in store_result
    obj.save(using=using)
  File "contentcuration/models.py", line 2481, in save
    self.set_signature()
  File "contentcuration/models.py", line 2475, in set_signature
    self.signature = generate_task_signature(self.task_name, task_kwargs=self.task_kwargs, channel_id=self.channel_id)
  File "contentcuration/utils/celery/tasks.py", line 88, in generate_task_signature
    md5.update((channel_id or '').encode('utf-8'))

Pool callback raised exception: "AttributeError(\"'UUID' object has no attribute 'encode'\")"

Metadata

Metadata

Assignees

Labels

P0 - criticalPriority: Release blocker or regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions