IRC log of #schooltool for Tuesday, 2005-05-31

*** alga has joined #SchoolTool00:22
povbot/svn/commits: * bskahan committed revision 4000:00:35
povbot/svn/commits: called removeSecurityProxy on section labels, this fixes the app.txt ftest breakage.00:35
bska|mobilehow many point for r4000?00:35
th1aI saw that.  I'd like to see a graph of the checkin volume over the life of the project so far.00:57
tvonSomewhere along the line, tz support got all fucked up00:57
th1aEek.  Somewhere along the line in the past couple days or the past couple weeks?00:58
tvonI don't know honestly00:58
th1aWhat is the problem?00:59
tvoncreate a 3pm event with timezone set to Hawaii and the next view is the next day (when the event is in UTC) and the 3pm hawaii event is not on either day00:59
tvonthats a problem... the original problem was that times were wrong.. create a 11am event at US/Eastern and it shows up (and is saved I believe) 1h off.01:00
tvonI thought that might be because of DST, so I tried Hawaii which doesnt follow DST and events are off by 30 mins01:00
th1aWhy do you think the tests aren't catching it?01:02
tvonI think all the tests are at UTC, which works fine01:02
bska|mobiletvon: there are tests in US/Eastern and Europe/Vilnius (iirc)01:05
tvonhrm, maybe it is the viewing code01:05
bska|mobileI'm going to try setting the date on my computer to winter and testing01:06
tvonso, dtstart for the event is '2005-06-01 21:30:00+00:00', dtstart.astimezone(Hawaii) is 2005-06-01 11:30:00-10:00, but when the event is stored it says the offset is -10:3001:14
bska|mobiletvon: see the doctest in
bska|mobilefor CalendarEventAddView01:29
bska|mobiletests oslo specifically01:44
tvonbskahan: thanks01:45
bska|mobiletrying hawaii next01:45
bska|mobiletvon: whats the string for Hawaii?01:46
tvonis what I was using, I think there is US/Hawaii too01:47
tvonbskahan: yeah, US/Hawaii is in common_timezones01:47
* bska|mobile nods01:48
bska|mobilewhat the hawaii offset?01:50
tvondepends on when you look01:50
tvon-10:30 I think01:51
tvonsomething ishappening that the tests arent hitting01:51
tvonI think so anyways, I'm still trying to figure out what the hell is going on02:02
povbot/svn/commits: * jinty committed revision 4001:02:06
povbot/svn/commits: Back ported 3950, 3986 for
povbot/svn/commits: Back ported 3990 as half a fix for
tvonin _getInitialdata, if you dump context.dtstart.astimezone(self.timezone) I get Hawaii being offset 10:0002:08
tvonwhen it stores it I get a 10:30 offset02:08
tvonI think I'm doing something dumb02:08
tvonI just wish I knew what02:08
tvonin create if you dump data['start'].astimezone(self.timezone) I get Hawaii being offset 10:3002:15
tvonI swear I'm not on crack02:15
*** bska|mobile has quit IRC02:16
*** bskahan has quit IRC02:16
povbot/svn/commits: * jinty committed revision 4002:02:32
povbot/svn/commits: Back ported 3979 for
*** SteveA has quit IRC03:14
*** SteveA has joined #schooltool03:30
*** Ricey_ has quit IRC04:46
povbot/svn/commits: * hoffman committed revision 4003:08:55
povbot/svn/commits: Minor revisions to README.08:55
th1aGet it?09:00
tvonfigured out this damn thing09:00
th1aI was just getting ready to write an email saying "well, I guess no release today" and go to bed.09:01
th1aWhat was it?09:01
tvonassigning the timezone to the form input data too soon.. basically09:02
th1aHm.  Well, good work finding it.09:27
th1aDid your barbecue go off ok?09:28
tvonyeah, was okay... except I've been sick all weekend and it started raining a little bit in the late afternoon09:29
tvonwas okay though09:29
tvontweaked tests and into SVN it goes...09:57
tvonwait for it...09:57
tvonwaiiiiit for it09:57
tvonalmost there09:57
* tvon kicks povbot 09:58
povbot/svn/commits: * tvon committed revision 4004:09:58
povbot/svn/commits: Fix for 24209:58
tvonatta boy09:58
* tvon pets povbot09:58
th1aGood night.09:58
tvonGood night09:58
povbot/svn/commits: * gintas committed revision 4005:11:14
povbot/svn/commits: Readding an explicit 'return None' by Marius' request.11:14
povbot/svn/commits: * gintas committed revision 4006:11:18
povbot/svn/commits: More i18n fixes.11:18
povbot/svn/commits: * gintas committed revision 4007:11:41
povbot/svn/commits: One by one, I will weed out those pesky i18n:translates!11:41
povbot/svn/commits: * gintas committed revision 4008:11:42
povbot/svn/commits: Another i18n:translate...11:42
*** gintas has joined #schooltool12:07
*** ignas has joined #schooltool12:08
*** SteveA has quit IRC12:38
ignasetria: what have you done to view event view ?13:22
*** SteveA has joined #schooltool13:24
ignasth1a, ping13:25
*** bskahan has joined #schooltool13:25
ignasbskahan, hi13:26
povbot/svn/commits: * gintas committed revision 4009:13:27
*** bska|mobile has joined #schooltool13:27
povbot/svn/commits: Fixed issue 210 (SB can't handle multiple EXDATEs for recurrent events).13:27
povbot/svn/commits: * gintas committed revision 4010:13:29
povbot/svn/commits: Backported revision 4009.13:29
ignasbska|mobile, are you there ?13:33
povbot/svn/commits: * gintas committed revision 4011:13:47
povbot/svn/commits: Cosmetic fixes.13:47
bska|mobileignas: yes14:02
ignasEventView View14:12
ignaswtf ?14:12
bska|mobileignas, could you please try to be a little less abrupt14:13
bska|mobileI read the bug, thank you.  I'm adding the date now - that was a dumb ommission14:13
ignasnot jsut date14:14
ignas2 identical links14:14
bska|mobileI understand that14:14
ignasand non working links14:14
bska|mobileI'm adding the date now, I'll keep going through the bug14:14
bska|mobilethe 2 identical links mirror the section divisions and match the person view14:15
ignassorry for being harash, yet we are releasing today and leaving such bugs in a product would be *bad*14:16
*** thisfred has joined #schooltool14:18
povbot/svn/commits: * ignas committed revision 4012:14:18
povbot/svn/commits: Issue213, Error handling when a resource tries to book itself.14:18
*** srichter has quit IRC14:24
gintasbskahan, did you do all day events?14:25
gintasthe problem with the current implementation is that it does not allow events lasting multiple days14:28
gintasthis seems to be legal, and supported by many iCalendar clients14:29
gintasi.e., if I am going on a conference for 5 days, I will create an all-day event that lasts the 5 days14:29
gintasignas suggested a workaround: to add daily recurrence for the next 5 days, but that is inconvenient14:30
gintasand by the way, when editing an all-day event the "all-day" checkbox seems to get reset14:30
gintas(see issues 260, 261)14:38
*** gintas has quit IRC14:39
bska|mobilegintas: I like the recurrence idea14:44
bska|mobileiirc, we talked about it when tvon was working on it and agreed that was a good way to do it14:44
ignasbut what if someone will upload an ical file with such an event ?14:44
ignasand yes it is inconvenient14:44
*** mgedmin has joined #schooltool14:48
*** gintas has joined #schooltool14:56
*** povbot has joined #schooltool14:58
*** th1a has quit IRC14:58
povbot/svn/commits: * ignas committed revision 4013:15:28
povbot/svn/commits: Issue255, an empty ttschema container throwing errors.15:28
*** srichter has joined #schooltool15:33
gintasbskahan, could you have a look at the patch on and apply the fix?15:49
*** gintas has quit IRC15:50
mgedminyes! functional tests are fixed!15:53
bska|mobilemgedmin: yes, sorry about breaking them15:56
mgedminbska|mobile, do you know what happened?16:03
mgedminwhy they were broken?16:03
bska|mobileI fixed it be removing a security proxy, but the problem appears to be bigger than the single case I saw16:08
bska|mobilesee issue25716:08
* mgedmin nods16:09
mgedmindo you know what change in the code caused that problem to appear?16:09
mgedminin other words, which revision broke ftests?16:10
povbot/svn/commits: * jinty committed revision 4014:16:10
povbot/svn/commits: Back-ported 4004 - Fix for
povbot/svn/commits: Back-ported 4003 - Adjustments to README.16:10
povbot/svn/commits: * ignas committed revision 4015:16:13
povbot/svn/commits: Adding capability of unselecting default schema, fixing flaws in the template code.16:13
bska|mobilecalling section/label instead of section/title16:14
bska|mobileI committed it broken because I forgot to run ftests, but it is an example that works in real life tests while failing in ftests16:15
bska|mobileignas: I agree that the EventView should show information about reccurence, doing that right is complicated thoug, it would take a different table representation for each type of recurrence and getting into exceptions would be really challenging16:24
bska|mobilewhat about this for the moment, based on the recurrence type, the view displays a string "This event recurs [daily|weekly|...]" and the string links to the appropriate calendar view16:26
bska|mobileweekly view for daily recurrence, monthly view for weekly recurrence, etc16:27
ignasthat would be better than it is now16:27
bska|mobilecommitting a version that just flags recurrnence as true/false ad indicates that the event reccurs in the view.16:43
povbot/svn/commits: * ignas committed revision 4016:16:47
povbot/svn/commits: Disable deleting in TermContainerView.16:47
*** SteveA is now known as SteveA|afk16:50
povbot/svn/commits: * bskahan committed revision 4017:16:58
povbot/svn/commits: Partial fixes for issue25816:58
povbot/svn/commits: Removed duplicate edit link, fixed broken resource links, added date to header, indicate that the event recurs.16:58
povbot/svn/commits: The recurrence indication is weak, just a "this event recurs".  Working on a better solution.16:58
povbot/svn/commits: This should be backported for 1.116:58
ignasbska|mobile, so the grudge against oneliners strikes again ?17:01
ignasreturn rrule is not not17:01
ignasreturn rrule is not None17:01
*** hoffman has joined #schooltool17:02
*** hoffman is now known as th1a17:02
bska|mobileignas: not really, I had started on a version that returned None or a Dict, and still plan to17:08
bska|mobiletrying to fix some of the allday event bugs first though17:08
povbot/svn/commits: * jinty committed revision 4018:17:11
povbot/svn/commits: Bump SchoolBell version number, and add malay translation to Rosetta seems to be b0rked right now => no translation update.17:11
bska|mobilecan someone try to verify
bska|mobileI don't see that behavior and can commit some tests that appear to demonstrate it working17:13
bska|mobile(allday is set in _getInitialData)17:14
*** FarcePest has joined #schooltool17:15
povbot/svn/commits: * jinty committed revision 4019:17:16
povbot/svn/commits: Back-ported 4017 for
*** bskahan_ has joined #schooltool17:28
*** bskahan has quit IRC17:31
*** bskahan has joined #schooltool17:31
bskahan_hi bskahan bska|mobile17:32
*** bskahan has quit IRC17:33
*** bskahan_ is now known as bskahan17:33
*** bska|mobile has quit IRC17:33
*** bskahan_ has joined #schooltool17:34
*** erchache has joined #schooltool17:42
erchachewhere is jinty?17:42
th1aerchache:  hi17:46
th1aHaven't seen jinty this morning.17:46
erchachewhere i send my spanish files?17:47
th1aDo you subscribe to the schooltool-dev list?17:47
erchacheill do now17:47
th1aIf you send them there we'll both get them.17:48
th1aI'll check them in, but I'd like jinty to look at them first, especially since I don't speak Spanish.17:48
*** gintas has joined #schooltool18:01
th1aerchache:  I made a couple tiny changes in the README last night:
th1agintas:  Thanks for taking on the bug tracker.18:04
ignasgintas, ping18:10
ignasCalendar view is still broken18:10
ignasedge cases mostly18:10
ignasyet there are a lot of funny things one can do with it18:11
ignasmost of them are associated with ttschema records begining earlier than the lower limit (18:00) of the calendar18:11
ignasand ending after it18:11
ignasvery short spans (10 minute break)18:12
ignasor very long spans (event from 15:00 untill 20:00)18:12
ignasnot sure how critical the issues are18:13
gintasI'll look into it18:15
ignasoh and the last one - a span 10:00-10:5518:15
gintascan you provide a layout that causes problems?18:24
gintasi.e., A: 8:00-10:00, B: 10:00-10:55, C: 11:00-12:45, etc.18:25
gintasone that I could input as a timetable schema and then check18:25
ignasyadayada: 9:00-20:0018:25
ignasthe one18:25
ignasboo: 17:59-18:5918:26
ignasthe other18:26
ignasare nameless gaps when one does 16:00-16:10 or 16:00-16:55 acceptable ?18:27
gintaswhat do you suggest?18:27
gintasI did that intentionally18:27
gintasby the way, the "Set default schema" button is marked for i18n as an "Add" button, which it is not18:28
ignasi just asked whether tou did that intentionally18:28
gintasno, you just asked whether that is acceptable ;)18:28
ignasfixing the button18:29
gintasa long period indeed covers many hour markers, but I don't think that's very important18:30
ignasthe border around it ends up too early ...18:30
ignasand i think they are too short18:31
ignasi mean - if i add a 17:00-20:00 span - it ends up after ~2 hours18:31
povbot/svn/commits: * ignas committed revision 4020:18:32
povbot/svn/commits: Fixed i18n for the button.18:33
erchachehere again!18:34
ignasFoo: 18:00-18:05 (the nonclickable white gap after the calendar)18:34
bskahanth1a: have you gotten login info from canonical?18:35
gintasright, periods after the default day end look ugly18:37
gintasbut it shouldn't be a problem in practice18:37
ignasi see18:37
gintasthe white gap is indeed not clickable, I did not notice that the whole "hours" column was clickable before18:38
gintasmaybe I should add an empty link, or simply make the title " " instead of removing the link18:38
gintasbut these are minor issues, we have much bigger problems18:38
ignasi know, that's why i wanted clarification whether it is an important issue18:39
mgedminminor, I think18:41
mgedminI am very much afraid we have larger issues (e.g. the unreproduced system error when uploading .ics files)18:42
gintasmgedmin, backup by exporting/importing .ics in the current state is not a smart move I guess18:45
gintasat least all-day events will probably get wedged18:47
ignas ffffffffff18:49
ignascleaning keyboard ;_18:50
ignasfound a coupleof dustpuppies18:50
*** mgedmin has quit IRC18:56
povbot/svn/commits: * gintas committed revision 4021:19:05
povbot/svn/commits: Bah, another i18n:translate.19:05
erchacheeeeeeyyyyy big big problem19:06
erchacheon windows19:06
erchachehow i can put schoolbell on service list?19:06
th1aCan't yet.19:06
erchacheif i restart computer doesnt run at start19:06
erchachewhy dont make a install script to windows register to add schoolbell on service list?19:07
th1aerchache:  Do you know how to do that?19:07
*** ignas has quit IRC19:08
erchacheon win xp no19:10
erchacheadding a line on autoexec.bat :P19:10
gintasth1a, you then have to write the application as a service19:10
gintasI'm not sure about the internals19:10
th1aThere are Python extensions, so it isn't too hard.19:10
gintasit's possible with the use of the win32 module, I think19:11
th1aLooks like about a day's worth of work to get it running.19:11
gintasbut remember that we have to run all of zope under it, with threads and stuff19:11
th1aBut it would be tough to debug if you didn't really understand how such things are supposed to work on Windows.19:12
erchachethis is a problem on windows installations19:12
th1aThe "hello world" service is easy in Python.19:12
th1aerchache:  I know.19:12
erchacheif you install a service as a server....all starts need to execute schoolbell19:13
erchacheto release 1.2 perhaps :D19:13
bskahanth1a: do we have a similar problem on mac?19:13
th1aIt doesn't seem like something Mark would want to pay to have done.  We need a volunteer.19:13
erchachea second19:14
bskahanit doesn't seem like a huge task, just requires someone with knowledge of windows services19:14
erchacheim going to try to find information about this19:15
th1abskahan:  At the moment, yes.  I wrote an init script, which did everything except actually start the application when you booted.  It SAID the application was booting, and it worked from the command line, but I haven't solved the problem.  I think there's a new system for startup apps in Tiger.19:15
th1abskahan:  Yeah, we just need someone who understands the problem.19:15
bskahanthere is a new system for tiger, that's why I was wondering19:16
th1aIt is more of a Zope3 issue, I think.19:16
th1aHaven't tried it on Tiger yet.19:16
gintaspity that jinty's not here19:16
bskahanI'm not allowed to do any development on magda's ibook or I'd try to figure it out19:16
gintasI think I found out what's causing problems for Gerhard Schneider19:16
bskahanhas anyone tried upgrading 1.0 -> current SVN19:17
gintascurl doesn't send a Content-Type header (or does it?)19:17
gintasbut anyway schoolbell freaks out19:17
th1aAh... that sounds likely.19:17
gintasor maybe I'm wrong19:19
gintasthat only happens on the trunk but not on the 1.1.x branch19:19
erchachenet start19:20
erchacheits a posible solution19:20
erchachecreating a bat file with python schoolbell-server.py19:21
gintasOK, i've verified it, it works on sb 1.1.x and b0rks on ST trunk19:21
gintasmust be the same bug then19:22
erchacheand net start startschoolbell.bat19:22
erchacheother solution is getting schedule task and add schoolbell19:23
erchachei think19:23
th1aerchache:  I'm the Windows maintainer by default & not nearly as strict as jinty, so I'll .zip up whatever you want to try... unless you want to become Windows maintainer :-)19:24
erchacheeyyyyy i find the solution!19:24
erchachewith schedule task you can solve this19:25
erchachemaking a new task can run schoolbell every restart19:25
erchacheits not too good like service daemon but.....runs19:25
th1aThat's better than nothing.19:26
povbot/svn/commits: * gintas committed revision 4022:19:27
povbot/svn/commits: Fix for issue 264.  It would be nice to backport this to the SB 1.1.x branch.  It can't possibly break anything, of that I am sure.19:27
bskahanwhat was the packaging decision btw, will the schooltool package include Zope and Schoolbell or just depend on the schoolbell 1.1 package?19:33
gintasth1a, ercache, what are you guys talking about?19:36
gintasrunning SB on startup?19:36
gintasdrop a shortcut into the Start menu's Startup folder19:37
gintasor if you want to hide, add it to the Run key which resides somewhere deep in the registry19:37
gintasI caln't remember where, but I can look it up19:37
*** Ricey has joined #schooltool19:38
th1agintas:  Yes, that's what we're talking about.19:38
gintaswell then, did I clear things up?19:39
gintasthat autoexec.bat stuff and scheduled tasks abuse looked scary ;)19:39
th1aIt doesn't seem like there is a lack of wrong ways to get the job done, but that's Windows for you.19:39
gintaswhat's your opinion about Perl then?19:42
gintas(that's a rhetorical question)19:42
povbot/svn/commits: * jinty committed revision 4023:19:42
povbot/svn/commits: Back-ported 4022 for issue 264.19:42
bskahanI was going to respond, but there were too many rude things to say about perl19:42
th1aPerl is better than Windows.19:42
th1aThat's a nice diplomatic answer.19:42
erchachei was talking with a teacher19:54
erchacheabout your program19:54
th1agintas:  So if you explicitly set the content-type in curl does everything work in ST?19:56
erchachearrrggghhh install file must be wait for next release19:57
erchacheto many work to explain a fast installation method on windows, linux/debian, linux/redhat19:58
erchachei send readme on spanish19:58
th1aHrm.  I guess setting the content-type for a GET isn't so easy as a POST.20:02
erchachewhat is email of dev list? :S20:02
th1aWith curl.20:02
th1aJoin here:
erchachedo it20:06
erchachei was think install file maybe more wrong20:11
th1aerchache:  We do have an agreement that needs to be signed by contributors.  The important points are that you share your copyright with the Shuttleworth Foundation and that the work is licensed under the GPL:
th1aIn my opinion, it isn't necessary for translations, but if you're going to be doing more work on SchoolTool, it would be good to get this step out of the way.20:12
gintasth1a, there's probably some other problem, because the same with works with ST but does not work with SB20:12
th1agintas:  OK.20:12
erchacheare dgpl?20:13
erchachevia smail?20:13
erchacheor email?20:14
th1aSnail or fax.20:14
gintasth1a, the "fix" is more like a workaround, the problem needs to be investigated further20:14
erchachesnail....a fax its very expensive to me20:15
th1aNo rush.20:15
th1aThey just want to see the signature.  If you have a scanner that would work.20:16
*** tvon has quit IRC20:16
erchachei send via sanil20:17
erchachemore cheap20:17
erchachebut more slow :S20:17
th1aThat's fine.20:18
*** bskahan has quit IRC20:23
*** alga has quit IRC20:23
*** FarcePest has quit IRC20:23
*** thisfred has quit IRC20:23
*** munkee has quit IRC20:23
*** SteveA|afk has quit IRC20:23
*** SteveA|afk has joined #schooltool20:26
*** Ricey has quit IRC20:26
*** th1a has quit IRC20:26
*** srichter has quit IRC20:26
*** FarcePest has joined #schooltool20:26
*** thisfred has joined #schooltool20:26
*** alga has joined #schooltool20:26
*** munkee has joined #schooltool20:26
erchachesuper split irc server20:27
*** bskahan has joined #schooltool20:29
*** srichter has joined #schooltool20:29
*** bskahan has quit IRC20:35
*** bskahan has joined #schooltool20:36
*** Ricey has joined #schooltool20:36
*** Ricey has quit IRC20:45
*** erchache has quit IRC20:54
*** erchache has joined #schooltool20:54
*** Ricey has joined #schooltool20:54
*** erchache has quit IRC20:54
povbot/svn/commits: * jinty committed revision 4024:20:59
povbot/svn/commits: Branching SchoolTool for 0.10.x.20:59
*** thisfred has quit IRC21:01
povbot/svn/commits: * jinty committed revision 4025:21:14
povbot/svn/commits: Bump schooltool release version number21:14
povbot/svn/commits: * jinty committed revision 4026:21:25
povbot/svn/commits: Tagging SchoolTool 0.10rc1. Here we go...21:25
bskahanis schoolbell 1.1 final releasing today?21:38
bskahanor was the decision to do an RC2?21:39
povbot/svn/commits: * tvon committed revision 4027:21:45
povbot/svn/commits: patch from gintas for date-only allday's in ical files.  See 224 for details.  It would be nice if this could be backported.21:45
povbot/svn/commits: * jinty committed revision 4028:22:09
povbot/svn/commits: Back-ported 4027 for issue 224.22:09
*** th1a has joined #schooltool22:16
povbot/svn/commits: * jinty committed revision 4029:22:19
povbot/svn/commits: Tagged SchoolBell 1.1.22:19
povbot/svn/commits: I cannot wait any longer for erchache patch... But seeing as it is only a documentation fix, I am sure it go into the translation/docs release in a few weeks.22:19
povbot/svn/commits: The schoolbell-1.1.x branch is now closed for anything except:22:19
povbot/svn/commits: security fixes honking great big bugs translation and documentation updates22:19
*** bska|mobile has joined #schooltool22:39
bska|mobileth1a: what's your ETA for mac packages?22:40
th1aThis evening.  I can do it quicker if there is a reason to.22:40
th1aDo you need them for something?22:41
bska|mobilegetting teacher review22:43
bska|mobilethis evening is cool22:43
th1aThey aren't running Tiger?22:43
bska|mobilewill that make it difficult?22:44
th1aYes they aren't?22:44
bska|mobilethey are running tiger22:44
bska|mobilesorry, misread the question22:44
th1aOK, then you just need the Python libxml2 bindings.22:44
th1aAnd the regular tarball is fine.22:45
th1aThe cryptic "bus error" with Zope 3 is gone, thankfully.22:45
*** bska|mobile has quit IRC22:46
*** bskahan has quit IRC22:47
*** gintas has quit IRC22:48
*** SteveA_ has joined #schooltool22:49
*** SteveA|afk has quit IRC22:50
*** srichter has quit IRC23:06

Generated by 2.15.1 by Marius Gedminas - find it at!