Closed SebastianSchmidl closed 2 weeks ago
thats weird, I'll take a look
what OS are you on? Works for me on windows
so I can download and uncompress this on my desktop, but in code it fails
from aeon.datasets import load_classification
t2X, t2y = load_classification("InsectWingbeat",split="TRAIN",
extract_path="C:\\Temp\\Temp2")
I dont know why, maybe its too big? I will try deleting the arff files and upload it again
Traceback (most recent call last):
File "C:\Code\aeon\aeon\local\temp.py", line 15, in <module>
t2X, t2y = load_classification("InsectWingbeat",split="TRAIN",
File "C:\Code\aeon\aeon\datasets\_data_loaders.py", line 1359, in load_classification
_download_and_extract(
File "C:\Code\aeon\aeon\datasets\_data_loaders.py", line 473, in _download_and_extract
zipfile.ZipFile(zip_file_name, "r").extractall(extract_path)
File "C:\Users\Tony\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 1633, in extractall
self._extract_member(zipinfo, path, pwd)
File "C:\Users\Tony\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 1686, in _extract_member
with self.open(member, pwd=pwd) as source, \
File "C:\Users\Tony\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 1559, in open
return ZipExtFile(zef_file, mode, zinfo, pwd, True)
File "C:\Users\Tony\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 797, in __init__
self._decompressor = _get_decompressor(self._compress_type)
File "C:\Users\Tony\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 698, in _get_decompressor
_check_compression(compress_type)
File "C:\Users\Tony\AppData\Local\Programs\Python\Python39\lib\zipfile.py", line 678, in _check_compression
raise NotImplementedError("That compression method is not supported")
NotImplementedError: That compression method is not supported
think it was the size, removed the arff and it works for me now @CodeLionX
Yes, was the size and works now 👍🏼 Thank you, @TonyBagnall!
Describe the bug
Dataset InsectWingbeat cannot be loaded because the ZIP-file compression method is not supported
Steps/Code to reproduce the bug
Expected results
No error raised and the dataset is successfully loaded.
Actual results
Versions