*** RaAtBRC is now known as RaAtBRC|brb | 00:01 | |
*** __gotcha has joined #zope3-dev | 00:13 | |
*** yota has quit IRC | 00:19 | |
*** RaAtBRC|brb is now known as RaAtBRC | 00:22 | |
*** sashav_ has joined #zope3-dev | 00:29 | |
*** dman13 has quit IRC | 00:36 | |
*** dman13 has joined #zope3-dev | 00:41 | |
*** sashav has quit IRC | 00:43 | |
*** dman13 has quit IRC | 00:47 | |
*** dman13 has joined #zope3-dev | 00:47 | |
*** elbixio has quit IRC | 01:10 | |
*** bradb is now known as bradb-away | 01:13 | |
*** benji_york has quit IRC | 01:15 | |
*** J1m has quit IRC | 01:24 | |
*** RaAtBRC is now known as RaAtBRC|away | 02:06 | |
*** dman13 has quit IRC | 02:49 | |
*** dman13 has joined #zope3-dev | 02:54 | |
*** Theuni has quit IRC | 04:36 | |
*** FarcePest has quit IRC | 04:37 | |
*** zagy_ has joined #zope3-dev | 04:39 | |
*** Theuni has joined #zope3-dev | 04:39 | |
*** bradb-away is now known as bradb | 04:40 | |
*** zagy has quit IRC | 04:41 | |
*** RaAtBRC|away has quit IRC | 04:55 | |
*** stub has joined #zope3-dev | 05:17 | |
hwo4 | Is accessing stored relations in the zodb, such as how schoolbell does, signifigantly slower than using a relational database? | 05:50 |
---|---|---|
*** bradb is now known as bradb-away | 06:42 | |
*** lunarosity has quit IRC | 07:16 | |
*** zagy_ has quit IRC | 08:22 | |
*** zagy_ has joined #zope3-dev | 08:24 | |
*** sashav_ has quit IRC | 08:34 | |
*** hdima has joined #zope3-dev | 09:00 | |
*** tanghus is now known as tanghus_away | 09:05 | |
*** yota has joined #zope3-dev | 09:21 | |
*** timte has joined #zope3-dev | 09:26 | |
*** j-w has joined #zope3-dev | 09:34 | |
*** sashav has joined #zope3-dev | 10:30 | |
*** MJ has joined #zope3-dev | 10:30 | |
*** yota has quit IRC | 11:16 | |
*** yota has joined #zope3-dev | 11:18 | |
*** d2m has quit IRC | 12:15 | |
*** d2m has joined #zope3-dev | 12:15 | |
*** MrTopf has joined #zope3-dev | 12:21 | |
*** faassen has joined #zope3-dev | 12:42 | |
*** alga has joined #zope3-dev | 12:42 | |
*** mgedmin has joined #zope3-dev | 13:15 | |
*** mkerrin has joined #zope3-dev | 13:17 | |
*** J1m has joined #zope3-dev | 13:53 | |
*** ignas has joined #zope3-dev | 14:12 | |
*** J1m has quit IRC | 14:36 | |
*** Alef has joined #zope3-dev | 14:48 | |
*** bskahan has joined #zope3-dev | 15:01 | |
*** __gotcha_ has joined #zope3-dev | 15:25 | |
*** __gotcha has quit IRC | 15:40 | |
*** benji_york has joined #zope3-dev | 16:05 | |
*** timte has quit IRC | 16:05 | |
*** bskahan has quit IRC | 16:13 | |
srichter | benji_york: testbrowser has currently no facilities to replace or remove headers :-) | 16:58 |
srichter | benji_york: I wonder whether we should also expose addheaders in some ways as a list | 16:59 |
srichter | benji_york: my use case: the user changes during a session | 16:59 |
benji_york | srichter, for that use case we generally create two instances and name them after the users | 16:59 |
srichter | :-( | 17:00 |
benji_york | for example, benji.getControl(...) gary.getForm(...) | 17:00 |
mgedmin | that makes sense if you simulate two parallel user sessions | 17:00 |
benji_york | sure | 17:00 |
benji_york | I don | 17:00 |
benji_york | oops | 17:00 |
srichter | but we don't | 17:00 |
srichter | we setup a manger to do some setup | 17:00 |
*** J1m has joined #zope3-dev | 17:00 | |
srichter | then we switch to the user | 17:00 |
benji_york | I don't object to removing headers, just expounding on our technique | 17:00 |
mgedmin | "user changes during a session" can also be achieved by doing a logout followed by login | 17:00 |
srichter | but I guess it is a simple enough solution to my problem | 17:01 |
mgedmin | I do not see where headers come into it -- unless you use HTTP auth | 17:01 |
benji_york | also, in that case I'd want to make sure there was no state left over in the instance, so I would create a new one anyway | 17:01 |
benji_york | (the manager and user don't use the same browser on the same computer) | 17:01 |
srichter | yep, I agree | 17:03 |
srichter | I'll use this pattern | 17:03 |
srichter | I so want a testbrowser recorder :-) | 17:05 |
*** bradb-away is now known as bradb | 17:06 | |
benji_york | srichter, it's on its way :) | 17:07 |
benji_york | (to being usable that is) | 17:07 |
srichter | yipee!!!! | 17:08 |
*** BjornT has quit IRC | 17:10 | |
benji_york | :) | 17:10 |
*** BjornT has joined #zope3-dev | 17:10 | |
*** hdima has quit IRC | 17:12 | |
*** tanghus_away is now known as tanghus | 17:26 | |
*** Alef has quit IRC | 17:28 | |
srichter | benji_york: is getLink() looking for a substring? | 17:39 |
benji_york | yep, why | 17:39 |
srichter | ok | 17:40 |
srichter | it does not normalize white space, right? | 17:40 |
benji_york | it does | 17:40 |
srichter | mmh, did not seem to work | 17:40 |
srichter | also newlines? | 17:40 |
srichter | I have | 17:41 |
srichter | <a href="http://localhost:7080/sections/his1"> | 17:41 |
srichter | -- History | 17:41 |
srichter | (HIS1) | 17:41 |
srichter | </a> | 17:41 |
srichter | and do: manager.getLink('History (HIS1)').click() | 17:41 |
srichter | benji_york: it tells me it cannot find the link | 17:42 |
benji_york | hmm, that should work | 17:42 |
*** sashav has quit IRC | 17:43 | |
benji_york | I'll work on it right now | 17:43 |
srichter | ok, cool | 17:44 |
srichter | yeah, this works: | 17:45 |
srichter | and do: manager.getLink('(HIS1)').click() | 17:45 |
*** bskahan has joined #zope3-dev | 18:05 | |
*** SureshZ has joined #zope3-dev | 18:06 | |
srichter | benji_york: maybe it would be a good idea to declare slots for the controls | 18:16 |
benji_york | why's that? | 18:16 |
srichter | benji_york: I just accidently got a ListControl and did .selected = True | 18:16 |
srichter | not really realizing that I did not get a sub control | 18:17 |
benji_york | hmm, perhaps it would be a good idea, or just a __setattr__ that complains at you | 18:17 |
srichter | and it was hard to figure out what went wrong | 18:17 |
benji_york | yep | 18:17 |
srichter | yeah | 18:17 |
*** regebro has quit IRC | 18:17 | |
benji_york | srichter, I just added a test for normalized whitespace in getLink, and it worked without changing the code, I'm looking into it further | 18:21 |
srichter | mmh, strange | 18:21 |
srichter | probably has something to do with the ( ) | 18:21 |
srichter | because they have to be escaped | 18:21 |
mgedmin | \r\n? | 18:24 |
srichter | mmh, maybe that | 18:25 |
srichter | I escaped the () and it did not work | 18:25 |
*** M1 has joined #zope3-dev | 18:27 | |
*** MJ has quit IRC | 18:28 | |
*** M1 is now known as mj | 18:28 | |
*** FarcePest has joined #zope3-dev | 18:29 | |
benji_york | srichter, I can't reproduce your problem (with or without the parens) | 18:33 |
srichter | mmh, darn | 18:33 |
srichter | that's strange | 18:33 |
benji_york | do you have a recent update | 18:33 |
benji_york | ? | 18:33 |
srichter | yeah, I just got it this morning | 18:34 |
benji_york | hmm, confused | 18:34 |
*** sm has joined #zope3-dev | 18:35 | |
srichter | oh well, I can live with it | 18:35 |
benji_york | I'd really like to figure it out | 18:35 |
benji_york | can you send me a snippet from the acual file? | 18:36 |
srichter | the test file? | 18:36 |
srichter | or the HTML? | 18:36 |
benji_york | the HTML | 18:36 |
benji_york | I suppose the .getLink code you quoted above was copy/pasted from the test case | 18:37 |
srichter | yes | 18:37 |
benji_york | ok | 18:37 |
benji_york | benji@zope.com | 18:37 |
srichter | sent | 18:39 |
*** alga has quit IRC | 18:40 | |
*** zagy_ has quit IRC | 18:41 | |
srichter | benji_york: what do I do, if I have one form with two identical submit buttons? | 18:43 |
benji_york | use the index argument to getControl or use getForm (which I just submitted and replaces the forms mapping) | 18:43 |
srichter | I need to press it, but I get an AmbiguityError | 18:43 |
benji_york | use index=0 or index=1 | 18:44 |
srichter | getForm will not work, since it is the same form | 18:44 |
srichter | ok | 18:44 |
benji_york | yep, I didn't read closely enough :) | 18:44 |
*** zagy has joined #zope3-dev | 18:44 | |
*** MrTopf has quit IRC | 18:52 | |
benji_york | srichter, I'm even more confused, I just put the offending link in the testbrowser doctest and it worked, here's the code... | 18:56 |
benji_york | >>> browser.contents | 18:56 |
benji_york | '...>\n SchoolTool Manager -- History\n (HIS1)\n </a>...' | 18:56 |
benji_york | >>> link = browser.getLink('History (HIS1)') | 18:56 |
*** stub has quit IRC | 18:59 | |
*** jan_s has joined #zope3-dev | 18:59 | |
srichter | benji_york: mmh, oh well | 19:01 |
srichter | benji_york: no need to waste time on it now | 19:01 |
srichter | I'll try to repoduce it later again | 19:01 |
benji_york | hmm, ok; if it is a real bug I'd like to fix it; thanks | 19:02 |
*** alga has joined #zope3-dev | 19:03 | |
*** j-w has quit IRC | 19:12 | |
*** bradb is now known as bradb-lunch | 19:27 | |
*** mj has quit IRC | 19:34 | |
*** RaFromBRC has joined #zope3-dev | 19:44 | |
*** MJ has joined #zope3-dev | 19:59 | |
*** RaFromBRC has quit IRC | 20:03 | |
*** sm has quit IRC | 20:07 | |
*** sm has joined #zope3-dev | 20:10 | |
*** sashav has joined #zope3-dev | 20:24 | |
*** bradb-lunch is now known as bradb | 20:28 | |
*** jan_s has quit IRC | 20:29 | |
*** mgedmin has quit IRC | 20:56 | |
*** ignas has quit IRC | 20:58 | |
*** mkerrin has quit IRC | 20:59 | |
*** SureshZ has quit IRC | 21:19 | |
*** RaFromBRC has joined #zope3-dev | 21:22 | |
*** SureshZ has joined #zope3-dev | 21:28 | |
*** faassen has quit IRC | 21:36 | |
*** sm is now known as sm-afk | 22:18 | |
*** RaFromBRC is now known as RaAtBRC|away | 22:22 | |
*** bradb is now known as bradb-bbl | 22:25 | |
*** SureshZ has quit IRC | 22:27 | |
*** SureshZ has joined #zope3-dev | 22:28 | |
*** SureshZ has quit IRC | 22:36 | |
*** SureshZ has joined #zope3-dev | 22:51 | |
*** bskahan has quit IRC | 23:03 | |
srichter | benji_york: have you noticed that testbrowser is slow? | 23:16 |
srichter | I am converting tests right now and they take about twice as long | 23:16 |
benji_york | hmm, I haven't noticed | 23:17 |
srichter | this is not-scientific of course | 23:17 |
benji_york | if I get bored I'll profile it :) | 23:18 |
*** Theuni has quit IRC | 23:19 | |
srichter | benji_york: btw, I noticed that testbrowser does a much better job in ftesting | 23:27 |
srichter | I have discovered several bugs in the code and tests while converting | 23:27 |
benji_york | great! | 23:28 |
benji_york | I'm really happy with the way it's worked out, Gary gets a lot of the credit for doing some hard work with mechanize/ClientForm | 23:28 |
srichter | yeah, you and gary get a beer from me next week for lunch | 23:30 |
srichter | (or is that not allowed in the US?) | 23:30 |
benji_york | Gary might partake, but I'd prefer a soda :) | 23:30 |
srichter | ok | 23:32 |
andrew_m | is the README.txt in zope/app/locking up to date? i cannot get that to work if I try it | 23:48 |
srichter | no clue | 23:48 |
srichter | I think not many people use it | 23:48 |
srichter | well, the README.txt is a doctest, so some of this must work | 23:49 |
J1m | I believe it is a doc test, so at least the examples should work, | 23:49 |
andrew_m | hmm.. no luck here with the example | 23:49 |
andrew_m | srichter: is there another standard way of implementing locking? | 23:50 |
J1m | You may want to look at it's setup code. | 23:50 |
J1m | For example, objects that want to play should provide ILockable. | 23:51 |
J1m | (or, I guess be adaptable to) | 23:52 |
benji_york | srichter, Gary will take a soda too :) LOL | 23:52 |
andrew_m | J1m: from the README it sounds like deriving from Persistent should be all I have to do | 23:52 |
J1m | Hey, I drink bear | 23:52 |
andrew_m | but the adaptation fails even with that simple example | 23:52 |
J1m | Hey, I drink beer | 23:52 |
benji_york | urine, or whole (puree) | 23:52 |
J1m | beer | 23:53 |
J1m | Can't you spell | 23:53 |
J1m | ? | 23:53 |
benji_york | can't spell, but at least I can type | 23:54 |
J1m | beer can fix that. | 23:54 |
srichter | J1m gets beer | 23:54 |
benji_york | that's why I don't want any :) | 23:55 |
srichter | do you guys know a place in F12g where we can eat and have a *good* beer for Jim? | 23:55 |
J1m | hm | 23:56 |
benji_york | does the t2i p3e? | 23:56 |
J1m | no | 23:57 |
J1m | n0o | 23:57 |
srichter | t2s i0s f1n :1) | 23:58 |
andrew_m | my french ends here.. | 23:59 |
* J1m stops | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!