*** whit has joined #zope3-dev | 00:01 | |
*** whitmo has quit IRC | 00:01 | |
*** flox has quit IRC | 00:05 | |
*** alga has quit IRC | 00:07 | |
*** benji has quit IRC | 00:12 | |
*** BjornT has quit IRC | 00:31 | |
*** d2m has quit IRC | 00:36 | |
*** romanofs1i has joined #zope3-dev | 00:48 | |
*** opetznick has quit IRC | 00:49 | |
*** whit has quit IRC | 00:58 | |
*** jodok has quit IRC | 01:00 | |
*** romanofski has quit IRC | 01:03 | |
*** jodok has joined #zope3-dev | 01:04 | |
*** alga has joined #zope3-dev | 01:05 | |
*** J1m has joined #zope3-dev | 01:15 | |
*** whit has joined #zope3-dev | 01:22 | |
*** harobed has joined #zope3-dev | 01:43 | |
*** rmarianski has quit IRC | 01:50 | |
*** whitmo has joined #zope3-dev | 01:52 | |
*** whit has quit IRC | 01:52 | |
*** tomus has quit IRC | 01:54 | |
*** projekt01 has joined #zope3-dev | 01:57 | |
*** WebMaven has quit IRC | 01:58 | |
*** jinty has quit IRC | 01:58 | |
*** WebMaven has joined #zope3-dev | 01:59 | |
*** b_52Free has joined #zope3-dev | 01:59 | |
*** J1m has quit IRC | 02:02 | |
*** J1m has joined #zope3-dev | 02:15 | |
*** b_52Centos has quit IRC | 02:17 | |
*** deo has quit IRC | 02:21 | |
*** J1m has quit IRC | 02:35 | |
*** whitmo has quit IRC | 02:39 | |
*** revpj has joined #zope3-dev | 02:40 | |
*** norro has quit IRC | 02:52 | |
*** jodok has quit IRC | 02:59 | |
*** borax has left #zope3-dev | 03:15 | |
*** revpj has left #zope3-dev | 03:15 | |
*** harobed has quit IRC | 03:18 | |
*** wrobel has quit IRC | 03:19 | |
WebMaven | Hmm. I've just run across something odd... | 03:27 |
---|---|---|
WebMaven | It seems that addMenuItem directives are required to have unique titles... | 03:27 |
WebMaven | Though I am not sure why... | 03:28 |
WebMaven | As far as I can tell, no lookups are done by the title. | 03:30 |
WebMaven | Does anyone know? | 03:34 |
WebMaven | Hello? | 04:29 |
*** baijum has joined #zope3-dev | 04:37 | |
baijum | good morning ! | 04:42 |
*** b_52Free has quit IRC | 05:04 | |
*** b_52Free has joined #zope3-dev | 05:04 | |
baijum | I am doing some Zope 3 eggification related works today, anyone interested to join ? | 05:14 |
* baijum now working on adding test layer to zope.traversing and zope.formlib | 05:16 | |
*** niemeyer has quit IRC | 05:27 | |
WebMaven | srichter: AYT? | 05:40 |
WebMaven | OK, would someone please explain to me why the title of an addMenuItem needs to be unique? | 05:58 |
WebMaven | This is not making sense. | 05:58 |
srichter | because the title is the name of the adapter | 05:58 |
srichter | and you get a configuration conflict | 05:59 |
srichter | the standard menu implementation is not good in many ways, one of them is that it is really slow | 05:59 |
srichter | try to use z3c.menu instead | 06:00 |
*** alga has quit IRC | 06:00 | |
WebMaven | srichter: OK, thx. | 06:52 |
* baijum is about to commit TraversingLayer to trunk, here is the patch: http://zope3.pastebin.com/863364 (can any one review this ? ) | 06:57 | |
* baijum committed TraversingLayer to trunk, r72112 | 07:06 | |
*** projekt01 has quit IRC | 07:18 | |
*** b_52GM has joined #zope3-dev | 07:31 | |
*** cursor has joined #zope3-dev | 07:42 | |
*** b_52Free has quit IRC | 07:48 | |
* baijum is about to commit FormlibLayer to trunk, here is the patch: http://zope3.pastebin.com/863390 (can any one review this ? ) | 08:23 | |
*** pelle_ has joined #zope3-dev | 08:56 | |
*** pelle_ has quit IRC | 09:01 | |
*** alecm has quit IRC | 09:06 | |
*** alecm has joined #zope3-dev | 09:10 | |
*** ktwilight has joined #zope3-dev | 09:16 | |
* baijum is away | 09:30 | |
*** ktwilight_ has quit IRC | 09:31 | |
* baijum is back | 10:06 | |
*** mgedmin has joined #zope3-dev | 10:42 | |
*** opetznick has joined #zope3-dev | 10:54 | |
WebMaven | srichter: are you still around? | 11:00 |
WebMaven | srichter: it occurs to me that using the title as the name of the adapter is actually a very bad solution. | 11:02 |
*** cursor has quit IRC | 11:02 | |
WebMaven | srichter: There should be a separate name parameter. | 11:02 |
WebMaven | srichter: I suppose, for backward compatibility, it could be made optional, with the current behavior as the default. | 11:03 |
*** d2m has joined #zope3-dev | 11:05 | |
*** dobee has joined #zope3-dev | 11:07 | |
*** opetznick has quit IRC | 11:08 | |
*** dunny has quit IRC | 11:13 | |
*** nuovoM has joined #zope3-dev | 11:33 | |
*** nuovoM has left #zope3-dev | 11:33 | |
*** opetznick has joined #zope3-dev | 11:38 | |
*** opetznick has quit IRC | 11:43 | |
*** b_52Free has joined #zope3-dev | 12:02 | |
* baijum hmm..we have to create test layers for many packages, oherwise functional tests of individual packages will not run | 12:06 | |
* baijum see the list: http://zope3.pastebin.com/863391 | 12:06 | |
* baijum committed test layer for zope.app.container (r72118,r72119) | 12:07 | |
* baijum expected atleast one person to join today's eggification related works :( | 12:09 | |
mgedmin | baijum: I am sort of idle and wondering what to do | 12:09 |
mgedmin | I didn't remember there was eggification scheduled for today | 12:10 |
baijum | I send a mail to zope3-dev, only Jim responded | 12:10 |
mgedmin | and my experience with eggs is a bit limited | 12:10 |
baijum | mgedmin, familiar with zc.builddout ? | 12:10 |
mgedmin | I've seen the presentation at europython | 12:10 |
baijum | I am trying to to learn that now.. | 12:11 |
baijum | mgedmin, what is your opinion about the out put when running tests in trunk now? | 12:13 |
baijum | now I added layers to few packages | 12:13 |
baijum | so more verbose output is displayed.. | 12:14 |
baijum | for each layer | 12:14 |
* baijum will do more test layer works in another branch (will wait for feedback from others in next week) | 12:15 | |
*** harobed has joined #zope3-dev | 12:17 | |
* mgedmin runs tests to see the output | 12:17 | |
*** romanofs1i is now known as romanofski | 12:19 | |
*** b_52GM has quit IRC | 12:20 | |
mgedmin | hm... test.py -p doesn't work when tests are run in a subprocess? | 12:22 |
* baijum runs test.py -p | 12:27 | |
mgedmin | progress indication | 12:28 |
mgedmin | you don't see it when tests are being run in a subprocess | 12:28 |
mgedmin | or did I just miss it? | 12:28 |
baijum | how to run tests are run in a subprocess? | 12:29 |
Theuni | ? | 12:29 |
baijum | yes, progress indication not coming for tests with layers | 12:30 |
baijum | only unit tests progress indication works now | 12:30 |
baijum | (atleast here) | 12:31 |
baijum | Why all functional test run in a subprocess ? | 12:33 |
mgedmin | because the functional test layers do not support teardown | 12:33 |
* mgedmin is trying to find out if there are good reasons why tearing down the ftest layers is not implemented | 12:34 | |
baijum | mgedmin, so any reason for progress indication not working with functional test layers ? | 12:35 |
mgedmin | it works in the first layer, but not in subsequent ones | 12:36 |
mgedmin | because the first layer cannot be torn down | 12:36 |
mgedmin | and the test runner is forced to run the next layers in subprocesses | 12:36 |
mgedmin | the test runner's protocol for communicating with its subprocesses apparently doesn't allow for real-time progress indication | 12:36 |
* mgedmin thinks implementing functional test layer teardown is not hard to do | 12:37 | |
*** zagy_ has joined #zope3-dev | 12:37 | |
*** dobee has quit IRC | 12:44 | |
*** zagy has quit IRC | 12:44 | |
*** romanofski has quit IRC | 12:45 | |
*** SmokeyD has left #zope3-dev | 12:53 | |
*** b_52GM has joined #zope3-dev | 12:59 | |
*** zagy_ has quit IRC | 13:02 | |
*** zagy has joined #zope3-dev | 13:02 | |
*** zagy has joined #zope3-dev | 13:03 | |
*** zagy has quit IRC | 13:03 | |
*** zagy has joined #zope3-dev | 13:03 | |
*** b_52Free has quit IRC | 13:15 | |
* baijum leaving | 13:25 | |
*** baijum has quit IRC | 13:26 | |
*** schwendinger has joined #zope3-dev | 13:42 | |
*** schwendinger_ has joined #zope3-dev | 13:43 | |
*** dlk has joined #zope3-dev | 13:51 | |
*** daniele has joined #zope3-dev | 13:53 | |
*** wrobel has joined #zope3-dev | 13:55 | |
*** schwendinger has quit IRC | 14:01 | |
*** schwendinger_ has quit IRC | 14:15 | |
*** b_52GM has quit IRC | 14:20 | |
*** b_52GM has joined #zope3-dev | 14:20 | |
*** philiKON_ is now known as philiKON | 14:37 | |
*** philiKON is now known as philiKON_ | 14:37 | |
*** lamike has joined #zope3-dev | 14:38 | |
*** philiKON_ is now known as philiKON | 14:38 | |
*** philiKON is now known as philiKON_ | 14:39 | |
*** philiKON_ has joined #zope3-dev | 14:39 | |
*** philiKON_ is now known as philiKON | 14:40 | |
*** jhauser has joined #zope3-dev | 14:58 | |
*** jhauser has joined #zope3-dev | 14:59 | |
*** jinty has joined #zope3-dev | 15:04 | |
*** schwendinger has joined #zope3-dev | 15:46 | |
*** schwendinger_ has joined #zope3-dev | 15:49 | |
mgedmin | I once got a test failure in zope/app/twisted/tests/test_inputbuffering.py | 15:56 |
mgedmin | it disappeared when I reran the tests | 15:56 |
*** oferw has joined #zope3-dev | 15:58 | |
*** J1m has joined #zope3-dev | 15:59 | |
*** harobed has quit IRC | 16:02 | |
mgedmin | if anyone is interested in the zope.app.twiseted.tests.test_inputbuffering failure, it's here: http://paste.plone.org/12574 | 16:03 |
mgedmin | it does not appear to be reproducible | 16:03 |
*** lamike has quit IRC | 16:04 | |
mgedmin | what's the policy on functional tests that change the component registry? | 16:06 |
*** schwendinger has quit IRC | 16:06 | |
mgedmin | I'd like them to clean up after themselves | 16:06 |
mgedmin | too bad you cannot use placlessTearDown in a functional test | 16:06 |
*** b_52Free has joined #zope3-dev | 16:12 | |
J1m | mgedmin, I'm in favor of tests cleaning up any changes they make. | 16:21 |
J1m | mgedmin, ayt? | 16:22 |
* mgedmin is | 16:22 | |
J1m | If you feel like some r&d :) | 16:22 |
J1m | The stage is set for doing thigs better. | 16:23 |
J1m | But it will take some work from somebody. | 16:23 |
J1m | The component registries are more flexible than they used to be. | 16:23 |
J1m | For example, it should be possible, somehow, to play with subregistry or temporary hacks to component __bases__ to allow new registries to be inserted during tests and removed after tests. | 16:24 |
J1m | This would allow things like placelessTearDown to be useful in this context. | 16:24 |
*** oferw has quit IRC | 16:25 | |
J1m | I'm waving my hands but I think something clever could be done with some effort. | 16:25 |
mgedmin | wow | 16:25 |
J1m | For example, I'm pretty sure something like this would allow teardown of zcml layers. | 16:25 |
J1m | Unfortunately, I don't have tome to do anything with this myself. | 16:25 |
J1m | This is something I had in mind when I did the last wave of component registry refactoring. | 16:26 |
mgedmin | I've just implemented teardown of zcml layers :) | 16:27 |
J1m | ah, cool | 16:27 |
J1m | how did you manage that? | 16:27 |
mgedmin | placefulTearDown() + reset two FunctionalTestSetup attributes to allow it to load a different zcml file next time | 16:28 |
*** b_52GM has quit IRC | 16:28 | |
J1m | ah, hm, so this works for top-level layers bit not for sublayers. | 16:29 |
mgedmin | true | 16:29 |
J1m | so registry manipulation would allow tear down of sublayers. | 16:29 |
mgedmin | well, depends on the sublayers, I guess | 16:29 |
mgedmin | it would be really nice if zcml layers could be nested | 16:30 |
J1m | and, of course, none of this deals with changes to globals -- including security declaratations. | 16:30 |
J1m | well, they can be | 16:30 |
mgedmin | security declarations are cleared by CleanUp().cleanUp(), I think | 16:30 |
J1m | but you have to tear down the whole thing after each layer... | 16:30 |
J1m | right | 16:30 |
mgedmin | there might be problems with changes to globals that are not registered with CleanUp() | 16:31 |
J1m | true | 16:31 |
J1m | and global changes are usually pretty minor | 16:31 |
J1m | right | 16:31 |
J1m | Most of those are pretty benign. | 16:31 |
mgedmin | if you'll take a look at my last checkin to a new zope.testing branch | 16:31 |
mgedmin | there's a way to catch uncleaned-up changes of any specific global value | 16:32 |
J1m | hm | 16:32 |
mgedmin | I used it to test whether layer teardown cleans everything I could think og | 16:32 |
mgedmin | of | 16:32 |
mgedmin | which was: transaction contents, component registry contents, python loggers, zope.event subscribers | 16:32 |
mgedmin | (and incidentally found a bunch of unit tests that had incomplete teardowns) | 16:34 |
J1m | That's the --checkers option? | 16:34 |
mgedmin | yes | 16:35 |
J1m | a generalization of the mechinery that checks for left-over threads. | 16:35 |
J1m | machinery | 16:35 |
J1m | Makes me want to add a component registry to the test runner. :) | 16:36 |
mgedmin | essentially, yes | 16:36 |
J1m | If the runner had a component reg of it's own, then these could just be event subs. | 16:36 |
mgedmin | hmm | 16:37 |
mgedmin | tricky | 16:37 |
mgedmin | they have to store state somewhere | 16:37 |
J1m | Now really :) | 16:37 |
*** jodok has joined #zope3-dev | 16:42 | |
J1m | oops, I meant "not really" in response to the tricky remark. | 16:43 |
J1m | I don't see that state management really matters. | 16:43 |
J1m | Subscribers can csertainly keep track of state if they wish. | 16:44 |
J1m | certainly | 16:44 |
mgedmin | that's true, I suppose | 16:44 |
mgedmin | foo = SomeObj(); provideSubscriber(foo.startTest, for=ITestStarted); provideSubscriber(foo.stopTest, for=ITestStopped) | 16:45 |
*** projekt01 has joined #zope3-dev | 16:51 | |
*** jinty has quit IRC | 16:52 | |
*** benji has joined #zope3-dev | 16:57 | |
*** Londo has quit IRC | 17:16 | |
d2m | anyone please hit the mail.zope.org server (mail archives stopped archiving yesterday, gmane.org is deliveing mails though) | 17:21 |
J1m | I'll put in a request to reboot mailman | 17:24 |
d2m | thanks | 17:25 |
*** jfroche_ has joined #zope3-dev | 17:34 | |
mgedmin | hm, buildbot thinks I broke unit tests | 17:41 |
mgedmin | but testHandlingSystemErrors passes here | 17:41 |
mgedmin | is it necessary to run the tests with -vv? it makes it rather difficult to see the errors in buildbot logs | 17:42 |
mgedmin | a single -v would suffice | 17:42 |
*** alga has joined #zope3-dev | 17:49 | |
*** jfroche has quit IRC | 17:50 | |
* mgedmin can reproduce | 17:50 | |
*** alecm has joined #zope3-dev | 17:55 | |
mgedmin | okay, that error is caused by the garbage collector kicking it during an inopportunate moment | 18:15 |
mgedmin | the extra error message that gets logged is produced from a __del__ method | 18:15 |
mgedmin | I need to find the earlier test that leaves that object uncleaned | 18:15 |
*** opetznick has joined #zope3-dev | 18:23 | |
*** dobee has joined #zope3-dev | 18:29 | |
*** projekt01 has quit IRC | 18:31 | |
*** yota has quit IRC | 18:36 | |
*** dobee_ has joined #zope3-dev | 18:37 | |
*** opetznick has quit IRC | 18:38 | |
*** yota has joined #zope3-dev | 18:39 | |
*** opetznick has joined #zope3-dev | 19:01 | |
*** dobee has quit IRC | 19:03 | |
mgedmin | tests always take longer when you; | 19:04 |
mgedmin | 're waiting for them | 19:04 |
*** softdevr has joined #zope3-dev | 19:12 | |
*** J1m has quit IRC | 19:15 | |
*** harobed has joined #zope3-dev | 19:16 | |
mgedmin | gaah, http://paste.plone.org/12575 | 19:19 |
mgedmin | is this another non-deterministic failure, or what? | 19:20 |
mgedmin | ^^ Failure in test testThreading (zope.server.http.tests.test_httpserver.Tests) | 19:20 |
* mgedmin suddenly realizes why tests are taking so very very long: he left an extra gc.collect() after *each* test | 19:21 | |
philiKON | mgedmin: way to go on the test cleanup, btw | 19:31 |
mgedmin | I have a patch for transaction, and one for ZODB | 19:32 |
mgedmin | how do I go about pushing those in? | 19:32 |
philiKON | you mean checkers? | 19:32 |
mgedmin | no, a couple of tests are missing transaction.abort() at the end | 19:33 |
philiKON | i see | 19:33 |
philiKON | mgedmin: well, the 'transaction' and 'ZODB' packages are maintained in the 'ZODB' project | 19:36 |
philiKON | you commit them there and update the svn:external in Zope 3 | 19:36 |
* mgedmin will try to send an email to the list instead | 19:37 | |
*** dobee_ has quit IRC | 19:43 | |
softdevr | Hi, can someone quickly point me in the right direction? How can I create a web app without using the TTW interface to create each folder, page, image and so on? | 19:51 |
mgedmin | by writing Python code in a text editor? | 19:53 |
* mgedmin is not quite sure what softdevr wants | 19:53 | |
philiKON | softdevr: you can start by reading one of the numerous tutorials: http://worldcookery.com/Appetizers | 19:57 |
softdevr | yeah, that's look useful - thanks | 20:02 |
*** povbot` has joined #zope3-dev | 20:15 | |
*** povbot_ has joined #zope3-dev | 20:23 | |
*** povbot has quit IRC | 20:25 | |
*** alga has quit IRC | 20:29 | |
*** povbot` has quit IRC | 20:35 | |
* mgedmin is tired and needs to stop | 20:57 | |
*** dunny has joined #zope3-dev | 21:17 | |
*** b_52GM has joined #zope3-dev | 21:24 | |
*** b_52Free has quit IRC | 21:27 | |
*** povbot has joined #zope3-dev | 21:33 | |
*** povbot_ has quit IRC | 21:33 | |
*** povbot has joined #zope3-dev | 21:37 | |
*** tomus has joined #zope3-dev | 21:39 | |
*** povbot_ has joined #zope3-dev | 21:58 | |
*** povbot has joined #zope3-dev | 22:06 | |
*** vbachs has joined #zope3-dev | 22:18 | |
*** povbot_ has quit IRC | 22:18 | |
*** povbot` has joined #zope3-dev | 22:24 | |
*** alecm has quit IRC | 22:30 | |
*** whit has joined #zope3-dev | 22:34 | |
*** whit has quit IRC | 22:34 | |
*** yota has quit IRC | 22:48 | |
*** vbachs has quit IRC | 22:50 | |
*** philiKON_ has joined #zope3-dev | 22:52 | |
*** cursor has quit IRC | 22:58 | |
*** ChrisW has joined #zope3-dev | 22:59 | |
ChrisW | there some problem with the lists? | 23:00 |
*** philiKON has quit IRC | 23:00 | |
mgedmin | apparently so | 23:00 |
ChrisW | *sigh* | 23:00 |
mgedmin | <d2m> anyone please hit the mail.zope.org server (mail archives stopped archiving yesterday, gmane.org is deliveing mails though) | 23:00 |
mgedmin | <J1m> I'll put in a request to reboot mailman | 23:00 |
mgedmin | <d2m> thanks | 23:00 |
ChrisW | and just when a topic was getting interesting | 23:00 |
mgedmin | that was about 5 hours ago | 23:00 |
ChrisW | how's .li? | 23:01 |
*** dlk has quit IRC | 23:01 | |
WebMaven | ChrisW: I noticed my last two checkins didn't get posted. | 23:01 |
ChrisW | I got some replies this afternoon | 23:01 |
ChrisW | was just wondering where my replies to the replies went | 23:01 |
mgedmin | I saw my email | 23:02 |
ChrisW | I didn't get mine back, and I didn't see them in pipermail | 23:02 |
*** alecm has joined #zope3-dev | 23:32 | |
d2m | just looked, archive seems to work again | 23:36 |
ChrisW | and i have my replies, cool ;-) | 23:38 |
*** ChrisW has left #zope3-dev | 23:38 | |
*** jhauser has quit IRC | 23:47 | |
*** jhauser has joined #zope3-dev | 23:48 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!