Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-08-21

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

All times shown according to UTC.

Time Nick Message
01:35 mgage djun: looks like webwork.maa.org is back up
11:43 CIA-110 joined #webwork
12:20 goehle joined #webwork
12:25 goehle Hey mgage
12:25 mgage hi -- got your mesage
12:25 goehle was just checking
12:25 mgage I'll make the changes in a bit.
12:26 goehle unfortunatelly not having past_answers in the db is a problem if you are using the essay stuff or not
12:26 mgage I'm working on getting Aaron Wangberg's stuff into the mgage/webwork2-dev repo and up on hosted2
12:26 goehle I just found out about it yesterday
12:27 mgage np -- that's what these next couple of days are about -- getting everything together and working (kind of) -- I would have done it last week except that the music camp is an annual family vacation and that came first
12:27 mgage I'll send you a message when I get your stuff up on hosted2 and you can check out the known issues
12:27 goehle faire enough
12:28 goehle :
12:28 mgage should be in an hour or two
12:28 goehle sounds good, I'll be in irc
12:28 mgage kk
13:34 aubreyja joined #webwork
13:40 mgage aubreyja: hi
13:41 mgage rt #328  needs help getting signed up for the wiki
13:41 mgage #1328
13:47 aubreyja Morning - got it
13:47 mgage ty
13:50 aubreyja btw, have we settled on webwork2-dev for development, webwork2 for production?
13:51 aubreyja actually, if we do that, we could have webwork2/master as always the 'stable' branch, and have webwork2/dev be a remote tracking branch for webwork2-dev
13:52 mgage that is still the case now -- and I'd like to stick to it for a while longer --- I'm still learning git and occasionally I make mistakes in updating so it's of some use to be working with webwork2-dev instead of the production version
13:53 mgage you'll notice that I've started branches ww2.5.1, 2.52   etc. (2.5.3 is in mgage)
13:53 aubreyja ah, in webwork2 or webwork2-dev?
13:53 mgage I've been thinking about extending that to wewbork2
13:53 mgage in webwork2-dev --- haven't changed anything in webwork2 yet
13:54 aubreyja yeah, let's do that - I just don't think we can get people to use webwork2-dev on production machines without a lot of explaining
13:54 mgage but I've been thinking about having ww2.5.1, 2.5.2 etc in webwork2  with master = to the latest stable version
13:54 aubreyja that sounds good to me
13:55 mgage I agree -- if we get rid of anything it would be webwork2-dev  --- but right at the moment I feel more comfortable making changes in webwork2-dev while I'm trying to get everything working and then moving stuff to webwork2  --- it's one more level of insulation
13:56 mgage with git you shouldn't need it, but git commands are still sometimes a bit mysterious for me  using SourceTree helps reliability quite a bit ---- and I think I'll use that when I finally make the changes to webwork2
13:57 aubreyja yeah, I like that workflow too, right now I think the main thing is to get webwork2 up to date with where we want it to be.  E.g. George Jennings had a lot of trouble trying to upgrade from git using webwork2
13:57 mgage by the way mgage/webwork2-dev  branch ww2.5.3  has most of the stuff that Aaron gave me.  It compiles -- I think I may be missing a .swf file or something like it -- or else I just need examples of problems containing a white board.
13:59 mgage yeah -- I was hoping that Arnie would step in and take care of that but he decided to revert to the svn version instead so no one has really debugged webwork2.
13:59 aubreyja great - I was planning to look at this in the afternoon after I get some class related stuff done
13:59 mgage at this point   ww2.5.1 in webwork2-dev is probably way more stable then master in webwork2
13:59 mgage ok -- that would be helpful.
14:00 aubreyja ok, I'd say update webwork2/master to webwork2-dev/ww2.5.1 then and we can take it from there
14:00 aubreyja There's some strange authen stuff in what I have that goehle, djun and I were working through
14:00 mgage can you set aliases for branches?  if so create aww2.5.1 in webwork2 and alias master to it
14:01 aubreyja I think so - I'll ping you when I get to this
14:02 mgage the authen stuff that wheeler uploaded is still not completely into any of the repos -- it wouldn't merge cleanly and I asked him to pull from the main repo, merge things and resubmit.  He hasn't done that yet so we should probably do that just so we can get everything up to date.
14:02 mgage I also have spent some time merging Aaron's stuff because it was based on a 2 year old version of Problem.pm ---
14:03 mgage I've set a rule that I won't add changes unless they send me a pull request and i won't respond to the pull request unless it merges without conflicts.    I'm not sticking to that rule yet -- but I hope to eventually
14:03 aubreyja He has a check in there for when the db userid and key match or don't match the params userid and key.  He would then set an authen property. But, It seemed to me to result in a lot more errors, but no noticeable gain - I couldn't see any good reason for the extra trouble
14:06 mgage check the github.com network tree  -- I think you'll find a wheeler included some kind of patch to fix that (ithe warning is harmless -- if you just try to login again it works)   -- in any case after checking bill's patch let's just figure out the right thing to do and update the branches in wework2-dev
14:06 aubreyja also, there was a check if(!defined($error) or !error) which doesn't seem right for what we think is actually intended. We think the goal is to throw an error message if $error is defined, but not zero
14:07 aubreyja anyway, I've got some things to take care of right now, but I'll be back on later this afternoon
14:07 mgage you're probably right -- I haven't changed those things.  Arnie might have in his private version but I don't think he uploaded any of his fixes.
14:08 mgage sounds good.  we've got some time to clean all of this up   ttyl
14:34 djun joined #webwork
15:51 djun_ joined #webwork
16:23 mgage I have most of the files from Aaron and from Geoff in mgage/webwork2-dev branch 2.5.3 and that is running on hosted2.
16:24 mgage there are some errors when you use the "sessions" theme because I haven't figured out everything that Aaron's version needs to show the white board.
16:24 mgage you should be able to checkout Geoff's stuff on hosted2 however using maa102--109 with the usual passwords
16:25 mgage I'm taking a break for an hour or so
16:25 mgage ttyl
16:51 djun joined #webwork
17:09 djun joined #webwork
18:39 djun joined #webwork
19:51 goehle mgage
19:51 goehle whats the web address for hosted2 and what are the usual passwords :)
19:51 mgage hi
19:52 mgage https://hosted2.webwork.maa.org/webwork2/maaXXX   where XXX is 102, 103 etc.   user: profa  and password profa
19:53 goehle getting a 404
19:54 mgage sorry -- I was on automatic pilot:  https://hosted2.webwork.rochester.edu/webwork2/maa102
19:55 goehle hmm
19:55 goehle still getting that achievement error
19:56 mgage haven't done much checking yet  -- how do you trigger it?
19:56 goehle I'm just tryign to answer questions as a student
19:56 goehle its that same error coming from an uninitialized variable
19:57 goehle could you check something for me?
19:57 mgage yep
19:57 goehle could you check Achievement Evaluator.pm
19:57 goehle line 80
19:57 goehle is there code along the lines of #initialize things that are ""
19:59 mgage yes:
19:59 mgage #initialize things that are ""
19:59 mgage if (not $achievementPoints) {
19:59 mgage $achievementPoints = 0;
19:59 mgage $globalUserAchievement->achievement_points(0);
19:59 mgage }\
19:59 goehle hmm
19:59 goehle is that file on git?
20:00 mgage I'm looking at the file on hosted2 -- but it should be the same as the file in github/mgage/webwork2-dev  branch ww2.5.3
20:00 mgage are you logged in as a guest?
20:00 goehle jdoe
20:00 goehle this error is so annoying though
20:01 mgage ok
20:01 goehle bwecause it only happens the *first* time a student submits an answer
20:02 goehle hmm
20:02 goehle now I don't see that intialize stuff in webwork2-dev
20:02 goehle https://github.com/mgage/webwork2-dev/blob/master/lib/WeBWorK/AchievementEvaluator.pm
20:03 mgage try the ww2.5.3 branch -- not the master branch -- it should also be in the ww2.5.2 branch
20:04 mgage I've been starting new branches as I added stuff from you and from Aaron -- haven't gone back to clean everything up yet
20:05 goehle hmm
20:05 goehle I cant reproduce it with a separate student...
20:06 goehle hmmm
20:06 goehle so i'm getting
20:06 goehle Argument "" isn't numeric in addition (+) at /opt/webwork/webwork2/lib/WeBWorK/AchievementEvaluator.pm line 91.
20:06 goehle Argument "" isn't numeric in addition (+) at /opt/webwork/webwork2/lib/WeBWorK/AchievementEvaluator.pm line 95.
20:06 goehle but according to
20:06 goehle https://github.com/mgage/webwork2-dev/blob/ww2.5.3/lib/WeBWorK/AchievementEvaluator.pm
20:06 goehle line 95 isnt even an addition
20:08 goehle although it is an addition in the older "master" version
20:08 aubreyja Hi - catching up
20:08 goehle Hey
20:08 mgage -- let me restart the server -- I might not have done that when I switched over to 2.5.3
20:08 goehle kk
20:08 mgage seems likely in fact
20:09 mgage now try it
20:09 goehle better :)
20:10 mgage ok -- I'd updated files before I quit for a few hours but forgot to restart the server
20:10 goehle no worries
20:10 goehle that bug has been very resilient
20:10 goehle so I just watned to make sure its quashed
20:10 goehle try to log into maa101
20:10 mgage keep checking out hosted2
20:10 goehle and view the progress of Jane Doe
20:11 mgage ok maa101 might be missing the achievement directory
20:11 goehle hopefully shouldnt matter for the error I'm getting
20:11 goehle actually I'mg getting Use of uninitialized value in join or string at /opt/webwork/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm line 814
20:11 goehle for all of the progress pages
20:12 mgage I have that the database tables need updating for maa101 but not maa102 through maa109
20:12 goehle thats probably it
20:12 goehle since I dont get those errors on 102
20:13 mgage see if this happens on maa107 or something like that also check maa110 which needs a database update but has all the directories
20:14 mgage maa101 is missing field flags in the table problem_user
20:15 mgage it's directory structure is ok
20:15 goehle I'm not getting the error in maa107
20:15 goehle but I am getting it in maa110
20:15 mgage that's consistent -- I updated tables in maa102--maa109
20:16 goehle ok
20:17 mgage I'm going to keep some un upgraded classes around for a while so that in the next pass we can try to write error messages that are most useful when something is not right.
20:17 goehle might want to rename them something just so we know
20:17 goehle unless that would require upgrading them
20:17 mgage it does -- but I can hiide them
20:18 mgage I'll upgrade 101
20:22 goehle why are there two preivew answer buttons?
20:23 mgage I'll bet that is a result of combining Aaron's code and main Problem.pm
20:23 goehle Illegal division by zero at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Instructor/Stats.pm line 555.
20:24 mgage Aaron's stuff was build on a version of Problem.pm from over tow years ago --- it took some time to reconcile them -- I expect I missed more than this
20:24 goehle when I'm trying to look at the Stats page of Embedding_Exampls in maa102
20:24 mgage could you send that last one to bugzilla?  -- I'll fix the two preview buttons now
20:24 djun aubreyja: ping
20:25 mgage aubreyja:   ping
20:25 goehle hmm
20:25 goehle how do you send to bugzilla from the error page?
20:25 mgage you'll need to back up to a previous page -- REeport bugs is in the lower left (if you are a prof )
20:26 aubreyja Hi -
20:28 djun Hi Jason
20:29 djun I'm installing Drupal, need to set up a mysql database
20:29 aubreyja ah, right - just a sec
20:51 aubreyja Hi Mike - I notice in 2.5.3, there is a small change I made that didn't' make it:  in SetMaker.pm to make it compatible with the other OPL changes I committed
20:51 aubreyja https://github.com/aubreyja/webwork2-dev/commit/8651d057c07d77a80679b027cbe34ae76d6996ab
20:53 aubreyja The idea is that users who want to use the OPL from github can do so by setting the problem library version to 2.5.  But in the current SetMaker.pm, if the library version can only be equal to 1 or 2.
20:54 mgage ok -- I'll make sure it's added -- not quite sure why it is not there now -- it might have gotten wiped out when I uploaded Aaron's stuff -- could you send mgage/webwork2-dev a pull request -- and we'll see what happens
20:54 goehle mgage
20:54 goehle so I found a problem with problemGrader
20:55 goehle it has a tendancy to explode when trying to grade sets where not every student is assigned the problem
20:57 aubreyja claims 'Oops! mgage:ww2.5.3 is already up-to-date with aubreyja:master
20:57 goehle I put in some checks to see if the appropriate objects exists
20:57 goehle I pushed the changes to my git
20:58 goehle but if you just want to replace ProblemGrader.pm
20:58 goehle that woudl work too
20:58 mgage hmmm -- I get that sometimes -- sometimes I understand why and sometimes not
20:59 goehle https://github.com/goehle/webwork2/blob/master/lib/WeBWorK/ContentGenerator/Instructor/ProblemGrader.pm
20:59 mgage I'll look directly to see if I have the updated POPL and problem grader files
20:59 goehle I just made these changes
20:59 goehle like 2 minutes ago
20:59 goehle so its unlikely :)
21:00 mgage sorry -- I was answering jason   --
21:00 goehle hah
21:00 goehle ok
21:00 goehle do you want a pull request?
21:00 goehle hmm
21:00 goehle nvm
21:00 goehle I'm still out of date on my webwork2 branch
21:00 mgage geoff -- could you switch to using webwork2-dev instead of webwork2   -- you can fork the openwebwork/webwork2-dev repo and then pull from mine
21:00 goehle so I cant pull anyway
21:01 goehle I will
21:01 goehle Im doing a bad thing and trying to bugfix on our production machine
21:01 goehle I will get a proper dev machine set up soon
21:01 mgage then add your changes
21:01 goehle ok will do
21:02 mgage you can probably do that --- I have a structure    webwork    and then under it    ww_dev ww_prod  and each of them has webwork2 and pg within the directory
21:03 mgage then I alias webwork2 and pg  under webwork to the files of the same name in either ww_dev or ww_prod   -- I can switch back and forth in a couple of minutes
21:03 mgage I keep the ww_dev synced to various webwork2-dev repos
21:03 goehle Ok I've gotta go
21:04 mgage I think you can also sync a branch of your current git repo   to a branch in webwork2-dev
21:04 aubreyja me too - should be on later - ttyl
21:04 mgage but I haven't tried it   -- ttyl
21:04 mgage ttyl
21:04 goehle Mike, if you want to just replace ProblemGrader.pm with the one on my git then that will fix the bug
21:04 goehle I'll get our dev server up and do what you suggest with the linking
21:04 mgage kk  I'll do that if I get to it
21:05 goehle if not I'll send a pull requiest once I get things going
21:05 goehle cheers
21:05 mgage before you have your server set up
21:05 mgage ttyl
21:16 aubreyja joined #webwork
21:42 Paul_Pearson joined #webwork
21:53 Paul_Pearson Hi Mike,
21:53 Paul_Pearson Are we still allowed to submit bug fixes via svn?
22:12 Paul_Pearson OK, I tried and was unsuccessful with svn, so I guess I answered my own question.  Thanks anyway.
22:33 mgage I think we have closed svn to updates now at least for webwork2 and pg.  not sure about for the problem library
23:00 goehle joined #webwork
23:04 goehle mgage: did you get my email?
23:04 mgage yep
23:05 goehle did logging in as a sutdent help
23:05 goehle that behavior may need ot be changed if its too confusing
23:06 mgage yes -- it did help -- I was just in the process of doing this when I got your email -- I think it is more or leas working correctly
23:06 goehle :/
23:06 mgage would you like a course of your own on hosted2? or would you like me to ask Rob if you
23:06 mgage can be a prof in his course so that you can help?
23:06 djun joined #webwork
23:06 goehle that would probably be easiest
23:07 mgage kk -- I'll do that.  if you also want a course just ask
23:07 goehle the test courses will do for now
23:07 goehle just to make sure my stuff is up and running correctly
23:07 mgage kk
23:08 mgage I appreciate the help
23:09 mgage it's at least starting to work right
23:09 mgage now back to the two preview buttons -- I almost have that
23:12 goehle np
23:12 goehle want to make sure things are going smoothly
23:34 ionparticle joined #webwork
23:39 ionparticle hi, I'm trying to track down a really weird problem
23:39 mgage kk
23:39 mgage haven't worked on that yet
23:40 ionparticle when adding a problem from the Library Browser to a Problem set, Firefox will error out with "The connection to the server was reset while the page was loading." on certain problems
23:40 ionparticle while Chrome continues on fine
23:42 mgage what version are you using?  there might be a version number at the bottom of some of the pages
23:43 ionparticle 2.5.0beta
23:44 ionparticle according to the README
23:44 mgage ok -- and which library browser times out?
23:44 ionparticle it doesn't time out
23:44 mgage sorry connection resets
23:45 ionparticle the plain Library Browser
23:46 ionparticle wow, Library Browser 2 seems to work fine
23:46 mgage ok -- no clue so far -- really no changes there in years.  is there something special about the problems that break? -- do they have pictures or applets or something?  is it consistent? does it always happen on the same problem?
23:47 ionparticle it always happens with the same problem
23:47 ionparticle nothing special
23:47 mgage (wait till you see library browser 3 -- at the moment I don't think we'll finish library browser 2 unless there are features people really want
23:47 ionparticle I think you've shown me that one before
23:48 ionparticle the fancy ajax one?
23:48 mgage can you tell me the problem path? or email me the problem
23:48 ionparticle Library/maCalcDB/setVectors2DotProduct/UR_VC_1_10.pg
23:48 mgage yep -- both 2 and 3 use ajax -- but 3 came after David had learned more
23:49 ionparticle not sure when we last updated the library
23:51 mgage k -- I'll see if I can make it break on the new stuff --- https://hosted2.webwork.rochester.edu/webwork2/maa102 (and maa101, maa103, etc) are using the latest stuff -- trying to get it ready for fall -- if you want to try it out. Do you have time to see if you get the same failure on the maa courses on hosted2
23:51 mgage use profa/profa    login/password
23:52 ionparticle yes
23:52 ionparticle thanks for your time!
23:52 mgage np -- let me know how it goes -- I'll be working here
23:57 ionparticle it looks fine
23:57 ionparticle it seems like the problem in question doesn't exist in the newest library
23:58 mgage hmmm - it could be the fault of the problem itself
23:58 mgage let me look on one of the older sites
23:58 ionparticle I copy and pasted the problem into a new set
23:58 ionparticle and it appears fine
23:58 ionparticle also worked when I added that problem to a set using the Library Browser

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