WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmpPIAgvb/run/program/edos_evaluate.py", line 34, in
submission_df = pd.read_csv(os.path.join(submission_dir, os.listdir(submission_dir)[0])) # the first file in the submission zip is expected to be the submission csv
File "/opt/conda/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv
return _read(filepath_or_buffer, kwds)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 575, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 933, in __init__
self._engine = self._make_engine(f, self.engine)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine
self.handles = get_handle( # type: ignore[call-overload]
File "/opt/conda/lib/python3.9/site-packages/pandas/io/common.py", line 789, in get_handle
handle = open(
IsADirectoryError: [Errno 21] Is a directory: '/tmp/codalab/tmpPIAgvb/run/input/res/__MACOSX'
Hi,
Could you let me know what files were in your zip upload and the format of these files?
Also feel free to email me directly at hannah.kirk@rewire.online.
Hannah
Posted by: hannah.rose.kirk @ Nov. 26, 2022, 4:48 p.m.Hannah,
Thank you for your reply and I have sent my file to your email.
I successfully submmitted the same csv file zipped on win10, while the faild version was zipped on macOS. But I have successfully uploaded files zipped on macOS before. : (
Posted by: kathyaier @ Nov. 27, 2022, 2:54 a.m.Hi, I‘ve met the same problem of that:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmp9__xxS/run/program/edos_evaluate.py", line 34, in
submission_df = pd.read_csv(os.path.join(submission_dir, os.listdir(submission_dir)[0])) # the first file in the submission zip is expected to be the submission csv
File "/opt/conda/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv
return _read(filepath_or_buffer, kwds)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 575, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 933, in __init__
self._engine = self._make_engine(f, self.engine)
File "/opt/conda/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine
self.handles = get_handle( # type: ignore[call-overload]
File "/opt/conda/lib/python3.9/site-packages/pandas/io/common.py", line 789, in get_handle
handle = open(
IsADirectoryError: [Errno 21] Is a directory: '/tmp/codalab/tmp9__xxS/run/input/res/__MACOSX'
I don't know whether it is concerned with the mac os system. But I have submitted successfully before.
Posted by: tiKsyami @ Jan. 6, 2023, 1:30 p.m.Is the csv the only thing in the zip file? You can check if there are any hidden files.
Press the “Command” + “Shift” + “.” (period) keys at the same time.
Maybe hidden files are causing the submission error?
Posted by: hannah.rose.kirk @ Jan. 6, 2023, 4:55 p.m.