services:submit:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:submit:start [2017/01/25 09:03] – seela | services:submit:start [2020/03/31 09:33] (current) – seela | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Setup submit directories for course assignments====== | + | ====== |
- | \\ | + | |
- | + | ||
- | ** This is the manual page for our locally developed Linux submit command.** | + | |
- | \\ | + | |
- | **Instructions for course instructors on how to setup submit directories are included below in the Configuration section.** | + | |
- | \\ | + | |
- | + | ||
- | + | ||
- | **Name** \\ | + | |
- | submit - submit files for a report for a course | + | |
- | \\ | + | |
- | \\ | + | |
- | **Synopsis** | + | |
- | \\ | + | |
- | \\ | + | |
- | submit //[-l]// course assignment file [file ...] submit -l course assignment | + | |
- | \\ | + | |
- | \\ | + | |
- | **Description** | + | |
- | \\ | + | |
- | \\ | + | |
- | | + | |
- | \\ | + | |
- | The **-l** option will give a detailed list of all files that you (the student) have submitted for that assignment both through this call to the submit command and through previous calls to the submit command, after the files have been properly submitted. **With the -l option**, you can also choose not to specify any files to be submitted. In this case, the program will simply list out all files that you have previously submitted. | + | |
- | \\ | + | |
- | At least one file must be submitted, but any number of files may be submitted. If the same file is submitted twice, then the latest file will overwrite the old one. Only the name of the file, not the directory of the file will be used when determining if you are overwriting an old file. For example if you submit dir1/a1.c | + | |
- | and then submit | + | |
- | **dir2/ | + | |
- | Then the second submission will overwrite the first. In other words, there will only be one copy of a1.c submitted. However, if the names are different: | + | |
- | **dir1/ | + | |
- | **dir2/ | + | |
- | then two files a1.c and a2.c will be submitted. | + | |
- | \\ | + | |
- | If you want a directory structure, then students can also submit directories. For example, if the student has the files: a1/ | + | |
- | **a1/ | + | |
- | **a1/ | + | |
- | and **a1 is submitted**, | + | |
- | + | ||
- | If a file is submitted successfully, | + | |
- | \\ | + | |
- | Once you have submitted a file, you cannot take it back. There is no way to list the files you have submitted; you are expected to keep track of this yourself. | + | |
- | \\ | + | |
- | **Configuration** \\ | + | |
- | For professors setting up submission directories. The course directory must be under /cs/course. Under the course directory there must be a directory called submit. For each assignment, there must be one directory per assignment with the name of that assignment. The assignment directory must belong to group submit and must also be writable by the group and not by other" | + | |
- | \\ | + | |
- | < | + | |
- | chmod 755 / | + | |
- | mkdir / | + | |
- | chmod 755 / | + | |
- | mkdir / | + | |
- | chgrp submit / | + | |
- | </ | + | |
- | \\ | + | |
- | If you have previously created a submit directory, you can omit the first two commands. If you no longer wish to allow submissions for an assignment (e.g. past a due date) then remove write permission from the assignment directory: | + | |
- | \\ | + | |
- | chmod g-w / | + | |
- | \\ | + | |
- | For each student who submits a file, there will be a directory under the assignment directory with that student' | + | |
- | \\ | + | |
- | There is experimental support for automatically checking submissions as they are submitted. If an executable file in the assignment subdirectory exists called _check", | + | |
- | \\ | + | |
- | For example, if the file \\ | + | |
- | + | ||
- | / | + | |
- | \\ | + | |
- | exists and is executable, and user cs999999 makes a successful submission of ~cs999999/ | + | |
- | \\ | + | |
- | / | + | |
- | \\ | + | |
- | **Diagnostics** \\ | + | |
- | + | ||
- | cannot find submit directory ... make path too long Some combination of the course, assignment, and user's login name result in a path that is too long for submit to follow. Check to see that the course and assignment name are both correct. Instructors: | + | |
- | + | ||
- | could not execute check program ... | + | |
- | The submit program located the check program but could not execute it for some reason. The most likely reason for failure is improper permissions on the check program. | + | |
- | + | ||
- | cannot find source ... | + | |
- | A file specified on the comand-line cannot be found. | + | |
- | + | ||
- | will not submit `.' or `..' - specify full path to directory If a directory you specify on the command line has a name of . or .. then submit will fail with this message. This is prevent problems that may occur if you try to submit .*" which will submit many files that you do not want to submit. The best way to submit a directory is to specify the full path to the directory (e.g. if you are in the directory / | + | |
- | + | ||
- | cannot read directory ... | + | |
- | Either a directory you specified on the command-line, | + | |
- | + | ||
- | cannot submit file/ | + | |
- | + | ||
- | cannot remove existing submission | + | |
- | You are trying to re-submit a file that has already been submitted and submit cannot erase the previous submission. In general practice this should not happen. If you encounter this error, please report it and the circumstances under which it happened. | + | |
- | + | ||
- | cannot create destination directory | + | |
- | You are trying to submit a directory but submit cannot create that directory in the submit directory. In general practice this should not happen. If you encounter this error, please report it and the circumstances under which it happened. | + | |
- | + | ||
- | source ... is neither a file nor a directory You are trying to submit something which is neither a file nor a directory (e.g. a pipe, a socket, a device). Only files and directories can be submitted. | + | |
- | + | ||
- | cannot write file ... | + | |
- | The submit program could not create the submitted file. In general practice this should not happen. If you encounter this error, please report it and the circumstances under which it happened. | + | |
- | + | ||
- | copy of file ... failed | + | |
- | The submit program created the file to be submitted in the submit directory but was unable to finish writing to it. The only practical reason this should occur is if the disk on which the submit directories reside runs out of space. | + | |
- | + | ||
- | read of file ... failed | + | |
- | The submit program found and opened the file you are trying to submit but failed to read all of the data from it. In general practice this should not happen. If you encounter this error, please report it and the circumstances under which it happened. | + | |
- | + | ||
- | course directory for ... does not exist The submit program cannot find the directory for the given course, which is expected to be / | + | |
- | + | ||
- | course ... has no submit directory | + | |
- | The submit program has found the directory for the given course but cannot find the submit directory. Double check the arguments you specified on the command-line. If these are correct, then either the directory has not been setup, or its permissions are wrong. | + | |
- | + | ||
- | course ... has no submit directory for assignment ... There is no accessible submit directory for the given assignment. Double check the arguments you specified on the command-line. If these are correct, then either the directory has not been setup, or its permissions are wrong. | + | |
- | + | ||
- | files may not be submitted for course ..., assignment ... The submit directory exists for this assignment, but the permissions have been set to disallow submissions. Contact your instructor for further information. | + | |
- | + | ||
- | I can't figure out who you are | + | |
- | The submit program cannot determine your login name. In general practice this should never happen. If you encounter this error, please report it and the circumstances under which it happened. | + | |
- | + | ||
- | invalid submission entry for ... - contact your professor There is either a problem with the submit directory or submissions for your account have been disabled. Contact your instructor for further information. | + | |
- | + | ||
- | submitted: ... (... bytes) | + | |
- | This message indicates that a file has been successfully submitted. This message is only printed once all data has been successfully written to the destination. | + | |
- | + | ||
- | Author | + | |
- | + | ||
- | Matt Robinson | + | |
- | Dept. of Computer Science | + | |
- | York University | + | |
- | matt@cs.yorku.ca | + | |
+ | * [[cli-submit]] | ||
+ | * [[websubmit]] | ||
+ | * [[submit-from-home]] | ||
+ | * [[submit-setup]] | ||
+ | * [[websubmit-setup]] | ||
+ | * [[Grading submitted files]] | ||
+ | |||
services/submit/start.1485352991.txt.gz · Last modified: by seela