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
I would expect the task to be created successfully.
Current Behaviour
I get the following output using both methods:
0.00B [00:00, ?B/s][2022-09-16 11:08:49] INFO: Created task ID: 29 NAME: test_cli
[2022-09-16 11:08:49] CRITICAL: Status Code: 400
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Allow': 'GET, POST, HEAD, OPTIONS', 'Content-Length': '69', 'Content-Type': 'application/vnd.cvat+json', 'Date': 'Fri, 16 Sep 2022 09:08:49 GMT', 'Referrer-Policy': 'same-origin', 'Server': 'Apache', 'Vary': 'Accept,Origin', 'X-Content-Type-Options': 'nosniff', 'X-Frame-Options': 'DENY'})
HTTP response body: {"sorting_method":["\"\"lexicographical\"\" is not a valid choice."]}
Possible Solution
I have used tcpdump to capture traffic and used wireshark to see what's going on with the HTTP stream. Since the problem is in that it is not recognising the sorting method when using the CLI i have tried and captured traffic using the WUI and the CLI. The difference is merely that when using the CLI, the are extra quotation marks added to the string value of sorting_method:
I am not very familiar with HTTP protocols and how cvat server handles these requests, but I am assuming that removing the quotation marks from the sorting method would suffice.
Thanks in advance and please let me know if there's any extra information you need (this is my firts issue)
The text was updated successfully, but these errors were encountered:
I am trying to upload tasks via command line interface using the following command:
I have tried this with the script in the cvat repo and installing cvat-cli using pip:
Get the same error using both cases.
Expected Behaviour
I would expect the task to be created successfully.
Current Behaviour
I get the following output using both methods:
Possible Solution
I have used tcpdump to capture traffic and used wireshark to see what's going on with the HTTP stream. Since the problem is in that it is not recognising the sorting method when using the CLI i have tried and captured traffic using the WUI and the CLI. The difference is merely that when using the CLI, the are extra quotation marks added to the string value of sorting_method:
I am not very familiar with HTTP protocols and how cvat server handles these requests, but I am assuming that removing the quotation marks from the sorting method would suffice.
Thanks in advance and please let me know if there's any extra information you need (this is my firts issue)
The text was updated successfully, but these errors were encountered: