IRC log of #schooltool for Tuesday, 2005-08-02

srichterhi00:09
srichterhas the release branch been made already?00:09
*** th1a has joined #schooltool00:23
srichterth1a: has the release branch been made already?00:25
th1aWe generally do that on Tuesday.00:26
srichterok00:26
th1aI'm running around trying to get ready for my trip, so I'm not sure precisely what is going on now.00:26
srichter:-)00:27
srichteras long as you don't forget your passport, tickets and credit card, you are fine00:27
th1aLast trip I forgot my tickets, believe it or not.00:27
srichterhe he00:27
th1aI'm so used to electronic tickets.00:28
srichteryeah00:28
th1aI got to the desk and I'm like "Tickets?  Why would I have a ticket?"00:28
srichterdid they just print new ones?00:28
th1aI had to go over to Terminal B to get a new ticket & bribe some guy to drive me back over and luckily the nice Lufthansa agents let me in a few minutes late.00:29
th1aIt was about an hour of complete insanity.00:29
srichterI can imagine00:30
srichterI do those things too00:30
*** th1a is now known as th1a|way00:33
*** th1a|way is now known as th1a00:39
*** dman13 has quit IRC00:45
*** dman13 has joined #schooltool00:45
*** th1a is now known as th1a|way00:50
SteveAth1a|way: hi00:51
*** dman13 has quit IRC00:51
*** dman13 has joined #schooltool00:51
*** SteveA has quit IRC02:18
*** th1a|way is now known as th1a03:36
*** tvon has quit IRC04:47
*** tvon has joined #schooltool05:04
povbot/svn/commits: * tvon committed revision 4430:07:31
povbot/svn/commits: ugh, stupid07:31
povbot/svn/commits: * tvon committed revision 4431:07:34
povbot/svn/commits: subscriber for setting permissions on application calendar07:34
povbot/svn/commits: * tvon committed revision 4432:07:59
povbot/svn/commits: whitespace/organization07:59
povbot/svn/commits: * tvon committed revision 4433:08:56
povbot/svn/commits: * Move javascript/css from the calendar widget to the top of the page where it08:56
povbot/svn/commits: belogs.08:56
povbot/svn/commits: * Fix erroneous ++resource++ linkage * Update test setup for above08:56
povbot/svn/commits: * tvon committed revision 4434:11:00
povbot/svn/commits: Reverting most of r4186 (portions relevant to app name in <title>)11:00
povbot/svn/commits: * tvon committed revision 4435:11:01
povbot/svn/commits: Reverting most of r4260 (app title in page title)11:01
*** thisfred has joined #schooltool11:34
povbot/svn/commits: * tvon committed revision 4436:12:49
povbot/svn/commits: Calendar as front page option/implementation.12:49
povbot/svn/commits: * tvon committed revision 4437:13:15
povbot/svn/commits: missed title undo13:15
povbot/svn/commits: * tvon committed revision 4438:13:17
povbot/svn/commits: whoops13:17
povbot/svn/commits: * tvon committed revision 4439:13:20
povbot/svn/commits: app.cal permissions subscriber for ST13:20
povbot/svn/commits: * tvon committed revision 4440:13:50
povbot/svn/commits: front page calendar for ST13:50
*** ignas has joined #schooltool13:52
*** tvon has quit IRC14:14
*** gintas has joined #schooltool14:20
*** alga has joined #SchoolTool14:26
*** tvon has joined #schooltool14:41
algahttp://source.schooltool.org/buildbot/14:55
algathe tests are failing14:55
povbot/svn/commits: * tvon committed revision 4441:14:57
povbot/svn/commits: missed title change in calendar-page macro14:57
*** erchache has joined #schooltool14:59
erchachehi14:59
algahi14:59
tvonacl_text in rest has been failing or a while14:59
algahow's your vacation going14:59
tvonfrom what looks like Zope314:59
erchachevery boring....my girlfriend is working and cant go to beach :'(14:59
tvoner, acl_txt15:00
erchachewe cant coordinate our holidays for job problems15:00
erchachei have time, i have money but i cant go with my girlfriend...so to evit divorcied me ;P.....i stay at home on holidays15:01
*** erchache has left #schooltool15:04
algatvon: I suppose you're the one to babysit tests15:05
alga*all tests*15:05
algasince you're the only one working on schooltool15:05
tvonalright, I'll look at it15:06
algaI'm downgrading Zope to '{2005-07-20}'15:07
algarunning all tests15:09
algahuh?15:12
algaException exceptions.RuntimeError: 'maximum recursion depth exceeded' in <function remove at 0xb7515684> ignored15:12
tvonhrmph15:12
tvonis buildbot home grown?15:12
algagoogle it15:12
algais any software homegrown?15:12
tvonah15:12
tvonyou never know, some folks like to do it all themselves15:13
tvonmight be useful to set it up to mail the list or ping irc when a build fails15:14
gintasit's supposed to be complaining about errors by e-mail15:14
gintasMarius could not figure out why that does not work15:15
tvonah15:15
algaif it were homegrown, it would be called testbot or somesuch15:17
*** SteveA has joined #schooltool15:18
gintasI'm thinking about linking SB/ST with the current version of the Zope 3.1 branch15:25
gintasthat will probably get rid of this functional test failure15:26
povbot/svn/commits: * alga committed revision 4442:15:26
povbot/svn/commits: Fixed a deprecation warning.15:26
tvongintas: want to give it a try?15:28
tvonI'm having issues connecting to svn at the moment15:28
gintasdo you think I should do this on the SB/ST trunk or in the release branch (after I create it)15:28
gintasmaybe the trunk15:28
gintasth1a, are you there?15:29
algagintas: +115:29
tvonshould definately do the trunk, we arent going to be tracking z3 after 3.1 is out15:29
gintasok, I'll try it out locally and see if the functional test failure disappears15:33
tvonI'm getting a co but it's going very slowly15:33
tvonmight hurt srichter's testbrowser plans...15:38
tvon(moving to 3.1)15:38
gintasoh15:43
gintaswell, at the moment it's not an issue as his work will not be included in the coming release15:43
tvonyeah15:44
gintaswe can move back to trunk later if we really want that15:44
gintastvon, what are your plans today?15:46
tvonhang around here mostly15:46
tvonwhateva you need15:46
gintasat what time can I create the branch so that no extra porting work is created15:46
gintas;)15:46
tvonftest still fails on 3.115:47
gintasI'd like to know if there's stuff that you'd like to commit today before the branching, and, if there is any, when you expect to do the commits15:47
*** matiasV has joined #schooltool15:47
tvonlet me check my list15:48
tvonah, let me add another submit button to the acl form, then I'm set15:48
gintashmm, I wonder if it's worth switching to 3.1 then15:55
tvonyeah, probably not15:56
tvonI had thought the plan was to stick to externally-packaged 3.1 when it was released though, but I could be wrong15:56
gintasprobably, but as of this moment it's not released15:57
* tvon nods15:57
gintasI suspect that we don't want to make such a big change for, say, SB 1.2.115:57
tvontesting & committing16:00
povbot/svn/commits: * tvon committed revision 4443:16:03
povbot/svn/commits: Note about 24h format16:03
tvonand...16:03
povbot/svn/commits: * tvon committed revision 4444:16:04
povbot/svn/commits: another 'apply' button and label change16:04
tvonokay16:04
tvongintas: branch away16:04
gintasok16:06
gintasI'll just have a stab at fixing that ftest16:06
gintasit appears to be influenced by some other functional test16:06
gintaswait, I might be wrong16:07
tvonits like that IRL too...actually maybe we should try to fix that first since it exposes ACL to the world16:07
povbot/svn/commits: * gintas committed revision 4445:16:11
povbot/svn/commits: Cosmetic fix.16:11
povbot/svn/commits: * gintas committed revision 4446:16:13
povbot/svn/commits: More cosmetic fixes.16:13
tvonz3 svn seems to be having bdb issues16:17
tvonno, memory issues16:17
tvonnm, back16:17
gintastvon, I had the same problem16:19
gintasdarned subversion16:19
tvonit seems to be back now, at least the viewcvs is16:20
* tvon is looking at zope/app/authentication changes16:20
gintasI wonder if some bugfix from Friday's Zope 3 bug day broke things16:25
povbot/svn/commits: * gintas committed revision 4447:16:27
povbot/svn/commits: Yet more cosmetic fixes.16:27
gintastvon, I'll try tracking down the revision that broke the ftest in schoolbell16:32
tvonit broke in buildbot after 441316:33
tvon(errors before that are different)16:33
gintasI mean the Z3 revision16:33
tvonah16:33
tvon37611?16:34
gintasI think it's earlier16:34
tvonah16:35
gintas37587 or earlier16:35
gintasappears to be 3758616:35
*** admp has joined #schooltool16:36
*** gintas has quit IRC16:36
*** gintas has joined #schooltool16:37
* tvon kicks svn16:49
gintasit deserves much worse than that16:59
th1aGood morning.17:00
tvonmorning17:02
gintashi, th1a17:03
povbot/svn/commits: * gintas committed revision 4448:17:05
povbot/svn/commits: Fixed failing functional test.17:05
povbot/svn/commits: The problem appears to have been explicit Content-Length headers.  Never leave those around, they just cause trouble.17:05
tvonare you kidding me?17:06
gintas?17:08
tvonnevermind, thats not the rest test?17:09
gintasno, a different one17:10
gintasZope3 svn is still down, so I took on the other problems17:11
* tvon nods17:13
gintasI seem to have a whole slew of failing functional tests17:14
tvonhrm17:15
* tvon updates17:15
tvontool or bell?17:16
gintasschooltool17:16
tvonI've got none17:16
gintaswhich zope rev?17:17
tvon3764817:18
tvonbrb17:18
gintasth1a, I'm stuck because svn.zope.org is down ;(17:20
tvonre17:25
th1agintas:  OK.17:26
gintasah, it's up again17:27
gintastvon, seems that I had some sucky Zope 3 revision, all's fine now, except that failing app_txt from SB17:30
tvonah17:31
tvonhad me worried :)17:31
gintasI meant acl_txt17:32
povbot/svn/commits: * gintas committed revision 4449:17:35
povbot/svn/commits: Fixed typo.17:35
povbot/svn/commits: * gintas committed revision 4450:17:38
povbot/svn/commits: Doh!17:38
srichterhi guys17:55
srichteranyone up for a chat?17:55
th1aAbout?17:55
srichterI wonder about the best way to implement the developer's mode switch17:55
srichterfirst I thought, schooltool.conf is the right thing to do17:56
srichterbut we could also provide it as a feature in ZCML17:56
*** bskahan has joined #schooltool17:56
srichterin which case we could alter ZCML directives based on it17:56
srichterI also wonder how the switch should affect the system17:57
tvonwhere in zcml?  like a site.zcml or configure.zcml?17:58
srichterdoes not matter right now17:58
ignassrichter, well - one is not likely to check in his schooltool.conf file into a repo17:59
srichteron the other hand developer-mode could also mean that the default skin is changed17:59
ignasyet if the switch is in configure.zcml17:59
tvonignas: exactly17:59
tvonthough I guess it would be always-on in the repo anyway eh?17:59
ignasit might raise some conflicts :/17:59
tvonand removed during the release cycle17:59
srichterthat's really not what I am interested right now17:59
srichterthe more important point is how does the switch affect the system18:00
ignasthe check in message like - "turning developers mode off" or "turning developers mode on" are not very nice :/18:00
srichterand what is the path of least resistence to implement that goal18:00
ignasthe least resistance is - including some foo.zcml file into configure.zcml to register/override some error views i guess18:00
tvonjust to say them: tracebacks and access to useful ++etc++site bits (just error reporting/config I suppose)18:01
srichterso I think having a custom developer skin that overrides some of the inital macros is one way to go (maybe the best)18:01
srichtercreatign a global variable is another18:01
tvonthats just UI/views.. I guess registering pagelets (which we don't use at the moment)18:01
ignassrichter, is the easiest, though not the best :/18:01
srichterhaving a ZCML feature is also not bad18:01
srichterignas: right, that's the ZCML approach18:01
tvonprofiling18:02
bskahanI like the idea of having a development.zcml18:02
srichterok, so let's start from the beginning: here is what the dev mode should do: Show tracebacks on error pages, show profiling information (later), show a menu to access error reporting util, API doc, etc18:03
tvongenerate random sample data18:03
srichterthe problem with the ZCML way is that I have to copy a lot of the standard macros18:03
ignasi would like the inclusion of the additional zcml file managed somewhere in the start up source code, that is using configuration file ...18:03
tvonthats rather specific though18:03
ignasa mixed approach ... os turning it on/off creates no conflicts, though it is easy to implement it ...18:04
srichterignas: the idea would be to have something like <meta:feature name="devmode" /> in site.zcml18:04
srichterIf you comment it out, you have the standard mode18:05
ignassrichter, is site.zcml in svn repo?18:05
srichterbtw, an advantage of the ZCML approach is that all ZCML that is not needed in non-dev mode is not even evaluated; this might mean about 2-4 secs in startup time18:05
tvonsrichter: the macro world could be made easier of schoolbell moved to pagelets18:06
srichterignas: no it's hard-wired right now in a Python file, but this should change anyways18:06
srichteryes18:06
srichterhowever, I would not move to pagelets yet18:06
srichterwe have 2 or 3 competing technologies18:06
*** admp has quit IRC18:06
tvonyeah... hard to tell when any of them will be usable though18:07
srichterI saw that ZC is working with portlets, Nuxeo has this and then we have Roger's from the trunk18:07
srichterI am not sure though whether ZC uses a Nuxeo, trunk or own implementation18:07
tvonZC?18:07
srichterZope Corp18:08
tvonah18:08
srichteranyways, I think ZCML is the way to go now18:09
povbot/svn/commits: * gintas committed revision 4451:18:10
povbot/svn/commits: Fixed the failing functional text.18:10
tvonwe should (imo) have a cli switch for the standalone servers so we can specify a custom site.zcml18:10
tvongintas: acl_txt?18:10
gintastvon, yes18:11
tvonnice18:11
povbot/svn/commits: * gintas committed revision 4452:18:11
povbot/svn/commits: Cosmetic fixes.18:11
*** FarcePest has joined #schooltool18:14
tvonafk a while18:23
*** tvon has quit IRC18:23
*** bskahan has quit IRC18:25
*** bskahan has joined #schooltool18:30
povbot/svn/commits: * gintas committed revision 4453:18:32
povbot/svn/commits: Changed behaviour of configureReportLab (again).  This used to break if the font path was invalid.  Now just a warning is output to stderr.  I'm not sure that this is the most sensible behaviour, but it will make packaging significantly easier.18:32
srichterhas the release branch been created already?18:35
gintassrichter, not yet18:36
gintaswe still have a failing functional test18:36
gintasat least it's failing on buildbot18:36
gintasnot on my machine though :(18:38
povbot/svn/commits: * srichter committed revision 4454:18:38
povbot/svn/commits: Create a new branch for ne to work in.18:38
gintasdoes src/schooltool/browser/ftests/app.txt fail for anyone?18:38
srichterI am checking it out right now; hold on18:39
povbot/svn/commits: * gintas committed revision 4455:18:41
povbot/svn/commits: Cosmetic fix.18:41
bskahangintas: schooltool or schoolbell?18:43
srichterpasses for me18:44
srichterI am running all of st now (unit and functional)18:45
gintashmm, buildbot seems to be choking on it consistently18:47
povbot/svn/commits: * gintas committed revision 4456:18:47
povbot/svn/commits: Fixed a test which was failing when __file__ was .pyc, not .py.18:47
srichtergintas: how is buildbot running the tests?18:48
gintasoh man18:48
gintasit's failing because it's being run on python 2.318:48
srichtermaybe it is running in a way we are not using it18:48
gintasthat sounds like a really nasty problem18:48
srichter*shrug18:49
srichtercan you paste the error here?18:49
gintashttp://source.schooltool.org/buildbot/pov-schooltool/builds/116/test/018:49
gintasit's not really an error, it's a functional test that's failing18:49
gintasa view that should not be accessible is shown18:50
srichterwow, this is tough18:51
srichterdid you try switching to the Zope 3.1 release branch?18:51
th1asrichter:  btw, tvon is right, we should include a generation of sample data tool in developer mode.18:51
srichterif that does not work, it will be a lot of work to debug18:51
gintasI'll try the switch18:52
srichterth1a: ok18:52
srichterth1a: but I need more specs on that18:52
th1asrichter:  Right.  We'll have to finalize the proposal when I get settled in Lithuania.18:53
srichteryes, then we can also include the profiling info stuff18:53
th1asrichter:  But think about how we can do it in such a way that developers will be able to add new sample data generators when they create new features.18:54
srichteryou can do that by conditionalizing every added object18:54
srichteri.e. if 'Stephan_Sample' not in app['persons']: ...18:55
*** tvon has joined #schooltool18:55
gintassrichter, switching to the Zope-3.1 branch did not help18:55
gintasI'll try switching to some earlier revisions to see when the problem crept up18:55
srichtershrug, so much that people still test Zope 3 with Py 2.318:56
gintassrichter, what do you mean?18:57
srichterwell, if people would use Python 2.3, I would think they would have discovered this before18:58
gintasright18:59
gintasbut I don't think it's a good idea to shed Python2.3 support just now18:59
srichterI have a pretty strong opinion that we should switch in 3.2, which means I am willing to argue with Jim :-)19:00
*** bska|mobile has joined #schooltool19:00
*** bskahan has quit IRC19:01
gintas2.4 is already quite widespread19:01
*** alga has quit IRC19:02
gintasI wouldn't mind very much to only support 2.419:02
srichtergintas: do you know why this site.zcml code is in Python in schooltool/main.py?19:02
gintassrichter, not really19:03
gintasI didn't do that part19:03
srichterit looks dubious there19:03
bska|mobilezope 3.1 depends on python 2.3?19:03
srichteryes19:03
*** alga has joined #SchoolTool19:05
ignassrichter, i guess zcml is in there so we could have a standalone app and capability off using it as a Zope3 component ... might be totaly wrong though19:06
srichterI think the most compelling argument is that it does some translating19:07
srichterotherwise the path to the site.zcml file would be sufficient19:07
gintassrichter, I think it is a customized site.zcml19:07
ignasoh yeah - it is a stripped site.zcml19:08
srichteryep, but why not store it in another site.zcml?19:09
ignasi can recall that z3 was starting a lot slower than schoolbell-servder.py because SB was not loading a bunch of stuff, like API doc ...19:09
srichteryep19:09
srichterbut this has nothing to do with the fact that it is not a file19:10
gintasfeel free to refactor this19:10
*** bskahan has joined #schooltool19:10
*** bska|mobile has quit IRC19:11
srichterI think this should be all part of merging schoolbell and schooltool again :-)19:11
gintassrichter, I don't like them being separate either19:15
gintasthat causes lots of pain, but that makes some sense for the users19:16
srichterreally?19:19
ignassrichter, yep, some programmers might be interested in publishing their calendars on the web though do not care about schools/timetables in any way19:20
gintaswe definitely would not have done such a thing if it did not make sense19:20
srichterof course the different product distributions make sense19:21
srichterbut not the split of the code base19:21
gintaswhat do you suggest?19:22
srichterhave a schoolbell app inside schooltool19:23
srichteryou tried so hard to separate library from application and then you split the code base19:23
srichterarranging the pacakges for a particular release is the job of zpkgtools19:23
gintasbut it's not just packages19:24
gintasit's documentation, scripts and all kinds of stuff19:24
srichterwhat else is it?19:24
srichterzpkgtools handles all of that19:24
srichterit's the same situation with Zope 319:25
gintasbtw, I isolated the problematic revision: 440019:25
srichtersometimes you want to distribute Zope 3, the application server and other times only zope.interface or zope.component19:25
gintas(Batching for section instructor add/remove view.)19:25
srichterthat is a ST revision, right?19:25
gintasyes19:25
srichterso the batch code uses some Py 2.4 thing or something that changed between versions19:26
srichtermhh19:26
gintashttp://source.schooltool.org/viewcvs?rev=4400&view=rev19:27
gintasprobably not19:27
gintashonestly, I have no idea19:27
gintasthe odd thing is that stuff works which shouldn't19:27
*** bskahan has quit IRC19:31
*** pcardune has joined #schooltool19:32
gintasthat revision does not appear to change any permission stuff, just some sections view19:33
*** bskahan has joined #schooltool19:36
srichterlook at the batch code19:36
gintassrichter, can't find anything suspicious19:53
povbot/svn/commits: * gintas committed revision 4457:19:54
povbot/svn/commits: i18n domain fix.  Some cosmetic fixes.19:54
srichtermmh, have you verified that the problem exists in the true UI as well?19:54
*** thisfred has quit IRC19:55
gintasnot yet; good point19:56
povbot/svn/commits: * srichter committed revision 4458:20:03
povbot/svn/commits: Implementation of the developer's mode. When activated, it already loads API doctool. Now we just have to get everything else working ;-)20:03
srichterth1a: okay, I am convinced now that the split of source is utterly evil ;-)20:04
bskahanheh20:04
ignastvon, don't you think that making manager click on his "name" instead of "top" when he wants to access Person/Group containers is a bit silly ?20:06
povbot/svn/commits: * srichter committed revision 4459:20:10
povbot/svn/commits: second attempt at this.20:10
povbot/svn/commits: * srichter committed revision 4460:20:11
povbot/svn/commits: Need to create a branch for schoolbell as well, sigh.20:11
povbot/svn/commits: * srichter committed revision 4461:20:12
povbot/svn/commits: Make a copy of my devmode schooltool branch here.20:12
bskahangintas: I'm not getting a failure on acl_txt using 2.4 or 2.320:12
bskahanusing a clean check out of schoolbell20:13
bskahanoddly though:20:13
bskahan% python2.3 test.py -pvCuf                               +ent/schoolbell@pigpen20:13
bskahanreportlab or TrueType fonts not found; PDF generator tests skipped20:13
bskahanImported 33 modules in 99.954s20:13
bskahanvs.20:14
bskahan% python2.4 test.py -pvCuf                               +ent/schoolbell@pigpen20:14
bskahanImported 33 modules in 22.400s20:14
bskahannm, I must not have reportlab for 2.420:14
bskahans/4/3/20:14
ignasbskahan, is tvon anywhere around ?20:14
bskahanignas: sorry, I'm not sure if he's around20:15
ignasi see20:16
bskahanI'll ping him on jabber20:16
bskahanI just moved to New York, he's in baltimore, about 300K south20:16
ignasi see20:16
bskahanI'm totally guessing on the miles to kilometers conversion20:17
ignas:)20:17
ignasnot that there is a huge difference between someone being 50 vs 300 km south ;)20:17
povbot/svn/commits: * srichter committed revision 4462:20:18
povbot/svn/commits: Change link to correct schoolbell instance.20:18
bskahantrue20:19
ignasbskahan, maybe you could look into the UI issue instead of him ? because i am pretty sure that manager will care about persons/groups a lot more than he would care about schoolwide calendar and that should be reflected in the UI ...20:19
bskahansure, is it the link in the breadcrumbs?20:20
ignaswell - there is no obvious way to access the top level containers at the moment20:21
bskahanah20:21
bskahanok20:21
gintassrichter, I carried out the functional test manually and can't seem to reproduce the problem20:23
gintasI tried both python2.3 and python2.420:23
srichterthen force buildbot to do a totally fresh checkout20:23
srichterthis sometimes happened for Z3 as well20:23
srichtersome merge did not work right or so20:24
povbot/svn/commits: * srichter committed revision 4463:20:24
povbot/svn/commits: Okay, here is the real devmode switch code.20:24
gintassrichter, it's not a problem with buildbot20:24
gintasit's a problem with python2.320:24
gintasI mean, the tests pass on 2.4 and fail on 2.320:25
srichterah, I see20:25
gintashmm20:25
povbot/svn/commits: * srichter committed revision 4464:20:25
povbot/svn/commits: Not needed anymore.20:25
srichteroh, I see now what you mean20:25
gintasthe IRelationshipRemoved event does not seem to be sent20:25
srichteraha20:25
srichterregister your own event listener and see what happens20:26
srichterimport zope.event20:26
srichterdef writeEvent(event):20:26
srichter  print event20:26
srichterzope.event.subscribers.append(event)20:26
srichterzope.event.subscribers.append(writeEvent)20:26
povbot/svn/commits: * gintas committed revision 4465:20:27
povbot/svn/commits: Fixed a backwards-compatibility bug.20:27
povbot/svn/commits: * gintas committed revision 4466:20:27
povbot/svn/commits: Cosmetic fixes.20:27
*** bska|mobile has joined #schooltool20:28
povbot/svn/commits: * srichter committed revision 4467:20:29
povbot/svn/commits: the devmode stuff is useful for both, SB and ST, so let's develop it in SB.20:29
povbot/svn/commits: * srichter committed revision 4468:20:30
povbot/svn/commits: Hook up devmode.20:30
gintassomething's wrong with those relationships20:30
gintasthe RelationshipRemovedEvent is not fired for some reason20:31
srichtergo to the method is should be fired from and see whether it is called20:31
srichterwork your way up till you find the place of failure20:31
gintasdoing that20:32
gintasargh20:33
gintasthe functional test was at fault20:33
gintasthe field did not have a trailing =20:33
povbot/svn/commits: * srichter committed revision 4469:20:33
povbot/svn/commits: Remove the devmode stuff here.20:33
srichterLOL20:33
srichterthat's unbelievable20:33
povbot/svn/commits: * srichter committed revision 4470:20:34
*** bskahan has quit IRC20:34
povbot/svn/commits: Oops, we want to conditionalize this.20:34
bska|mobilegintas: ouch, that's probably my ftest, sorry20:34
srichter...and bska|mobile is immediately struck by lightening20:35
* bska|mobile wondered why his hair was standing up20:36
* srichter notes that bska|mobile owes gintas a beer next time they meet ;-)20:36
povbot/svn/commits: * gintas committed revision 4471:20:36
povbot/svn/commits: Fixed functional test that was failing on Python2.3 but passing on Python2.4.20:36
gintasphew20:36
ignassrichter, I and marius spent a few hours solving this one before :) in our case - we were using sb testrunner vs zope one ...20:37
gintaswell, I should have noticed that earlier, so bskahan is not the sole culprit20:37
ignaswhat weirds me out - why 2.3 and 2.4 are handling the case differently ?20:38
ignasand isn't that a bug in Zope3 ?20:38
gintasno20:38
gintasit's probably something in the standard library20:38
povbot/svn/commits: * gintas committed revision 4472:20:41
povbot/svn/commits: Creating schoolbell release branch.20:41
povbot/svn/commits: * gintas committed revision 4473:20:41
povbot/svn/commits: Creating schooltool release branch.20:41
povbot/svn/commits: * gintas committed revision 4474:20:49
povbot/svn/commits: Tying to a current specific Zope3 revision.20:49
bska|mobileignas: I'm not coming up with a simple solution for the removal of "top", I'll mull it over a bit today20:50
povbot/svn/commits: * gintas committed revision 4475:20:50
bska|mobilefiled as issue32220:50
povbot/svn/commits: Tying to a current specific Zope3 revision.20:50
povbot/svn/commits: * gintas committed revision 4476:20:51
povbot/svn/commits: Tying to a current specific Zope3 revision.20:51
povbot/svn/commits: * gintas committed revision 4477:20:51
ignasbska|mobile, what do you mean by "removal of "top"" ?20:53
povbot/svn/commits: * gintas committed revision 4478:20:53
povbot/svn/commits: Tying SchoolTool release branch to SchoolBell release branch.20:53
srichtergintas: so I can now merge my code, right?20:53
bska|mobileignas: the top level index redirects to the calendar now when that preference is enabled20:54
bska|mobileso the link "top" that used to take you to the index no longer works because / redirects20:55
*** gintas has quit IRC20:56
ignaswow :)20:56
bska|mobile:-P20:57
pcarduneso, what did you do to "top" I am unable to access anything?21:05
ignaspcardune, a workaround - click on "manager" in the right top corner (the link near "My calendar")21:05
pcarduneum... that gets me to the manager's person page but now how do I add courses or sections or anythign?21:07
bska|mobilepcardune: they should be in the meny21:07
bska|mobilemenu21:07
pcardunethe only menu I see is the actions menu21:07
pcardunethere is no navigation21:08
bska|mobileinteresting21:08
pcardunei'll say21:08
ignaspcardune, by navigation you mean ?21:09
ignascan you see "Persons" "Groups" links on the left21:10
pcardunenope21:10
bska|mobilethat's not right21:10
ignasafter going to "managers person page"21:10
pcardunecorrect21:10
bska|mobilenot the manager's calendar21:10
ignasscreenshot please21:10
pcarduneok21:10
pcardunehttp://www.ibiblio.org/paulcarduner/Screenshot.png21:13
bska|mobilepcardune: did the navigation menu just go away recently?21:14
pcardunebska|mobile: yes, i did a fresh svn checkout about 20 minutes ago21:15
*** erchache has joined #schooltool21:16
erchachehi21:16
bska|mobilehow old was you svn copy before that?21:16
pcardune5 days maybe21:16
bska|mobilethanks21:18
pcardunenot only that, but some of the *very* simple changes i make to the schooltool source to "plug-in" our CanDo, don't seem to work or do anything21:18
bska|mobileas a temporary fix, removing the top line of schooltool/src/schooltool/browser/templates/index.pt should make the "top" link work again21:18
bska|mobilebrb21:19
pcarduneok, problem solved21:25
pcarduneor at least it isn't your problem21:25
pcarduneI must have done something which broke it21:25
pcardunethat is very confusing21:26
pcardunewhy would adding <li><a tal:attributes="href view/app/candotoo/@@absolute_url"21:27
pcardune         i18n:translate="">CanDoToo</a></li>21:27
pcardune to the schooltool/browser/templates/navigation.pt file cause the whole navigation bar to disappear?21:27
pcarduneoh wait a second...21:29
pcarduneyess....21:29
pcardunenvm21:29
pcarduneignas: how do I delete everything in a zope database and start out with a fresh one (like you have after a fresh schooltool checkout)21:36
ignasData.fs21:38
ignasrm Data.fs21:38
pcardunethanks21:39
th1aOK.  I'm packing my laptop.  See (some of you) in Vilnius!21:42
ignasbye21:42
ignas:)21:42
*** th1a has quit IRC21:43
*** erchache has quit IRC21:45
pcardunecan i override schooltool's zcml directives?21:48
pcardunein my own configuration files?21:48
srichternot that easily21:49
srichterST does not provide facilities for this yet, as far as I know21:49
pcardunesrichter: but zope does...21:50
srichteryes21:50
ignasant zcml include vs include_override semantics are non trivial too ...21:50
srichterST starts up differently21:50
ignasi'd say they are misleading21:50
srichterhuh?21:51
ignaswell include in zcml is not the same as include in "C/C++" ;)21:51
pcarduneooh21:51
pcardunei thought you were saying there was an include_override zcml directive21:52
ignasincludeOverrides vs include i mean21:53
srichterit is still there21:54
ignashad to twist my head to understand what kinds of decisions have lead to such convoluted (only humble opinion) design21:54
*** ignas has quit IRC22:03
*** admp has joined #schooltool22:20
srichterhow is the skin set in SchoolBell?22:32
bska|mobilesrichter: beforeTraverseEvent subscriber22:34
srichterah, ok, thanks22:34
bska|mobileschoolbell.app.browser.skin22:34
bska|mobilenp22:34
srichterbska|mobile: please do not tell me that ST and SB view_macro.pt are pretty much copies of each other...22:36
bska|mobilesrichter: they are very similar22:36
srichterthe point of macros is not to duplicate code22:36
srichterI bet you the calendar macros are equivalent, yes?22:36
bska|mobilemost are probably identical22:37
srichterok, time to refactor this then22:37
srichterreally, only the @@page macro should be in view_macros.pt22:37
srichterthis makes it easy for anyone else to override this particular one22:38
srichterthe other macros should be in calendar macros22:38
srichternote that you can still place them all inside the standard_macros22:38
srichterby writing a new Macros class22:38
srichter(very simple to do)22:39
* bska|mobile nods22:39
bska|mobileI've considered breaking out the macros into seperate files, is there an example of the Macros class in the zope tree?22:40
srichteryes, basicskin/standardmacros22:41
srichterI'll check in an example in a moment22:42
srichterin zope.app.apidoc I split macros a lot22:42
bska|mobilethanks22:42
srichterin fact, I think that probably the calendar macros could be available as calendar_macros22:43
srichterbska|mobile: checked in22:49
povbot/svn/commits: * srichter committed revision 4479:22:49
povbot/svn/commits: Split up macros into different files and views; this will make it much easier to replace only the @@page macro for the devmode.22:49
povbot/svn/commits: An added benefit might be that the calendar_macros equal in ST and SB.22:49
bska|mobilenice, thanks22:50
bska|mobilesome of the calendar macros will have to be different, but the calendar-page, and several of the 'portlets' are duplicates22:51
bska|mobileiirc22:51
srichterright22:51
bska|mobilecan we move school[bell,tool] trunk to the Zope-3.1 branch?22:56
srichteryes22:57
bska|mobilegintas just pegged to a particular revision, I'll ask him if he wants to stay there tomorrow22:58
srichterok, I hate svn:externals too23:05
srichterwe should really do a vendor import23:06
* bska|mobile nods23:08
bska|mobilethe current setup can be a pain23:08
srichteralga: are you still there?23:22
*** bska|mobile has quit IRC23:37
*** admp has quit IRC23:42
srichteraaaaaaaaaaahhhhhhhhhhhh23:44
srichterwhat happened to schooltool?23:44
srichterhow can I get to the levels?23:44
srichterthe "Front Page Calendar" preference totally sucks!23:47
srichterthere is no way of getting to other top-level containers now23:47
srichterat least do not make it the default!23:47
*** admp has joined #schooltool23:52

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!