IRC log of #schooltool for Wednesday, 2013-05-22

*** menesis has quit IRC01:16
*** bigbrovar__ has quit IRC02:26
*** bigbrovar__ has joined #schooltool02:31
*** bigbrovar__ has quit IRC02:54
*** replaceafill has quit IRC03:02
*** bigbrovar__ has joined #schooltool05:23
*** bigbrovar__ has quit IRC06:50
*** ignas has quit IRC07:39
*** menesis has joined #schooltool08:17
*** bigbrovar__ has joined #schooltool09:07
*** bigbrovar__ is now known as bigbrovar10:03
*** bigbrovar has joined #schooltool10:03
*** menesis has quit IRC14:08
*** bigbrovar has quit IRC14:14
*** menesis has joined #schooltool15:09
*** bigbrovar has joined #schooltool15:26
*** bigbrovar has quit IRC15:35
*** replaceafill has joined #schooltool15:48
*** bigbrovar has joined #schooltool16:06
th1ahi replaceafill, yvl, menesis.16:30
yvlgood morning16:31
th1areplaceafill:  What's going on with jelkner's server?16:31
replaceafillhe decided to replace it since he cannot troubleshoot what's exactly wrong with it16:32
replaceafillso yesterday i helped him to move his main instance to his new vps16:32
replaceafilland it's working from there now16:32
th1aIt the whole server falling over, not SchoolTool?16:32
replaceafillth1a, correct16:33
replaceafillit turns off for some reason16:33
th1aOK, so Not Our Problem.16:33
th1asupervisor isn't going to help.  ;-)16:33
replaceafilli did discover something though16:33
replaceafilljelkner bought a 12.04 server16:34
replaceafilli mean, vps16:34
replaceafilli thought his document said "13.04"16:34
replaceafillfor his summer development this can be a problem16:34
th1aCan't you just update it?16:34
replaceafillsince iirc the new celery stuff doesn't work on 12.0416:35
th1aUpgrade it.16:35
replaceafillthat's what i recommended, but he says tektonic has issues upgrading16:35
replaceafilltektonic is the vps provider16:35
th1aThey don't support it?16:35
replaceafillaccording to the webs the servers sometimes become unbootable after upgrading16:36
replaceafilli asked jelkner if they had something like linodes has16:36
replaceafillthat allows you to sweep the disk completely16:36
replaceafillhe said they don't have that16:36
replaceafillat the end we discussed about pdfs not being *that* important to him16:37
replaceafillhe'd like to have them though16:37
th1aI'd like to know a little more about the upgrade not working before I'd do anything else.16:38
replaceafillin the meantime everything is working for him16:38
th1aI'm a little dubious about that.16:38
replaceafillme 216:39
replaceafillbut i have never used tektonic16:39
replaceafillso i don't know16:39
th1aWe could easily waste a lot of time trying to avoid a phantom issue.16:39
th1aAlso, I think they just pushed a lot of updates.  My computer now wakes up from sleep in less than a minute again.16:40
th1aWhat else replaceafill?16:41
replaceafilli have a couple of questions16:41
replaceafill1. yvl is it possible to pass parameters to a /@@html2rml call?16:42
replaceafillwhile working with comments -> rml i realized that html2rml spits "unstyled" paragraphs16:42
replaceafillwhich makes impossible to style the result16:42
yvlit would be possible to add a semi-complicated content provider16:43
yvlbut I'd rather add a keyword argument to the python method16:43
replaceafilli was thinking i could move the html2rml call to python16:43
yvland format to rml in the view16:43
replaceafillyvl, in python code, right?16:43
replaceafilldo you mind if i add that?16:44
replaceafillthe keyword parameter16:44
replaceafilli need to style comments in the report card/student detail reports16:44
replaceafillkk thanks16:45
replaceafillmy second question16:45
yvlthank you! :)16:45
replaceafillso, i'm adding average across worksheets16:46
replaceafillin the summary worksheet16:46
replaceafillunfortunately the summary worksheet is only identified by its *title* :(16:46
replaceafillthere's no marker on it, or a different class16:47
replaceafill(if i haven't missed anything obvious)16:47
th1aYeah... I'm afraid that will probably require some refactoring.16:47
replaceafillso, we need a way to present the weighting options "only" in the summary worksheet16:48
replaceafillbut we cannot detect it16:48
th1aYeah, you're probably going to have to beef that up a bit.16:48
replaceafillyvl, any thoughts on that? do you think a marker would be enough?16:48
yvlgood question16:49
replaceafillthe summary worksheet doesn't have anything special as far as i can see16:49
replaceafilljust adds automatically some linked columns to other worksheets16:49
replaceafillok, i'll modify this to use a marker16:50
replaceafilland start adding the options from there16:50
* replaceafill done16:50
th1aOK, thanks replaceafill.16:51
yvlit's a bit embarrassing,16:51
yvlbut it turns out that the actual reports to be zipped are not in virginia package :/16:52
yvland I can't find them16:52
replaceafillthe remote ones?16:52
replaceafillthey're in my celery branch16:52
yvlthe ones called scr_archive16:52
yvlsome per-section Virginia completion reports16:53
yvlso when time came to "just plug them in", it turned out I don't know what to plug in16:53
yvlin any case16:53
replaceafilli think the scr_archive name is for the 2011 cando16:54
replaceafillisn't it?16:54
yvlis there an replacement in schooltool.cando or schooltool.virginia that I missed?16:54
yvlso, the zip archiver status16:55
yvlwe now have an archiver (not committed), that supports multiple file sources via special viewlets16:55
yvlit streams right into blob, but due to zipfile limitations a rendered report (pdf, xls) must be rendered in-mem first16:56
yvlat least we don't have to keep everything in-mem16:57
th1aYes, that's good.16:57
* replaceafill is branching new virginia and cando trunks...16:57
yvlviewlety file sources means we can put multiple types of reports in any zip16:58
th1aThat may be helpful.16:58
yvlalso this means we can reuse report sources with little modification16:59
yvlsumma sumarum I'm pretty happy about it :)17:00
th1aNow that you know where the actual reports are.  ;-)17:00
yvlhanks replaceafill!17:00
yvlI'll review code and put them in tomorrow17:00
th1aOK, just remember guys, we want to start testing this with VA ASAP.17:00
th1aCan we shoot for next week?17:01
yvlI don't see why not17:01
th1aSo menesis will need to do a release.17:02
yvlbtw, I had a random thought about zipping17:03
yvlwe could add "archive" button at some point, that archives all reports an user has requested17:04
yvland deletes the originals17:04
yvljust a thought.17:04
yvlas for the release, I'll be pushing stuff tomorrow17:05
yvlso I guess Thu / Mon17:05
yvlFri / Mon17:06
yvl(Mon before you guys wake up ;) )17:06
th1aThanks yvl.17:07
menesisThere is work left on packaging for ubuntu17:08
menesisI'll try to focus on that17:09
menesisbut I can't promise to be done by Friday17:10
th1aIf we can get a release out by next Wednesday, that's fine.17:11
th1aSo I looked at the Help question.17:13
th1aI think putting it at left under a Help section is best, with links below.17:13
th1aWe'll need to decide if we want to do something clever with Sphinx integration.17:13
th1aThat is, it might be cool if SchoolTool just used the title of the target page as the link text.17:14
th1aWhich, since Sphinx is Python, might be easy-ish.17:14
th1aOr it might just be a waste of time for little gain.17:14
menesissure, needs to be only the path from book root17:15
menesisbecause if book is installed, we can display local html17:15
menesisbut if not, open on book.schooltool.org17:15
th1aI'd be ok with book becoming a dependency for SchoolTool.17:16
th1aI guess the question would be if we could set it up so that we'd just annotate the view with the Sphinx id of the target page.17:19
menesisit is big17:19
menesisthe book17:19
menesisand the online one is more up-to-date17:20
menesisthe old approach used
th1aWell, yes, that's fine, but it would just suggest that my idea of somehow tying Sphinx into SchoolTool is probably not a good one.17:21
menesiswhere you register bookchapters in zcml17:21
menesisbut we are not gonna use that17:21
th1aYeah, that's kind of what I'm asking.17:22
menesisSphinx for what?17:22
menesisthe book is in sphinx17:22
th1aWhat I'm asking about -- just brainstorming -- would probably end up being implemented in ZCML.17:22
menesisit's just a question how to add help links to pages17:22
th1aRegister the sphinx ID of a sphinx page to a given SchoolTool view.17:23
th1aBut then the system would have to be able to find the title and url of the Sphinx page from the id.17:23
th1aI'm just speculating.17:23
menesisthe path to html page, e.g. "persons.html#csv-import"17:24
menesisbut to use sphinx refs... you would need the book source for that17:26
th1aThat's what I'm saying.17:26
th1aThe alternative is to just specify the text of the link and the path to the page in the book.17:27
th1aAnd keep that updated manually if you change the book around.17:27
yvlif we reorganize the book, everybody who has not up-to-date schooltool will have borken links17:29
th1aThat's why I'm saying just ship it all together.17:29
th1aSchools with bad internet connections would prefer to have it all local.17:29
yvlcomes with documentation17:30
yvlmakes sense17:30
yvland we use paster17:31
th1aThere are a lot of big screenshots, so that makes the download kind of big, but I don't think it is a big deal.17:31
yvlso we can point to the static html17:31
yvlmore work for menesis though17:31
menesisif book page names change, you have to update and sync them with the app in any case17:33
menesisbut for that we can have multiple versions of the book17:33
menesisand on ubuntu if you have schooltool 2.4, also have book 2.4 locally.17:34
menesisthe online version already changed17:35
th1aThere isn't a huge difference, but I think the multiple versions of the book issue means we need to ship them together rather than point at the online version.17:35
yvlthat's the point - we can host multiple book versions17:35
yvlso it could be done both ways I guess17:36
th1aI'm mainly trying to get a discussion going more than force my point.17:36
th1aI always like the more complicated version, which is one reason I've learned to just keep my mouth shut.  ;-)17:36
th1aWe have some time to decide.17:37
th1aI don't think download size of the book should be a big issue.17:37
th1aWe can table that for now.17:39
th1aAnything else, yvl?17:39
* yvl done.17:39
menesisI have been busy with the other project17:40
menesisI checked the new yesterday17:40
menesisfixed a few web links that did not work17:40
menesisnamely, the buildbot17:41
menesisbut not much17:41
menesisthere are no users on the machine17:41
menesisI've added hoffman user but did nothing else17:41
menesisto create other users and groups17:41
menesisso that you can upload the book/website and get mail17:42
th1aOK, yes, the great handover seems to have worked, except we're not getting credit on whois yet.17:42
menesisth1a: what you want to do with email server?17:42
th1aOh, I should set up Google mail.17:42
th1aUnless you like running email servers.17:43
menesisno, but something has to send the mail out17:43
th1aIs the email down at this moment.17:43
menesisbut yes I don't want to deal with mail servers and the spam17:44
menesisyes, your hoffman@ email does not work17:44
th1aShould I set the "@" address back to the old server until I get Google setup?17:44
menesisbecause there is no MX record17:45
menesisif you are going to use gmail17:45
menesiscan do it once17:46
menesisthe change of mx records17:46
th1aOK, I'll dive into that mess.17:48
th1aAnything else menesis?17:50
yvlmenesis says no :)17:52
th1aOK, thanks guys.17:52
th1aHave a good week/end.17:53
* th1a drops the bag of gravel.17:53
replaceafillthanks everybody17:53
yvlthanks guys17:54
*** replaceafill has quit IRC17:55
*** bigbrovar has quit IRC19:13
*** menesis has quit IRC20:32
*** replaceafill has joined #schooltool21:13
*** menesis has joined #schooltool21:37
*** replaceafill has quit IRC23:54

Generated by 2.15.1 by Marius Gedminas - find it at!