SemEval 2023 - Task 10 - Explainable Detection of Online Sexism (EDOS) Forum

Go back to competition Back to thread list Post in this thread

> Submission failed with error

While trying to submit the results I am getting an error as shown below.

Traceback (most recent call last):
File "/tmp/codalab/tmp8sJBiT/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/tmp8sJBiT/run/input/res/__MACOSX'

Posted by: manaslfc @ Dec. 28, 2022, 6:48 p.m.

I found the issue. Zipping in mac os was causing the issue.

Posted by: manaslfc @ Dec. 28, 2022, 7:03 p.m.

Hi,

Thanks for posting the issue and its solution! Hopefully this will help anyone else with the same CodaLab issue on MacOS.

All the best,

Hannah

Posted by: hannah.rose.kirk @ Dec. 29, 2022, 8:56 p.m.
Post in this thread