> On Aug 28, 2015, at 1:07 PM, Jay McCarthy <[email protected]> wrote:
> 
> Sorry for the delay in my response... this seems right to me. Is that
> commit pushed? Can I do anything to help?

There’s a PR open against plt/handin:

https://github.com/plt/handin/pull/18

It turns out I don’t have write access to the “plt” repos. Perhaps you do?

John

> 
> Jay
> 
> On Thu, Aug 27, 2015 at 3:12 PM, Matthew Saponaro <[email protected]> wrote:
>> This is correct. If you modify the grading-utilities to incorporate the
>> (start-timer-manager) call this will work.
>> 
>> I think it may be reasonable to modify the github handin accordingly.
>> 
>> In addition, I think there are some typos in the documentation:
>> http://pkg-build.racket-lang.org/doc/handin-server/grading-utils.html
>> 
>> Note: test instead of @test in the code example provided.
>> 
>> Note: The check is missing the language specification in the code example
>> provided.
>> (check:
>> 
>> :language  '(special intermediate)
>> 
>> ...)
>> 
>> These are just some notes that I would like to post here. I'm not sure where
>> they may be best suited, but hopefully someone can redirect these issues to
>> the correct individual(s).
>> 
>> 
>> 
>> On Wed, Aug 26, 2015 at 7:13 PM, John Clements <[email protected]>
>> wrote:
>>> 
>>>> On Aug 26, 2015, at 2:53 PM, [email protected] wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> I was wondering if someone could help me with the following. I'm setting
>>>> up the handin collection for a class.
>>>> 
>>>> When I submit the code to my handin-server I get the following error:
>>>> 
>>>> -ERROR MESSAGE-----------------------------
>>>> commit error: start-timer: arity mismatch;
>>>> the expected number of arguments does not match the given number
>>>>  expected: 3
>>>>  given: 2
>>>>  arguments...:
>>>>   0
>>>>   #<procedure>
>>>> 
>>>> -END ERROR MESSAGE-----------------------------
>>>> 
>>>> I traced the issue to the write-report function in the config file.
>>>> Inside of write-report a start-timer function call is made with 2 
>>>> arguments.
>>>> The start-timer function consumes 3 arguments per the documentation here:
>>>> http://docs.racket-lang.org/web-server-internal/timer.html?q=start-timer#%28def._%28%28lib._web-server%2Fprivate%2Ftimer..rkt%29._start-timer%29%29
>>>> 
>>>> I opened up the write-report's definition in the grading-utilities.rkt
>>>> and here is the call to start-timer which seems to be missing a parameter:
>>>> 
>>>> (start-timer (* 60 report-delay)
>>>>                        (thunk
>>>>                         (with-output-to-file
>>>>                             (build-path dir
>>>>                                         (format "~a-report-~a.txt"
>>>>                                                 (string-join users "+")
>>>>                                                 ts))
>>>>                           #:exists 'replace
>>>>                           (thunk (display report-string)))))
>>>> 
>>>> I'm not sure what to do now. Any suggestions? Below are my files.
>>> 
>>> It looks like the ‘tm’ argument to start-timer is missing. My guess is
>>> that the ‘tm’ argument was added to the start-timer definition since the
>>> last time the ‘write-report’ function was used. My guess is that the
>>> handin-server should create (or obtain?) a timer manager using
>>> (start-timer-manager) when it’s started. I’m guessing Jay McCarthy knows
>>> more about this.
>>> 
>>> John Clements
>>> 
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Jay McCarthy
> http://jeapostrophe.github.io
> 
>           "Wherefore, be not weary in well-doing,
>      for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>                          - D&C 64:33



-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/aa2e7590-2ab9-4ee6-8178-0f9721d0ce1f%40mtasv.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to