User Tools

Site Tools


services:submit:cli-submit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
services:submit:cli-submit [2017/03/29 14:13] – created jasservices:submit:cli-submit [2024/04/30 10:45] (current) jas
Line 1: Line 1:
-====== Submit (command-line edition) ======+====== Command Line Submit ======
  
-The submit command allows students to submit files as part of an assignment. Use the submit command like this:+The submit command allows students to submit files as part of an assignment. Use the submit command on any EECS tech-managed Linux system like this:
  
-  submit [-l] course assignment file [file ...] +  submit [-l] course assignment file [file ...] 
-  submit -l course assignment+  submit -l course assignment
  
 The name of the course and assignment is up to the professor and will be provided by them.  If you use the **-l** option, you will get back a list of all files that you submitted for the assignment.  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. The name of the course and assignment is up to the professor and will be provided by them.  If you use the **-l** option, you will get back a list of all files that you submitted for the assignment.  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.
Line 16: Line 16:
  
 Once  you  have submitted a file, you cannot take it back. Once  you  have submitted a file, you cannot take it back.
 +
 +===== Video Tutorial =====
 +
 +Click [[https://youtu.be/keul742N370|here]] for a video tutorial on using submit.
  
 ===== Diagnostics ===== ===== 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: if possible, use a shorter assignment name. You will generally not see this error unless you are nesting assignments in subdirectories.+If you receive an error message from the submit command, you can find details on what it means here: 
 + 
 +**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: if possible, use a shorter assignment name. You will generally not see this error unless you are nesting assignments in subdirectories.
  
 **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. **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 command-line cannot be found.+**cannot find source ...** - A file specified on the command-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 /eecs/home/joe/cosc9999/a1/ use the full name: `submit cosc9999 a1 /eecs/home/joe/cosc9999/a1').+**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 /eecs/home/joe/cosc9999/a1/ use the full name: `submit cosc9999 a1 /eecs/home/joe/cosc9999/a1').
  
-**cannot read directory** ... - Either a directory you specified on the command-line, or the subdirectory of a directory you specified on the command-line, cannot be read. Check your arguments and the permissions on the directory in question.+**cannot read directory ...** - Either a directory you specified on the command-line, or the subdirectory of a directory you specified on the command-line, cannot be read. Check your arguments and the permissions on the directory in question.
  
-**cannot submit file/directory** ... name too long - The path that is trying to be submitted (combined with the path to the submit directory) is too long. This is usually only a problem if you have several nested subdirectories. Try flattening your directory structure or submit the individual files rather than the directories.+**cannot submit file/directory ... name too long** - The path that is trying to be submitted (combined with the path to the submit directory) is too long. This is usually only a problem if you have several nested subdirectories. Try flattening your directory structure or submit the individual files rather than the directories.
  
 **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. **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.+**source ... is neither a file nor a directory** - You are trying to submit something which is neither a file nor a directory (e.ga 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. **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.
services/submit/cli-submit.1490811238.txt.gz · Last modified: 2017/03/29 14:13 by jas