OSError: The handle is Invalid
- Dominant language
- Python
- Stars
- 837
- Forks
- 634
- PR merge metrics
- No merged PRs in 30d
Description
Using the Toolkit to download a single class of images on Windows 10, Python version 3.7.6
Running the downloader commands results in a WinError 6. The traceback points towards Lines 25 of the downloader file
```
Traceback (most recent call last):
File "C:\Users\James\Documents\OIDv4_ToolKit\modules\downloader.py", line 25, in download
columns, rows = os.get_terminal_size(0)
OSError: [WinError 6] The handle is invalid
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "OIDv4_ToolKit/main.py", line 37, in
bounding_boxes_images(args, DEFAULT_OID_DIR)
File "C:\Users\James\Documents\OIDv4_ToolKit\modules\bounding_boxes.py", line 62, in bounding_boxes_images
download(args, df_val, folder[0], dataset_dir, class_name, class_code)
File "C:\Users\James\Documents\OIDv4_ToolKit\modules\downloader.py", line 27, in download
columns, rows = os.get_terminal_size(1)
OSError: [WinError 6] The handle is invalid
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.