Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that directories created by init is available when doing upload or validate #1

Closed
mosbth opened this issue Sep 8, 2014 · 1 comment
Assignees
Milestone

Comments

@mosbth
Copy link
Owner

mosbth commented Sep 8, 2014

As a first action one should do init which creates the directory structure on the remote server.

If one fails to do this , and later on do upload or validate a error message will appear since the directory dbwebb-kurser is missing.

desktop:~/dbwebb-kurser/python> bin/dbwebb validate hello

I will now upload files to the remote server and validate them.
Press a key to continue...
sending incremental file list
rsync: mkdir "/home/saxon/teachers/com/mosstud/dbwebb-kurser/python" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(605) [Receiver=3.0.9]
rsync: connection unexpectedly closed (187 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.1]
dbwebb-kurser/python: Filen eller katalogen finns inte.
bin/dbwebb-validate: Command not found.

FAILED. to validate course results.

Solve this by checking that the directory-structure is there or by changing the way init works.

@mosbth mosbth added this to the v2.0 milestone Mar 23, 2015
@mosbth mosbth self-assigned this Jul 2, 2015
@mosbth
Copy link
Owner Author

mosbth commented Jul 2, 2015

Solve this in #25

@mosbth mosbth closed this as completed Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant