Time 
Nick 
Message 
00:20 

Paul_Pearson joined #webwork 
03:10 

djun joined #webwork 
04:19 

rbeezer joined #webwork 
10:16 

rbeezer joined #webwork 
10:16 

mgage joined #webwork 
10:16 

ionparticle joined #webwork 
10:21 

ionparticle joined #webwork 
10:27 

ionparticle joined #webwork 
12:01 

lilalinuxHamburg joined #webwork 
12:01 

lilalinuxHamburg left #webwork 
14:44 

goehle joined #webwork 
14:56 

aubreyja joined #webwork 
15:28 

djun joined #webwork 
15:32 

rbeezer joined #webwork 
15:42 

Paul_Pearson joined #webwork 
16:29 

Paul_Pearson joined #webwork 
17:19 

Paul_Pearson joined #webwork 
18:35 

djun joined #webwork 
18:56 

djun_ joined #webwork 
19:08 
djun 
Hi all 
19:09 
djun 
ping aubreyja 
19:10 

djun_ joined #webwork 
19:12 

djun_ joined #webwork 
19:22 
aubreyja 
Hi djun  just a sec  student 
19:23 
djun_ 
np 
19:38 
aubreyja 
back  what's up? 
19:40 

djun joined #webwork 
19:40 
djun 
sorry, flakey connection 
19:41 
djun 
I'm trying to set up a test ww server using your install script. Seems to complete, but the webwork database has no tables. What am I missing? 
19:42 
aubreyja 
no tables are created until you create a course  so, it should create tables when it runs the addcourse script and creates the admin course. My guess is that part failed because it didn't get the location of the script and/or the defaulClasslist.lst file right 
19:43 
aubreyja 
Here's another task for the script: add logging! that shouldn't be too hard, but would be very helpful 
19:43 
aubreyja 
I'm adding an issue 
19:43 
djun 
if I run the script by hand, it should create the tables, then? :) fingers crossed 
19:43 
aubreyja 
yup 
19:43 

djun joined #webwork 
19:50 
djun 
thanks, looks like running the script by hand did the trick. I'll have a look at the install script and see what happened after I get up and running ;) 
20:23 

Paul_Pearson joined #webwork 
20:34 

djun joined #webwork 
20:35 

Compass_ joined #webwork 
20:36 
Compass_ 
hi all, I have a students put in large amount data in the answer textbox and caused the error when rendering that question. I'm wondering if there is a way to remove the answer? I tried to remove it from answer.log and it didn't work. any suggestion? Thanks. 
20:42 
goehle 
Hi Compass_ 
20:42 
goehle 
the "last answer entered" isn't actually stored in the answer.log file 
20:42 
goehle 
(at least I think it isnt) 
20:44 
Compass_ 
is it in db? 
20:45 
goehle 
yeah, there is a field in UserProblem 
20:45 
goehle 
called last_answer 
20:45 
goehle 
that I beleive contains the values you are looking for 
20:46 
goehle 
If you are willing/able to muck around in the webwork shell or in a mysql editor then you coudl try to remove the offending field that way 
20:46 
goehle 
a (much) uglier solution is to mark down the students scores on that set to a piece of paper 
20:46 
goehle 
unassign the set from the student 
20:46 
goehle 
and then reassign it and manually change the grades to their previous values 
20:53 
Compass_ 
Thanks a lot goehle. I removed the answer from db 
20:53 
goehle 
did it work? 
20:54 
Compass_ 
yes, it works 
20:54 
goehle 
great, good to hear 
20:54 
Compass_ 
speaking of changing the grades, is there a way to change it in webwork web ui? 
20:54 
goehle 
yes, 
20:55 
Compass_ 
I always thought I couldn't do it because I never saw it before 
20:55 
goehle 
if you click on edit assigned users 
20:55 
goehle 
and then click on "Edit data for soandso" 
20:55 
goehle 
then you will have the option to set the Status field to whatever you want 
20:55 
goehle 
(and status == grade in this context) 
20:56 
Compass_ 
oh, the status is the grade. Hmmm... I never thought of that. That good to know. 
20:57 
Compass_ 
thanks for your help 
20:57 
goehle 
np 
21:04 
aubreyja 
Hi Compass_: This concerns me a bit  we should be anticipating things like "large amounts of data in the answer box" and handling it properly…. Did the student just type a bunch of garbage? And what is the error message? (For example, I hope that he didn't try something like sql injection and get back an error message that printed the database contents to the page) 
21:06 
Compass_ 
I didn't save the error message. but I remember it is thrown by decodeAnswer function. I probably can find the input student put in 
21:09 
Compass_ 
The student's input: 
21:09 
Compass_ 
sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21) (sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21))((sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21))^3(sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21)))/(3(sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21))^21) ((sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21))((sqrt(5)/5((sqrt(5)/5)^3(sqrt(5)/5))/(3(sqrt(5)/5)^21))^ 
21:09 
Compass_ 
I didn't paste all of them, it's actually a log longer 
21:10 
Compass_ 
a lot longer 
21:11 
Compass_ 
it seems he is using some tool to generate the answer. I have sent an email asking the student 
21:12 
aubreyja 
hmm…interesting. Those are at least not strange characters. Maybe it's a length issue? I think our answer boxes should probably have a maximum character count <= n where n is the value in varchar(n) defining the last_answer field 
21:25 

djun joined #webwork 
22:05 
djun 
ping rbeezer 
22:35 

djun joined #webwork 
23:07 

djun joined #webwork 