Advertisement
Guest User

Untitled

a guest
Jan 16th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. [2019-01-16 18:33:36,277: ERROR/ForkPoolWorker-1] Task conversation.tasks.send_messages[21459147-504a-4330-8a5f-7944d81cfcc8] raised unexpected: ValueError("The 'filepath' attribute has no file associated with it.",)
  2. Traceback (most recent call last):
  3. File "/opt/chatme/.venv/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task
  4. R = retval = fun(*args, **kwargs)
  5. File "/opt/chatme/.venv/lib/python3.6/site-packages/celery/app/trace.py", line 641, in __protected_call__
  6. return self.run(*args, **kwargs)
  7. File "./chatme/conversation/tasks.py", line 26, in send_messages
  8. File "chatme/conversation/task_logic.py", line 38, in chatme.conversation.task_logic.send_messages
  9. File "chatme/conversation/task_logic.py", line 60, in chatme.conversation.task_logic._send_messages
  10. File "./chatme/scheduler/models.py", line 44, in get_file_url
  11. File "/opt/chatme/.venv/lib/python3.6/site-packages/django/db/models/fields/files.py", line 61, in url
  12. self._require_file()
  13. File "/opt/chatme/.venv/lib/python3.6/site-packages/django/db/models/fields/files.py", line 38, in _require_file
  14. raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)
  15. ValueError: The 'filepath' attribute has no file associated with it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement