Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2014-02-11

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

All times shown according to UTC.

Time Nick Message
01:12 mgage_ joined #webwork
03:05 ilbot3 joined #webwork
03:05 Topic for #webwork is now WeBWorK (http://webwork.maa.org) is an open-source online homework system for math and sciences courses. WeBWorK is supported by the MAA and the NSF. | Release notes: http://goo.gl/Ry5HN | Channel logged at http://goo.gl/jELTn
03:26 mgage joined #webwork
04:30 rbeezer joined #webwork
05:02 mgage joined #webwork
12:06 niall1 joined #webwork
13:34 mgage joined #webwork
15:19 shdw_work joined #webwork
15:44 rbeezer joined #webwork
16:11 shdw_work think I'm finally almost ready to test the new 2.8 installation.  Half the battle is just waiting on the server ops guys to make changes to the stuff they don't give me access to.
16:24 goehle joined #webwork
18:57 niall1 joined #webwork
19:24 shdw_work can anyone tell me if the course from 2.5 are drop-in compatible with 2.8?
19:25 shdw_work and would I just copy the directory under /courses/ or do I need to archive the course under 2.5 then unarchive it under 2.8?
19:51 goehle I would leave the courses directory as it is
19:51 goehle although there are some caveats
19:51 goehle is this on the same machine or a different machine?
19:54 shdw_work its on a single machine.  We have a separate instance of apache running for the 'test' space, but I need to figure out a way to import the current classes into the upgrade
19:56 goehle hmm
19:57 goehle thats tough
19:57 goehle if you are doing a straight upgrade you can leave courses the way it is
19:57 goehle but you need to upgrade the course tables to make them work (using the admin course)
19:57 goehle I'm not sure you can have two parallell versions of webwork running on the same courses folder though
19:57 goehle the courses folder is fine
19:57 goehle but the databasei might be a probelm
19:58 goehle if you upgrade the database to 2.8 I dont know that 2.5 will still work.  It might, but I wouldn't bet on it
19:58 shdw_work no the installations are completely separated... different folders, different databases, different apache instances
19:58 goehle ok
19:58 goehle then you need to export and import them
19:58 goehle or archive and unarchive
19:59 shdw_work I didn't see any options to import/export, just the rchive options
19:59 goehle thats what I meant
19:59 goehle but I"m not sure that will work either
19:59 shdw_work ah ok, should be easy enough then
19:59 goehle when you archive it saves the mysql database
19:59 goehle I dont know if the newer version will import a course and upgrade the database at the same time
19:59 goehle it might be able to import the course and then you upgrade the database after that
20:00 goehle try it out.
20:00 goehle after you import, try to upgrade to see if its needed
20:00 goehle and let us know what happens
20:00 shdw_work ok, I'll give it a shot here in a moment
20:07 shdw_work hmm I'm not going to get very far without the admin course in place :-)
20:07 goehle true
20:26 shdw_work ah... got everything straightened out to match this config, finaly working
20:26 goehle nice
20:37 shdw_work grrrr
20:38 shdw_work running into permission problems.  The apache user isn't creating the course folder with +g set, so I can't remove the first failed attempt
20:47 shdw_work *bangs head on keyboard*
20:47 shdw_work oh yeah, there's an option to delete the course
20:51 shdw_work ok so on unarchive, there are several complaints because it appears the sql tables for the student data was not saved before.
20:52 goehle That might be the fact that it can't import them properly because they are the old table structure
20:52 shdw_work its also not letting me log into the course now.  Not sure if that's because it didn't import the user list for the course.
20:52 goehle thats probably it
20:53 goehle one thing you could try
20:53 goehle is to copy over the courses file as it is
20:53 goehle and then to delete your exising webwork database for the new version
20:53 goehle and copy the database from the old version over to the new version in place
20:53 shdw_work ah it did import the list, I had changed my password
20:53 goehle then when you start it up all of the courses should already be there (ready for upgrade)
20:53 goehle so its workign?
20:54 shdw_work wow this is new... it actually remembers me if I'm logged in to multiple course and change which one I'm looking at.  Very nice for admin work!
20:55 shdw_work ok a lot of sql errors, let me try to do the db upgrade on the course
20:56 shdw_work haha the admin course tables are out of date?  From a fresh install?
20:56 goehle its not impossible
20:56 goehle it should upgrade itself
20:56 goehle so you shouldn't see those messages again
21:00 shdw_work ok its looking very good... did the database update and I'm not seeing any errors in the course now
21:00 shdw_work imported 970 users from the archive
21:01 goehle thats a lot ...
21:01 shdw_work so the only errors I saw during the process were missing sql files for student progress, and I think for grades?
21:01 shdw_work yeah I think we had 32 classes for Calc 1 last semester
21:01 goehle I dont recognize the errors
21:01 shdw_work let me do another one and I'll give you the details
21:02 goehle however, this is bound to be kind of incomplete
21:02 goehle I wouldn't switch over in the semester
21:02 goehle its good for testing purposes, but you should wait until next semester to put it into production.  They you can make fresh courses and they shouldn't be missing anything
21:02 shdw_work oh I have no intention of switching in the middle of class.  I'm testing this out for the Summer classes
21:03 goehle ok
21:03 goehle well then
21:03 goehle it should work pretty well
21:03 shdw_work the course material doesn't change, so I can pull that in from last semester and have some students test out the homeworks to verify there are no errors popping up
21:03 goehle but I wouldn't be suprised if there are a few gotchas
21:03 goehle make sure you have the latest library
21:03 goehle and run OPL upgrade, as well
21:03 goehle the latest library has had a lot of work done to it for calculus
21:06 shdw_work http://math.colorado.edu/~jeta4044/webwork.html
21:06 shdw_work there's a copy of the errors when I import an archive from 2.5.0
21:06 goehle yeah
21:07 goehle those are tables which are in the new version (for gamification and other things)
21:07 goehle which are not in the old version
21:07 goehle so it will always fail when you import that way
21:07 goehle however, it should run just fine
21:07 goehle or does that crash the import?
21:08 shdw_work no the import seemed to complete just fine, I'm doing the db upgrade now
21:08 goehle ok
21:08 goehle then, just ignore them, because they are unfixable.  You don't have data for those tables to import
21:08 shdw_work lot of warnings about extra columns and such, but nothing critical
21:08 goehle yeah
21:09 shdw_work and its good... import, upgrade, and its ready to log in
21:10 goehle you in the math dept or the applied math dept at CU?
21:10 shdw_work now I just have to patch up the .pm file for ldap logins... It doesn't quite work with our AD setup... gets a false-positive on the anonymous login attempt and never actually pulls the user data
21:10 shdw_work I'm the IT guy for the math department
21:10 goehle you should take a look at the new config file setup
21:10 goehle I think authentication configuration goes in a different place now
21:11 shdw_work the ldap config, or the site config file?
21:11 shdw_work authen_ldap.conf is wher all the ldap stuff is now
21:11 goehle authen_ldap.conf.dist
21:11 goehle right
21:11 shdw_work let me see if I can find the change I made previously in my notes
21:12 goehle Is the patch you make for the .pm file something special to your setup, or do we need to consider bringing it in to the main code?
21:14 shdw_work ah here it is... LDAP.pm
21:14 shdw_work under #bind anonymously
21:15 shdw_work I have $rdn specified, but it didn't seem to use it
21:15 shdw_work so I commented out this line:
21:15 shdw_work $msg = $ldap->bind;
21:15 shdw_work and added this line:
21:15 shdw_work $msg = $ldap->bind("$rdn=$uid,$base", password => $password);
21:16 goehle coudl you submit that as a bug report?
21:16 shdw_work line 85 in the current LDAP.pm
21:16 goehle http://bugs.webwork.maa.org/enter_bug.cgi?product=WeBWorK%202
21:16 shdw_work sure
21:17 shdw_work let me just make sure it still works
21:18 shdw_work oops, forgot I have to restart apache for this change
21:18 shdw_work bingo!  Still works
21:18 goehle good
21:24 shdw_work I assume I don't need to fill in all the browser info for this bug?
21:27 goehle no
21:27 goehle just select Authen for component
21:39 shdw_work bug 3019
21:47 shdw_work if I may ask, because I haven't actually seen it explained... Why is WeBWorK spelled with the mix a upper- and lower-case?
21:53 shdw_work oh, and another program question... When we imported users from a .lst file, the default password was blank.  We made a program change to force the default to be the student ID number.  Has anything changed in 2.8 that might affect this?  Any new settings to control default passwords?
21:57 shdw_work well this explains why I get so many odd support emails... I just googled for webwork, and noticed that my page has the #1 spot, above the maa.org page.  How did THAT happen?
22:54 shdw_work "admin sql_single Database tables need updating."
22:54 shdw_work I get this every time I go into the upgrade option, even after allowing it to upgrade the admin course

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