unset title
>
Celery tasks
>
upload_archive
>
Traceback (most recent call last): File "/src/cubicweb_antony/tasks.py", line ...
> copy
login
login
password
log in
cancel
search
actions - transition information
copy
Transition information (copy)
main informations
validating...
by transition
activate (activate)
activate (activate)
deactivate (deactivate)
deactivate (deactivate)
enqueue (enqueue)
enqueue (enqueue)
fail (fail)
fail (fail)
finish (finish)
finish (finish)
start (start)
start (start)
comment
ReST text
html
markdown formatted text
plain text
Traceback (most recent call last): File "/src/cubicweb_antony/tasks.py", line 83, in upload_archive cnx.commit() File "/home/cubicweb/venv/lib/python3.11/site-packages/cubicweb/server/session.py", line 156, in check_open return func(cnx, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/cubicweb/venv/lib/python3.11/site-packages/cubicweb/server/session.py", line 734, in commit operation.handle_event("precommit_event") File "/home/cubicweb/venv/lib/python3.11/site-packages/cubicweb/server/hook.py", line 824, in handle_event getattr(self, event)() File "/src/cubicweb_antony/hooks.py", line 90, in precommit_event raise ValueError("archive's data is set empty") ValueError: archive's data is set empty During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/cubicweb/venv/lib/python3.11/site-packages/celery/app/trace.py", line 453, in trace_task R = retval = fun(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^ File "/home/cubicweb/venv/lib/python3.11/site-packages/celery/app/trace.py", line 736, in __protected_call__ return self.run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/src/cubicweb_antony/tasks.py", line 107, in upload_archive clean_s3(file_id) File "/src/cubicweb_antony/utils.py", line 42, in clean_s3 Delete={"Objects": [{"Key": o.get("Key")} for o in obj.get("Contents")]}, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' object is not iterable
validate
apply
cancel