You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested create project from backup for a 2D Annotation project succesfull
I tried to backup and restore a project for a Standard 3D annotation mode and the import of the backup failed.
I was able to export the backup without any issues.
Expected Behaviour
The project should be proberly recreated from the backup
Current Behaviour
After selecting the zipped backup and load it, an error is raised:
Could not restore the project
Error: Request failed with status code 500. "Exception: Invalid manifest was uploaded\n".
Possible Solution
Steps to Reproduce (for bugs)
Clone the repo and build the docker images from source from actual commit on develop branch (see commit hash bellow)
Create a demo project (just on label at this moment)
Create a new task for Standard 3D annotation with following demo sample structure (Task creation was succesfull and Pointcloud and context image are displayed correctly):
data/
im1/
im.pcd
imp.png
Add a single demo annotation.
Export Backup of the project
Delete the original demo project
Tried to import the backup to create the project again.
The import failed with following error message in the UI:
Could not restore the project
Error: Request failed with status code 500. "Exception: Invalid manifest was uploaded\n".
Context
Try to test the backup process befor starting larger projects.
My actions before raising this issue
I tried to backup and restore a project for a Standard 3D annotation mode and the import of the backup failed.
I was able to export the backup without any issues.
Expected Behaviour
The project should be proberly recreated from the backup
Current Behaviour
After selecting the zipped backup and load it, an error is raised:
Could not restore the project
Error: Request failed with status code 500. "Exception: Invalid manifest was uploaded\n".
Possible Solution
Steps to Reproduce (for bugs)
data/
im1/
im.pcd
imp.png
Could not restore the project
Error: Request failed with status code 500. "Exception: Invalid manifest was uploaded\n".
Context
Try to test the backup process befor starting larger projects.
Your Environment
Git hash commit (
git log -1
):commit f915385 (HEAD -> develop, origin/develop, origin/HEAD)
Author: AmitN1212 [email protected]
Date: Fri Dec 31 07:08:00 2021 +0200
Docker version
docker version
(e.g. Docker 17.0.05):Docker version 20.10.11, build dea9396
Are you using Docker Swarm or Kubernetes?
No
Operating System and version (e.g. Linux, Windows, MacOS):
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container
^[[36mcvat |^[[0m 2022-01-04 01:46:01,492 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m INFO - 2022-01-04 01:46:01,492 - worker - default: cvat.apps.engine.backup._import_project('/tmp/cvat_p7f_jegy', 2, 1) (User@/api/v1/projects/cfd57a53-9bab-4197-bf03-f27219c99a61/import)
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,492 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m DEBUG - 2022-01-04 01:46:01,492 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 480 seconds.
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,501 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m DEBUG - 2022-01-04 01:46:01,501 - worker - Sent heartbeat to prevent worker timeout. Next one should arrive within 90 seconds.
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,549 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m [2022-01-04 01:46:01,549] INFO cvat.server: create task #32
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,549 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m INFO - 2022-01-04 01:46:01,549 - task - create task #32
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,551 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m [2022-01-04 01:46:01,551] WARNING cvat.server: Skip 'index.json' file (its mime type doesn't correspond to supported MIME file type)
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,551 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m WARNING - 2022-01-04 01:46:01,551 - task - Skip 'index.json' file (its mime type doesn't correspond to supported MIME file type)
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,553 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m DEBUG - 2022-01-04 01:46:01,553 - worker - Handling failed execution of job user@/api/v1/projects/cfd57a53-9bab-4197-bf03-f27219c99a61/import
^[[36mcvat |^[[0m
^[[36mcvat |^[[0m 2022-01-04 01:46:01,555 DEBG 'rqworker_default_0' stderr output:
^[[36mcvat |^[[0m ERROR - 2022-01-04 01:46:01,555 - worker - Traceback (most recent call last):
^[[36mcvat |^[[0m File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
^[[36mcvat |^[[0m rv = job.perform()
^[[36mcvat |^[[0m File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
^[[36mcvat |^[[0m self._result = self._execute()
^[[36mcvat |^[[0m File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
^[[36mcvat |^[[0m return self.func(*self.args, **self.kwargs)
^[[36mcvat |^[[0m File "/usr/lib/python3.8/contextlib.py", line 75, in inner
^[[36mcvat |^[[0m return func(*args, **kwds)
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 652, in _import_project
^[[36mcvat |^[[0m db_project = project_importer.import_project()
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 644, in import_project
^[[36mcvat |^[[0m self._import_tasks()
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 634, in _import_tasks
^[[36mcvat |^[[0m TaskImporter(
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 527, in import_task
^[[36mcvat |^[[0m self._import_task()
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 510, in _import_task
^[[36mcvat |^[[0m _create_thread(self._db_task.pk, data.copy(), True)
^[[36mcvat |^[[0m File "/usr/lib/python3.8/contextlib.py", line 75, in inner
^[[36mcvat |^[[0m return func(*args, **kwds)
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/task.py", line 262, in _create_thread
^[[36mcvat |^[[0m manifest_file = _validate_manifest(manifest_files, manifest_root)
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/task.py", line 203, in _validate_manifest
^[[36mcvat |^[[0m raise Exception('Invalid manifest was uploaded')
^[[36mcvat |^[[0m Exception: Invalid manifest was uploaded
^[[36mcvat |^[[0m Traceback (most recent call last):
^[[36mcvat |^[[0m File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
^[[36mcvat |^[[0m rv = job.perform()
^[[36mcvat |^[[0m File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
^[[36mcvat |^[[0m self._result = self._execute()
^[[36mcvat |^[[0m File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
^[[36mcvat |^[[0m return self.func(*self.args, **self.kwargs)
^[[36mcvat |^[[0m File "/usr/lib/python3.8/contextlib.py", line 75, in inner
^[[36mcvat |^[[0m return func(*args, **kwds)
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 652, in _import_project
^[[36mcvat |^[[0m db_project = project_importer.import_project()
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 644, in import_project
^[[36mcvat |^[[0m self._import_tasks()
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 634, in _import_tasks
^[[36mcvat |^[[0m TaskImporter(
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 527, in import_task
^[[36mcvat |^[[0m self._import_task()
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/backup.py", line 510, in _import_task
^[[36mcvat |^[[0m _create_thread(self._db_task.pk, data.copy(), True)
^[[36mcvat |^[[0m File "/usr/lib/python3.8/contextlib.py", line 75, in inner
^[[36mcvat |^[[0m return func(*args, **kwds)
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/task.py", line 262, in _create_thread
^[[36mcvat |^[[0m manifest_file = _validate_manifest(manifest_files, manifest_root)
^[[36mcvat |^[[0m File "/home/django/cvat/apps/engine/task.py", line 203, in _validate_manifest
^[[36mcvat |^[[0m raise Exception('Invalid manifest was uploaded')
^[[36mcvat |^[[0m Exception: Invalid manifest was uploaded
Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: