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 98, in precommit_event raise ValueError("archive's data is not zip") ValueError: archive's data is not zip 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

comment

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 98, in precommit_event
raise ValueError("archive's data is not zip")
ValueError: archive's data is not zip

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

transition number0
record for