Skip to content

Possible Bug: .DS_Store and __MACOSX files in .zip archives #1655

Description

@ToastyDom

Hello everyone!

I think I found a bug that might affect Mac users. I was trying to upload a dummy scoring_program for a benchmark I’m planning to host, but whenever I uploaded a dummy submission file, nothing happened until the time limit was exceeded.

After some trial and error, I found that uploading the scoring_program from a Codabench example worked—but only if I didn’t unzip and rezip it on my Mac. When I downloaded the template file and uploaded it again without unzipping, it worked as expected. But if I downloaded it, unzipped it, and then rezipped it (without changing anything), I had the same timeout issue as with my dummy program.

I realized it might have to do with hidden files that macOS adds when zipping files (either .DS_Store or __MACOSX). When I used a terminal command to zip it without these extra files, it worked again.

So, I think these hidden files might be causing something to crash internally? I hope this information is helpful!

Best regards,
Domenic :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDiscussionNeeds to be discussed before we can come up with specifications and begin the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions