Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-10-25

| Channels | #webwork index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:20 Paul_Pearson joined #webwork
01:46 rbeezer_ joined #webwork
13:19 goehle joined #webwork
13:52 aubreyja joined #webwork
14:25 rbeezer joined #webwork
19:44 ionparticle joined #webwork
19:48 ionparticle hi, how do you make an essayQuestion? Is there a documentation page somewhere?
20:19 goehle hey
20:19 goehle sort of documentation
20:19 goehle http://michaelgage.blogspot.com/2012/09/hello-everyone-geoff-goehle-here.html
20:19 goehle this blog post might be a place to start
20:19 goehle I'm happy to answer any questions
20:58 ionparticle great, thanks
21:01 rbeezer ionparticle: I can send samples, I am assigning 3 a day to my linear algebra students
21:04 ionparticle the one you have on the blog
21:04 ionparticle works if a student takes it
21:04 ionparticle but doesn't work if, as an instructor, I click try it
21:05 ionparticle samples would be great, thanks
21:06 ionparticle "Can't use an undefined value as a HASH reference at /home/john/webwork/merge2_5_2/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm line 1388."
21:06 ionparticle error when I click "Try It"
21:15 goehle hmm
21:15 ionparticle I pulled from webwork-dev/2.5.2
21:16 goehle does it work if you assign it to yourself and then work the problem that way
21:16 ionparticle is there a more recent version to get it from?
21:16 goehle it may be an issue with how "try it" works
21:16 goehle no
21:16 goehle I've been too busy to do anythign with it for a while
21:16 ionparticle it works if I assigned it to myself
21:17 ionparticle so yeah, looks like an issue with try it
21:17 ionparticle does "try it" work for you?
21:17 goehle good question
21:18 rbeezer ionparticle: shoot me an email I can reply to   beezer@ups.edu  (maybe later, grading exams now)
21:19 goehle where are you clicking "try it" from
21:19 goehle there are a couple different options
21:19 ionparticle hmwk sets editor
21:21 goehle and you get an error on submit
21:21 goehle or before the problem even renders?
21:21 ionparticle rbeezer, sent, no hurry, when you have a free moment, thanks!
21:22 ionparticle not on submit, when it tries to render the problem
21:23 ionparticle oh, just found something interesting
21:23 ionparticle it only happens if you're not assigned the problem
21:23 goehle yeah
21:24 goehle coudl you try that out with a different (non essay problem)
21:24 ionparticle same error with those
21:24 goehle I think there might be issues with working a problem you aren't assigned in general
21:24 rbeezer k
21:24 ionparticle yeah, looks like it
21:24 goehle yeah
21:24 goehle its probably looking for a seed or something
21:24 ionparticle my %will = %{ $self->{will} };
21:26 goehle perl humor maybe ? :)
21:26 ionparticle lol
21:26 ionparticle sorry, it's the line causing the problem
21:27 goehle oh right
21:27 goehle didn't recognize it out of context
21:27 goehle which line in which file?
21:27 ionparticle seems like $self->{will} is null when you're not assigned the problem
21:27 ionparticle lib/WeBWorK/ContentGenerator/Problem.pm
21:27 ionparticle line 1388
21:29 goehle will is the hash which keeps track of if you are going to show old answers, allow submit, allow check, that kind of thing
21:29 ionparticle is it safe to assume that we can allow all those if we click "Try it"?
21:30 ionparticle since only instructors can click on it
21:30 goehle some of them
21:30 goehle looking at the will hash there is some stuff like
21:30 goehle recordAnswers
21:30 goehle that should be no
21:30 goehle because it would create problems
21:30 ionparticle ahh
21:30 goehle or showOldAnswers
21:30 goehle not being assinged the problem means that there is no
21:31 goehle userProblem
21:31 goehle so getUserProblem is probably failing quietly somewhere
21:31 goehle or getMergedProblem maybe
21:32 goehle hmm
21:32 goehle no looks liek thats begin taken care of on line 566
21:35 goehle hmm, I seem to remember reading a comment somewhere that not being assigned  a set causes problems
21:35 goehle which is why when you create a set you are always assigned the set
21:35 ionparticle ahh
21:35 goehle I have to head out, but next time I see mike or aubrey on I will ask them about it
21:35 goehle if its an easy fix then we will try to track it down
21:35 ionparticle no worries, thanks
21:36 goehle in the meantime I would just make sure you are assigned to sets that you are working on
21:36 goehle oh and remember that the links for grading problems wont show up until a student enters an answer
21:36 ionparticle yep, that's what I'm going to tell the instructors
21:37 goehle great
21:37 goehle well I have to head off
21:37 ionparticle thanks for the help!
21:37 goehle let me know if there are other questions, either via email or in the chat
21:40 goehle left #webwork

| Channels | #webwork index | Today | | Search | Google Search | Plain-Text | summary