autolab / Autolab-CLI

Command line autolab client that uses the Autolab API
3 stars 2 forks source link

`download` command prints success message after failing #20

Closed robzach closed 4 years ago

robzach commented 4 years ago

A transcript of a session I just had:

rzachari@unix4:~/private/15122$ autolab122 download pixels
Querying assessment 'pixels' of course '15122-n20' ...
fatal: User is not in this course
chmod: cannot access ‘pixels/.autolab-asmt’: No such file or directory
tar (child): pixels/pixels-handout.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat ‘pixels-handout/*’: No such file or directory
rmdir: failed to remove ‘pixels-handout’: No such file or directory
pixels successfully downloaded.

(The last line is wrong.)

robzach commented 4 years ago

This was particular to autolab122, not the generic autolab-cli, so I'm closing this issue.