autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
752 stars 214 forks source link

Moss dies on unrecognized archive type #367

Closed RONNCC closed 9 years ago

RONNCC commented 9 years ago

Error: http://i.imgur.com/ueo57VQ.png

Could I have some debugging info for what the issue file in question is? Also is there anyway to rechange the file's name in autolab to change it to (presumably) the correct extension?

Also given the isArchive directive - is autolab still able to ignore random single files lying around?

dlbucci commented 9 years ago

Autolab now detects archive type and can extract tar, tgz, and zip files (at least, that is the goal). It detects the type of the archive based on the unix 'file' command, so that's what the submission is confusing here.

RONNCC commented 9 years ago

so how do i know what the issue was.....?

dlbucci commented 9 years ago

What type of archive were you submitting?

RONNCC commented 9 years ago

no clue :D they (should) all be zips. hence why i was wondering if you could show me the problem file.

dlbucci commented 9 years ago

No, but I can probably add robustness to moss for when a non-archive is submitted by skipping the file and reporting it.

RONNCC commented 9 years ago

that would be great!