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
Error 409
Error: tus: unexpected response while creating upload, originated from request (method: POST, url: http://localhost:8080/api/projects/1/dataset/, response code: 409, response text: "File with same name already exists", request id: n/a).
e
@
cvat-app.tsx:357
showErrors
@
componentDidUpdate
@
ss
@
vl
@
t.unstable_runWithPriority
@
Ua
@
gl
@
rl
@
(anonymous)
@
t.unstable_runWithPriority
@
Ua
@
qa
@
Ga
@
al
@
notify
@
notifyNestedSubs
@
a
@
v
@
(anonymous)
@
(anonymous)
@
dispatch
@
(anonymous)
@
await in (anonymous) (async)
(anonymous)
@
N
@
(anonymous)
@
onFinish
@
(anonymous)
@
Promise.then (async)
Re.submit
@
onOk
@
w
@
Q
@
s
@
f
@
(anonymous)
@
v
@
ot
@
rt
@
it
@
pt
@
j
@
H
@
Xt
@
$t
@
t.unstable_runWithPriority
@
Ua
@
I
@
qt
@
Note if I upload to a different project it is uploading with success.
### Possible Solution
Steps to Reproduce (for bugs)
When i upload the same import task to one project it fails.
1.When I upload the same task to another project it upload fine.
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#5773Resolves#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>
My actions before raising this issue
Expected Behaviour
Project imported
Current Behaviour
Error 409
Error: tus: unexpected response while creating upload, originated from request (method: POST, url: http://localhost:8080/api/projects/1/dataset/, response code: 409, response text: "File with same name already exists", request id: n/a).
Note if I upload to a different project it is uploading with success. ### Possible Solution
Steps to Reproduce (for bugs)
1.When I upload the same task to another project it upload fine.
Context
Can't upload new imported tasks to a project.
Your Environment
git log -1
): commit 760f40d (HEAD -> develop, origin/develop, origin/HEAD)docker version
(e.g. Docker 17.0.05): v4.11.1.Logs from `cvat` container
The text was updated successfully, but these errors were encountered: