swh:1:snp:973504f75325e1c705c39106a2685791af62e9e3
Revision f7fd06c658b40372fbe8586a71b7d412f564bfd7 authored by Maria Khrustaleva on 02 June 2023, 08:54:07 UTC, committed by GitHub on 02 June 2023, 08:54:07 UTC
Fixed:
- wrong location of tmp file when importing job annotations
- ```Traceback (most recent call last):
File
"/home/maya/Documents/cvat/.env/lib/python3.8/site-packages/rq/worker.py",
line 795, in work
      self.execute_job(job, queue)
File "/home/maya/Documents/cvat/cvat/rqworker.py", line 37, in
execute_job
      return self.perform_job(*args, **kwargs)
File
"/home/maya/Documents/cvat/.env/lib/python3.8/site-packages/rq/worker.py",
line 1389, in perform_job
      self.handle_exception(job, *exc_info)
File
"/home/maya/Documents/cvat/.env/lib/python3.8/site-packages/rq/worker.py",
line 1438, in handle_exception
      fallthrough = handler(job, *exc_info)
File "/home/maya/Documents/cvat/cvat/apps/engine/views.py", line 2233,
in rq_exception_handler
      rq_job.exc_info = "".join(
  AttributeError: can't set attribute
  ```

Resolves https://github.com/opencv/cvat/issues/5773
Resolves https://github.com/opencv/cvat/issues/5563

- root causes of the issues: 
  - the annotation file was uploaded to the server by tus protocol and
rq job was created but no one next requests for checking status were not
made. (e.g. user closed the browser tab)
  - the annotation file was uploaded to the server by tus protocol but
rq job has not yet been created (e.g cvat instance restarted)
  - tasks/projects creation from backups with the same name at the
same time by different users

Co-authored-by: Roman Donchenko <roman@cvat.ai>
Co-authored-by: Maxim Zhiltsov <zhiltsov.max35@gmail.com>
1 parent 2584b96
History
Tip revision: c5d8a16c880017993557d86f203630f6eadfcd3c authored by Yeek Sheng on 19 April 2024, 12:10:45 UTC
[GSoC2024] Fix import of outside track shapes in Datumaro-based formats (#7669)
Tip revision: c5d8a16
File Mode Size
.github
.vscode
components
cvat
cvat-canvas
cvat-canvas3d
cvat-cli
cvat-core
cvat-data
cvat-sdk
cvat-ui
dev
helm-chart
serverless
site
ssh
supervisord
tests
utils
.bandit -rw-r--r-- 208 bytes
.codacy.yml -rw-r--r-- 122 bytes
.coveragerc -rw-r--r-- 789 bytes
.dockerignore -rw-r--r-- 83 bytes
.editorconfig -rw-r--r-- 373 bytes
.eslintignore -rw-r--r-- 100 bytes
.eslintrc.js -rw-r--r-- 3.0 KB
.gitattributes -rw-r--r-- 664 bytes
.gitignore -rw-r--r-- 993 bytes
.gitmodules -rw-r--r-- 97 bytes
.nycrc -rw-r--r-- 353 bytes
.prettierignore -rw-r--r-- 81 bytes
.prettierrc -rw-r--r-- 666 bytes
.pylintrc -rw-r--r-- 30.9 KB
.remarkignore -rw-r--r-- 34 bytes
.remarkrc.js -rw-r--r-- 731 bytes
.stylelintrc.json -rw-r--r-- 459 bytes
CHANGELOG.md -rw-r--r-- 91.2 KB
CITATION.cff -rw-r--r-- 978 bytes
Dockerfile -rw-r--r-- 6.1 KB
Dockerfile.ci -rw-r--r-- 1.3 KB
Dockerfile.ui -rw-r--r-- 1.0 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 16.5 KB
SECURITY.md -rw-r--r-- 803 bytes
backend_entrypoint.sh -rwxr-xr-x 212 bytes
docker-compose.ci.yml -rw-r--r-- 529 bytes
docker-compose.dev.yml -rw-r--r-- 1.9 KB
docker-compose.https.yml -rw-r--r-- 1.3 KB
docker-compose.yml -rw-r--r-- 9.5 KB
lint-staged.config.js -rw-r--r-- 1.6 KB
manage.py -rw-r--r-- 692 bytes
package.json -rw-r--r-- 4.9 KB
wait-for-it.sh -rwxr-xr-x 4.0 KB
yarn.lock -rw-r--r-- 592.7 KB

README.md

back to top