*** JoaoJoao has quit IRC | 00:00 | |
* Theuni detected a zope.org restart | 00:03 | |
*** jfmoxley has left #zope3-dev | 00:06 | |
*** JoaoJoao has joined #zope3-dev | 00:07 | |
*** efge has joined #zope3-dev | 00:15 | |
*** jhauser has quit IRC | 00:17 | |
*** gumpa has quit IRC | 00:21 | |
*** sashav has quit IRC | 00:36 | |
*** zbir has quit IRC | 00:39 | |
*** andrew_m has quit IRC | 00:41 | |
*** niemeyer has quit IRC | 00:51 | |
*** GaryPoster has quit IRC | 00:58 | |
*** JoaoJoao has quit IRC | 00:59 | |
*** efrerich_ has quit IRC | 01:03 | |
*** povbot has joined #zope3-dev | 01:17 | |
*** povbot` has quit IRC | 01:17 | |
J1m | srichter, ayt? | 01:31 |
---|---|---|
WebMaven | J1m: You've been asking that all day. | 01:32 |
J1m | :) | 01:33 |
WebMaven | You're coming to PyCon, right? | 01:33 |
J1m | I wasn't planning to. | 01:33 |
WebMaven | Aw. | 01:33 |
J1m | But I'm reconsidering. | 01:33 |
WebMaven | yay! | 01:33 |
J1m | As there seems to be some sprint interest. | 01:33 |
WebMaven | Remember, this year we got the 4-consecutive-post-conference-ly sprint days. | 01:34 |
WebMaven | And have you seen Nathan Yergler's talk summary? | 01:36 |
WebMaven | 'Abusing the Zope 3 project' | 01:36 |
WebMaven | #48 on this page: http://wiki.python.org/moin/PyCon2006/Talks | 01:37 |
J1m | yup, although I haven't looked closely. | 01:39 |
J1m | I didn't do any reviews this year. | 01:40 |
J1m | efge, if you update, you should find the fd leakage fixed. | 01:40 |
efge | efge: ok trying now | 01:42 |
Theuni | good news: i wrote a log observer on debug level that routes all twisted error messages into the event log | 01:43 |
WebMaven | J1m: So, what is there most interest for doing a sprint on? | 01:47 |
*** dman13 has quit IRC | 01:49 | |
efge | J1m: ok no more fd problems, yay! | 01:49 |
J1m | Theuni, wants to work on changes to z3 to support certification. | 01:49 |
efge | J1m: have you looked at http://www.zope.org/Collectors/Zope3-dev/501 or not ? (-N 2 problems) | 01:49 |
J1m | Also, there seemed to be some interest in replacing more z2 infrastructure with z3 infrastructure. | 01:50 |
J1m | efge, no, that's a widespread problem. | 01:51 |
*** MiUlEr has joined #zope3-dev | 01:51 | |
J1m | We don't regularly run tests in loops and so we don't catch when tests fail to clean up after themselves. | 01:51 |
Theuni | Right. I'll be around pycon for work on certification and blobs ... | 01:51 |
efge | J1m: ok. I'll close bug 500 then (fds) | 01:51 |
J1m | This is related to tests that depend on other tests running first. | 01:51 |
J1m | cool, thanks. | 01:51 |
Theuni | Looks like the effort today was good. Only 4 critical issues left. | 01:58 |
Theuni | and we might discuss those away too :) | 01:59 |
* Theuni goes off to bad | 01:59 | |
Theuni | aeh ... bed | 01:59 |
J1m | 430 is already fixed. | 02:00 |
*** JoaoJoao has joined #zope3-dev | 02:00 | |
Theuni | great | 02:00 |
J1m | We probably just need to update to the current zdaemon. | 02:00 |
Theuni | hmm | 02:01 |
Theuni | i see | 02:01 |
J1m | later | 02:01 |
Theuni | exactly | 02:01 |
J1m | Thanks for all the help. | 02:01 |
Theuni | some 18 hours are calling for sleep :) | 02:01 |
Theuni | i enjoyed it | 02:01 |
Theuni | it was good to do some work on zope 3 again | 02:01 |
J1m | yup | 02:01 |
*** J1m has quit IRC | 02:02 | |
Theuni | everybody here is on a zope3 project right now, except me ... | 02:02 |
Theuni | anyway | 02:02 |
Theuni | *nchrr | 02:02 |
*** Theuni has quit IRC | 02:02 | |
*** MiUlEr has quit IRC | 02:40 | |
*** efge has quit IRC | 02:44 | |
newpers | srichter: if i wanted to checkout step02 of your messageboard, it would be svn checkout http://svn.zope.org/book/trunk/messageboard/step02/, right? if so, i believe the checkout links are broken | 02:51 |
*** JoaoJoao has quit IRC | 02:54 | |
*** MiUlEr has joined #zope3-dev | 02:55 | |
*** JoaoJoao has joined #zope3-dev | 03:02 | |
*** zbir has joined #zope3-dev | 03:02 | |
JoaoJoao | hello | 03:02 |
andres | newpers, no, its not. | 03:09 |
andres | That should be correct svn://svn.zope.org/repos/main/book/trunk/messageboard/step02 | 03:10 |
JoaoJoao | hum it seems that sqlos doesn't accept non-ascii characters, I hope I'm wrong | 03:10 |
andres | JoaoJoao, when doing what? | 03:10 |
newpers | i guess the http protocol is being use for viewing :) | 03:10 |
JoaoJoao | inserting a new object | 03:10 |
andres | newpers, sorry, i fear it was a wrong gues ;-) | 03:10 |
andres | Where do you use the non ascii char? | 03:11 |
andres | In a column? | 03:11 |
JoaoJoao | yup | 03:11 |
andres | Is it s StringCol? | 03:11 |
andres | -s | 03:11 |
JoaoJoao | yes, do I have to use something else? | 03:11 |
newpers | thanks, andres | 03:11 |
andres | JoaoJoao, UnicodeCol | 03:11 |
JoaoJoao | aaaaaaaaaah | 03:11 |
JoaoJoao | I've always seen StringCol in every example, thanks a lot :) | 03:11 |
andres | JoaoJoao, but only from 0.7rc1 on. | 03:12 |
andres | JoaoJoao, remind be later tomorrow and i will change that. | 03:12 |
andres | JoaoJoao, there should UnicodeCol be used. | 03:13 |
JoaoJoao | ok | 03:13 |
JoaoJoao | it worked now | 03:13 |
andres | but back on the time those got wrote, there wasnt a unicode col | 03:13 |
JoaoJoao | When I use ForeignKey, what kind of field must I use in the interface? | 03:15 |
andres | JoaoJoao, depends how you do it. | 03:21 |
andres | if you do foobarID = Int(title = "this is the foobar id") | 03:23 |
andres | and foobarID = IntCol(foreignKey = "Foobar") | 03:24 |
andres | you have a variable foobar which directs to the Foobar object | 03:25 |
andres | But this isnt optimal, as then "foobar" is not in the interface, which generates problems with security. | 03:25 |
andres | JoaoJoao, you dont have to define everything in the interface. | 03:26 |
andres | It works fine if you just define it in the implementation. | 03:26 |
JoaoJoao | I'd *love* to have a combo box widget in the forms | 03:28 |
andres | combobox? | 03:28 |
JoaoJoao | A combobox which would let me choose what Questionnaire the Question relates to | 03:29 |
JoaoJoao | I guess I'd need to create a custom vocabulary | 03:30 |
*** andres_ has joined #zope3-dev | 03:39 | |
*** andres has quit IRC | 03:39 | |
*** andres_ is now known as andres | 03:39 | |
andres | JoaoJoao, what was the last i said to you? | 03:40 |
JoaoJoao | <configure | 03:41 |
JoaoJoao | xmlns='http://namespaces.zope.org/zope' | 03:41 |
JoaoJoao | xmlns:browser='http://namespaces.zope.org/browser' | 03:41 |
JoaoJoao | xmlns:rdb='http://namespaces.zope.org/rdb' | 03:41 |
JoaoJoao | xmlns:sqlos='http://namespaces.sqlobject.org/sqlos'> | 03:41 |
JoaoJoao | <sqlos:connectionName name='pgsql' /> | 03:41 |
JoaoJoao | <!-- Here you configure the dsn for a given connection --> | 03:41 |
JoaoJoao | <rdb:provideConnection | 03:41 |
*** JoaoJoao has quit IRC | 03:41 | |
*** JoaoJoao_ has joined #zope3-dev | 03:42 | |
JoaoJoao_ | damn I hate Kvirc | 03:42 |
*** JoaoJoao_ is now known as JoaoJoao | 03:43 | |
JoaoJoao | /nickserv identify jmcjmc | 03:43 |
*** JoaoJoao has left #zope3-dev | 03:43 | |
*** JoaoJoao has joined #zope3-dev | 03:45 | |
JoaoJoao | okay I hate Kvirc *and* Kopete's IRC | 03:46 |
JoaoJoao | sorry about the flood, KVirc copy'n paste is terrible | 03:46 |
JoaoJoao | andres: THe last thing you said was "combobox?" | 03:47 |
andres | <andres> Ah, you mean Choice/SelectWidget(or DropdownWidget)? | 03:47 |
andres | <andres> JoaoJoao, i use that extensively. | 03:47 |
andres | <andres> I do it the following way: foobar = Choice(title=u"", vocabulary="MyFoobarVocab") and foobarID = IntCol(foreignKey = "Foobar") | 03:47 |
andres | <andres> Is it that what you mean? | 03:47 |
andres | What have you asked regarding this zcml snippet? | 03:47 |
JoaoJoao | andres: Then I need to create a custom vocab MyFoobarVocab, right? | 03:49 |
andres | Yes | 03:50 |
andres | Just use the SimpleVocabulary | 03:50 |
JoaoJoao | ahh got it | 03:51 |
JoaoJoao | It would be nice if we could get rid of the Vocab creation somehow | 03:58 |
*** yota has quit IRC | 03:59 | |
andres | JoaoJoao, how would you do that logicwise? | 04:02 |
JoaoJoao | That's the problem ;) | 04:02 |
JoaoJoao | maybe having a custom Choice field | 04:02 |
andres | Hm? I dont understand how you are thinking about that. | 04:03 |
andres | sorry for the bogus english. | 04:03 |
andres | What do you mean by having a "custom Choice field" | 04:04 |
*** deo has quit IRC | 04:04 | |
newpers | JoaoJoao: when you say combobox, do you mean a drop down menu (<select>)? | 04:04 |
JoaoJoao | andres: precisely, sorry here in Brazil we use to call it "Combo" | 04:07 |
JoaoJoao | I was looking at the SIP source | 04:08 |
andres | JoaoJoao, but you just have to built one vocabulary and then its just 3 lines in zcml | 04:09 |
andres | for generating a vocabulary | 04:09 |
andres | for me. | 04:10 |
JoaoJoao | andres: there a file in SIP "vocabularies.py" which has lots of definitions like these: http://deadbeefbabe.org/paste/2295 | 04:11 |
andres | JoaoJoao, and? | 04:13 |
andres | Thats all it takes me to generate a vocabulary: <vocabulary name="ProbeTyp" | 04:15 |
andres | factory="klinik.ItemVocabulary" | 04:15 |
andres | container="ProbeTyp" /> | 04:15 |
JoaoJoao | I thought about something like this: http://deadbeefbabe.org/paste/2296 | 04:16 |
andres | Shouldnt be too hard to implement. | 04:17 |
andres | But this way you have to define that field multiple times. | 04:17 |
andres | I can use my vocabularies from multiple places. | 04:18 |
andres | with one definition | 04:18 |
JoaoJoao | That's true | 04:19 |
andres | And as i have filters in my vocabularies etc. that would be annoying. | 04:20 |
JoaoJoao | andres: How long have you been developing Z3 apps for? | 04:21 |
andres | JoaoJoao, not that long. | 04:22 |
andres | 2 Months. But with some gaps. | 04:22 |
JoaoJoao | And how's it going? | 04:23 |
andres | JoaoJoao, i dont really like web part in developing web apps, so it annoys me at the moment, as i doing to much gui thingies. | 04:25 |
andres | I want to present clean interfaces to someone and let him doing the html+ajax+whatever stuff. | 04:25 |
andres | But sadly im alone ;-) | 04:25 |
JoaoJoao | andres: Unfortunately it's not possible with the current webapp frameworks | 04:29 |
andres | JoaoJoao, why not? | 04:29 |
andres | I know some people who could do that and would like that, if they would get paid. | 04:30 |
JoaoJoao | well it *is* possible, but as soon as you present a clean interface for someone to do the gui you'll realize you have to do something else :) | 04:31 |
andres | JoaoJoao, hm, well, you can't really do that in seperated steps. | 04:33 |
*** JoaoJoao has quit IRC | 05:04 | |
*** natea has quit IRC | 05:34 | |
*** natea has joined #zope3-dev | 07:50 | |
*** Volpe has joined #zope3-dev | 08:21 | |
Volpe | In the BTreePrincipalSource class in pluggableauth. How do you assosiate roles with the principals? | 08:22 |
Volpe | oh... with the _setId()? you'd make that correspond to your ZCML role declarations? | 08:26 |
*** natea has quit IRC | 08:42 | |
*** natea has joined #zope3-dev | 08:46 | |
*** Volpe has quit IRC | 09:18 | |
*** natea has quit IRC | 10:06 | |
*** sashav has joined #zope3-dev | 10:09 | |
*** romanofski has joined #zope3-dev | 10:13 | |
romanofski | moin | 10:13 |
*** Theuni has joined #zope3-dev | 10:17 | |
*** sashav has quit IRC | 11:17 | |
*** MJ has quit IRC | 11:24 | |
*** roman_ has joined #zope3-dev | 11:59 | |
*** romanofski has quit IRC | 12:16 | |
*** sashav has joined #zope3-dev | 12:40 | |
*** Theuni has quit IRC | 12:44 | |
*** Volpe has joined #zope3-dev | 12:44 | |
*** projekt01 has joined #zope3-dev | 12:49 | |
projekt01 | srichter, ayt? | 13:02 |
*** Volpe has quit IRC | 13:04 | |
*** agroszer has joined #zope3-dev | 13:06 | |
projekt01 | The getLink method in testbrowser.Browser is buggy. This method will catch the first link if more then one link contains the given text attribute. | 13:13 |
*** natea has joined #zope3-dev | 13:17 | |
*** natea has quit IRC | 13:19 | |
*** andrew_m has joined #zope3-dev | 13:26 | |
*** niemeyer has joined #zope3-dev | 13:27 | |
d2m | projekt01: but mech_browser.find_link() returns a single link by default | 13:51 |
*** roman_ is now known as romanofski | 13:54 | |
projekt01 | d2m, yes but not the right one. | 13:54 |
d2m | projekt01: no, think it returns the first found | 13:55 |
projekt01 | If you have links like <a href="">A File</a> and <a href="">File</a> and you use getLink('File') you will get the 'A File' link | 13:56 |
projekt01 | I added already a collector issue: http://www.zope.org/Collectors/Zope3-dev/503 | 13:56 |
d2m | projekt01: thats becaus of the regexes | 13:57 |
d2m | projekt01: at least i think it is | 13:58 |
projekt01 | d2m, yes, it's a wired idea to turn a text attribute into a regex. | 13:58 |
d2m | projekt01: i see what you mean, you are right | 13:59 |
d2m | projekt01: but its detailed in the interfaces | 14:00 |
d2m | projekt01: i see another problem with the method: it implicit assumes that 'single' is not set in mechanize, if this changes, mechanize would return a list instead of a single link | 14:04 |
d2m | projekt01: args should become: args = {'text_regex': text_regex, 'url_regex': url_regex, 'single': 1} or the like | 14:07 |
projekt01 | d2m, can you add a comment to the issue 503? | 14:19 |
d2m | projekt01: sorry, my fault -- its ok how it is done (the method is supposed to just return 1 link at all) | 14:20 |
projekt01 | Ok | 14:20 |
*** baiju has joined #zope3-dev | 14:36 | |
*** Theuni has joined #zope3-dev | 14:45 | |
*** MJ has joined #zope3-dev | 15:04 | |
Theuni | anybody alive? | 15:14 |
projekt01 | Yup | 15:14 |
Theuni | would you say that issue 381 might be closed? | 15:14 |
* projekt01 is looking at issue 381 | 15:15 | |
Theuni | it looks like alga was waiting for feedback whether his solution is sufficient but never got a reply | 15:15 |
*** dobee has quit IRC | 15:16 | |
projekt01 | Theuni, wasn't this happen a long time ago? | 15:17 |
Theuni | march to july | 15:18 |
projekt01 | I guess this is done if I understand it correct ;-) | 15:19 |
*** Volpe has joined #zope3-dev | 15:19 | |
Theuni | Me too. I'll just close it and ask for re-opening if that's not the case. | 15:19 |
projekt01 | the securitypolicy.zcml in the root points to the configure.zcml in zope.app.securitypolicy | 15:20 |
projekt01 | This I think is what issue 381 means | 15:21 |
Theuni | almost | 15:21 |
Theuni | it was about people upgrading old installations who have to manually do that | 15:21 |
Theuni | it was about giving them a chance to notice what is wrong | 15:21 |
Theuni | and that happens | 15:21 |
projekt01 | Yes, I remember that | 15:21 |
*** yota has joined #zope3-dev | 15:21 | |
* Theuni closed it | 15:22 | |
d2m | i asked before, but i try again: the zsync/fssync package does not work on trunk, is one of you using it ? | 15:31 |
projekt01 | d2m, no | 15:32 |
projekt01 | d2m, do you use it with your for exporting your own objects? | 15:32 |
d2m | projekt01: i'd love to do so but its broken (i filed a bug report some month ago) | 15:33 |
projekt01 | d2m, did you try it with a zope3 Folder or a File? | 15:33 |
d2m | projekt01: http://www.zope.org/Collectors/Zope3-dev/480 -- BrowserResponse object did change | 15:34 |
d2m | projekt01: interstingly all tests pass ok | 15:35 |
*** Volpe has quit IRC | 15:35 | |
projekt01 | Ah, I see, seems that this part isn't tested | 15:36 |
Theuni | d2m: i have no idea about fssync ... i'll try to have a look though | 15:39 |
projekt01 | d2m, fdrake was the creator of fssync (I guess) | 15:39 |
*** baiju has quit IRC | 15:40 | |
*** sashav has quit IRC | 15:42 | |
Theuni | yeah | 15:42 |
Theuni | the unit test uses StringIO as a fake response replacement | 15:43 |
Theuni | that's not good enough i'm afraid | 15:43 |
Theuni | shouldn't be too hard to fix | 15:46 |
Theuni | i'll try | 15:46 |
*** zagy has joined #zope3-dev | 15:51 | |
Theuni | hmm. looks like the http response doesn't have a stream handle anymore ... :/ | 15:51 |
*** zagy has quit IRC | 15:52 | |
*** zagy has joined #zope3-dev | 15:54 | |
*** agroszer is now known as _agroszer | 15:57 | |
Theuni | well ... i wonder what the reason is to disallow any kind of streaming on the response | 16:03 |
projekt01 | Theuni, security? Perhaps there could be a way via registering subscribers to manipulate the response??? | 16:05 |
Theuni | hmm. that would be a huge drawback, because streaming is a big thing to disallow | 16:06 |
projekt01 | I'm not sure at all, this was just a idea. | 16:08 |
Theuni | i'll try to provide a fix, but i have the feeling a clean solution will need quite some time ... | 16:14 |
projekt01 | Ok | 16:16 |
Theuni | hmm. it doesn't break but i also don't know how it should wor | 16:18 |
Theuni | k | 16:18 |
Theuni | can i just checkout a root or should i use a certain object that supports syncing? | 16:18 |
Theuni | ah ... got it | 16:20 |
*** BjornT_ has joined #zope3-dev | 16:21 | |
projekt01 | Theuni, I have no idea, it's along time ago I tried fssync | 16:24 |
Theuni | i got it | 16:25 |
Theuni | unfortunately this is really a bad fix to make it work again | 16:25 |
Theuni | i have no idea how streaming response consumption is intended to work :/ | 16:25 |
Theuni | i think i'm not going to check that in | 16:28 |
*** BjornT has quit IRC | 16:33 | |
* Theuni wonders about issue 341 | 16:39 | |
*** MiUlEr has quit IRC | 16:41 | |
*** Theuni has quit IRC | 17:00 | |
*** zagy has quit IRC | 17:07 | |
*** niemeyer has quit IRC | 17:08 | |
*** xenru has joined #zope3-dev | 17:22 | |
*** xenru|clone has quit IRC | 17:36 | |
*** bradallen has joined #zope3-dev | 17:37 | |
*** projekt01 has quit IRC | 17:48 | |
*** romanofski is now known as rom|aw | 17:53 | |
*** sashav has joined #zope3-dev | 17:56 | |
*** bradallen has quit IRC | 18:00 | |
*** natea has joined #zope3-dev | 18:34 | |
*** xenru|clone has joined #zope3-dev | 18:37 | |
*** natea has joined #zope3-dev | 18:56 | |
*** natea is now known as natea|CalSprint | 18:59 | |
*** dobee has joined #zope3-dev | 19:00 | |
*** xenru has quit IRC | 19:02 | |
*** dobee has quit IRC | 19:10 | |
*** sashav has quit IRC | 19:23 | |
*** ignas has joined #zope3-dev | 19:27 | |
*** ignas has quit IRC | 20:01 | |
*** dobee has joined #zope3-dev | 20:08 | |
*** ignas has joined #zope3-dev | 20:32 | |
*** Theuni has joined #zope3-dev | 20:32 | |
Theuni | are placeful event subscribers possible? | 20:35 |
Theuni | hmm. catalogs might do that ... | 20:37 |
Theuni | aha ... getallutilitiesregisteredfor ... | 20:38 |
*** natea has joined #zope3-dev | 20:46 | |
*** natea|CalSprint has quit IRC | 20:47 | |
*** andrew_m has quit IRC | 20:55 | |
*** sashav has joined #zope3-dev | 20:57 | |
*** dobee has quit IRC | 21:05 | |
*** ignas has quit IRC | 21:14 | |
*** Theuni has quit IRC | 21:24 | |
*** rom|aw is now known as romanofski | 21:29 | |
*** andrew_m has joined #zope3-dev | 21:34 | |
*** d2m has quit IRC | 22:39 | |
*** JoaoJoao has joined #zope3-dev | 22:51 | |
JoaoJoao | hello | 22:51 |
*** xenru has joined #zope3-dev | 22:57 | |
*** xenru|clone has quit IRC | 23:12 | |
*** _agroszer has quit IRC | 23:39 | |
*** Volpe has joined #zope3-dev | 23:46 | |
*** benji has joined #zope3-dev | 23:53 | |
benji | srichter, ayt? | 23:53 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!