Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create new task #1496

Closed
smartnet-club opened this issue May 6, 2020 · 3 comments
Closed

Failed to create new task #1496

smartnet-club opened this issue May 6, 2020 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@smartnet-club
Copy link

smartnet-club commented May 6, 2020

Failed to create new task

Expected Behaviour

Task created successfully.

Current Behaviour

Error: Request failed with status code 400. {"image_quality":["This field is required."]}.

Possible Solution

Steps to Reproduce (for bugs)

  1. Open Create new task form
  2. Set Image Quality and other attributes
  3. Submit

Your Environment

  • Git hash commit (git log -1): commit 011c4aa (HEAD, tag: v1.0.0-beta.2, origin/release-1.0.0)
  • Docker version docker version (e.g. Docker 17.0.05): 19.03.8
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS): Linux 4.15.0-99-generic Release 0.2 #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:

cvat | 2020-05-06 06:48:28,074 DEBG 'runserver' stderr output:
cvat | [Wed May 06 06:48:28.073993 2020] [wsgi:error] [pid 243:tid 140507370841856] [remote 172.22.0.6:40402] [2020-05-06 06:48:28,073] WARNING django.request: Bad Request: /api/v1/tasks/12/data
cvat |
cvat | 2020-05-06 06:48:28,074 DEBG 'runserver' stderr output:
cvat | [Wed May 06 06:48:28.074083 2020] [wsgi:error] [pid 243:tid 140507370841856] [remote 172.22.0.6:40402] WARNING:django.request:Bad Request: /api/v1/tasks/12/data
cvat |
cvat_proxy | 213.59.158.96 - - [06/May/2020:06:48:28 +0000] "POST /api/v1/tasks/12/data HTTP/1.1" 400 45 "http://server.no-ip.org:8080/tasks/create" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36"
cvat_proxy | 213.59.158.96 - - [06/May/2020:06:48:28 +0000] "DELETE /api/v1/tasks/12 HTTP/1.1" 204 0 "http://server.no-ip.org:8080/tasks/create" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36"

Next steps

You may join our Gitter channel for community support.

@nmanovic nmanovic added the bug Something isn't working label May 6, 2020
@nmanovic nmanovic added this to the 1.0.0-release milestone May 6, 2020
@smartnet-club
Copy link
Author

smartnet-club commented May 6, 2020

Request payload:
{"name":"Testing","labels":[{"name":"up","attributes":[]},{"name":"car","attributes":[]}],"image_quality":"90","z_order":true,"start_frame":"10","stop_frame":"100","frame_filter":"step=3"}

@azhavoro
Copy link
Contributor

azhavoro commented May 6, 2020

@smartnet-club Hi, looks you posted payload form request at api/v1/tasks endpoint and it should not contain image quality parameter. What is payload of api/v1/tasks/<task_id>/data request?
Could you clear browser cache and try again?

@smartnet-club
Copy link
Author

works! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants