*** SteveA_ has quit IRC | 00:08 | |
*** xenru|clone has joined #zope3-dev | 00:12 | |
*** bradb has left #zope3-dev | 00:30 | |
*** xenru has quit IRC | 00:30 | |
*** JoaoJoao has joined #zope3-dev | 00:35 | |
*** benji has quit IRC | 00:42 | |
*** ChrisW has joined #zope3-dev | 00:47 | |
*** andres has quit IRC | 00:48 | |
*** dman13 has joined #zope3-dev | 00:50 | |
*** jhauser_ has quit IRC | 00:54 | |
*** ChrisW has quit IRC | 01:23 | |
*** yota has quit IRC | 01:31 | |
*** yota has joined #zope3-dev | 01:31 | |
*** niemeyer has quit IRC | 01:40 | |
*** niemeyer has joined #zope3-dev | 01:41 | |
srichter | J1m: still there? | 01:43 |
---|---|---|
srichter | I have an organizational issue | 01:44 |
srichter | let's say I have package X and Y, which are independent of eachother | 01:44 |
srichter | no I am writing some code that uses X for Y | 01:44 |
srichter | I do not want to put this code in either X or Y, since it would create an unwanted dependency | 01:45 |
srichter | what would be the best approach? | 01:45 |
srichter | create a package called X_Y? | 01:45 |
*** JoaoJoao has quit IRC | 01:48 | |
*** xenru|clone is now known as xenru | 01:51 | |
*** tarek has quit IRC | 01:53 | |
xenru | sorry for crosspost | 02:01 |
xenru | can somebody help mw with svn | 02:01 |
xenru | I have write perm to zope svn, but never use it | 02:01 |
xenru | localy I working under xen user (WindowsXP) and TortoiseSVN as svn client | 02:01 |
xenru | my login to svn is mkashkin | 02:01 |
xenru | How I can make writeable checjout? | 02:01 |
xenru | may be it is possible to set login in Putty? | 02:01 |
*** tarek has joined #zope3-dev | 02:17 | |
xenru | It write me:"""Using username "mkashkin". | 02:21 |
xenru | No supported authentication methods left to try!""" | 02:21 |
*** sashav has quit IRC | 02:24 | |
*** natea has quit IRC | 02:37 | |
*** benji has joined #zope3-dev | 02:49 | |
*** SiggyF has quit IRC | 02:50 | |
*** J1m has quit IRC | 02:59 | |
*** JoaoJoao has joined #zope3-dev | 03:00 | |
*** niemeyer has quit IRC | 03:18 | |
*** JoaoJoao has quit IRC | 03:37 | |
*** natea has joined #zope3-dev | 03:43 | |
*** benji has quit IRC | 04:02 | |
*** natea has quit IRC | 04:15 | |
*** sashav has joined #zope3-dev | 05:29 | |
*** jinty has quit IRC | 05:53 | |
*** yota has quit IRC | 06:00 | |
*** stub has joined #zope3-dev | 06:16 | |
*** sashav_ has joined #zope3-dev | 06:44 | |
*** sashav has quit IRC | 06:44 | |
*** sashav_ is now known as sashav | 06:44 | |
*** sashav_ has joined #zope3-dev | 06:56 | |
*** sashav has quit IRC | 06:56 | |
*** sashav_ is now known as sashav | 06:56 | |
*** zagy has joined #zope3-dev | 09:00 | |
*** jhauser has joined #zope3-dev | 09:02 | |
*** zagy has quit IRC | 09:02 | |
*** zagy has joined #zope3-dev | 09:03 | |
*** sashav has quit IRC | 09:03 | |
*** zagy has quit IRC | 09:05 | |
*** zagy has joined #zope3-dev | 09:05 | |
*** hdima has joined #zope3-dev | 09:16 | |
*** ChrisW has joined #zope3-dev | 09:17 | |
*** agroszer has joined #zope3-dev | 09:19 | |
*** natea has joined #zope3-dev | 09:26 | |
*** Aiste has quit IRC | 09:27 | |
*** dobee has joined #zope3-dev | 09:45 | |
*** natea_ has joined #zope3-dev | 09:46 | |
*** ChrisW has quit IRC | 09:47 | |
*** natea has quit IRC | 09:57 | |
*** agroszer has quit IRC | 10:16 | |
*** horizon5 has joined #zope3-dev | 10:18 | |
horizon5 | i'm using z3 trunk, and was wanting to experiment with jsonserver, would this be the right place to ask about it? | 10:19 |
*** SteveA_ has joined #zope3-dev | 10:19 | |
*** zagy has quit IRC | 10:20 | |
*** stub has quit IRC | 10:20 | |
*** zagy has joined #zope3-dev | 10:25 | |
*** stub has joined #zope3-dev | 10:25 | |
*** jhauser has quit IRC | 10:25 | |
*** sashav has joined #zope3-dev | 10:32 | |
*** natea_ has quit IRC | 10:43 | |
horizon5 | anyone using jsonserver with z3? | 10:51 |
*** tarek_ has joined #zope3-dev | 10:51 | |
*** jhauser has joined #zope3-dev | 11:00 | |
*** tarek has quit IRC | 11:08 | |
*** ignas has joined #zope3-dev | 11:12 | |
*** Aiste has joined #zope3-dev | 11:19 | |
*** lunatik has joined #zope3-dev | 11:31 | |
*** faassen has joined #zope3-dev | 11:31 | |
*** lunatik has left #zope3-dev | 11:31 | |
*** suse-joe has joined #zope3-dev | 11:40 | |
*** mgedmin has joined #zope3-dev | 11:45 | |
*** MrTopf has joined #zope3-dev | 12:01 | |
*** _graham has joined #zope3-dev | 12:06 | |
*** SteveA_ is now known as SteveA | 12:19 | |
*** andres has joined #zope3-dev | 12:22 | |
*** philiKON has joined #zope3-dev | 13:11 | |
*** niemeyer has joined #zope3-dev | 13:11 | |
*** tarek_ has quit IRC | 13:17 | |
*** tarek_ has joined #zope3-dev | 13:19 | |
*** mkerrin has joined #zope3-dev | 13:25 | |
*** mgedmin has quit IRC | 13:38 | |
*** vlado has joined #zope3-dev | 13:52 | |
*** SteveA has quit IRC | 14:00 | |
*** _anguenot has joined #zope3-dev | 14:09 | |
*** SteveA has joined #zope3-dev | 14:28 | |
srichter | horizon5: yep, I have just installed it and it works great; though the automatic jsolait install script had to be modified | 14:38 |
*** efge has joined #zope3-dev | 15:06 | |
*** zbir has quit IRC | 15:14 | |
andres | Are there plans to integrate an ajax framework into zope? | 15:32 |
*** ChrisW has joined #zope3-dev | 15:40 | |
srichter | no | 15:41 |
ChrisW | but I didn't even ask a question ;-) | 15:41 |
ChrisW | okay okay, using testbrowser, how do I get a form control which only has an id? | 15:42 |
srichter | browser.getForm(id='foo') | 15:47 |
ChrisW | doesn't that get the whole form, not the control within it? | 15:48 |
*** yota has joined #zope3-dev | 15:55 | |
horizon5 | srichter: then i must be doing something wrong - which version of jsolait did you change the install script to use? (i'm assuming that's what you changed!) | 16:07 |
*** SteveA has quit IRC | 16:13 | |
*** bradb has joined #zope3-dev | 16:15 | |
*** zbir has joined #zope3-dev | 16:20 | |
ChrisW | wagh | 16:23 |
ChrisW | how do you insert a field into the browser in testbrowser if there's no control to insert it into? | 16:24 |
*** stub has quit IRC | 16:24 | |
* ChrisW sighs at the overuse of decorators in testbrowser's browser.py | 16:28 | |
*** J1m has joined #zope3-dev | 16:37 | |
*** GaryPoster has joined #zope3-dev | 16:39 | |
ChrisW | hey Gary, Jim :-) | 16:40 |
GaryPoster | Hey ChrisW :-) | 16:40 |
philiKON | hey GaryPoster, J1m | 16:41 |
J1m | Hey | 16:41 |
ChrisW | either of you know if I can add a non-existent form field to a testbrowser browser? | 16:42 |
ChrisW | looks like hte thing i want ot insert text into is an <input> dynamically generated by JS in FCKEditor :-( | 16:42 |
GaryPoster | Hey philipp | 16:42 |
GaryPoster | ChrisW: hm, no, interesting...doesn't FCKEditor have a fall-back so that there is a "real" field hanging around | 16:44 |
ChrisW | not that I can see :-( | 16:44 |
ChrisW | using IE's developer bar, I can see the input in the DOM, but not in browser.contents :-( | 16:45 |
ChrisW | wagh | 16:47 |
GaryPoster | Then it sounds like you are in new-territory-ville, I'm afraid...territory we need to cover too, of course, but testbrowser doesn't contemplate the problem...I wonder if mechanize supports something like that; I don't think so, but maybe we could hack it/change it | 16:47 |
ChrisW | testbrowser should be DOM driven ;-) | 16:47 |
GaryPoster | heh, feel free to write ;-) | 16:47 |
* ChrisW looks at just finding the visual editor preference screen and pounding that with my test user ;-) | 16:48 | |
GaryPoster | heh, sigh. | 16:48 |
ChrisW | kupu sux less, hopefully | 16:48 |
* ChrisW can't remember if there's a "just gimme a damn textarea option"... | 16:49 | |
ChrisW | (btw: did I mention Zope 3 rox :-) ) | 16:49 |
GaryPoster | kupu: maybe :-). Zope 3: yeah, I think so too. :-) | 16:49 |
ChrisW | well, I've successfully used tow parts of it without touching Zope 3 itself | 16:50 |
ChrisW | and that makes me smile a lot, 'cos I know you could _never_ do that with Zope 2! | 16:50 |
GaryPoster | lol, yeah that is very nice, I agree--and very nice to be able to think "oh yeah, maybe I ought to try __fill in python component from other effort here__" and not be daunted. | 16:52 |
ChrisW | well, I've used Z3's ZPT, and now testbrowser, for some bizarre things | 16:53 |
ChrisW | and not been disappointed | 16:53 |
GaryPoster | cool | 16:54 |
ChrisW | ZPT was for writing python cgis (?!) and testbrowser now is for developing some very specific stress tests for an originally plone-based cms | 16:54 |
*** SteveA has joined #zope3-dev | 16:59 | |
Theuni | tarek_: aren't you from nuxeo? | 17:08 |
tarek_ | hello Theuni, yes i am | 17:08 |
*** sashav has quit IRC | 17:15 | |
*** benji has joined #zope3-dev | 17:17 | |
tarek_ | ping Theuni | 17:20 |
Theuni | tarek_: check the private messages. | 17:26 |
Theuni | i just wanted to inform you about a virus frenzy from your network ... | 17:26 |
tarek_ | yes I answered | 17:26 |
Theuni | oh | 17:27 |
Theuni | then you are not registered | 17:27 |
tarek_ | but i just realized i am not logged in | 17:27 |
tarek_ | brb | 17:27 |
Theuni | :) | 17:27 |
*** tarek_ has quit IRC | 17:27 | |
*** dman13 has quit IRC | 17:27 | |
*** tarek has joined #zope3-dev | 17:28 | |
*** hdima has quit IRC | 17:31 | |
ChrisW | what does the 'label' parameter to browser.getControl() latch onto? | 17:34 |
GaryPoster | the W3C HTML concept of 'label': a submit button's value, or a text in a label tag (whitespace normalized and without contained tags) that is connected by containment or `for`->`id`. The match is on whole words. If this isn't described in README.txt let me know. | 17:36 |
benji | ChrisW, not sure I understand the question: if there is an explicit label tag, it uses that, also HTML defines that certain other things count as labels so it sues those too | 17:36 |
ChrisW | interfaces.py isn't as explicity as that, would be nice if it was :-) | 17:37 |
GaryPoster | README.txt? | 17:37 |
GaryPoster | (and feel free to elaborate in interfaces.py!) | 17:37 |
ChrisW | README.txt suffers from doc-test-ism :-( | 17:37 |
GaryPoster | perhaps, but it has the good stuff. | 17:38 |
ChrisW | yes, I'm sure all the info is in there, but it's impossible to find 'cos it's set up as a test, not documentation :-( | 17:38 |
GaryPoster | ah | 17:38 |
* ChrisW berates doctests when they replace actualy documentation | 17:38 | |
* benji loves doctests that serve as both actual documentation and tests | 17:39 | |
J1m | New doctest writers often fall into the trap of writing tests, not documentation. | 17:39 |
ChrisW | *nods* at J | 17:39 |
ChrisW | testbrowser's README.txt certainly falls into that category | 17:39 |
ChrisW | for example, it uses stuff in @@/testbrowser/controls.html | 17:40 |
ChrisW | but doesn't include any examples from that in the docs | 17:40 |
ChrisW | making the example code much less useful when reading it :-( | 17:40 |
ChrisW | eg: browser.getControl('Text Control') | 17:41 |
ChrisW | but no context on the html that backs 'Text Control' up :-S | 17:41 |
srichter | well, it's just a hole in the documentation | 17:43 |
GaryPoster | ChrisW, I'm serious that you ought to improve the interfaces.py if you can. That would be much appreciated, and presumably easy to do. | 17:43 |
srichter | I think the README.txt covers a lot of ground | 17:44 |
ChrisW | srichter: I think README.txt covers a lot of tests ;-) | 17:44 |
ChrisW | mainly unit tests ;-) | 17:44 |
srichter | it's more documentation than many other software projects have after a much longer life time | 17:44 |
srichter | if it explains what it is doing than that's fine | 17:44 |
ChrisW | srichter: yeah, but it sometimes doesn't.. there are >>> lines that look like basically unit tests to me, but which are bunged in README.txt with no context | 17:45 |
ChrisW | like the Hand-Holding section at the bottom | 17:45 |
ChrisW | and a lot of the controls section | 17:46 |
ChrisW | GaryPoster: I'm in the frustrating position of developing on boxes that are heavilly firewalled, so I have to go through big hoops to check in any changes I make on them :-( | 17:46 |
GaryPoster | ChirsW: Ah. :-/ | 17:47 |
ChrisW | yeah | 17:47 |
ChrisW | sucks | 17:47 |
philiKON | i'm in the process of evaluating httptunnel | 17:47 |
philiKON | actually, for being able to use svn over an http tunnel ;) | 17:47 |
ChrisW | this laptop is on a seperate adsl line | 17:47 |
ChrisW | philiKON: I don't think I'd even get httptunnel out of here ;-) | 17:48 |
philiKON | you don't have WWW access? | 17:48 |
ChrisW | yeah, through the webfilter from hell | 17:50 |
ChrisW | can't even get access to f'ing mail.zope.org | 17:50 |
philiKON | ouch | 17:51 |
philiKON | seriously, what a bad dev env | 17:51 |
ChrisW | yeah, hence we have an adsl line sitting here :-) | 17:51 |
ChrisW | but getting stuff between the two is a pita | 17:51 |
ChrisW | eithe by mail or, less legally, usb key ;-) | 17:51 |
philiKON | rsync is your friend ;) | 17:51 |
ChrisW | rsync from what to what though? | 17:51 |
ChrisW | phil: ask Jens next time you see him | 17:52 |
ChrisW | for quite a while our unix servers couldn't do dns resolution ;-) | 17:52 |
ChrisW | hurm, testbrowser is getting slightly frustrating | 17:55 |
ChrisW | how do I check checkboxes in testbrowser? | 17:57 |
srichter | you get the checkbox control and say control.click() | 17:58 |
ChrisW | ah, hmm, okay, how would you go about iterating over the controls on a form and checking all the checkoxes? | 18:02 |
*** MJ has joined #zope3-dev | 18:02 | |
srichter | I think there is a form.controls | 18:02 |
srichter | then just check that you have a checkbox and click it | 18:02 |
ChrisW | btw: do you know who was responsible for the gratuitous decorator use? ;-) | 18:03 |
GaryPoster | That feature isn't there any more. Looks like I removed it prematurely. I may or may not be responsible for decorator use. | 18:04 |
ChrisW | nope, no controls attribute | 18:04 |
GaryPoster | Your use case isn't handled right now. | 18:04 |
ChrisW | I noticed ;-) | 18:05 |
ChrisW | I can cheat though | 18:05 |
ChrisW | browser.getForm(name='x').mech_form.controls ;-) | 18:05 |
GaryPoster | yup: mechanize should do what you need. Right. | 18:05 |
ChrisW | well, I can get the control ids and then get them from browser | 18:06 |
ChrisW | ;-) | 18:06 |
ChrisW | it should should 1-20 of 2342 | 18:07 |
ChrisW | or some such | 18:08 |
*** philiKON has quit IRC | 18:08 | |
*** vlado has quit IRC | 18:15 | |
*** jinty has joined #zope3-dev | 18:17 | |
*** Aiste has quit IRC | 18:29 | |
*** faassen has quit IRC | 18:36 | |
*** natea has joined #zope3-dev | 18:36 | |
*** dobee has quit IRC | 18:40 | |
*** jhauser_ has joined #zope3-dev | 19:08 | |
*** jhauser has quit IRC | 19:13 | |
*** xenru|clone has joined #zope3-dev | 19:32 | |
*** sashav has joined #zope3-dev | 19:34 | |
*** mp has quit IRC | 19:43 | |
*** mp has joined #zope3-dev | 19:43 | |
*** xenru has quit IRC | 19:49 | |
*** sashav has quit IRC | 19:59 | |
*** GaryPoster has quit IRC | 20:03 | |
*** bradb_ has joined #zope3-dev | 20:04 | |
srichter | J1m: are you there? | 20:07 |
J1m | yes | 20:08 |
*** mgedmin has joined #zope3-dev | 20:08 | |
srichter | J1m: I have hit very nasty adapter registry bug | 20:08 |
J1m | oh? | 20:08 |
srichter | J1m: randomly, I cannot access a page because various adapter lookups fail | 20:09 |
srichter | I can reproduce the problem reliably | 20:09 |
srichter | but not in a controlled environment | 20:09 |
J1m | Cool, write a test and check it in on a branch. | 20:09 |
ChrisW | hmm, sorry to interruptm but if I have an <input type="checkbox" name="something" class="noborder"/>, how should I check the box using testbrowser? | 20:09 |
srichter | that's the problem, I cannot even write a test | 20:09 |
srichter | it only fails for two views in SchoolTool | 20:10 |
srichter | (while the ftests for those views pass) | 20:10 |
ChrisW | srichter: there's not a click method on this control as you suggested there might be... | 20:10 |
srichter | J1m: even worse the following works: "http://localhost:7080/@@index.html" while this one fails: "http://localhost:7080/" | 20:11 |
J1m | srichter, is there some way I can try to reproduce? | 20:11 |
srichter | J1m: yes | 20:11 |
srichter | get SchoolTool from SVN | 20:11 |
srichter | build it and try to access the failing URL | 20:11 |
J1m | Please email me detailed instructions. | 20:11 |
srichter | J1m: will do! Tahnks a lot! | 20:11 |
J1m | I'll look at it over the long weekend. | 20:12 |
srichter | thanks! | 20:12 |
ChrisW | long weekend? where? ;-) | 20:13 |
J1m | In the ol US of A | 20:13 |
srichter | he he | 20:13 |
ChrisW | alright for some ;-) | 20:13 |
ChrisW | anyway, stefan, any ideas on that control issue? | 20:14 |
ChrisW | I know they're pretty crummy checkboxes, they don't even have a value, but I'm curious as to why I'm having so much trouble with them in testbrowser :-S | 20:14 |
srichter | (at least Virginia has something to celebrate having elected a democrat for office (was it the govenor or senator?) | 20:14 |
srichter | ChrisW: are you sure you got a checkbox control? | 20:15 |
*** sashav has joined #zope3-dev | 20:15 | |
ChrisW | <ListControl name='x' type='checkbox'> | 20:15 |
ChrisW | sound right? | 20:15 |
srichter | hold on | 20:16 |
srichter | a list control has always children | 20:16 |
ChrisW | how do I get them? | 20:17 |
srichter | controls | 20:17 |
ChrisW | the children | 20:18 |
suse-joe | srichter: Yesterday I was looking for a way of telling Zope3 to use https instead of http in URLs. Because if you use pound with SSL would be a great choice for Zope3, except that it doesn't support the URL rewriting stuff needed for Zope3 virtual hosts. I came up with a subclassed ContainerTraverser that basically does "request.setApplicationServer(servername, 'https', 443)". | 20:18 |
ChrisW | I just want to check the damn box ;-) | 20:18 |
ChrisW | I have one of those, what do I do to check it? | 20:18 |
suse-joe | srichter: Do you see a more elegant way of doing this? I mean, it works for me, but it's a bit hackish. | 20:18 |
srichter | the Zope trunk has SSL support :-) | 20:23 |
ChrisW | srichter: any clue for me? | 20:24 |
srichter | listcontrol.controls | 20:25 |
ChrisW | ah, okay, has one subcontrol | 20:26 |
ChrisW | what do I do with that? | 20:26 |
ChrisW | It's an ItemControl | 20:26 |
ChrisW | aha, that I can click | 20:26 |
ChrisW | thanks! | 20:26 |
suse-joe | SSL support: Using the twisted server? | 20:28 |
srichter | yes | 20:35 |
suse-joe | I'll consider that for the next project. I needed a solution now ;-) | 20:37 |
*** ChrisW has left #zope3-dev | 20:38 | |
srichter | why not use apache then? | 20:40 |
suse-joe | srichter: Because it has tons of more overhead. I am using Apache if I need other things on the same machine (e.g. mailman or viewcvs), but for zope-only setups I prefer pound. | 20:42 |
suse-joe | srichter: It's very lightweight and does a very good job at what I need it for: SSL and simple load balancing in front of Zope/ZEO. Load balancing is something Apache can't really do out-of-the-box. | 20:43 |
*** sashav has quit IRC | 20:43 | |
*** marita has joined #zope3-dev | 20:48 | |
*** sashav has joined #zope3-dev | 20:50 | |
*** dobee has joined #zope3-dev | 21:04 | |
*** marita has left #zope3-dev | 21:11 | |
*** MrTopf has quit IRC | 21:16 | |
*** alga has joined #zope3-dev | 21:19 | |
*** dobee has quit IRC | 21:20 | |
*** vlado has joined #zope3-dev | 21:24 | |
*** efge has quit IRC | 21:25 | |
benji | srichter, did we ever tell you that Brian's test recorder was put in svn.zope.org? | 21:31 |
mgedmin | how does it work? | 21:35 |
benji | mgedmin, it's a JavaScript program that hooks the browser events and records them | 21:36 |
*** agroszer has joined #zope3-dev | 21:36 | |
benji | it also presents menus to choose test assersions, then when you're done you can select an output style and it'll generate either Selenium tests or zope.testbrowser tests | 21:37 |
*** agroszer has joined #zope3-dev | 21:39 | |
*** Aiste has joined #zope3-dev | 21:47 | |
*** mkerrin has quit IRC | 21:51 | |
*** _anguenot has quit IRC | 21:54 | |
*** natea has quit IRC | 21:58 | |
*** dobee has joined #zope3-dev | 21:59 | |
*** sivang has left #zope3-dev | 22:03 | |
*** mkerrin has joined #zope3-dev | 22:10 | |
*** ignas has quit IRC | 22:11 | |
*** mgedmin has quit IRC | 22:12 | |
*** niemeyer has quit IRC | 22:21 | |
*** bradb_ has quit IRC | 22:22 | |
*** sashav has quit IRC | 22:26 | |
*** suse-joe has left #zope3-dev | 22:37 | |
*** dobee has quit IRC | 22:49 | |
*** mkerrin has quit IRC | 22:52 | |
*** alga has quit IRC | 22:56 | |
*** andres has quit IRC | 23:26 | |
*** agroszer has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!