Open
Description
Actions before raising this issue
- I searched the existing issues and did not find anything similar.
- I read/searched the docs
Steps to Reproduce
- Execute following code:
task = client.tasks.retrieve(TASK_ID)
task.export_dataset(
format_name="COCO 1.0",
filename="example.zip",
include_images=True,
location=Location.LOCAL,
)
- Inspect zip-file => broken
- Inspect as text-file (e.g. cat)
Expected Behavior
Normally, a zip-file is expected. Currently the resulting file is a txt-file with following content:
<!DOCTYPE html>
<html>
<body>
<input type="hidden" id="http" name="http" value="5000">
<input type="hidden" id="https" name="https" value="5001">
<input type="hidden" id="prefer_https" name="prefer_https" value="true">
</body>
<script type="text/javascript">
var protocol="https:";
var port=5001;
var URL=protocol+"//"+location.hostname+":"+port+location.pathname+location.search;
location.replace(URL);
</script>
</html>
Possible Solution
No response
Context
Other functions of the cvat_sdk work as expected with the on-prem CVAT-server, as far as i noticed. The CVAT-server was previously upgraded from 2.16.3 according to the upgrade procedure in the docs.
Environment
- cvat_sdk==2.28.0
- on-prem CVAT-server version: 2.28.0
- tested with following clients:
- Windows 11 (Python 3.11)
- Ubuntu 22.04 (Python 3.10)