*** replaceafill has quit IRC | 01:00 | |
*** menesis has quit IRC | 03:30 | |
*** mobert has quit IRC | 05:54 | |
*** mobert has joined #schooltool | 06:00 | |
*** mobert has quit IRC | 06:30 | |
*** yvl has joined #schooltool | 07:45 | |
*** khildin has joined #schooltool | 10:06 | |
*** khildin has quit IRC | 11:49 | |
*** menesis has joined #schooltool | 11:51 | |
*** menesis has quit IRC | 13:04 | |
*** menesis has joined #schooltool | 14:32 | |
*** menesis has left #schooltool | 14:41 | |
*** menesis has joined #schooltool | 15:10 | |
*** th1a_ has joined #schooltool | 16:32 | |
*** yvl has quit IRC | 16:38 | |
*** replaceafill has joined #schooltool | 16:41 | |
*** povbot has joined #schooltool | 16:54 | |
*** menesis1 has joined #schooltool | 16:54 | |
*** menesis has quit IRC | 16:54 | |
*** mobert has joined #schooltool | 17:08 | |
*** menesis1 is now known as menesis | 17:16 | |
th1a_ | hi replaceafill. | 17:30 |
---|---|---|
replaceafill | hey th1a | 17:30 |
th1a_ | Looks like we just got some celery logs. | 17:32 |
replaceafill | ah yes | 17:32 |
th1a_ | Is that the same 'util' bug? | 17:32 |
replaceafill | yes, seems so | 17:33 |
th1a_ | So the fix should be in 2.8.2, or is that a packaging thing? | 17:34 |
replaceafill | a packaging thing? | 17:34 |
th1a_ | I mean, there are some bugs I think with 12.04 that require explicitly adding a package? | 17:36 |
replaceafill | ah | 17:36 |
replaceafill | not, it's a 2.8.2 thing :) | 17:36 |
replaceafill | well, journal release will be 2.8.1 | 17:36 |
replaceafill | but yest | 17:36 |
replaceafill | yes | 17:36 |
replaceafill | it should be fixed after upgrading | 17:36 |
th1a_ | OK. | 17:37 |
th1a_ | So mobert had an "interesting" experience with the dashboard. | 17:37 |
replaceafill | didn't work? :( | 17:37 |
th1a_ | Clearing his cache got the CSS working. | 17:37 |
th1a_ | And it also seemed to put a backlog of reports through? | 17:38 |
th1a_ | Like, he was hitting the link on the bad CSS version and nothing happened (not surprisingly). | 17:38 |
th1a_ | But I guess they all went through? | 17:38 |
th1a_ | Anyhow. | 17:39 |
*** mgedmin has left #schooltool | 17:39 | |
th1a_ | There is some weirdness floating around. | 17:39 |
replaceafill | backlog of reports? | 17:39 |
replaceafill | oh | 17:39 |
th1a_ | Maybe we need to do something to make sure the browser doesn't get the CCS confused. | 17:39 |
replaceafill | like they were scheduled? | 17:39 |
th1a_ | He hit the link a bunch of times and without the CCS wired, nothing happened at all. | 17:40 |
th1a_ | But then at some point they all went through. | 17:40 |
replaceafill | got it | 17:40 |
replaceafill | yes, it's weird | 17:40 |
replaceafill | i guess i should either enabled caching in my firefox | 17:41 |
replaceafill | or start using chrome | 17:41 |
replaceafill | in order to get the css bug | 17:41 |
th1a_ | Oh, right, if you have caching off. | 17:41 |
replaceafill | yeah | 17:41 |
th1a_ | It is more something to note for when we return to the dashboard. | 17:41 |
replaceafill | ...writing it down... | 17:41 |
th1a_ | Not a drop everything and have a look issue. | 17:41 |
replaceafill | :) | 17:42 |
mobert | hey all | 17:54 |
th1a_ | Hi mobert. | 17:56 |
th1a_ | Did I describe your issue correctly? | 17:56 |
mobert | Just confirming that before I cleared the Chrome cache, the link for the "People" report in the Dashboard wasn't responsive. After clearing the cache, eight identical reports came through. | 17:56 |
mobert | The Dashboard always displayed correctly, though -- the CSS bug only affected stuff on port 7080, not port 8000. | 17:57 |
th1a_ | Oh. | 17:57 |
replaceafill | it's really strange, because the dashboard doesn't queue up things | 17:58 |
replaceafill | like SchoolTool does | 17:58 |
th1a_ | Ah, yes. | 17:59 |
th1a_ | Well, we'll see if that comes up again. | 18:00 |
th1a_ | replaceafill, mobert wanted a quick report system overview. | 18:01 |
th1a_ | So SchoolTool now uses celery for background task management. | 18:02 |
th1a_ | http://www.celeryproject.org/ | 18:02 |
th1a_ | So when you request a report, a task is assigned via celery to... what? | 18:02 |
th1a_ | Is it a special kind of worker instance? | 18:03 |
th1a_ | I get confused at this point. | 18:03 |
replaceafill | i should have written down the workflow when i started investigating about it :) | 18:05 |
mobert | What do you use for Celery's message transport (broker)? | 18:06 |
replaceafill | redis | 18:07 |
replaceafill | (i think) | 18:07 |
th1a_ | It does something! | 18:07 |
replaceafill | :D | 18:07 |
mobert | I'm just looking at docs.celeryproject.org for the first time. | 18:07 |
th1a_ | So anyhow... | 18:09 |
th1a_ | celery passes it on to some other processes that do the long running tasks. | 18:09 |
th1a_ | The downside of this is that they're pretty heavy processes, memory-wise. | 18:09 |
th1a_ | So it increases the minimum memory requirement. | 18:10 |
th1a_ | You don't really need to understand much about that. | 18:10 |
mobert | OK | 18:10 |
th1a_ | The pdf layout uses reportlab, and specifically rdf. | 18:10 |
replaceafill | rdf? | 18:11 |
th1a_ | er | 18:11 |
th1a_ | no rml | 18:11 |
th1a_ | RML! | 18:11 |
replaceafill | :) | 18:11 |
mobert | rml2pdf | 18:11 |
th1a_ | http://www.reportlab.com/docs/rml2pdf-userguide.pdf | 18:11 |
th1a_ | replaceafill: Do we have an example of a packaged custom report to point mobert at in Launchpad? | 18:15 |
th1a_ | He's just doing the user docs at this point, but I want to do the developer side this year. | 18:16 |
replaceafill | hhmm sakeji | 18:16 |
replaceafill | but i'm not sure it'll work with 2.8 | 18:16 |
th1a_ | More tosee the package. | 18:16 |
replaceafill | we'll have schooltool.encinitas | 18:16 |
replaceafill | http://bazaar.launchpad.net/~schooltool-owners/schooltool.encinitas/trunk/files/head:/src/schooltool/encinitas/ | 18:17 |
replaceafill | maybe? | 18:17 |
th1a_ | http://bazaar.launchpad.net/~schooltool-owners/schooltool.sakeji/trunk/files/head:/src/schooltool/sakeji/ | 18:17 |
replaceafill | from the developer's point of view, the workflow is usually: | 18:19 |
replaceafill | 1. add a reportLink | 18:19 |
replaceafill | 2. add a request view (pointed by the reportLink) | 18:19 |
replaceafill | 3. add a pdf view (pointed by the request view) | 18:20 |
replaceafill | the complexity of 3. depends on the report layout | 18:20 |
replaceafill | and the functionality you want to reuse | 18:20 |
th1a_ | Basically I'd like a skeleton of this. | 18:20 |
th1a_ | That might be a bit too ambitious. | 18:21 |
th1a_ | (and not now) | 18:21 |
mobert | I see "class RequestSakejiStudentReportView()" and "class SakejiStudentReportPDFView()" in report.py | 18:21 |
replaceafill | you can see the reportLink in report.zcml | 18:22 |
replaceafill | the reportLink tells the system where to display the link to get the report | 18:22 |
replaceafill | those Reports sections in the sidebar | 18:22 |
mobert | OK | 18:24 |
replaceafill | the request view is the one that actually schedules the report | 18:24 |
mobert | I see the "<report:reportLink [...] />" stuff. | 18:24 |
th1a_ | So anyhow, you can poke around that mobert. | 18:27 |
mobert | It looks like "flourish" does a lot of the work for both HTML and PDF layouts | 18:27 |
th1a_ | But it is beyond what you need to fully understand for the current task. | 18:27 |
mobert | Yeah, I'm getting that loud and clear! :) | 18:27 |
th1a_ | That's the codename for the 2.0 skin. | 18:27 |
replaceafill | the <flourish:... > directives are custom handlers in SchoolTool | 18:28 |
replaceafill | <report:...> too | 18:28 |
mobert | OK | 18:29 |
th1a_ | OK replaceafill, where are we on the release? | 18:30 |
replaceafill | ok | 18:31 |
replaceafill | i need from you two things: | 18:31 |
replaceafill | http://dev.schooltool.org:8888/report_reference.html | 18:31 |
replaceafill | we have two xxx description xxx | 18:31 |
replaceafill | for the last two reports | 18:32 |
replaceafill | Absences for Range of Dates and Journal Data Export | 18:32 |
th1a_ | Journal Data Export is An Excel workbook with three sheets (homeroom, attendance, scores) for each section in the term. | 18:34 |
th1a_ | Journal Data Export is An Excel workbook with three worksheets (homeroom, attendance, scores) for each section in the term. | 18:34 |
th1a_ | Is that right? | 18:34 |
replaceafill | well, some sections may not have the homeroom sheet | 18:34 |
th1a_ | Journal Data Export is "An Excel workbook with multiple worksheets (attendance, scores, homeroom if relevant) for each section in the term." | 18:36 |
replaceafill | great | 18:36 |
replaceafill | updating... | 18:36 |
replaceafill | updated | 18:39 |
replaceafill | btw | 18:39 |
th1a_ | Absence totals per student, per period, for a range of dates. | 18:39 |
th1a_ | Yes? | 18:39 |
replaceafill | for the Absences for Range of Dates report i dropped the tardies logic | 18:40 |
replaceafill | the Absences by Day prints tardies as part of the report | 18:40 |
replaceafill | yes | 18:40 |
replaceafill | that works | 18:40 |
th1a_ | ok. | 18:41 |
replaceafill | ok, second thing | 18:41 |
replaceafill | could you make me an Administrator for schooltool-owners | 18:42 |
replaceafill | i want to create the ppa for encinitas | 18:42 |
th1a_ | Oh! | 18:43 |
th1a_ | There you go. | 18:43 |
replaceafill | great, thanks | 18:44 |
replaceafill | so, i'll release: core, gradebook, journal, cando and encinitas | 18:44 |
replaceafill | for core | 18:44 |
replaceafill | i learned about quilt | 18:45 |
replaceafill | and how to do patches | 18:45 |
replaceafill | so after releasing 2.8.2 with ubuntu1 suffix | 18:45 |
replaceafill | i plan to give the custom.css a try | 18:45 |
replaceafill | :) | 18:45 |
replaceafill | to put it under /etc/schooltool | 18:45 |
th1a_ | Ah... ok. | 18:45 |
th1a_ | We'll need release notes. | 18:46 |
th1a_ | I'll write the announcements. | 18:46 |
replaceafill | ah yes | 18:46 |
replaceafill | i have the ones for core now | 18:46 |
replaceafill | i'll send you all of them once i'm done | 18:46 |
replaceafill | ok? | 18:46 |
replaceafill | that's it from me | 18:47 |
th1a_ | OK. Cool. | 18:47 |
th1a_ | Thanks replaceafill. | 18:47 |
replaceafill | thanks th1a | 18:47 |
th1a_ | Thanks mobert. | 18:48 |
mobert | Thanks all | 18:55 |
replaceafill | th1a, all packages waiting to build: | 20:15 |
replaceafill | https://launchpad.net/~schooltool-owners/+archive/ubuntu/2.8/+builds | 20:15 |
replaceafill | https://launchpad.net/~schooltool-owners/+archive/ubuntu/encinitas/+builds | 20:15 |
replaceafill | th1a, just sent the release notes | 20:22 |
th1a_ | Thanks replaceafill. | 20:28 |
mobert | Do we use the word "reports" interchangeably to refer to the process (that you run to generate a PDF, XLS, or CSV export) and the result (the downloadable file returned by running a Report)? | 20:36 |
th1a_ | Do you have any other suggestions, mobert? | 20:38 |
mobert | I think it would be clearer to define a Report as the process, and refer to the downloadable file as a Result (or an Export, or something). | 20:38 |
th1a_ | For example? | 20:39 |
mobert | "The Report Overview tells you what Reports can be run on your system." | 20:39 |
th1a_ | As opposed to? | 20:40 |
mobert | In my notes from our meeting last week, I have "The Report overview tells you what exists on your system. If you add Reports they show up here." but that seems ambiguous if the term can also be used to refer to results. | 20:40 |
mobert | See what I mean? It's not a list of files you can download, it's a list of processes you can run to generate files. | 20:41 |
replaceafill | in some rare cases a file is not even generated | 20:42 |
th1a_ | So when would you say "results," then? | 20:42 |
replaceafill | the link just takes you to another html page | 20:42 |
replaceafill | (sorry for interrupting) | 20:42 |
th1a_ | I'm just trying to clarify. | 20:42 |
mobert | replaceafill, I don't mind the "interruption" -- thank you for clarifying. | 20:43 |
mobert | It's good to know that the result of running a report could be HTML as well as PDF, XLS, CSV. | 20:44 |
replaceafill | do we have csv reports...? | 20:44 |
mobert | Good question! Also, how does a SchoolTool administrator add reports to the system? Or is that something only developers can do? | 20:45 |
th1a_ | It generally isn't HTML. | 20:45 |
th1a_ | Those packages we looked at earlier add reports. | 20:45 |
mobert | So they are added via Debian/Ubuntu packages? | 20:47 |
th1a_ | Yes. | 20:47 |
th1a_ | I mean, you could just add them manually on your system too. | 20:47 |
th1a_ | But you'd essentially want to copy the structure. | 20:48 |
mobert | schooltool.encinitas and schooltool.sakeji are examples of custom reports you've created for different sites. | 20:49 |
mobert | And it's possible to copy that structure to create your own custom reports, but that is a matter for a Developer rather than an Administrator. | 20:50 |
th1a_ | Yes. | 20:51 |
th1a_ | We're at least going to point at that for developers later in the process. | 20:51 |
mobert | I guess it was just confusing for me because last week's notes also talk about "Where to find reports online" | 20:51 |
th1a_ | At least enough to, say, change around the format on an existing report. | 20:51 |
th1a_ | Just, through the website. | 20:52 |
th1a_ | Not online in general. | 20:52 |
mobert | But that is where to find the downloadable results of running a report -- not where to find more "Report" types | 20:52 |
mobert | Which is why I sort of think it would be clearer to distinguish between the process that generates the file, and the file itself. | 20:53 |
th1a_ | I think literally the file itself could be referred to as the "result" or something similar. | 20:53 |
mobert | I mean, if everybody is already used to overloading the word "Report" I guess I could just stick to using it that way. | 20:54 |
mobert | Yeah, "result>" | 20:54 |
mobert | Glad you agree. That seems to make the most sense to me. | 20:54 |
th1a_ | It makes sense. | 20:56 |
th1a_ | I'm just used to drawing the discussion out to make sure we're talking about the same thing. | 20:57 |
mobert | Also, I'm already using the ppa:sielibre/ark version of SchoolTool instead of the vanilla one. Does it have all the same reports? (I mean, apart from the one in the Dashboard) | 20:57 |
th1a_ | Uh... you should just use the plain 2.8.2 which is coming out in... | 20:59 |
th1a_ | Well, it should build in 10 minutes. | 21:00 |
mobert | 3 ... 2 ... 1 ... :) | 21:00 |
th1a_ | https://launchpad.net/~schooltool-owners/+archive/ubuntu/2.8/+build/6460715 | 21:00 |
th1a_ | Definitely use that. | 21:00 |
mobert | Should I start from scratch with a new VM, and just scrap the two that I used to set up data replication? | 21:02 |
*** menesis has quit IRC | 21:02 | |
mobert | I'll just mothball them for now if I can make room for another one. And I'll set up a new 2.8.2 VM later today. It should be ready after lunch! | 21:07 |
th1a_ | Don't delete your VM's unless you need space... | 21:29 |
mobert | I've got enough space for another one, for sure. 21G free. | 21:35 |
* replaceafill goes to get lunch, bb in ~1h | 21:42 | |
th1a_ | replaceafill: Should the 12.04 package be ready? | 22:24 |
* replaceafill is back | 22:25 | |
replaceafill | th1a, not yet | 22:25 |
replaceafill | i was expecting for the 14.04 to be published | 22:25 |
replaceafill | waiting* | 22:25 |
replaceafill | ah nice, all of them seem published now | 22:25 |
replaceafill | th1a_, i'll request the 12.04 packages | 22:26 |
*** menesis has joined #schooltool | 22:47 | |
replaceafill | th1a_, packages for 12.04 ready | 22:50 |
*** th1a has quit IRC | 22:51 | |
*** th1a_ is now known as th1a | 22:51 | |
th1a | The 14.04 work for me. | 22:52 |
replaceafill | ah ok | 22:52 |
replaceafill | are you contacting Rick to tell him about the encinitas ppa? | 22:52 |
th1a | I can do it. | 23:00 |
th1a | Is it ready? | 23:00 |
replaceafill | it's ready for 14.04 | 23:00 |
replaceafill | should i make it available for 12.04 too? | 23:00 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!