*** alga has quit IRC | 03:47 | |
*** aks has joined #schooltool | 05:52 | |
*** aks has quit IRC | 07:11 | |
*** aks has joined #schooltool | 07:12 | |
*** aks has joined #schooltool | 07:12 | |
*** alga has joined #schooltool | 10:55 | |
*** alga has quit IRC | 10:55 | |
*** menesis has joined #schooltool | 12:05 | |
*** menesis has quit IRC | 13:00 | |
*** aks has quit IRC | 14:19 | |
*** menesis has joined #schooltool | 14:20 | |
*** menesis has quit IRC | 14:28 | |
*** menesis has joined #schooltool | 14:44 | |
*** th1a has joined #schooltool | 15:30 | |
th1a | hi aelkner, menesis, yvl. | 16:31 |
---|---|---|
th1a | I guess replaceafill is still having some issues (understandably). | 16:31 |
aelkner | morning | 16:31 |
yvl | hey guys | 16:32 |
menesis | hi | 16:32 |
th1a | So, yvl and menesis, have I asked if you've ever been to Lodz? | 16:34 |
yvl | Lodz, you say... :) | 16:34 |
th1a | Poland. | 16:34 |
th1a | Or know anything about it? | 16:34 |
th1a | In January? | 16:34 |
yvl | well, I know it's in Poland :) | 16:34 |
menesis | I haven't been there | 16:35 |
yvl | so... news from Poland? | 16:35 |
th1a | Well, Welsh is working on some kind of US/Poland exchange on career tech with people in Lodz. | 16:36 |
th1a | And he'd like to get them on CanDo and is going back in January. | 16:37 |
th1a | So I thought instead of going back to Arlington to plan our CanDo assimilation, we could do it in Lodz. | 16:37 |
th1a | I'd rather avoid another Career Center sprint. | 16:37 |
th1a | We'd have facilities at the local university. | 16:38 |
th1a | I said I'd check to see if PoV had any "Nooo.... not LODZ!" Reaction. | 16:39 |
th1a | OK. | 16:40 |
th1a | Meeting with Schwa went fine. | 16:40 |
yvl | good to hear! | 16:40 |
yvl | did things get unstuck? | 16:40 |
th1a | Looked at the homepage design with some color photos in the spaces at the bottom and that's sufficient to make it not look like a German army uniform. | 16:41 |
yvl | :))) | 16:42 |
th1a | Vinny is working first on completing the palette for the app itself. | 16:42 |
th1a | Checking the various grays, etc. | 16:42 |
th1a | He's got the colors css for reference. | 16:42 |
th1a | Clarified what we need for the book template. | 16:44 |
th1a | So that went fine. | 16:44 |
th1a | btw, anyone feeling less good about the basic colors/logo after looking at them for a month? | 16:45 |
yvl | "it grows on you" :) | 16:46 |
th1a | Yeah. | 16:46 |
th1a | When I see the old version I think "red?" | 16:46 |
th1a | What were we thinking? | 16:47 |
menesis | looks good | 16:47 |
aelkner | yeah, i don't miss the red | 16:47 |
th1a | OK, just checking. | 16:48 |
th1a | OK, moving on... | 16:48 |
th1a | How difficult would it be to write a script to, say, go through a Data.fs and just discard any CanDo objects? | 16:48 |
th1a | If that would work at all. | 16:49 |
yvl | you're talking about Niepa? | 16:49 |
aelkner | sounds like it | 16:49 |
yvl | because it also has modified schooltool persons IIRC | 16:49 |
yvl | or maybe not | 16:50 |
aelkner | no, just special views which it doesn't have anymore | 16:50 |
aelkner | person views, i meant | 16:50 |
yvl | ah | 16:50 |
yvl | well, probably not that difficult | 16:50 |
th1a | If anything it is probably just a couple random experimental objects anyhow. | 16:51 |
yvl | but I wouldn't be 100% sure it works afterwards | 16:51 |
aelkner | this speaks to the whole unplugability issue, right? | 16:51 |
th1a | We also have to have some Data.fs cleanup tools in our kit. | 16:51 |
aelkner | pulgins tend to add stuff to Data.fs in the AppInit hook | 16:52 |
aelkner | then the user could have added more stuff | 16:52 |
yvl | well, we kind of did something similar manually before | 16:52 |
yvl | old db export | 16:52 |
th1a | Also, this isn't so much the plug/unplug case as just the "user has customized objects in his db we want to get rid of" general case. | 16:55 |
th1a | I mean, those are both cases. | 16:55 |
yvl | right | 16:55 |
yvl | but objects aren't usually just stand-alone | 16:55 |
yvl | they're related in some way to our objects | 16:55 |
th1a | In the future we'll have just annoyingly fucked Data.fs's with stuff we'd like to purge. | 16:55 |
yvl | and strictly speaking, we don't know how | 16:55 |
aelkner | what customized objects can the user possibly have that aren't related to plugins that are no longer plugged in? | 16:56 |
th1a | Like if they just re-write some code. | 16:56 |
th1a | And then want to update back to regular code. | 16:56 |
aelkner | sounds more like corrupt data than customized data | 16:57 |
th1a | ........... | 16:57 |
yvl | aelkner is not wrong, th1a | 16:57 |
yvl | but I can write something to just purge broken objects | 16:57 |
yvl | .. and see what happens :) | 16:57 |
th1a | OK, don't do anything yet. | 16:58 |
yvl | ok | 16:58 |
aelkner | it would have to run on startup because that's when it crashes | 16:58 |
yvl | the script would be run manually | 16:58 |
aelkner | the server doesn't even start to allow the user to select some 'fix data.fs' link | 16:58 |
th1a | aelkner: I'm thinking more of a one-time script you'd just run directly against the Data.fs. | 16:59 |
yvl | yes | 16:59 |
aelkner | ah, outside the running server | 16:59 |
aelkner | much better | 16:59 |
aelkner | so we would have a separate python script that runs | 16:59 |
aelkner | and we could, in theory, add custom hooks to it? | 16:59 |
th1a | It would just be a custom script. | 17:00 |
th1a | For whatever the problem happened to be. | 17:00 |
th1a | It is a one-shot weapon. | 17:00 |
aelkner | i meant, if it's something that could happen ore than once, project-wise | 17:00 |
aelkner | we would have a standard fix script that we could add particular code to when needed | 17:01 |
yvl | likely | 17:01 |
yvl | it would be slow though | 17:01 |
yvl | but hey | 17:01 |
yvl | one shot | 17:01 |
aelkner | speed doesn't matter | 17:02 |
th1a | The first step in the script should be packing the database. ;-) | 17:02 |
aelkner | not when fixing data | 17:02 |
aelkner | data patches can take as long as they want | 17:02 |
aelkner | especially when they happen outside of the server running | 17:02 |
aelkner | i would love it if we had a base fix script that we could add custom hooks to any time we needed to patch something | 17:03 |
aelkner | in the past, many times, i've had to actually patch a view to call patch code | 17:04 |
th1a | I think the "hook" would just be a method you copy/paste your code into. | 17:04 |
aelkner | that's pretty much what i meant in this case | 17:04 |
aelkner | it doesn't have to be rocket science, or zope science (same thing) :) | 17:05 |
th1a | Well... the problem is that it is ZODB science. | 17:05 |
th1a | If it was SQL science you'd just delete the table. | 17:05 |
th1a | (or just ignore the table) | 17:06 |
aelkner | yes, sql is friendlier when it comes to patches, it's meant for it | 17:06 |
th1a | OK, so, let's just segue into aelkner's report. | 17:07 |
aelkner | ok | 17:07 |
aelkner | the reason th1a is bringing up this subject is because i finally got schooltool.niepa to work with flourish | 17:07 |
aelkner | it doesn't have its own skin anymore, just includes flourish skin instance config which sets the skin to flourish | 17:08 |
aelkner | i installed it on a demo instance and informed david ally, then th1a and he discussed things when i wasn't there | 17:09 |
th1a | Well, he just immediately got confused is all. | 17:09 |
aelkner | sure, that's not surprising with such a new UI | 17:10 |
aelkner | i see he didn't respond about meeting | 17:10 |
th1a | We'll see how it goes. | 17:10 |
aelkner | if he ever pops up and i'm not responding to chat, please call me | 17:10 |
th1a | I wasn't around at the time either. | 17:10 |
aelkner | oh, i thought you met | 17:10 |
aelkner | ok | 17:10 |
th1a | Not when he actually was using it. | 17:10 |
th1a | If it is easier for us to write a script for his old data then walk him though this, we'll write the script. | 17:11 |
aelkner | i kept a copy of the old data that i had in my sandbox | 17:12 |
aelkner | so if we do come up with a script plan, i can test using that | 17:12 |
th1a | OK. | 17:12 |
aelkner | anyway, i also fixed a bug: | 17:12 |
aelkner | https://bugs.launchpad.net/schooltool/+bug/661240 | 17:12 |
aelkner | it's nice that the gradebook and journal look exactly the same now, navigation between sections and all | 17:13 |
aelkner | now it you switch between the gradebook and journal using the tabs, the section stays the same | 17:13 |
th1a | btw, it isn't entirely clear to me that we couldn't leave the CanDo objects in our data model even though we weren't actually turning the views on. | 17:13 |
th1a | As another way to keep the app from barfing up errors when it happened upon a CanDo object. | 17:13 |
aelkner | it barfs on server startup, not in any views | 17:14 |
th1a | Right. | 17:14 |
aelkner | just having the object in the db with no code to support it is enough to prevent the server from starting | 17:14 |
th1a | I'm not sure about the terminology... what if you installed the package but didn't enable the skin? | 17:15 |
th1a | If the objects are in the data model but there is no interface, that would be fine. | 17:15 |
aelkner | if only it wouldn't crash on startup, you mean | 17:15 |
th1a | That's the only thing we're worried about. | 17:15 |
aelkner | that's the only problem i know of | 17:16 |
th1a | Yes... | 17:16 |
th1a | So would that solve it? | 17:16 |
yvl | no | 17:16 |
yvl | say, we have an app object | 17:16 |
yvl | it's a container | 17:16 |
yvl | we put sub-containers there, like persons | 17:16 |
yvl | if we directly put MagicCanDoObjectContainer there | 17:17 |
yvl | the app container itself is "broken" | 17:17 |
aelkner | that's right | 17:17 |
aelkner | any view that visits the app object (practically every one) would crash | 17:17 |
th1a | But if CanDo is installed but there are no links to it in the interface... ? | 17:17 |
aelkner | we really need to excise it before starting the server | 17:17 |
yvl | th1a, | 17:17 |
yvl | I can't tell off hand | 17:18 |
yvl | but if they put objects somewhere | 17:18 |
th1a | Or is it all tied up in the "skin" aspect of it? | 17:18 |
yvl | everything that holds direct references is broken | 17:18 |
aelkner | the skin is not held in the db, just the data | 17:18 |
aelkner | the skin is just for the views | 17:18 |
th1a | I know. | 17:18 |
th1a | The reason we can't use CanDo is that it isn't integrated into the interface. | 17:19 |
yvl | I don't remember where precisely competencies are stored | 17:19 |
th1a | That's the problem there. | 17:19 |
th1a | It isn't that they don't want CanDo. | 17:19 |
th1a | If it is invisible to them, we're in the same place as if it wasn't installed at all. | 17:19 |
th1a | Either would be fine. | 17:20 |
yvl | umm, I'm a bit confused of what you're trying to say, th1a | 17:20 |
th1a | OK... | 17:20 |
th1a | If we installed CanDo with a SchoolTool running flourish. | 17:21 |
th1a | And we didn't enable the CanDo skin, | 17:21 |
th1a | would the application load the objects without barfing? | 17:21 |
yvl | likely | 17:21 |
th1a | That would be a satisfactory outcome. | 17:22 |
yvl | true | 17:22 |
yvl | aelkner, can you try this one out? | 17:22 |
aelkner | can i just add cando to buildout.cfg to try it out? | 17:22 |
yvl | just add a dependency on CanDo egg, but not actually include or enable it | 17:22 |
yvl | yes | 17:22 |
aelkner | trying now... | 17:22 |
yvl | kind of a "doh" moment :) | 17:23 |
aelkner | Error: Couldn't find a distribution for 'cando'. | 17:23 |
th1a | It was actually the first thing I thought but I dread any conversation which includes skins. | 17:23 |
yvl | just check out some version of cando aelkner, and add it to develop | 17:24 |
aelkner | what, no egg? | 17:24 |
* yvl shrugs | 17:26 | |
yvl | just bzr branch lp:cando | 17:26 |
th1a | OK, meanwhile... | 17:27 |
aelkner | i did that, and it started successfully, now trying with old Data.fs | 17:27 |
th1a | yvl: Why don't you go ahead. | 17:29 |
aelkner | running flourish evolve script, i think.... | 17:29 |
th1a | We can multitask. | 17:29 |
yvl | ok | 17:29 |
yvl | I'm working on speeding up main gradebook and journal views | 17:29 |
aelkner | zope.app.generations.interfaces.UnableToEvolve: (2, u'schooltool.lyceum.journal', 2 | 17:30 |
aelkner | AttributeError: 'datetime.date' object has no attribute 'date' | 17:30 |
yvl | old bug, fixed in trunk, aelkner | 17:31 |
aelkner | so again, not in the egg | 17:31 |
yvl | should be | 17:31 |
yvl | but I haven't checked | 17:31 |
aelkner | remember how you told me i didn't need to use develop, just let it get the eggs | 17:31 |
yvl | I remember | 17:32 |
aelkner | i guess that strategy won't work | 17:32 |
aelkner | so i need to branch all the flourish trunks and add them to develop, rght? | 17:32 |
aelkner | this means, of course, complicated instructions for david ally to install himself | 17:33 |
aelkner | keep that in mind | 17:33 |
yvl | or ask menesis to check if latest committed things are in eggs | 17:33 |
menesis | flourish/dev eggs are quite recent | 17:33 |
th1a | Is there something aelkner should be doing to update his? | 17:33 |
menesis | I made them after evolution fixes | 17:34 |
menesis | bin/buildout -n | 17:34 |
menesis | will get newest eggs | 17:34 |
aelkner | trying that... | 17:35 |
*** jelkner has joined #schooltool | 17:35 | |
yvl | back to report | 17:35 |
yvl | so it's quite clear where the major slowdowns are | 17:35 |
yvl | I will be fixing over-zealous security checks first | 17:36 |
yvl | and then again, there's a question how much time I have | 17:36 |
th1a | What's making them overly zealous? | 17:36 |
yvl | when gradebook looks at activity scores or something | 17:36 |
yvl | it checks n_activities*n_students*2 times | 17:37 |
yvl | if it can look at student | 17:37 |
yvl | which triggers ~700 checks of if a person instructs that student in any of his sections | 17:37 |
yvl | there are few offending places like this | 17:38 |
yvl | so for 25 activities and 27 students | 17:38 |
yvl | I get something like 2800 security checks | 17:38 |
th1a | So you should only need to do it per-student, not per activity? | 17:38 |
aelkner | may i interrupt with an update | 17:38 |
yvl | yes, aelkner | 17:38 |
yvl | right, th1a | 17:38 |
aelkner | after getting the latest eggs, the server starts! | 17:38 |
th1a | Lovely. | 17:39 |
aelkner | i can't login, though, because it don't remember the manager password | 17:39 |
aelkner | how do i reset that? | 17:39 |
yvl | well, it's a bit more complicated than that, but basically yes, check once per student | 17:39 |
th1a | aelkner: Let's get through the rest of the reports now. | 17:39 |
aelkner | ok | 17:39 |
th1a | yvl: So a week on this? | 17:39 |
yvl | and the rest of the slowdown is for template rendering | 17:40 |
yvl | mm | 17:40 |
yvl | hmm | 17:40 |
th1a | What's the point of diminishing returns? | 17:40 |
yvl | easiest part is removing securities in *reasonable* places | 17:40 |
yvl | so it something like several days or less | 17:41 |
yvl | then there's template rendering | 17:41 |
yvl | we could remake gradebook and journal to generate the gradebook part of html dynamically | 17:41 |
yvl | don't know how long it will take though | 17:42 |
yvl | speedups are.... | 17:42 |
yvl | say, we have 12 secs to generate a page | 17:42 |
yvl | let me check... | 17:42 |
yvl | some 5 secs are spent in security | 17:43 |
yvl | we can speed that up to some 1 sec probably | 17:43 |
yvl | then we can claim some 4 more secs from template rendering | 17:43 |
yvl | fixing security - 1-3 days | 17:44 |
yvl | dynamic templates 1-x days | 17:44 |
yvl | I could hack faster, but I don't want to be careless this close to release | 17:45 |
th1a | Well, give it a week and we'll see how it is coming. | 17:45 |
yvl | ok | 17:45 |
th1a | It is a high priority. | 17:45 |
yvl | and good timing | 17:45 |
yvl | new UI + faster UI is a good match | 17:45 |
th1a | Or at least usable UI... ;-) | 17:46 |
yvl | :D | 17:46 |
th1a | Usably fast. | 17:46 |
th1a | Thanks yvl. | 17:46 |
th1a | menesis? | 17:46 |
menesis | I worked little today and friday | 17:47 |
menesis | but mostly on zope packages | 17:47 |
menesis | first in debian | 17:47 |
menesis | then ubuntu | 17:47 |
menesis | but still some left | 17:48 |
menesis | now my packages fail to build in precise | 17:48 |
menesis | solving that now | 17:49 |
th1a | kk | 17:49 |
menesis | other than packages | 17:49 |
menesis | I plan to do another round of flourish releases | 17:50 |
menesis | on Thursday | 17:50 |
th1a | ok | 17:50 |
menesis | will check with you all on Wed if all bugfixes you wanted are in | 17:50 |
th1a | kk | 17:51 |
menesis | that's it | 17:51 |
th1a | Thanks. | 17:51 |
aelkner | may i interject now? | 17:52 |
th1a | Yes. | 17:52 |
th1a | Go ahead aelkner. | 17:52 |
aelkner | ok, great news, i found the manager password in an old email from david | 17:52 |
aelkner | i visited a number of manage views, no crash | 17:52 |
aelkner | th1a, kudos for thinking of adding cando package back since we don't use its skin | 17:53 |
aelkner | menesis, can we get a cando egg made? | 17:53 |
yvl | true | 17:53 |
* yvl applauds th1a | 17:53 | |
yvl | no idea how *that* didn't cross my mind | 17:53 |
menesis | to reset manager password... | 17:53 |
menesis | bin/python -m schooltool.app.main -- --config instance/schooltool.conf --manage --restore-manager - | 17:54 |
menesis | I will have to work on schooltool start script soon | 17:55 |
menesis | to make restore password and pack db available | 17:55 |
th1a | Nice. | 17:56 |
aelkner | bash: bin/python: No such file or directory | 17:56 |
menesis | and cleanup schooltool.app/paster/zope.server/zope.app.server story to make a nice script | 17:57 |
* th1a rolls his eyes. | 17:57 | |
menesis | aelkner: add "interpreter = python" to buildout.cfg [scripts] | 17:57 |
aelkner | should i do that in base.cfg or create a [scripts] section in buildout.cfg? | 17:58 |
menesis | base.cfg | 17:58 |
menesis | other schooltool projects have it | 17:59 |
menesis | aelkner: what cando egg do you want? | 18:00 |
aelkner | one that matches lp:cando which is what i had to check out manually to get it to run | 18:00 |
menesis | there is a 2011.09 egg, in lp:cando only one more commit | 18:01 |
menesis | but, in http://ftp.schooltool.org/cando/eggs/ | 18:01 |
menesis | if this is niepa, you have to add this location to [buildout] find-links | 18:02 |
menesis | so that buildout knows where to download cando from | 18:02 |
aelkner | let me try that and get rid of cando from the develop section | 18:02 |
th1a | OK, I'm going to... | 18:05 |
* th1a drops the bag of gravel. | 18:05 | |
yvl | thanks guys | 18:05 |
yvl | see you Wed | 18:05 |
aelkner | menesis, excellent, cando egg found | 18:05 |
aelkner | cya guys | 18:05 |
th1a | Thanks! | 18:05 |
aelkner | th1a, again, great idea to put cando back, works like a charm | 18:06 |
th1a | Keep that one in the toolkit. | 18:07 |
aelkner | david just emailed us | 18:08 |
aelkner | th1a, are you of the mind to move on from the demo server and get him to try bzr pull? | 18:09 |
aelkner | remember, we lose the ability to see his issues easly when we depart from the demo server | 18:09 |
th1a | Also, the latest from your favorite bird-painter: http://vimeo.com/27624987 | 18:10 |
th1a | aelkner: I am in no big rush to do that. | 18:11 |
aelkner | th1a, cool, i could copy my data.fs to the demo server at least | 18:12 |
th1a | I guess you'll have to. | 18:12 |
aelkner | so she's the girl from the seattle show that had 'put a bird on it', right? | 18:13 |
aelkner | cool, a four-girl band | 18:14 |
th1a | Yes... her former band, Sleater-Kinney, was quite popular. This is her new band -- Wild Flag. | 18:14 |
th1a | Also they are on the same label as my former band was (Merge). | 18:15 |
aelkner | ok, so who made the square pie chart? :) | 18:15 |
th1a | I'm looking at you, aelkner. | 18:15 |
aelkner | :) | 18:15 |
aelkner | th1a, how do we want to proceed? did you read david's email? | 18:18 |
th1a | I can meet tonight. | 18:18 |
aelkner | 'Also can we meet by 9.00pm Lagos time tonight for further discussions' | 18:18 |
aelkner | what time is that for us? | 18:19 |
aelkner | not tonight, right? | 18:19 |
th1a | ? | 18:19 |
th1a | He is in Africa. | 18:19 |
aelkner | yes, so 9:00pm Lagos time is, what, 4:00 pm for us? | 18:19 |
th1a | http://www.timeanddate.com/worldclock/meetingtime.html?iso=20111024&p1=125&p2=43 | 18:20 |
th1a | Yes. | 18:20 |
*** yvl has quit IRC | 18:20 | |
aelkner | ok, so i'll be available to meet then, can you email him that we will be there? | 18:21 |
th1a | Yes. | 18:21 |
aelkner | th1a, still there? | 18:30 |
th1a | Present. | 18:30 |
aelkner | ok, i copied the data.fs to the demo server and updated the code, ran bin/buildout -n, etc. | 18:31 |
aelkner | http://69.164.203.135:36670/ | 18:31 |
aelkner | if you're interested in looking at it, i'll email you the manager password | 18:31 |
aelkner | ok, even if you're not interested, i emailed the password to you :) | 18:33 |
aelkner | th1a, do you want to look at this reall quick, or wait until 4:00? | 18:34 |
th1a | I'll look at it now. | 18:35 |
th1a | Anything in particualr for me to look at? | 18:37 |
aelkner | only if something jumps out at you | 18:37 |
aelkner | if not, i'd like to take a nap to finish the incomplete sleep i got last night | 18:38 |
th1a | OK. | 18:39 |
th1a | Night night. | 18:39 |
aelkner | cya at 4:00 | 18:39 |
*** Kribaba has joined #schooltool | 19:03 | |
Kribaba | Hi guys, anyone there? | 19:03 |
th1a | hi Kribaba. | 19:03 |
th1a | What's up? | 19:03 |
Kribaba | hiya... I'm testing out schooltool for my school and there was a feature I was looking for which I don't know whether exists or not... Is it possible to log every class and the activity done in a class? | 19:04 |
th1a | Log in what sense? | 19:04 |
Kribaba | I've created a recurring event (a test class) - I'd like to be able to log what was done in a particular class. i.e we read page 32 and did assignment B | 19:05 |
th1a | Did you look at the gradebook? | 19:06 |
Kribaba | aah cool.. I thought that was only for grading students.. will check it out.. thnx... | 19:08 |
th1a | I suspect you'll be a little disappointed that the gradebook doesn't actually create calendar events yet. | 19:09 |
th1a | We need to get to that soon. | 19:09 |
Kribaba | yeah... or the other way around - clicking a class on your calender takes you to a gradebook entry.. | 19:13 |
Kribaba | humm.. well.. anyway. I think I'm beginning to understand the system... | 19:20 |
th1a | Getting the parts better integrated is definitely a goal for the next six months. | 19:22 |
th1a | What OS are you using? | 19:23 |
th1a | Kribaba: Which version of SchoolTool do you have? | 19:25 |
th1a | We're beta testing SchoolTool 2.0 so you should be looking at that. | 19:25 |
Kribaba | 1.4 | 19:25 |
th1a | On what system? | 19:25 |
th1a | Is this a Critical Links system? | 19:26 |
Kribaba | Ubuntu 10.04.3 LTS | 19:26 |
th1a | Ah. | 19:27 |
th1a | So... what's your timeframe for potentially adopting SchoolTool? | 19:27 |
Kribaba | ERhm.. I installed the old schooltool because there wasn't a intall package for my server version.. But I have to run this version to use webmin .. | 19:28 |
Kribaba | well.. | 19:28 |
Kribaba | within 6 months .. | 19:28 |
th1a | You could run a current version from source. | 19:28 |
th1a | Is there any likelihood of updating to the next LTS (next april)? | 19:29 |
Kribaba | no... I don't think so.. that would be tricky... | 19:31 |
th1a | Is this for a school or just personal use? | 19:31 |
th1a | I don't suppose you have experience setting up virtual machines... | 19:32 |
Kribaba | This is for a school that is in the startup phase, right now everything is managed through spreadsheets.. I don't have much experience with VM's in ubuntu... only ever used vmware for windows server environment.. | 19:34 |
th1a | I assume you'd be using this same server in production? | 19:35 |
Kribaba | yeah.. | 19:35 |
th1a | I'm making this seem more impossible that it is, btw. | 19:35 |
Kribaba | It's running virtualmin to manage the entire thing - but virtualmin doesn't allow you to install a server with a different OS | 19:36 |
th1a | You can run the up to date code from our source releases, the main thing you lose is just the startup scripts and some of those conveniences. | 19:36 |
Kribaba | well.. | 19:36 |
Kribaba | humm. . | 19:36 |
th1a | So those are hardly insurmountable problems. | 19:36 |
Kribaba | how'd I go about that then? | 19:36 |
th1a | Of course, I may be overoptimistic about this... | 19:37 |
th1a | Let's see | 19:37 |
Kribaba | no problem - it's a good attitude to have ;) | 19:38 |
th1a | Just a sec... | 19:38 |
th1a | first 'sudo apt-get install bzr' | 19:38 |
th1a | Ooh... wait. | 19:39 |
th1a | You know, I'm probably going to tell you the wrong thing. | 19:39 |
th1a | menesis: Are you here? | 19:39 |
Kribaba | btw. it's a cloud server and I only have command line access... ;) | 19:39 |
th1a | Yes, that's not a problem. | 19:40 |
Kribaba | (in the installation guide it says you should install a desktop environment xP) | 19:40 |
Kribaba | cool | 19:40 |
th1a | Just a sec. I'm the project manager not a developer so I'm trying not to screw up. | 19:42 |
th1a | OK, go ahead and try to install bzr as above. | 19:43 |
Kribaba | Hehe no problem - I try to not do that occasionally as well - I appreciate you giving it a shot btw. ;) | 19:43 |
Kribaba | ok done : ) | 19:45 |
th1a | Now: | 19:46 |
th1a | bzr branch lp:schooltool.release/flourish ; cd flourish ; make develop | 19:46 |
th1a | Try that. | 19:46 |
Kribaba | It's giving a warning about launchpad ID but seems to be downloading the data fine.. | 19:48 |
Kribaba | hum | 19:48 |
Kribaba | http://paste.lisp.org/+2OT5. | 19:49 |
th1a | Probably this doesn't work with such an old version. | 19:50 |
th1a | I'll ask the guy who does the packaging what might work. | 19:50 |
Kribaba | thnx | 19:50 |
th1a | Well, | 19:51 |
th1a | one more thing.. | 19:51 |
th1a | if you're in the flourish directory try | 19:51 |
th1a | 'make ubuntu-environment' | 19:51 |
th1a | Actually this might be a recent bug... | 19:51 |
Kribaba | will install almost 80MB - might take some time.. | 19:51 |
th1a | Ah, I think you'll have to explicitly do this too: | 19:52 |
th1a | sudo apt-get install python-virtualenv | 19:52 |
th1a | We talked about that bug last week. | 19:52 |
Kribaba | so python-vitualenv then try bzr again? | 19:53 |
th1a | make ubuntu-environment | 19:53 |
th1a | then python-virtualenv | 19:53 |
th1a | then 'make develop' | 19:53 |
Kribaba | gotcha... still doing the ubuntu-envin | 19:54 |
th1a | The bzr pull worked. I gave you three commands in a row. | 19:54 |
th1a | It failed on 'make develop' | 19:54 |
Kribaba | python already installed - trying bzr commands again | 19:56 |
Kribaba | looks better - this will not conflict with the old version installed? (port etc?) | 19:57 |
th1a | It will try to use the same port. | 19:57 |
th1a | you can change the port in ./instance/paste.ini | 19:58 |
*** Kribaba_ has joined #schooltool | 20:01 | |
Kribaba_ | mr.developer: Host key verification failed. | 20:01 |
th1a | Did that stop the installation? | 20:01 |
*** Kribaba has quit IRC | 20:02 | |
Kribaba_ | yes... seems so.. | 20:02 |
Kribaba_ | mr.developer: bzr branch for 'schooltool.gradebook' failed. | 20:02 |
th1a | That's... annoying. | 20:02 |
Kribaba_ | well put.. | 20:03 |
th1a | Can you paste the whole message? | 20:03 |
Kribaba_ | http://paste.lisp.org/display/125466 | 20:04 |
Kribaba_ | I think it has to do with the ID it complained about earlier.. | 20:04 |
th1a | Oh... I think it might have just been from a dropped connection. | 20:05 |
th1a | You've been coming and going on IRC too. | 20:05 |
th1a | So just try it again... you're on 'make develop' right? | 20:05 |
th1a | I think the real error is the Unexpected end of message. | 20:05 |
Kribaba_ | I'm at /flourish# | 20:06 |
th1a | Right, I mean, the step was 'make develop' | 20:06 |
Kribaba_ | yes | 20:06 |
th1a | Just repeat that. | 20:06 |
Kribaba_ | okidoki.. | 20:06 |
Kribaba_ | failed again.. Will give you a more complete paste (this time looks different though).. | 20:08 |
Kribaba_ | http://paste.lisp.org/display/125467 | 20:08 |
Kribaba_ | Think this is the problem: Permission denied (publickey | 20:09 |
th1a | Ah, I see. | 20:09 |
th1a | OK. Just a sec... | 20:09 |
Kribaba_ | uninstalled 2009 version btw (didn't have any data there anyway) | 20:11 |
Kribaba_ | uninstalled 2009 version btw (didn't have any data there anyway) | 20:12 |
th1a | You might need to do this: https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair | 20:12 |
Kribaba_ | will do | 20:12 |
th1a | I don't know why... probably the way we have this set up for ourselves. | 20:13 |
*** jelkner has quit IRC | 20:17 | |
* th1a is going to take a shower... | 20:18 | |
Kribaba_ | erhm.. ok... | 20:23 |
Kribaba_ | root@ns1:~/flourish# make develop make: *** No rule to make target `develop'. Stop. | 20:23 |
Kribaba_ | huum.. think I'm figuring this out... logged in with my launchpad ID at it seems to be installing.. | 20:26 |
menesis | oh my... | 20:29 |
menesis | first, you don't need to use checkouts to do a quick test | 20:29 |
menesis | schooltool branches are very big | 20:29 |
th1a | menesis arrives to clean up my mess. | 20:29 |
Kribaba_ | hehe | 20:30 |
th1a | I knew I wasn't really doing it right... | 20:30 |
Kribaba_ | it's currently stuck for some reason.. | 20:30 |
Kribaba_ | abort> | 20:30 |
Kribaba_ | ? | 20:30 |
menesis | th1a: no, you have said everything correctly | 20:30 |
th1a | I don't think we've got the "just check out eggs" instructions anywhere. | 20:30 |
th1a | It is correct but overkill I think. | 20:30 |
menesis | but instead of 'make develop' you can simply 'make' | 20:30 |
th1a | ah | 20:30 |
menesis | and it will download latest flourish eggs | 20:31 |
Kribaba_ | make: *** No targets specified and no makefile found. Stop. | 20:31 |
menesis | Kribaba_: wrong directory | 20:31 |
Kribaba_ | so which directory should I be in? | 20:31 |
Kribaba_ | flourish/flourish ? | 20:32 |
menesis | where the Makefile is in | 20:33 |
menesis | flourish, yes | 20:33 |
Kribaba_ | that should be it then... trying that... let's see.. | 20:33 |
Kribaba_ | seems to get stuck with a warning: no files found matching '*.ini' under directory 'scr'... | 20:35 |
Kribaba_ | ok.. it just ignored it and continued.. | 20:35 |
* Kribaba_ goes for a cig and a crap - still installing.. . | 20:40 | |
* Kribaba_ is back | 20:46 | |
Kribaba_ | loads of errors and warnings - still installing though - but should I be worried? | 20:46 |
*** Kribaba_ has quit IRC | 20:58 | |
*** KriBaBa has joined #schooltool | 21:01 | |
KriBaBa | erhm.. problem... just lost connection and putty dropped connection to the terminal.. I then tried to do the make again but now it says make: Nothing to be done for `all'. but it doesn't seem to have installed correctly.. | 21:02 |
th1a | make run | 21:03 |
th1a | ? | 21:03 |
*** KriBaBa has quit IRC | 21:07 | |
*** KriBaBa has joined #schooltool | 21:09 | |
KriBaBa | humm... well | 21:09 |
KriBaBa | http://paste.lisp.org/display/125471 | 21:10 |
th1a | Oh... probably you have to edit ./instance/paste.ini to allow remote access. | 21:11 |
KriBaBa | it's runnign but isn't available through web.. also... I can't exit the script,,, | 21:11 |
th1a | Change paste.ini to say 'host = 0.0.0.0' | 21:13 |
KriBaBa | YAY! | 21:15 |
KriBaBa | and so pretty >D | 21:15 |
KriBaBa | Well, it looks like it's working perfectly - thanks for all the help guys! Amazing support :D | 21:17 |
th1a | Well, if you could use a current Ubuntu it would be a lot easier. ;-) | 21:20 |
th1a | If you want to use this in production we should be able to get you set up with proper startup scripts, etc. | 21:21 |
KriBaBa | hehe.. yeah... life sucks that way... how to start up the instance in such a way that I don't have to be on the CLI (right now if I quit it stops the script and therefor the instance) | 21:22 |
menesis | KriBaBa: bin/start-schooltool-instance --daemon instance | 21:25 |
KriBaBa | brilliant... | 21:26 |
menesis | ubuntu packages have an init.d script | 21:26 |
menesis | so they work like other services | 21:26 |
menesis | but when running from source is different | 21:26 |
KriBaBa | ok.. well... I'll jsut write a batch for this... thanks a lot! | 21:26 |
KriBaBa | :D | 21:26 |
KriBaBa | so happy! | 21:26 |
menesis | I will try to make this latest version installable from PPA, so you don't have to do all this | 21:27 |
KriBaBa | that'd be swell... anyway - this seems to be working for now.. | 21:28 |
th1a | This will do for testing, menesis. | 21:28 |
KriBaBa | yar - this'll do fine... I gotta go - finished this just in time - I've got a class in 30 minutes - praised be the schooltool wiz'es.. (y) | 21:30 |
th1a | Later. | 21:30 |
KriBaBa | l8 :D | 21:30 |
*** KriBaBa has quit IRC | 21:31 | |
th1a | http://www.salon.com/2011/10/24/can_a_portlandia_comedy_sketch_destroy_a_fashion_trend/ | 21:55 |
*** dadeng has joined #schooltool | 22:29 | |
th1a | dadeng: Your old data is on the demo server now. | 22:43 |
dadeng | oh, that's great | 22:43 |
dadeng | oh, no wonder i couldn't log in again | 22:46 |
dadeng | anyway, i'll send the password to u and aelkner | 22:46 |
th1a | We have it. | 22:48 |
dadeng | ok | 22:49 |
dadeng | so give me some time to look at it and get back to u | 22:51 |
th1a | Sure. | 22:52 |
th1a | One thing that might not be obvious -- the little yellow pencil in a circle icon is the link to edit an object. | 22:52 |
dadeng | yeah, i got it | 22:53 |
th1a | kk ;-) | 22:53 |
aelkner | hey guys | 22:54 |
*** KriBaBa has joined #schooltool | 22:54 | |
dadeng | well done aelkner and th1a | 22:55 |
th1a | I had to figure this one out. ;-) | 22:55 |
th1a | You've still got CanDo installed, it is just not visible. | 22:55 |
aelkner | yes, th1a gets the credit for solving your data problem | 22:55 |
KriBaBa | hi guys... I'm back.. for some reason schooltool has stopped responding.. I checked and the daemon is still running... any clues? | 22:56 |
aelkner | did you look at the log? | 22:56 |
aelkner | it is probably a networking issue, but checking the log can rule out a schooltool problem | 22:56 |
th1a | Do you still have the terminal connection? | 22:57 |
KriBaBa | yes | 22:57 |
KriBaBa | checking the log | 22:57 |
th1a | One thing you can do is install a text browser like w3m or lynx and use that to see if you can access the server locally. | 22:58 |
KriBaBa | http://paste.lisp.org/display/125474 | 22:58 |
aelkner | that says the serer is running fine | 22:59 |
aelkner | server | 22:59 |
aelkner | oh, wait | 22:59 |
aelkner | that is not the system log, is it? | 23:00 |
KriBaBa | can't access form lynx.. | 23:00 |
aelkner | that looks more like a sandbox: ~/flourish/flourish/instance/log# nano schooltool.log | 23:00 |
KriBaBa | hum.. where is the system log? | 23:01 |
aelkner | /var/log/schooltool/paste.log | 23:01 |
KriBaBa | wait.. getting through with lynx now.. | 23:01 |
th1a | aelkner doesn't know the backstory now. | 23:01 |
th1a | aelkner: We set KriBaBa up with a sandbox this afternoon. | 23:01 |
aelkner | yes, sorry, i'm just guessing to try and help | 23:01 |
KriBaBa | hehe.. oh .. yeah.. | 23:01 |
th1a | aelkner is assuming... | 23:01 |
aelkner | so if it is a sandbox, then my point the log saying that it's running fine stands | 23:02 |
KriBaBa | humm | 23:04 |
th1a | See if you can access it from the text browser locally. | 23:04 |
KriBaBa | lynx pops up asking if I wanna accept a cookie, then just awaits respond.. | 23:04 |
th1a | y | 23:04 |
th1a | ? | 23:04 |
th1a | Anyhow, that would seem to indicate that the server is running. | 23:04 |
th1a | Are you trying to access it from a different place? Sometimes firewalls block non-standard ports. | 23:05 |
KriBaBa | not really... and anyhow.. can't access through localhost.... | 23:06 |
aelkner | sometimes you need to open up the port, but i don't know how that is done | 23:07 |
th1a | If lynx is getting the cookie -- and you might have to say 'y' to accept, then the server is running. | 23:07 |
aelkner | checking on our demo instance... | 23:07 |
KriBaBa | just strange.. since it worked fine and then suddenly stopped.. | 23:07 |
th1a | You could kill the process and make run again. | 23:07 |
KriBaBa | hum... that didn | 23:11 |
KriBaBa | didn't help.. | 23:12 |
KriBaBa | It stopped working when I put in some test classes... I don't know if that fucked up the calender and therefore I can't access - something like that? | 23:12 |
th1a | I'm feeling pretty certain that you're just having trouble hitting port 7080 remotely. | 23:13 |
aelkner | me, too | 23:13 |
th1a | Perhaps for some reason our paste.ini changes aren't being read. | 23:13 |
aelkner | changes? | 23:14 |
aelkner | did you change the port? | 23:14 |
th1a | Right? We changed ./instance/paste.ini to say 'host = 0.0.0.0' | 23:14 |
aelkner | then it stopped working? | 23:14 |
th1a | We didn't change the port. | 23:14 |
KriBaBa | host 0.0.0.0 port 7080.. | 23:14 |
aelkner | but you changed he host, then it stopped woring? | 23:14 |
th1a | No. | 23:15 |
KriBaBa | nope... changed the host, then it worked.. suddenly while working in it - it stopped... | 23:15 |
th1a | Did you use 'make run' this time? | 23:15 |
th1a | Did you test it after you started it in daemon mode? | 23:15 |
KriBaBa | nope... started it as a daemon .. | 23:15 |
KriBaBa | new make run? | 23:15 |
th1a | Yes... | 23:15 |
aelkner | kill the daemon first though | 23:15 |
aelkner | or stop it, i sould say | 23:16 |
th1a | I suspect it is not looking at the paste.ini file when you start it as a daemon for some reason. | 23:16 |
aelkner | i see what you are trying there, and i agree it is worth checking as a trouble-shoooting task | 23:16 |
KriBaBa | that made it work.. | 23:17 |
KriBaBa | but now it's not runnign as a daemon >.< | 23:17 |
aelkner | what's the command to start the daemon? | 23:17 |
KriBaBa | bin/start-schooltool-instance --daemon instance | 23:17 |
aelkner | could you paste your paste.ini? | 23:18 |
KriBaBa | sure.... 2 sek | 23:18 |
th1a | I imagine menesis knows the answer to this. | 23:18 |
th1a | The problem isn't the file itself, I don't think. | 23:18 |
aelkner | yes, but installing schooltool.courseinfo has given me a little more confidence to try trouble-shooting | 23:18 |
aelkner | not to say i know what i'm doing :) | 23:19 |
aelkner | but i can guess right more these days | 23:19 |
KriBaBa | http://paste.lisp.org/display/125476 | 23:19 |
KriBaBa | guessing is always better than nothing... well.. not always... anyway... some times.. | 23:20 |
th1a | make run just does 'bin/start-schooltool-instance instance' | 23:20 |
KriBaBa | that is true | 23:21 |
aelkner | paste.ini is identical to mine | 23:21 |
aelkner | i return to the host blocking the port guess i made at the outset | 23:21 |
th1a | But it works now with make run, right? | 23:21 |
aelkner | true | 23:22 |
KriBaBa | but... I do : make run = works... I do daemon = doesn't work... | 23:22 |
aelkner | i withdraw it again | 23:22 |
aelkner | yes, that's the head-scratcher | 23:22 |
menesis | bin/start-schooltool-instance instance --stop-daemon | 23:22 |
KriBaBa | the funky this is that it worked for some time as a daemon - and then stopped - and now it isn't working as a daemon at all.. | 23:23 |
th1a | menesis arrives to save us all. | 23:23 |
menesis | stops the daemon | 23:23 |
aelkner | menesis, bin/start-schooltool-instance --daemon instance, is the command line order important? | 23:24 |
aelkner | should --daemon some AFTER instance? | 23:24 |
KriBaBa | stopped, then started daemon - didn't work... make run still works... I am very confused.. | 23:25 |
aelkner | KriBaBa, could you try bin/start-schooltool-instance instance--daemon ? | 23:25 |
menesis | aelkner: not important | 23:25 |
aelkner | sorry, a space before --daemon | 23:25 |
aelkner | ok, never mind | 23:25 |
th1a | :-D | 23:25 |
KriBaBa | trying daemon --instance | 23:25 |
KriBaBa | that's a no-go.. | 23:26 |
menesis | that's backwards | 23:26 |
menesis | --daemon (or --stop-daemon) is an option | 23:27 |
menesis | instance is the directory where config and database are | 23:27 |
aelkner | menesis, if make run works, but --daemon doesn't, what could cause that? | 23:28 |
menesis | no idea, sorry | 23:28 |
menesis | I am not running any servers | 23:29 |
menesis | but the flourish demo server that replaceafill used | 23:30 |
menesis | was being started using --daemon | 23:30 |
menesis | so it should work | 23:30 |
th1a | Yes... this is very random. | 23:31 |
th1a | I am going to have to go make dinner. | 23:32 |
menesis | sorry it is late and I cannot think anymore | 23:32 |
th1a | menesis is in Lithuania. | 23:32 |
th1a | He is supposed to be asleep. | 23:32 |
menesis | and did not follow what logs say | 23:32 |
th1a | KriBaBa what if you start it with: | 23:32 |
KriBaBa | ok.. well thanks for the try guys - I've gotta go too.. have work to do... I'll check back later and see if we can sort it out... perhaps a server restart is a good idea.. | 23:33 |
th1a | 'bin/start-schooltool-instance instance' | 23:33 |
th1a | ? | 23:33 |
KriBaBa | I'll try that.. . | 23:33 |
th1a | I'm not going to literally tell you to restart your server... | 23:33 |
th1a | Later KriBaBa. | 23:33 |
KriBaBa | l* - again.. .thanks for the help | 23:33 |
* KriBaBa in class | 23:33 | |
th1a | aelkner: Stick around in case dadeng has questions. | 23:33 |
KriBaBa | I'll keep IRC open :) | 23:34 |
aelkner | sure | 23:34 |
menesis | I will look what is needed to make flourish installable on lucid | 23:34 |
aelkner | KriBaBa, if you try what th1a just suggested and it works | 23:34 |
aelkner | well, you could always do make run & | 23:34 |
aelkner | that runs make run in the backround | 23:34 |
aelkner | allowing you to exit the terminal instance still having it running | 23:35 |
aelkner | if that works, at least for now, you could have a running server for all to use | 23:35 |
menesis | then people don't need to mess with buildout and strange scripts just to try a new version | 23:35 |
menesis | but | 23:35 |
menesis | the first question that KriBaBa asked | 23:35 |
menesis | was is it possible to log class activities | 23:36 |
menesis | that is to write what we plan to do or did in a particular class | 23:36 |
menesis | but the answer is no :( | 23:36 |
KriBaBa | ooh.. :( | 23:37 |
menesis | there is gradebook, there is journal, there is calendar. but gradebook is not connected to calendar, and journal is only to mark attendance. | 23:38 |
KriBaBa | humm... would be a nice thing to implement in the journal... | 23:39 |
menesis | yes | 23:39 |
menesis | th1a: please make this a feature request | 23:44 |
dadeng | aelkner, pls the search facility, can i use wildcards or other stuffs? | 23:44 |
aelkner | no wildcards, sorry | 23:48 |
dadeng | hey, so just plain search? | 23:48 |
aelkner | let me look for the code, one sec, then i can give exact answer | 23:48 |
dadeng | ok | 23:48 |
aelkner | dadeng, ok, usually the search logic is to look for the serach string 'inside' the title attribute of the item in question | 23:59 |
dadeng | meaning? | 23:59 |
aelkner | for person searches, we additionally look in the username | 23:59 |
dadeng | ok, | 23:59 |
aelkner | so if the tile is Intro to Math | 23:59 |
aelkner | ntro would work | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!