Closed bobbicodes closed 1 year ago
What made you think the representer isn't live?
Oh cool, so they're being generated, but I still can't find them. It's supposed to be in the Mentoring tab right? I can see all the occurrences for the other languages but not Clojure.
Yes, but there is an additional requirement: the representations must have > 1 matching submissions (http://forum.exercism.org/t/building-the-clojure-representer-coming-in-for-a-landing/664/12)
I saw your response, but I'm still confused because I've submitted matching solutions from 2 different accounts. And besides... if it ran all the solutions retroactively there should be dozens of them. For example, there is a representation for two-fer
that occurs 114 times out of the last 500.
if it ran all the solutions retroactively there should be dozens of them
If being the keyword here, as currently we don't do that. I'll look into it, but I'm quite swamped right now so I don't know exactly know when
@BTowersCoding The representer is erroring. I'll try and find out why
=> "docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: \"/opt/representer/bin/run.sh\": permission denied: unknown.\n"
That's the error. I'll do more digging if I find the time
Aha! That makes sense because that script doesn't get run in testing. Thanks!
Hmmm, it's weird. That doesn't fix it. I'm looking into it
Still doesn't seem to work. So weird! I can't reproduce locally.
@BTowersCoding I've downloaded the latest representer docker image locally and ran it via the website, and got this error:
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
/mnt/exercism-iteration/hello_world.clj (No such file or directory)
Full report at:
/tmp/clojure-12457495797171459648.edn
I think the issue is that the file should actually be found at /mnt/exercism-iteration/src/hello_world.clj
(missing /src
before hello_world.clj
.
I think the issue is that the file should actually be found at /mnt/exercism-iteration/src/hello_world.clj (missing /src before hello_world.clj.
Ah, that makes sense! It indeed expects the solution file to be in the input directory. I'll make the change and update the tests. See: #37
I was reviewing the spec to see if there was anything I missed because the representer does not seem to be live yet. I'm not sure if this would be the issue (it says the version defaults to 1 anyway) but now it outputs the file.