services:submit:cli-submit
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
services:submit:cli-submit [2017/03/29 14:13] – created jas | services:submit:cli-submit [2024/04/30 10:45] (current) – jas | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 |
- | submit [-l] course assignment file [file ...] | + | |
- | 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. | 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. | ||
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:// | ||
===== Diagnostics ===== | ===== Diagnostics ===== | ||
- | **cannot find submit directory** | + | 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: | ||
**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 / | + | **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 read directory ...** - Either a directory you specified on the command-line, |
- | **cannot submit file/ | + | **cannot submit file/ |
**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** | + | **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. | **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