srichter | hi | 00:09 |
---|---|---|
srichter | has the release branch been made already? | 00:09 |
*** th1a has joined #schooltool | 00:23 | |
srichter | th1a: has the release branch been made already? | 00:25 |
th1a | We generally do that on Tuesday. | 00:26 |
srichter | ok | 00:26 |
th1a | I'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 |
srichter | as long as you don't forget your passport, tickets and credit card, you are fine | 00:27 |
th1a | Last trip I forgot my tickets, believe it or not. | 00:27 |
srichter | he he | 00:27 |
th1a | I'm so used to electronic tickets. | 00:28 |
srichter | yeah | 00:28 |
th1a | I got to the desk and I'm like "Tickets? Why would I have a ticket?" | 00:28 |
srichter | did they just print new ones? | 00:28 |
th1a | I 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 |
th1a | It was about an hour of complete insanity. | 00:29 |
srichter | I can imagine | 00:30 |
srichter | I do those things too | 00:30 |
*** th1a is now known as th1a|way | 00:33 | |
*** th1a|way is now known as th1a | 00:39 | |
*** dman13 has quit IRC | 00:45 | |
*** dman13 has joined #schooltool | 00:45 | |
*** th1a is now known as th1a|way | 00:50 | |
SteveA | th1a|way: hi | 00:51 |
*** dman13 has quit IRC | 00:51 | |
*** dman13 has joined #schooltool | 00:51 | |
*** SteveA has quit IRC | 02:18 | |
*** th1a|way is now known as th1a | 03:36 | |
*** tvon has quit IRC | 04:47 | |
*** tvon has joined #schooltool | 05:04 | |
povbot | /svn/commits: * tvon committed revision 4430: | 07:31 |
povbot | /svn/commits: ugh, stupid | 07:31 |
povbot | /svn/commits: * tvon committed revision 4431: | 07:34 |
povbot | /svn/commits: subscriber for setting permissions on application calendar | 07:34 |
povbot | /svn/commits: * tvon committed revision 4432: | 07:59 |
povbot | /svn/commits: whitespace/organization | 07: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 it | 08:56 |
povbot | /svn/commits: belogs. | 08:56 |
povbot | /svn/commits: * Fix erroneous ++resource++ linkage * Update test setup for above | 08: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 #schooltool | 11: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 undo | 13:15 |
povbot | /svn/commits: * tvon committed revision 4438: | 13:17 |
povbot | /svn/commits: whoops | 13:17 |
povbot | /svn/commits: * tvon committed revision 4439: | 13:20 |
povbot | /svn/commits: app.cal permissions subscriber for ST | 13:20 |
povbot | /svn/commits: * tvon committed revision 4440: | 13:50 |
povbot | /svn/commits: front page calendar for ST | 13:50 |
*** ignas has joined #schooltool | 13:52 | |
*** tvon has quit IRC | 14:14 | |
*** gintas has joined #schooltool | 14:20 | |
*** alga has joined #SchoolTool | 14:26 | |
*** tvon has joined #schooltool | 14:41 | |
alga | http://source.schooltool.org/buildbot/ | 14:55 |
alga | the tests are failing | 14:55 |
povbot | /svn/commits: * tvon committed revision 4441: | 14:57 |
povbot | /svn/commits: missed title change in calendar-page macro | 14:57 |
*** erchache has joined #schooltool | 14:59 | |
erchache | hi | 14:59 |
alga | hi | 14:59 |
tvon | acl_text in rest has been failing or a while | 14:59 |
alga | how's your vacation going | 14:59 |
tvon | from what looks like Zope3 | 14:59 |
erchache | very boring....my girlfriend is working and cant go to beach :'( | 14:59 |
tvon | er, acl_txt | 15:00 |
erchache | we cant coordinate our holidays for job problems | 15:00 |
erchache | i have time, i have money but i cant go with my girlfriend...so to evit divorcied me ;P.....i stay at home on holidays | 15:01 |
*** erchache has left #schooltool | 15:04 | |
alga | tvon: I suppose you're the one to babysit tests | 15:05 |
alga | *all tests* | 15:05 |
alga | since you're the only one working on schooltool | 15:05 |
tvon | alright, I'll look at it | 15:06 |
alga | I'm downgrading Zope to '{2005-07-20}' | 15:07 |
alga | running all tests | 15:09 |
alga | huh? | 15:12 |
alga | Exception exceptions.RuntimeError: 'maximum recursion depth exceeded' in <function remove at 0xb7515684> ignored | 15:12 |
tvon | hrmph | 15:12 |
tvon | is buildbot home grown? | 15:12 |
alga | google it | 15:12 |
alga | is any software homegrown? | 15:12 |
tvon | ah | 15:12 |
tvon | you never know, some folks like to do it all themselves | 15:13 |
tvon | might be useful to set it up to mail the list or ping irc when a build fails | 15:14 |
gintas | it's supposed to be complaining about errors by e-mail | 15:14 |
gintas | Marius could not figure out why that does not work | 15:15 |
tvon | ah | 15:15 |
alga | if it were homegrown, it would be called testbot or somesuch | 15:17 |
*** SteveA has joined #schooltool | 15:18 | |
gintas | I'm thinking about linking SB/ST with the current version of the Zope 3.1 branch | 15:25 |
gintas | that will probably get rid of this functional test failure | 15:26 |
povbot | /svn/commits: * alga committed revision 4442: | 15:26 |
povbot | /svn/commits: Fixed a deprecation warning. | 15:26 |
tvon | gintas: want to give it a try? | 15:28 |
tvon | I'm having issues connecting to svn at the moment | 15:28 |
gintas | do you think I should do this on the SB/ST trunk or in the release branch (after I create it) | 15:28 |
gintas | maybe the trunk | 15:28 |
gintas | th1a, are you there? | 15:29 |
alga | gintas: +1 | 15:29 |
tvon | should definately do the trunk, we arent going to be tracking z3 after 3.1 is out | 15:29 |
gintas | ok, I'll try it out locally and see if the functional test failure disappears | 15:33 |
tvon | I'm getting a co but it's going very slowly | 15:33 |
tvon | might hurt srichter's testbrowser plans... | 15:38 |
tvon | (moving to 3.1) | 15:38 |
gintas | oh | 15:43 |
gintas | well, at the moment it's not an issue as his work will not be included in the coming release | 15:43 |
tvon | yeah | 15:44 |
gintas | we can move back to trunk later if we really want that | 15:44 |
gintas | tvon, what are your plans today? | 15:46 |
tvon | hang around here mostly | 15:46 |
tvon | whateva you need | 15:46 |
gintas | at what time can I create the branch so that no extra porting work is created | 15:46 |
gintas | ;) | 15:46 |
tvon | ftest still fails on 3.1 | 15:47 |
gintas | I'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 commits | 15:47 |
*** matiasV has joined #schooltool | 15:47 | |
tvon | let me check my list | 15:48 |
tvon | ah, let me add another submit button to the acl form, then I'm set | 15:48 |
gintas | hmm, I wonder if it's worth switching to 3.1 then | 15:55 |
tvon | yeah, probably not | 15:56 |
tvon | I had thought the plan was to stick to externally-packaged 3.1 when it was released though, but I could be wrong | 15:56 |
gintas | probably, but as of this moment it's not released | 15:57 |
* tvon nods | 15:57 | |
gintas | I suspect that we don't want to make such a big change for, say, SB 1.2.1 | 15:57 |
tvon | testing & committing | 16:00 |
povbot | /svn/commits: * tvon committed revision 4443: | 16:03 |
povbot | /svn/commits: Note about 24h format | 16:03 |
tvon | and... | 16:03 |
povbot | /svn/commits: * tvon committed revision 4444: | 16:04 |
povbot | /svn/commits: another 'apply' button and label change | 16:04 |
tvon | okay | 16:04 |
tvon | gintas: branch away | 16:04 |
gintas | ok | 16:06 |
gintas | I'll just have a stab at fixing that ftest | 16:06 |
gintas | it appears to be influenced by some other functional test | 16:06 |
gintas | wait, I might be wrong | 16:07 |
tvon | its like that IRL too...actually maybe we should try to fix that first since it exposes ACL to the world | 16: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 |
tvon | z3 svn seems to be having bdb issues | 16:17 |
tvon | no, memory issues | 16:17 |
tvon | nm, back | 16:17 |
gintas | tvon, I had the same problem | 16:19 |
gintas | darned subversion | 16:19 |
tvon | it seems to be back now, at least the viewcvs is | 16:20 |
* tvon is looking at zope/app/authentication changes | 16:20 | |
gintas | I wonder if some bugfix from Friday's Zope 3 bug day broke things | 16:25 |
povbot | /svn/commits: * gintas committed revision 4447: | 16:27 |
povbot | /svn/commits: Yet more cosmetic fixes. | 16:27 |
gintas | tvon, I'll try tracking down the revision that broke the ftest in schoolbell | 16:32 |
tvon | it broke in buildbot after 4413 | 16:33 |
tvon | (errors before that are different) | 16:33 |
gintas | I mean the Z3 revision | 16:33 |
tvon | ah | 16:33 |
tvon | 37611? | 16:34 |
gintas | I think it's earlier | 16:34 |
tvon | ah | 16:35 |
gintas | 37587 or earlier | 16:35 |
gintas | appears to be 37586 | 16:35 |
*** admp has joined #schooltool | 16:36 | |
*** gintas has quit IRC | 16:36 | |
*** gintas has joined #schooltool | 16:37 | |
* tvon kicks svn | 16:49 | |
gintas | it deserves much worse than that | 16:59 |
th1a | Good morning. | 17:00 |
tvon | morning | 17:02 |
gintas | hi, th1a | 17: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 |
tvon | are you kidding me? | 17:06 |
gintas | ? | 17:08 |
tvon | nevermind, thats not the rest test? | 17:09 |
gintas | no, a different one | 17:10 |
gintas | Zope3 svn is still down, so I took on the other problems | 17:11 |
* tvon nods | 17:13 | |
gintas | I seem to have a whole slew of failing functional tests | 17:14 |
tvon | hrm | 17:15 |
* tvon updates | 17:15 | |
tvon | tool or bell? | 17:16 |
gintas | schooltool | 17:16 |
tvon | I've got none | 17:16 |
gintas | which zope rev? | 17:17 |
tvon | 37648 | 17:18 |
tvon | brb | 17:18 |
gintas | th1a, I'm stuck because svn.zope.org is down ;( | 17:20 |
tvon | re | 17:25 |
th1a | gintas: OK. | 17:26 |
gintas | ah, it's up again | 17:27 |
gintas | tvon, seems that I had some sucky Zope 3 revision, all's fine now, except that failing app_txt from SB | 17:30 |
tvon | ah | 17:31 |
tvon | had me worried :) | 17:31 |
gintas | I meant acl_txt | 17: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 |
srichter | hi guys | 17:55 |
srichter | anyone up for a chat? | 17:55 |
th1a | About? | 17:55 |
srichter | I wonder about the best way to implement the developer's mode switch | 17:55 |
srichter | first I thought, schooltool.conf is the right thing to do | 17:56 |
srichter | but we could also provide it as a feature in ZCML | 17:56 |
*** bskahan has joined #schooltool | 17:56 | |
srichter | in which case we could alter ZCML directives based on it | 17:56 |
srichter | I also wonder how the switch should affect the system | 17:57 |
tvon | where in zcml? like a site.zcml or configure.zcml? | 17:58 |
srichter | does not matter right now | 17:58 |
ignas | srichter, well - one is not likely to check in his schooltool.conf file into a repo | 17:59 |
srichter | on the other hand developer-mode could also mean that the default skin is changed | 17:59 |
ignas | yet if the switch is in configure.zcml | 17:59 |
tvon | ignas: exactly | 17:59 |
tvon | though I guess it would be always-on in the repo anyway eh? | 17:59 |
ignas | it might raise some conflicts :/ | 17:59 |
tvon | and removed during the release cycle | 17:59 |
srichter | that's really not what I am interested right now | 17:59 |
srichter | the more important point is how does the switch affect the system | 18:00 |
ignas | the check in message like - "turning developers mode off" or "turning developers mode on" are not very nice :/ | 18:00 |
srichter | and what is the path of least resistence to implement that goal | 18:00 |
ignas | the least resistance is - including some foo.zcml file into configure.zcml to register/override some error views i guess | 18:00 |
tvon | just to say them: tracebacks and access to useful ++etc++site bits (just error reporting/config I suppose) | 18:01 |
srichter | so I think having a custom developer skin that overrides some of the inital macros is one way to go (maybe the best) | 18:01 |
srichter | creatign a global variable is another | 18:01 |
tvon | thats just UI/views.. I guess registering pagelets (which we don't use at the moment) | 18:01 |
ignas | srichter, is the easiest, though not the best :/ | 18:01 |
srichter | having a ZCML feature is also not bad | 18:01 |
srichter | ignas: right, that's the ZCML approach | 18:01 |
tvon | profiling | 18:02 |
bskahan | I like the idea of having a development.zcml | 18:02 |
srichter | ok, 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, etc | 18:03 |
tvon | generate random sample data | 18:03 |
srichter | the problem with the ZCML way is that I have to copy a lot of the standard macros | 18:03 |
ignas | i would like the inclusion of the additional zcml file managed somewhere in the start up source code, that is using configuration file ... | 18:03 |
tvon | thats rather specific though | 18:03 |
ignas | a mixed approach ... os turning it on/off creates no conflicts, though it is easy to implement it ... | 18:04 |
srichter | ignas: the idea would be to have something like <meta:feature name="devmode" /> in site.zcml | 18:04 |
srichter | If you comment it out, you have the standard mode | 18:05 |
ignas | srichter, is site.zcml in svn repo? | 18:05 |
srichter | btw, 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 time | 18:05 |
tvon | srichter: the macro world could be made easier of schoolbell moved to pagelets | 18:06 |
srichter | ignas: no it's hard-wired right now in a Python file, but this should change anyways | 18:06 |
srichter | yes | 18:06 |
srichter | however, I would not move to pagelets yet | 18:06 |
srichter | we have 2 or 3 competing technologies | 18:06 |
*** admp has quit IRC | 18:06 | |
tvon | yeah... hard to tell when any of them will be usable though | 18:07 |
srichter | I saw that ZC is working with portlets, Nuxeo has this and then we have Roger's from the trunk | 18:07 |
srichter | I am not sure though whether ZC uses a Nuxeo, trunk or own implementation | 18:07 |
tvon | ZC? | 18:07 |
srichter | Zope Corp | 18:08 |
tvon | ah | 18:08 |
srichter | anyways, I think ZCML is the way to go now | 18:09 |
povbot | /svn/commits: * gintas committed revision 4451: | 18:10 |
povbot | /svn/commits: Fixed the failing functional text. | 18:10 |
tvon | we should (imo) have a cli switch for the standalone servers so we can specify a custom site.zcml | 18:10 |
tvon | gintas: acl_txt? | 18:10 |
gintas | tvon, yes | 18:11 |
tvon | nice | 18:11 |
povbot | /svn/commits: * gintas committed revision 4452: | 18:11 |
povbot | /svn/commits: Cosmetic fixes. | 18:11 |
*** FarcePest has joined #schooltool | 18:14 | |
tvon | afk a while | 18:23 |
*** tvon has quit IRC | 18:23 | |
*** bskahan has quit IRC | 18:25 | |
*** bskahan has joined #schooltool | 18: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 |
srichter | has the release branch been created already? | 18:35 |
gintas | srichter, not yet | 18:36 |
gintas | we still have a failing functional test | 18:36 |
gintas | at least it's failing on buildbot | 18:36 |
gintas | not 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 |
gintas | does src/schooltool/browser/ftests/app.txt fail for anyone? | 18:38 |
srichter | I am checking it out right now; hold on | 18:39 |
povbot | /svn/commits: * gintas committed revision 4455: | 18:41 |
povbot | /svn/commits: Cosmetic fix. | 18:41 |
bskahan | gintas: schooltool or schoolbell? | 18:43 |
srichter | passes for me | 18:44 |
srichter | I am running all of st now (unit and functional) | 18:45 |
gintas | hmm, buildbot seems to be choking on it consistently | 18: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 |
srichter | gintas: how is buildbot running the tests? | 18:48 |
gintas | oh man | 18:48 |
gintas | it's failing because it's being run on python 2.3 | 18:48 |
srichter | maybe it is running in a way we are not using it | 18:48 |
gintas | that sounds like a really nasty problem | 18:48 |
srichter | *shrug | 18:49 |
srichter | can you paste the error here? | 18:49 |
gintas | http://source.schooltool.org/buildbot/pov-schooltool/builds/116/test/0 | 18:49 |
gintas | it's not really an error, it's a functional test that's failing | 18:49 |
gintas | a view that should not be accessible is shown | 18:50 |
srichter | wow, this is tough | 18:51 |
srichter | did you try switching to the Zope 3.1 release branch? | 18:51 |
th1a | srichter: btw, tvon is right, we should include a generation of sample data tool in developer mode. | 18:51 |
srichter | if that does not work, it will be a lot of work to debug | 18:51 |
gintas | I'll try the switch | 18:52 |
srichter | th1a: ok | 18:52 |
srichter | th1a: but I need more specs on that | 18:52 |
th1a | srichter: Right. We'll have to finalize the proposal when I get settled in Lithuania. | 18:53 |
srichter | yes, then we can also include the profiling info stuff | 18:53 |
th1a | srichter: 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 |
srichter | you can do that by conditionalizing every added object | 18:54 |
srichter | i.e. if 'Stephan_Sample' not in app['persons']: ... | 18:55 |
*** tvon has joined #schooltool | 18:55 | |
gintas | srichter, switching to the Zope-3.1 branch did not help | 18:55 |
gintas | I'll try switching to some earlier revisions to see when the problem crept up | 18:55 |
srichter | shrug, so much that people still test Zope 3 with Py 2.3 | 18:56 |
gintas | srichter, what do you mean? | 18:57 |
srichter | well, if people would use Python 2.3, I would think they would have discovered this before | 18:58 |
gintas | right | 18:59 |
gintas | but I don't think it's a good idea to shed Python2.3 support just now | 18:59 |
srichter | I 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 #schooltool | 19:00 | |
*** bskahan has quit IRC | 19:01 | |
gintas | 2.4 is already quite widespread | 19:01 |
*** alga has quit IRC | 19:02 | |
gintas | I wouldn't mind very much to only support 2.4 | 19:02 |
srichter | gintas: do you know why this site.zcml code is in Python in schooltool/main.py? | 19:02 |
gintas | srichter, not really | 19:03 |
gintas | I didn't do that part | 19:03 |
srichter | it looks dubious there | 19:03 |
bska|mobile | zope 3.1 depends on python 2.3? | 19:03 |
srichter | yes | 19:03 |
*** alga has joined #SchoolTool | 19:05 | |
ignas | srichter, 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 though | 19:06 |
srichter | I think the most compelling argument is that it does some translating | 19:07 |
srichter | otherwise the path to the site.zcml file would be sufficient | 19:07 |
gintas | srichter, I think it is a customized site.zcml | 19:07 |
ignas | oh yeah - it is a stripped site.zcml | 19:08 |
srichter | yep, but why not store it in another site.zcml? | 19:09 |
ignas | i 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 |
srichter | yep | 19:09 |
srichter | but this has nothing to do with the fact that it is not a file | 19:10 |
gintas | feel free to refactor this | 19:10 |
*** bskahan has joined #schooltool | 19:10 | |
*** bska|mobile has quit IRC | 19:11 | |
srichter | I think this should be all part of merging schoolbell and schooltool again :-) | 19:11 |
gintas | srichter, I don't like them being separate either | 19:15 |
gintas | that causes lots of pain, but that makes some sense for the users | 19:16 |
srichter | really? | 19:19 |
ignas | srichter, yep, some programmers might be interested in publishing their calendars on the web though do not care about schools/timetables in any way | 19:20 |
gintas | we definitely would not have done such a thing if it did not make sense | 19:20 |
srichter | of course the different product distributions make sense | 19:21 |
srichter | but not the split of the code base | 19:21 |
gintas | what do you suggest? | 19:22 |
srichter | have a schoolbell app inside schooltool | 19:23 |
srichter | you tried so hard to separate library from application and then you split the code base | 19:23 |
srichter | arranging the pacakges for a particular release is the job of zpkgtools | 19:23 |
gintas | but it's not just packages | 19:24 |
gintas | it's documentation, scripts and all kinds of stuff | 19:24 |
srichter | what else is it? | 19:24 |
srichter | zpkgtools handles all of that | 19:24 |
srichter | it's the same situation with Zope 3 | 19:25 |
gintas | btw, I isolated the problematic revision: 4400 | 19:25 |
srichter | sometimes you want to distribute Zope 3, the application server and other times only zope.interface or zope.component | 19:25 |
gintas | (Batching for section instructor add/remove view.) | 19:25 |
srichter | that is a ST revision, right? | 19:25 |
gintas | yes | 19:25 |
srichter | so the batch code uses some Py 2.4 thing or something that changed between versions | 19:26 |
srichter | mhh | 19:26 |
gintas | http://source.schooltool.org/viewcvs?rev=4400&view=rev | 19:27 |
gintas | probably not | 19:27 |
gintas | honestly, I have no idea | 19:27 |
gintas | the odd thing is that stuff works which shouldn't | 19:27 |
*** bskahan has quit IRC | 19:31 | |
*** pcardune has joined #schooltool | 19:32 | |
gintas | that revision does not appear to change any permission stuff, just some sections view | 19:33 |
*** bskahan has joined #schooltool | 19:36 | |
srichter | look at the batch code | 19:36 |
gintas | srichter, can't find anything suspicious | 19:53 |
povbot | /svn/commits: * gintas committed revision 4457: | 19:54 |
povbot | /svn/commits: i18n domain fix. Some cosmetic fixes. | 19:54 |
srichter | mmh, have you verified that the problem exists in the true UI as well? | 19:54 |
*** thisfred has quit IRC | 19:55 | |
gintas | not yet; good point | 19: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 |
srichter | th1a: okay, I am convinced now that the split of source is utterly evil ;-) | 20:04 |
bskahan | heh | 20:04 |
ignas | tvon, 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 |
bskahan | gintas: I'm not getting a failure on acl_txt using 2.4 or 2.3 | 20:12 |
bskahan | using a clean check out of schoolbell | 20:13 |
bskahan | oddly though: | 20:13 |
bskahan | % python2.3 test.py -pvCuf +ent/schoolbell@pigpen | 20:13 |
bskahan | reportlab or TrueType fonts not found; PDF generator tests skipped | 20:13 |
bskahan | Imported 33 modules in 99.954s | 20:13 |
bskahan | vs. | 20:14 |
bskahan | % python2.4 test.py -pvCuf +ent/schoolbell@pigpen | 20:14 |
bskahan | Imported 33 modules in 22.400s | 20:14 |
bskahan | nm, I must not have reportlab for 2.4 | 20:14 |
bskahan | s/4/3/ | 20:14 |
ignas | bskahan, is tvon anywhere around ? | 20:14 |
bskahan | ignas: sorry, I'm not sure if he's around | 20:15 |
ignas | i see | 20:16 |
bskahan | I'll ping him on jabber | 20:16 |
bskahan | I just moved to New York, he's in baltimore, about 300K south | 20:16 |
ignas | i see | 20:16 |
bskahan | I'm totally guessing on the miles to kilometers conversion | 20:17 |
ignas | :) | 20:17 |
ignas | not 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 |
bskahan | true | 20:19 |
ignas | bskahan, 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 |
bskahan | sure, is it the link in the breadcrumbs? | 20:20 |
ignas | well - there is no obvious way to access the top level containers at the moment | 20:21 |
bskahan | ah | 20:21 |
bskahan | ok | 20:21 |
gintas | srichter, I carried out the functional test manually and can't seem to reproduce the problem | 20:23 |
gintas | I tried both python2.3 and python2.4 | 20:23 |
srichter | then force buildbot to do a totally fresh checkout | 20:23 |
srichter | this sometimes happened for Z3 as well | 20:23 |
srichter | some merge did not work right or so | 20:24 |
povbot | /svn/commits: * srichter committed revision 4463: | 20:24 |
povbot | /svn/commits: Okay, here is the real devmode switch code. | 20:24 |
gintas | srichter, it's not a problem with buildbot | 20:24 |
gintas | it's a problem with python2.3 | 20:24 |
gintas | I mean, the tests pass on 2.4 and fail on 2.3 | 20:25 |
srichter | ah, I see | 20:25 |
gintas | hmm | 20:25 |
povbot | /svn/commits: * srichter committed revision 4464: | 20:25 |
povbot | /svn/commits: Not needed anymore. | 20:25 |
srichter | oh, I see now what you mean | 20:25 |
gintas | the IRelationshipRemoved event does not seem to be sent | 20:25 |
srichter | aha | 20:25 |
srichter | register your own event listener and see what happens | 20:26 |
srichter | import zope.event | 20:26 |
srichter | def writeEvent(event): | 20:26 |
srichter | print event | 20:26 |
srichter | zope.event.subscribers.append(event) | 20:26 |
srichter | zope.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 #schooltool | 20: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 |
gintas | something's wrong with those relationships | 20:30 |
gintas | the RelationshipRemovedEvent is not fired for some reason | 20:31 |
srichter | go to the method is should be fired from and see whether it is called | 20:31 |
srichter | work your way up till you find the place of failure | 20:31 |
gintas | doing that | 20:32 |
gintas | argh | 20:33 |
gintas | the functional test was at fault | 20:33 |
gintas | the 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 |
srichter | LOL | 20:33 |
srichter | that's unbelievable | 20:33 |
povbot | /svn/commits: * srichter committed revision 4470: | 20:34 |
*** bskahan has quit IRC | 20:34 | |
povbot | /svn/commits: Oops, we want to conditionalize this. | 20:34 |
bska|mobile | gintas: ouch, that's probably my ftest, sorry | 20:34 |
srichter | ...and bska|mobile is immediately struck by lightening | 20:35 |
* bska|mobile wondered why his hair was standing up | 20: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 |
gintas | phew | 20:36 |
ignas | srichter, I and marius spent a few hours solving this one before :) in our case - we were using sb testrunner vs zope one ... | 20:37 |
gintas | well, I should have noticed that earlier, so bskahan is not the sole culprit | 20:37 |
ignas | what weirds me out - why 2.3 and 2.4 are handling the case differently ? | 20:38 |
ignas | and isn't that a bug in Zope3 ? | 20:38 |
gintas | no | 20:38 |
gintas | it's probably something in the standard library | 20: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|mobile | ignas: I'm not coming up with a simple solution for the removal of "top", I'll mull it over a bit today | 20:50 |
povbot | /svn/commits: * gintas committed revision 4475: | 20:50 |
bska|mobile | filed as issue322 | 20: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 |
ignas | bska|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 |
srichter | gintas: so I can now merge my code, right? | 20:53 |
bska|mobile | ignas: the top level index redirects to the calendar now when that preference is enabled | 20:54 |
bska|mobile | so the link "top" that used to take you to the index no longer works because / redirects | 20:55 |
*** gintas has quit IRC | 20:56 | |
ignas | wow :) | 20:56 |
bska|mobile | :-P | 20:57 |
pcardune | so, what did you do to "top" I am unable to access anything? | 21:05 |
ignas | pcardune, a workaround - click on "manager" in the right top corner (the link near "My calendar") | 21:05 |
pcardune | um... that gets me to the manager's person page but now how do I add courses or sections or anythign? | 21:07 |
bska|mobile | pcardune: they should be in the meny | 21:07 |
bska|mobile | menu | 21:07 |
pcardune | the only menu I see is the actions menu | 21:07 |
pcardune | there is no navigation | 21:08 |
bska|mobile | interesting | 21:08 |
pcardune | i'll say | 21:08 |
ignas | pcardune, by navigation you mean ? | 21:09 |
ignas | can you see "Persons" "Groups" links on the left | 21:10 |
pcardune | nope | 21:10 |
bska|mobile | that's not right | 21:10 |
ignas | after going to "managers person page" | 21:10 |
pcardune | correct | 21:10 |
bska|mobile | not the manager's calendar | 21:10 |
ignas | screenshot please | 21:10 |
pcardune | ok | 21:10 |
pcardune | http://www.ibiblio.org/paulcarduner/Screenshot.png | 21:13 |
bska|mobile | pcardune: did the navigation menu just go away recently? | 21:14 |
pcardune | bska|mobile: yes, i did a fresh svn checkout about 20 minutes ago | 21:15 |
*** erchache has joined #schooltool | 21:16 | |
erchache | hi | 21:16 |
bska|mobile | how old was you svn copy before that? | 21:16 |
pcardune | 5 days maybe | 21:16 |
bska|mobile | thanks | 21:18 |
pcardune | not 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 anything | 21:18 |
bska|mobile | as a temporary fix, removing the top line of schooltool/src/schooltool/browser/templates/index.pt should make the "top" link work again | 21:18 |
bska|mobile | brb | 21:19 |
pcardune | ok, problem solved | 21:25 |
pcardune | or at least it isn't your problem | 21:25 |
pcardune | I must have done something which broke it | 21:25 |
pcardune | that is very confusing | 21:26 |
pcardune | why 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 |
pcardune | oh wait a second... | 21:29 |
pcardune | yess.... | 21:29 |
pcardune | nvm | 21:29 |
pcardune | ignas: 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 |
ignas | Data.fs | 21:38 |
ignas | rm Data.fs | 21:38 |
pcardune | thanks | 21:39 |
th1a | OK. I'm packing my laptop. See (some of you) in Vilnius! | 21:42 |
ignas | bye | 21:42 |
ignas | :) | 21:42 |
*** th1a has quit IRC | 21:43 | |
*** erchache has quit IRC | 21:45 | |
pcardune | can i override schooltool's zcml directives? | 21:48 |
pcardune | in my own configuration files? | 21:48 |
srichter | not that easily | 21:49 |
srichter | ST does not provide facilities for this yet, as far as I know | 21:49 |
pcardune | srichter: but zope does... | 21:50 |
srichter | yes | 21:50 |
ignas | ant zcml include vs include_override semantics are non trivial too ... | 21:50 |
srichter | ST starts up differently | 21:50 |
ignas | i'd say they are misleading | 21:50 |
srichter | huh? | 21:51 |
ignas | well include in zcml is not the same as include in "C/C++" ;) | 21:51 |
pcardune | ooh | 21:51 |
pcardune | i thought you were saying there was an include_override zcml directive | 21:52 |
ignas | includeOverrides vs include i mean | 21:53 |
srichter | it is still there | 21:54 |
ignas | had to twist my head to understand what kinds of decisions have lead to such convoluted (only humble opinion) design | 21:54 |
*** ignas has quit IRC | 22:03 | |
*** admp has joined #schooltool | 22:20 | |
srichter | how is the skin set in SchoolBell? | 22:32 |
bska|mobile | srichter: beforeTraverseEvent subscriber | 22:34 |
srichter | ah, ok, thanks | 22:34 |
bska|mobile | schoolbell.app.browser.skin | 22:34 |
bska|mobile | np | 22:34 |
srichter | bska|mobile: please do not tell me that ST and SB view_macro.pt are pretty much copies of each other... | 22:36 |
bska|mobile | srichter: they are very similar | 22:36 |
srichter | the point of macros is not to duplicate code | 22:36 |
srichter | I bet you the calendar macros are equivalent, yes? | 22:36 |
bska|mobile | most are probably identical | 22:37 |
srichter | ok, time to refactor this then | 22:37 |
srichter | really, only the @@page macro should be in view_macros.pt | 22:37 |
srichter | this makes it easy for anyone else to override this particular one | 22:38 |
srichter | the other macros should be in calendar macros | 22:38 |
srichter | note that you can still place them all inside the standard_macros | 22:38 |
srichter | by writing a new Macros class | 22:38 |
srichter | (very simple to do) | 22:39 |
* bska|mobile nods | 22:39 | |
bska|mobile | I've considered breaking out the macros into seperate files, is there an example of the Macros class in the zope tree? | 22:40 |
srichter | yes, basicskin/standardmacros | 22:41 |
srichter | I'll check in an example in a moment | 22:42 |
srichter | in zope.app.apidoc I split macros a lot | 22:42 |
bska|mobile | thanks | 22:42 |
srichter | in fact, I think that probably the calendar macros could be available as calendar_macros | 22:43 |
srichter | bska|mobile: checked in | 22: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|mobile | nice, thanks | 22:50 |
bska|mobile | some of the calendar macros will have to be different, but the calendar-page, and several of the 'portlets' are duplicates | 22:51 |
bska|mobile | iirc | 22:51 |
srichter | right | 22:51 |
bska|mobile | can we move school[bell,tool] trunk to the Zope-3.1 branch? | 22:56 |
srichter | yes | 22:57 |
bska|mobile | gintas just pegged to a particular revision, I'll ask him if he wants to stay there tomorrow | 22:58 |
srichter | ok, I hate svn:externals too | 23:05 |
srichter | we should really do a vendor import | 23:06 |
* bska|mobile nods | 23:08 | |
bska|mobile | the current setup can be a pain | 23:08 |
srichter | alga: are you still there? | 23:22 |
*** bska|mobile has quit IRC | 23:37 | |
*** admp has quit IRC | 23:42 | |
srichter | aaaaaaaaaaahhhhhhhhhhhh | 23:44 |
srichter | what happened to schooltool? | 23:44 |
srichter | how can I get to the levels? | 23:44 |
srichter | the "Front Page Calendar" preference totally sucks! | 23:47 |
srichter | there is no way of getting to other top-level containers now | 23:47 |
srichter | at least do not make it the default! | 23:47 |
*** admp has joined #schooltool | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!