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

Update autograder-home path in assignment.edn #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update autograder-home path in assignment.edn #4

wants to merge 1 commit into from

Conversation

roele
Copy link
Contributor

@roele roele commented Jan 28, 2020

The autograder-home path references a non-existing path and causes the AutoGrading to fail with following excecption.

Exception in thread "main" java.io.FileNotFoundException: The Git repository at './.autograder/' could not be located.
	at clj_jgit.porcelain$load_repo.invokeStatic(porcelain.clj:68)
	at clj_jgit.porcelain$load_repo.invoke(porcelain.clj:57)
	at autograder.client.handin$asgn_git_repo.invokeStatic(handin.clj:99)
	at autograder.client.handin$asgn_git_repo.invoke(handin.clj:96)
	at autograder.client.handin$asgn_handin_patch.invokeStatic(handin.clj:170)
	at autograder.client.handin$asgn_handin_patch.invoke(handin.clj:164)
	at autograder.client.handin$submit_results.invokeStatic(handin.clj:283)
	at autograder.client.handin$submit_results.invoke(handin.clj:218)
	at autograder.client.handin$_submitResults.invokeStatic(handin.clj:305)
	at autograder.client.handin$_submitResults.invoke(handin.clj:304)
	at autograder.client.Handin.submitResults(Unknown Source)
	at org.magnum.dataup.AutoGradingSpec.grade(AutoGradingSpec.java:158)
	at org.magnum.dataup.AutoGrading.main(AutoGrading.java:64)

The `autograder-home` path references a non-existing path and causes the `AutoGrading` to fail with following excecption.
```
Exception in thread "main" java.io.FileNotFoundException: The Git repository at './.autograder/' could not be located.
	at clj_jgit.porcelain$load_repo.invokeStatic(porcelain.clj:68)
	at clj_jgit.porcelain$load_repo.invoke(porcelain.clj:57)
	at autograder.client.handin$asgn_git_repo.invokeStatic(handin.clj:99)
	at autograder.client.handin$asgn_git_repo.invoke(handin.clj:96)
	at autograder.client.handin$asgn_handin_patch.invokeStatic(handin.clj:170)
	at autograder.client.handin$asgn_handin_patch.invoke(handin.clj:164)
	at autograder.client.handin$submit_results.invokeStatic(handin.clj:283)
	at autograder.client.handin$submit_results.invoke(handin.clj:218)
	at autograder.client.handin$_submitResults.invokeStatic(handin.clj:305)
	at autograder.client.handin$_submitResults.invoke(handin.clj:304)
	at autograder.client.Handin.submitResults(Unknown Source)
	at org.magnum.dataup.AutoGradingSpec.grade(AutoGradingSpec.java:158)
	at org.magnum.dataup.AutoGrading.main(AutoGrading.java:64)
```
Copy link

@kambleaa007 kambleaa007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assignement-home and autograder-home are both shhould be in root "./"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants