Skip to content

Update autograder-home path in assignment.edn#4

Open
roele wants to merge 1 commit intojuleswhite:masterfrom
roele:patch-2
Open

Update autograder-home path in assignment.edn#4
roele wants to merge 1 commit intojuleswhite:masterfrom
roele:patch-2

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