*** aaronv has quit IRC | 00:02 | |
*** alecm has quit IRC | 00:16 | |
*** lucielejard has quit IRC | 00:16 | |
*** romanofski has quit IRC | 00:16 | |
*** jpcw2002 has quit IRC | 00:16 | |
*** SteveA has quit IRC | 00:16 | |
*** alecm has joined #zope3-dev | 00:16 | |
*** lucielejard has joined #zope3-dev | 00:16 | |
*** romanofski has joined #zope3-dev | 00:16 | |
*** jpcw2002 has joined #zope3-dev | 00:16 | |
*** SteveA has joined #zope3-dev | 00:16 | |
*** rcrafton has quit IRC | 00:23 | |
*** SteveA has quit IRC | 00:26 | |
*** jpcw2002 has quit IRC | 00:26 | |
*** lucielejard has quit IRC | 00:26 | |
*** romanofski has quit IRC | 00:26 | |
*** alecm has quit IRC | 00:26 | |
*** timte has joined #zope3-dev | 00:40 | |
*** alecm has joined #zope3-dev | 00:42 | |
*** lucielejard has joined #zope3-dev | 00:42 | |
*** romanofski has joined #zope3-dev | 00:42 | |
*** jpcw2002 has joined #zope3-dev | 00:42 | |
*** SteveA has joined #zope3-dev | 00:42 | |
*** jhauser has quit IRC | 00:44 | |
*** whit has joined #zope3-dev | 00:45 | |
*** whit has quit IRC | 00:47 | |
*** sp0cksbeard has quit IRC | 00:47 | |
*** vimes656 has quit IRC | 00:51 | |
*** whit has joined #zope3-dev | 00:58 | |
*** benji has quit IRC | 01:03 | |
*** jamur2 has quit IRC | 01:03 | |
*** whit has quit IRC | 01:07 | |
*** aclark|away is now known as aclark | 01:07 | |
*** lucielejard has quit IRC | 01:08 | |
*** sunew has joined #zope3-dev | 01:09 | |
*** lurkymclurkleton has quit IRC | 01:10 | |
*** vipod has quit IRC | 01:16 | |
*** rmarianski has quit IRC | 01:17 | |
*** sunew has quit IRC | 01:23 | |
*** gstratton has joined #zope3-dev | 01:28 | |
*** aaronv has joined #zope3-dev | 01:36 | |
*** redir has joined #zope3-dev | 01:36 | |
*** malthe has joined #zope3-dev | 01:39 | |
*** MrTopf has quit IRC | 01:42 | |
*** malthe is now known as malthe|Zzz | 01:47 | |
*** quodt has quit IRC | 02:02 | |
*** nathany has quit IRC | 02:16 | |
*** redir has quit IRC | 02:24 | |
*** aaronv has quit IRC | 02:24 | |
*** timte has quit IRC | 02:43 | |
*** b52laptop has quit IRC | 02:46 | |
*** redir has joined #zope3-dev | 02:47 | |
*** hexsprite has quit IRC | 02:49 | |
*** redir has quit IRC | 02:53 | |
*** kidsoul has quit IRC | 02:53 | |
*** redir has joined #zope3-dev | 03:37 | |
*** greenman has joined #zope3-dev | 03:44 | |
*** srichter has quit IRC | 03:52 | |
*** srichter has joined #zope3-dev | 04:19 | |
*** flox has left #zope3-dev | 04:21 | |
*** srichter has quit IRC | 04:26 | |
*** srichter has joined #zope3-dev | 04:26 | |
*** deo has joined #zope3-dev | 04:54 | |
*** srichter has quit IRC | 04:58 | |
*** yvl has quit IRC | 05:20 | |
*** alecm has quit IRC | 05:35 | |
*** natea_ has joined #zope3-dev | 05:36 | |
*** greenman has quit IRC | 05:38 | |
*** srichter has joined #zope3-dev | 05:48 | |
*** redir has quit IRC | 05:52 | |
*** binseer has joined #zope3-dev | 06:16 | |
*** fairwinds has quit IRC | 06:38 | |
*** stub has joined #zope3-dev | 07:10 | |
*** alecm has joined #zope3-dev | 07:16 | |
*** dbfrombrc has quit IRC | 07:26 | |
*** philiKON_ has joined #zope3-dev | 07:51 | |
*** aclark is now known as aclark|away | 07:57 | |
*** philiKON has quit IRC | 07:58 | |
*** stub has quit IRC | 07:59 | |
*** stub1 has joined #zope3-dev | 07:59 | |
*** stub1 is now known as stub | 07:59 | |
*** Theun1 has left #zope3-dev | 08:09 | |
*** ktwilight has quit IRC | 08:28 | |
*** ktwilight has joined #zope3-dev | 08:30 | |
*** zagy has quit IRC | 08:51 | |
*** alecm has quit IRC | 09:02 | |
*** __mac__ has joined #zope3-dev | 09:02 | |
*** jayaraj has joined #zope3-dev | 09:12 | |
*** afd__ has joined #zope3-dev | 09:17 | |
*** jukart has joined #zope3-dev | 09:17 | |
*** zagy has joined #zope3-dev | 09:19 | |
*** zagy has joined #zope3-dev | 09:20 | |
*** afd__ has quit IRC | 09:41 | |
*** afd__ has joined #zope3-dev | 09:41 | |
*** gstratton has quit IRC | 09:49 | |
*** quodt has joined #zope3-dev | 10:06 | |
*** stub has quit IRC | 10:20 | |
*** goschtl has joined #zope3-dev | 10:23 | |
*** flox has joined #zope3-dev | 10:34 | |
*** malthe|Zzz is now known as malthe|away | 10:40 | |
*** elro has joined #zope3-dev | 10:48 | |
*** ccomb_ has joined #zope3-dev | 10:50 | |
*** elro has quit IRC | 10:59 | |
*** alga has joined #zope3-dev | 11:07 | |
*** philiKON_ has quit IRC | 11:07 | |
*** philiKON has joined #zope3-dev | 11:07 | |
*** maurits has joined #zope3-dev | 11:18 | |
*** fcorrea has quit IRC | 11:19 | |
*** seletz has joined #zope3-dev | 11:31 | |
*** MJ has joined #zope3-dev | 11:33 | |
*** fcorrea has joined #zope3-dev | 11:35 | |
*** b52laptop has joined #zope3-dev | 11:45 | |
*** junkafarian_ has joined #zope3-dev | 11:46 | |
*** benji has joined #zope3-dev | 12:02 | |
*** benji is now known as Guest73687 | 12:02 | |
*** Guest73687 is now known as benji | 12:03 | |
ktwilight | not so interesting to know that z3+python2.5 doesn't work in 64bit systems | 12:04 |
---|---|---|
philiKON | it now does | 12:10 |
philiKON | shane fixed the bugs | 12:10 |
ktwilight | oh really... | 12:10 |
ktwilight | do you know the bug report #? so i can start digging | 12:10 |
philiKON | just make sure you use the latest bugfix releases of zope.proxy, zope.security and zope.app.container | 12:10 |
philiKON | unfortunately i don't | 12:10 |
ktwilight | google came up with https://bugs.launchpad.net/zopeproject/+bug/181529 so... | 12:11 |
ktwilight | hm, k, thanks for the tip | 12:11 |
philiKON | https://bugs.launchpad.net/zope3/+bug/248380 | 12:12 |
philiKON | these are the bugs that shane fixed, i think | 12:13 |
ktwilight | yup digging :) | 12:13 |
*** junkafarian_ has quit IRC | 12:14 | |
*** afd___ has joined #zope3-dev | 12:18 | |
philiKON | ktwilight: i just followed up on that bug report | 12:19 |
ktwilight | ah cool, thanks! | 12:20 |
*** stub has joined #zope3-dev | 12:27 | |
*** afd__ has quit IRC | 12:34 | |
*** mkerrin has joined #zope3-dev | 12:42 | |
*** ChrisW has joined #zope3-dev | 12:55 | |
ChrisW | morning all | 12:56 |
ChrisW | how do you provide global utilities where the utility requires configuration? | 12:56 |
ChrisW | the utility directive only seems to allow construction of utilities that take no parameters... | 12:57 |
bigkevmcd | ChrisW: I asked a similar question sometime ago | 12:59 |
ChrisW | did you get an answer? ;-) | 13:00 |
bigkevmcd | yip...lemme pastebin an edited version | 13:00 |
bigkevmcd | http://zope.pastey.net/93126 | 13:01 |
*** mintsauce has joined #zope3-dev | 13:04 | |
ChrisW | ewww :-( | 13:06 |
ChrisW | I don't want the config to be in python... | 13:07 |
ChrisW | how is this done for things like rdb adapters and the like? | 13:07 |
mintsauce | getting this error on buildout: File "/private/var/folders/zx/zxf3SpOSG78CaO7SVKSTeU+++TI/-Tmp-/tmpy5kUBg/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py", line 866, in develop | 13:07 |
mintsauce | AssertionError | 13:07 |
mintsauce | haven't touched easy_install recently ... | 13:08 |
mintsauce | :( | 13:08 |
ChrisW | pastebin the whole lot | 13:08 |
bigkevmcd | ChrisW: Aye...my next question was "Why isn't that use case simpler?" | 13:10 |
ChrisW | indeed, what was the response? | 13:10 |
bigkevmcd | ":-)" | 13:11 |
bigkevmcd | in fairness to Phillip, there's not really an obvious way | 13:11 |
ChrisW | riiight... very fucking helpful ;-) | 13:11 |
*** benji has left #zope3-dev | 13:11 | |
ChrisW | well, the utility directive should allow some way of passing arguments to the constructor of the utility | 13:12 |
bigkevmcd | I'd argue for that too | 13:12 |
ChrisW | sadly, I guess the "answer" would be to have a custome zcml directive for each utility | 13:12 |
mintsauce | ahhh -- further up the traceback - OSError: [Errno 2] No such file or directory: 'src' - makes more sense, but still no idea why not ... hmmm | 13:12 |
bigkevmcd | ChrisW: exactly | 13:13 |
ChrisW | mintsauce: pastebin the whole traceback if you want help please... | 13:13 |
lisppaste6 | mintsauce pasted "Buildout error" at http://paste.lisp.org/display/64720 | 13:13 |
ChrisW | bigkevmcd: there be pain and suffering ;-) | 13:13 |
ChrisW | mintsauce: right, so at a guess, you#re flatscone package has no src directory in it | 13:13 |
*** markusleist has joined #zope3-dev | 13:13 | |
ChrisW | ug, you#re -> your | 13:14 |
mintsauce | ChrisW: yup, thats the guess i just made ;) | 13:14 |
ChrisW | moral of the story: read the whole traceback before complaining ;-) | 13:14 |
*** philiKON has quit IRC | 13:15 | |
ChrisW | bigkevmcd: that said, even if we were using Zconfig instead of zcml (which is what I'd prefer) you'd still need different configuration sections | 13:15 |
mintsauce | ChrisW: Yaarr - couldn't see it for looking ;) | 13:15 |
ChrisW | tard ;-) | 13:16 |
lisppaste6 | mintsauce annotated #64720 with "more buildout errors" at http://paste.lisp.org/display/64720#1 | 13:18 |
mintsauce | Looks like svn interfering? I've just upgraded locally to Subversion 1.5 - i know that changed the .svn format - but seems strange that it would cause this error. | 13:20 |
ChrisW | yeah, now check the distutils list | 13:20 |
ChrisW | svn 1.5 does cause problems if you dont specify a version in your setup.py | 13:20 |
ChrisW | the nameerror on lof is just a stupid bug in setuptools | 13:20 |
ChrisW | anyone know how to unit test a meta directive? | 13:20 |
mintsauce | How do i specify the svn version in setup.py? | 13:22 |
ChrisW | er? | 13:22 |
ChrisW | no, the version of your egg | 13:22 |
ChrisW | setup(..., version='0.0.1',...) | 13:23 |
mintsauce | i have that declared already | 13:24 |
ChrisW | oh well, over to the disutils mailing list for some pain and suffering for you then ;-) | 13:26 |
mintsauce | lol - why thanks ;) | 13:27 |
*** aaronv has joined #zope3-dev | 13:34 | |
mintsauce | Got the sausage: http://bit.ly/svnbreakseasy | 13:34 |
ChrisW | are you using buildout in non-newest mode or some such? | 13:43 |
mintsauce | probably should | 13:46 |
*** thruflo has joined #zope3-dev | 13:55 | |
*** philiKON has joined #zope3-dev | 14:25 | |
philiKON | ChrisW: the answer isn't a custom zcml directive for each utilit y | 14:28 |
philiKON | ChrisW: it's quite easy to create a zcml directive that takes arbitrary parameters. you could then decide what to do with those parameters in the handler | 14:28 |
*** aaronv has quit IRC | 14:30 | |
*** fairwinds has joined #zope3-dev | 14:35 | |
*** stub has quit IRC | 14:50 | |
*** jhauser has joined #zope3-dev | 14:51 | |
*** andres_f has quit IRC | 14:52 | |
*** andres_f has joined #zope3-dev | 14:53 | |
*** ignas has joined #zope3-dev | 14:59 | |
*** goschtl has quit IRC | 15:12 | |
ChrisW | philiKON: where do you think the config for say, a database adapter, should live then? | 15:12 |
philiKON | did you read my replies on the list? | 15:12 |
ChrisW | mintsauce: nope, if you aren't using non-newest mode then I don't understand why buildout didn't upgrade setuptools for you | 15:13 |
ChrisW | philiKON: yep, but I don't agree ;-) | 15:13 |
ChrisW | for that matter, how is a utility supposed to pull a config from zope.conf or paste.ini? | 15:13 |
philiKON | i told you | 15:14 |
philiKON | zope.app.appsetup.product.getConfiguration() | 15:14 |
philiKON | it's in one of my replies | 15:14 |
philiKON | this reads stuff from zope.conf | 15:15 |
ChrisW | what egg is zope.app.appsetup in? does it work in both zope 2 and zope 3? | 15:19 |
philiKON | the zope.app.appsetup egg | 15:20 |
philiKON | no it's zope 3 only | 15:20 |
ChrisW | :-( | 15:20 |
*** benji has joined #zope3-dev | 15:20 | |
ChrisW | so I want the package I'm writing to work in both Zope 2 and Zope 3 | 15:20 |
philiKON | zope 2 must have other ways for getting at the ZConfig result | 15:20 |
philiKON | hmm | 15:20 |
ChrisW | meh, zcml directive works fine in both... | 15:21 |
*** benji is now known as Guest45653 | 15:21 | |
ChrisW | benji: auth FAIL ;-) | 15:21 |
philiKON | Guest45653: ? | 15:21 |
ChrisW | fwiw, I like all config in one file | 15:21 |
Guest45653 | ChrisW: indeed | 15:21 |
ChrisW | I don't like xml ;-) | 15:21 |
philiKON | to me zcml isn't config | 15:21 |
philiKON | it's code | 15:21 |
*** Guest45653 is now known as benji | 15:22 | |
philiKON | so i wouldn't want it to mix with admin-related config | 15:22 |
philiKON | at least not in the same file | 15:22 |
ChrisW | for mortar I intend to use a ZConfig-based config to allow registration of views and utilities ;-) | 15:22 |
* benji grovels in irssi configs. | 15:22 | |
ChrisW | that just runs top to bottom, none of this whining about conflicts stuff... | 15:22 |
ChrisW | irssi? | 15:22 |
benji | IRC client | 15:22 |
ChrisW | heh | 15:23 |
ChrisW | just use pidgin :-P | 15:23 |
ChrisW | even idiots like me can use it :-) | 15:23 |
* benji averts his eyes. | 15:23 | |
*** jodok has joined #zope3-dev | 15:23 | |
ChrisW | ? | 15:23 |
benji | I tried pigin for IRC; it didn't sit well with me | 15:23 |
ChrisW | really? how come? | 15:24 |
benji | it's been a couple years so I don't remember the details; some tools don't fit certain hands as well as they do others | 15:25 |
ChrisW | yes, take anything starting with "z" and the rest of the python community ;-) | 15:25 |
afd___ | benji: konversation is pretty good, especially after you configure properly the notification settings | 15:26 |
benji | that's more akin to not wanting to hold a hand of a different color; to strech the metaphor to the breaking point | 15:26 |
benji | afd___: thanks, I'll keep that in mind | 15:27 |
*** whit has joined #zope3-dev | 15:28 | |
*** elro has joined #zope3-dev | 15:38 | |
*** andres_f is now known as andres | 15:45 | |
*** whit has quit IRC | 15:52 | |
*** jamur2 has joined #zope3-dev | 15:59 | |
*** jamur2 has quit IRC | 16:01 | |
*** jamur2 has joined #zope3-dev | 16:01 | |
*** lurkymclurkleton has joined #zope3-dev | 16:01 | |
*** projekt01 has joined #zope3-dev | 16:04 | |
*** aaronv has joined #zope3-dev | 16:08 | |
*** yvl has joined #zope3-dev | 16:13 | |
*** alga has quit IRC | 16:15 | |
*** lucielejard has joined #zope3-dev | 16:17 | |
*** charith_para has joined #zope3-dev | 16:22 | |
*** charith_para has quit IRC | 16:34 | |
*** kidsoul has joined #zope3-dev | 16:37 | |
*** bigkevmcd_ has joined #zope3-dev | 16:52 | |
*** bigkevmcd has quit IRC | 16:52 | |
*** bigkevmcd_ is now known as bigkevmcd | 16:52 | |
*** srichter has quit IRC | 16:57 | |
*** jsadjohnson has joined #zope3-dev | 16:59 | |
*** deo has quit IRC | 17:09 | |
*** __mac__ has quit IRC | 17:12 | |
*** __mac__ has joined #zope3-dev | 17:14 | |
mintsauce | *sigh* - Get the following when trying to view APIDoc book - TraversalError: (<zope.app.apidoc.bookmodule.book.BookModule object at 0x2578bd0>, 'cookie_tree') | 17:14 |
*** danielblackburn_ has quit IRC | 17:15 | |
*** mgedmin has joined #zope3-dev | 17:15 | |
philiKON | mintsauce: <include package="zope.app.tree" /> | 17:19 |
mintsauce | philiKON: cheers :) | 17:20 |
*** MJ has quit IRC | 17:25 | |
mintsauce | hmmm .. apidoc need zope.app.onlinehelp too? | 17:26 |
philiKON | probably | 17:26 |
*** ChrisW has left #zope3-dev | 17:26 | |
*** srichter has joined #zope3-dev | 17:26 | |
*** rmarianski has joined #zope3-dev | 17:27 | |
*** jayaraj has quit IRC | 17:32 | |
*** jayaraj has joined #zope3-dev | 17:32 | |
mintsauce | ForbiddenAttribute: ('__len__', <zope.app.onlinehelp.onlinehelptopic.RESTOnlineHelpTopic object at 0x282d7b0>) | 17:34 |
mintsauce | included zope.app.onlinehelp in zcml ... | 17:34 |
*** projekt01 has quit IRC | 17:41 | |
mintsauce | line 86, in hasChildren lenght = bool(len(self.context)) | 17:43 |
philiKON | you're missing security declarations | 17:43 |
mintsauce | hope that length typo isn't it .... | 17:43 |
philiKON | are you sure you included zope.app.onlinehelp ? | 17:43 |
philiKON | in zcml | 17:43 |
philiKON | did you restart? | 17:43 |
mintsauce | yup - it wouldn't start at all before i added it - lemme do it again for good measure | 17:44 |
*** CSWookie has quit IRC | 17:44 | |
philiKON | mintsauce: z.a.onlinehelp certainly has the right directives | 17:45 |
mintsauce | <include package="zope.app.onlinehelp" file="meta.zcml" /> | 17:46 |
mintsauce | correct include? | 17:46 |
philiKON | uh | 17:47 |
philiKON | and | 17:47 |
philiKON | <include package="zope.app.onlinehelp" /> | 17:47 |
philiKON | otherwise configure.zcml won't be loaded | 17:48 |
mintsauce | nnng - pesky includes - frameworks are all very well, until you forget one of them ;) | 17:49 |
philiKON | i wish it was easier too | 17:49 |
philiKON | fwiw, zopeproject has an example apidoc.zcml file | 17:49 |
philiKON | that has all the necessary includes | 17:49 |
ignas | hmm, shouldn't apidoc configure.zcml just include all the neccessary stuff, so it would at least render? | 17:50 |
philiKON | you'd think | 17:50 |
philiKON | at least it should include all the meta | 17:50 |
ignas | which is what i'd expect | 17:50 |
ignas | i mean - zcml has all this mechanism for handling duplicate includes properly | 17:50 |
ignas | there is no reason not to use it | 17:51 |
philiKON | right | 17:51 |
philiKON | there's one caveat | 17:51 |
philiKON | five re-implements a couple of directive handlers | 17:51 |
ignas | i'd consider that a special use case, not a normal one | 17:51 |
ignas | but i guess my point of view is different... | 17:51 |
philiKON | to many people that's an every day usecase :) | 17:51 |
ignas | i mean - five developers can just split apidoc configure.zcml into 2 parts and use the second one only | 17:52 |
ignas | while others should be using the "convenient" api | 17:52 |
ignas | or are you overriding meta declarations for other packages all the time? | 17:52 |
mintsauce | philiKON: thats got it - thanks for help | 17:52 |
philiKON | ignas: no, just for browser:* directives | 17:53 |
philiKON | (which are many, though) | 17:53 |
mintsauce | philiKON: you thinking of doing a 4th edition of your book? I was installing APIDoc on the advice of chapter 23, which still assumes it comes with Zope3 ;) | 17:53 |
philiKON | yes, 4th ed. is palnned | 17:53 |
ignas | by the way - can you use overrides to override default browser meta.zcml ? | 17:54 |
philiKON | i was wondering that | 17:54 |
philiKON | but meta configuration doesn't happen thru actions | 17:54 |
philiKON | it happens right away | 17:54 |
philiKON | it'd be intersting to try out | 17:54 |
mintsauce | philiKON: great - including stuff on buildout? I've had to adapt as i go. | 17:54 |
philiKON | if it can be done with overrides, then it won't a be problem for five | 17:54 |
philiKON | mintsauce: sure | 17:54 |
*** binseer has quit IRC | 17:55 | |
philiKON | mintsauce: grok, buildout, eggs, etc. | 17:55 |
mintsauce | philiKON: good news :) Any eta? | 17:55 |
philiKON | nope :) | 17:55 |
mintsauce | philiKON: whats your view on Grok? I'm learning Zope 3 from scratch and looked into it before settling on Zope 3 'proper'. | 17:56 |
philiKON | given that i'm one of its authors, i like it :) | 17:56 |
philiKON | that said, i've done trainings with pure zope 3 | 17:56 |
*** dunny has quit IRC | 17:56 | |
philiKON | and i've done trainings with grok | 17:56 |
philiKON | and you just wouldn't believe the difference | 17:57 |
*** nathany has joined #zope3-dev | 17:59 | |
mintsauce | philiKON: | 18:02 |
mintsauce | in what way? | 18:02 |
philiKON | well, you could teach somebody to be a car mechanic by giving him all the parts necessary to build a car | 18:05 |
philiKON | so you start teaching him how to build the car | 18:05 |
*** srichter has quit IRC | 18:05 | |
philiKON | and at the end of it all, the car is drivable | 18:05 |
*** srichter has joined #zope3-dev | 18:05 | |
philiKON | and then you can finally teach him how to drive | 18:06 |
philiKON | or you could just get a functional car, teach him how to drive first | 18:06 |
philiKON | and then show him how to modify it | 18:06 |
philiKON | both get the job done | 18:06 |
philiKON | but what do you think is easier on the apprentice? | 18:06 |
* mgedmin is trying to imagine a purely functional car | 18:08 | |
*** fcorrea has quit IRC | 18:08 | |
philiKON | s/functional/functioning/ | 18:08 |
philiKON | purely functional car: ariel atom | 18:09 |
mgedmin | hey, is it true that nobody in the zope world uses subscription adapters? | 18:09 |
mgedmin | only handlers? | 18:09 |
philiKON | no true | 18:09 |
philiKON | not true even | 18:09 |
*** fcorrea has joined #zope3-dev | 18:09 | |
*** jayaraj has quit IRC | 18:09 | |
mgedmin | I was looking for usage examples and did a grep in the zope 3 trunk tree | 18:09 |
philiKON | z3c.traverser uses subscription adapters for traversal | 18:09 |
mgedmin | ah | 18:09 |
philiKON | well, zope 3 trunk | 18:09 |
philiKON | that's just a minor fraction of zope code out ther e :_ | 18:09 |
philiKON | :) | 18:09 |
mgedmin | yes, but it can be conveniently checked out ;) | 18:10 |
philiKON | google? | 18:10 |
mgedmin | I always thought using subscription adapters for traversal was a bloody bad idea | 18:10 |
mgedmin | you can't override them, you can't control the ordering | 18:10 |
mgedmin | named adapters are better | 18:10 |
philiKON | yes | 18:10 |
mgedmin | okay, re: ordering, I suppose you could add an attribute and sort() the list returned by zope.component.subscribers | 18:11 |
* ignas has actually reimplemented z3c.traverser using named adapters | 18:11 | |
philiKON | ah | 18:11 |
philiKON | i take that back then | 18:11 |
*** whit has joined #zope3-dev | 18:12 | |
ignas | that makes it a lot more controlable when extending an application | 18:12 |
philiKON | yes, b/c you can override | 18:12 |
ignas | or use layers | 18:12 |
ignas | and overlay | 18:13 |
ignas | which is even better | 18:13 |
ignas | but i had the control of the whole application | 18:13 |
philiKON | indeed | 18:13 |
ignas | so i could replace most of the subscriber definitions with custom zcml directives | 18:13 |
mintsauce | philiKON: nice summary :) | 18:14 |
ignas | before switching the backend code | 18:15 |
ignas | <zope:singleAttributeTraverserPlugin | 18:15 |
ignas | for="schooltool.demographics.interfaces.IDemographicsPerson" | 18:15 |
ignas | name="emergency1" | 18:15 |
ignas | permission="zope.Public" /> | 18:15 |
ignas | is a lot nicer than writing python bit and then registering the subscriber in zcml | 18:16 |
mgedmin | hm, could you do that without extra directives? | 18:16 |
mgedmin | <zope:adapter factory="...SingleAttributeTraverser" for="...IDemoPerson" name="emergency1" /> ? | 18:16 |
ignas | mgedmin: there are 2 more custom directives | 18:17 |
*** romanofski has quit IRC | 18:17 | |
ignas | the adapterTraverser being the more important one | 18:17 |
ignas | <adapterTraverserPlugin | 18:17 |
ignas | for="schooltool.course.interfaces.ISection" | 18:17 |
ignas | layer="zope.publisher.interfaces.http.IHTTPRequest" | 18:17 |
ignas | name="activities" | 18:17 |
ignas | adapter="schooltool.gradebook.interfaces.IActivities" | 18:17 |
ignas | /> | 18:17 |
mintsauce | How do I 'reconfigure our session / cookie credentials plug-in, or any other IBrowserFormChallenger Plug-in to redirect to wclogin.html, instead of | 18:24 |
mintsauce | zope's standard form'? | 18:24 |
mintsauce | philiKON: from your book, pg 421 - not that you have to answer ;) | 18:25 |
philiKON | there's some attribute that you can set on the session or cookie plugin | 18:25 |
mintsauce | I'm using your CookieCredentials code | 18:26 |
mintsauce | from the book - rather than the version in pypi (is there any difference?) | 18:26 |
*** ChrisW has joined #zope3-dev | 18:29 | |
ChrisW | hey all again :-) | 18:29 |
*** srichter has quit IRC | 18:29 | |
ChrisW | so, if I've got a piece of code that gets called from somewhere, and somewhere has nothing to do with the zodb, for do I get hold of the zodb inside my code? | 18:30 |
philiKON | getUtility(ISomeObjectThatWasREgisteredAsALocalUtility) | 18:31 |
*** zagy has quit IRC | 18:31 | |
philiKON | or: | 18:31 |
philiKON | db = getUtility(ZODB.interfaces.IDatabase) | 18:31 |
philiKON | conn = db.connect() | 18:31 |
philiKON | root = conn.root() | 18:31 |
philiKON | ... | 18:31 |
*** srichter has joined #zope3-dev | 18:32 | |
*** ChanServ sets mode: +o srichter | 18:33 | |
ChrisW | the latter looks about right | 18:36 |
ChrisW | although I guess it might be easier to just register an adapter against a context and then the context will have a zodb referecne, right? | 18:37 |
ChrisW | that said, how does a local utility get access to its "place" in the zodb? | 18:37 |
philiKON | localutility.__parent__ | 18:38 |
ChrisW | aha | 18:38 |
ChrisW | interesting... now, how would I get an absolutely minimal setup of zope 3 such that I can publish some views? | 18:38 |
philiKON | include zope.comonent's meta, zope.app.publisher's meta and include zope.app.publication's configure | 18:40 |
philiKON | might be more | 18:40 |
ChrisW | *nods* | 18:40 |
ChrisW | what's the correct way to get "a zope 3 setup" nowadays? | 18:41 |
* ChrisW guesses something buildout based? | 18:41 | |
philiKON | zopeproject seems to be a popular one | 18:41 |
philiKON | zopeproject essnetially creates a buildout and runs it | 18:41 |
fcorrea | srichter, hi. Is there a special reason on why everything in z3c.form is registered for IFormLayer and not for , say, IDefautBrowserLayer? | 18:41 |
srichter | fcorrea: yeah | 18:42 |
srichter | fcorrea: default browser layer is full of stuff that I have no or little control over | 18:42 |
srichter | in my apps, I never ever base a skin on default browser layer | 18:42 |
fcorrea | srichter, same here. But we are trying to create an extension to grok in the form on megrok.z3cform and the question was raised in ml | 18:43 |
srichter | that said, I am okay, if someone adds a parallel configuration tree for default browser layer | 18:43 |
srichter | I even add it to the package | 18:44 |
srichter | but it should be optional to load | 18:44 |
philiKON | i don't think that's necessary. i think it's reasonable telling people to include that layer in their skin | 18:44 |
fcorrea | and in grok, things are supposed to be simple and registered for default browser layer so having this extra step make people ask why. But I get it | 18:45 |
fcorrea | phliKON, I agree with that. Just trying to get the answer for faassen | 18:45 |
ChrisW | philiKON: interesting, do is that the "offical zope 3" release now or is there something else? | 18:45 |
*** quodt has quit IRC | 18:45 | |
philiKON | fcorrea: i agree with srichter in that not registering things with IDefaultBrowserLayer gives you *a lot* of flexibility | 18:46 |
philiKON | fcorrea: i also agree that in grok we might want to make things easier | 18:46 |
philiKON | fcorrea: but there are ways. for instance to include this layer in a default skin registered by grok | 18:46 |
mgedmin | zope.app.authentication and zope.app.container eggs contain broken doctests | 18:48 |
mgedmin | windows-style CRLF line endings enter into the picture somehow | 18:48 |
* mgedmin sends email to list | 18:48 | |
fcorrea | philiKON, well, I got z3c.form going with grok very easily. But some people seems not to like the layer registration process to get the form going | 18:48 |
ChrisW | mgedmin: yeah, I wish doctest wasn't so fragile like that :-( | 18:48 |
philiKON | ChrisW: no. it's nothing official | 18:48 |
philiKON | ChrisW: it's just something i hacked together so that people could easily get started wiht a z3 buidout | 18:49 |
ChrisW | *nods* | 18:49 |
philiKON | mgedmin: we need svn:eol-style=native for all files | 18:49 |
philiKON | mgedmin: everybody should have that as their svn clien tsetting | 18:49 |
ChrisW | okay, so what's the "official" installation process? | 18:49 |
mgedmin | svn badly needs repository-wide configuration | 18:49 |
philiKON | yes | 18:50 |
mgedmin | ChrisW: there isn't one, afaik | 18:50 |
philiKON | mgedmin: the reason that these contain windows CRLFs is that the releases were made from windows by jim | 18:50 |
ChrisW | mgedmin: yep, does bzr have that? | 18:50 |
philiKON | ChrisW: there isn't ne | 18:50 |
philiKON | one | 18:50 |
mgedmin | ChrisW: bzr doesn't have eol conversions at all :-) | 18:50 |
philiKON | ChrisW: it's just a bunch of eggs | 18:50 |
srichter | mgedmin: I saw that too, but my checkout has native lines; maybe another problem with Windows releasing | 18:50 |
mgedmin | well, maybe the latest unreleased version almost has something like it | 18:50 |
ChrisW | weird, so what constitutes "zope 3" as a release now? | 18:50 |
philiKON | there isn't a zope 3 release | 18:50 |
mgedmin | a file named versions.cfg | 18:50 |
philiKON | zope 3 isn't an application | 18:50 |
philiKON | it's a set of libraries | 18:50 |
philiKON | you write the app that uses the libraries | 18:51 |
mgedmin | http://download.zope.org/zope3.4/versions.cfg | 18:51 |
ChrisW | mgedmin: eesh, and I to think I was contemplating moving to bzr :-( | 18:51 |
mgedmin | ChrisW: try it out! you'll get burned a few times, and the wish will pass | 18:51 |
ignas | yeah, use hgit-ng ;) | 18:53 |
*** nathany has quit IRC | 18:54 | |
*** jhauser has quit IRC | 18:54 | |
*** SteveA has quit IRC | 18:54 | |
*** jpcw2002 has quit IRC | 18:54 | |
*** lucielejard has quit IRC | 18:54 | |
*** maurits has quit IRC | 18:54 | |
*** natea_ has quit IRC | 18:54 | |
*** Pan_ has quit IRC | 18:54 | |
*** VladDrac has quit IRC | 18:54 | |
*** kiorky has quit IRC | 18:54 | |
*** benji has quit IRC | 18:54 | |
*** fairwinds has quit IRC | 18:54 | |
*** seletz has quit IRC | 18:54 | |
*** flox has quit IRC | 18:54 | |
*** __mac__ has quit IRC | 18:54 | |
*** b52laptop has quit IRC | 18:54 | |
*** ktwilight has quit IRC | 18:54 | |
*** malthe|away has quit IRC | 18:54 | |
*** jsadjohnson has quit IRC | 18:54 | |
*** yotaff has quit IRC | 18:54 | |
*** wolfe has quit IRC | 18:54 | |
*** ccomb has quit IRC | 18:54 | |
*** kidsoul has quit IRC | 18:54 | |
*** aaronv has quit IRC | 18:54 | |
*** mkerrin has quit IRC | 18:54 | |
*** alecghica has quit IRC | 18:54 | |
*** danfairs has quit IRC | 18:54 | |
*** lurkymclurkleton has quit IRC | 18:54 | |
*** thruflo has quit IRC | 18:54 | |
*** tlotze has quit IRC | 18:54 | |
*** lisppaste6 has quit IRC | 18:54 | |
*** jfroche has quit IRC | 18:54 | |
*** srichter has quit IRC | 18:54 | |
*** whit has quit IRC | 18:54 | |
*** rmarianski has quit IRC | 18:54 | |
*** bigkevmcd has quit IRC | 18:54 | |
*** yvl has quit IRC | 18:54 | |
*** mintsauce has quit IRC | 18:54 | |
*** afd___ has quit IRC | 18:54 | |
*** ARiKA has quit IRC | 18:54 | |
*** derek_richardson has quit IRC | 18:54 | |
*** fcorrea has quit IRC | 18:54 | |
*** jodok has quit IRC | 18:54 | |
*** jukart has quit IRC | 18:54 | |
*** ChrisW has quit IRC | 18:54 | |
*** jamur2 has quit IRC | 18:54 | |
*** elro has quit IRC | 18:54 | |
*** andres has quit IRC | 18:54 | |
*** philiKON has quit IRC | 18:54 | |
*** markusleist has quit IRC | 18:54 | |
*** mcdonc has quit IRC | 18:54 | |
*** kobold has quit IRC | 18:54 | |
*** philiKON has joined #zope3-dev | 19:01 | |
*** ccomb has joined #zope3-dev | 19:02 | |
*** wolfe has joined #zope3-dev | 19:02 | |
*** yotaff has joined #zope3-dev | 19:02 | |
*** jsadjohnson has joined #zope3-dev | 19:02 | |
*** markusleist has joined #zope3-dev | 19:02 | |
*** mcdonc has joined #zope3-dev | 19:02 | |
*** kobold has joined #zope3-dev | 19:02 | |
*** kobold has quit IRC | 19:02 | |
*** srichter has joined #zope3-dev | 19:02 | |
*** ChrisW has joined #zope3-dev | 19:02 | |
*** kobold has joined #zope3-dev | 19:02 | |
*** whit has joined #zope3-dev | 19:02 | |
*** rmarianski has joined #zope3-dev | 19:02 | |
*** bigkevmcd has joined #zope3-dev | 19:02 | |
*** yvl has joined #zope3-dev | 19:02 | |
*** mintsauce has joined #zope3-dev | 19:02 | |
*** afd___ has joined #zope3-dev | 19:02 | |
*** ARiKA has joined #zope3-dev | 19:02 | |
*** derek_richardson has joined #zope3-dev | 19:02 | |
*** irc.freenode.net sets mode: +o srichter | 19:02 | |
*** mcdonc has quit IRC | 19:02 | |
*** lurkymclurkleton has joined #zope3-dev | 19:02 | |
*** thruflo has joined #zope3-dev | 19:02 | |
*** tlotze has joined #zope3-dev | 19:02 | |
*** lisppaste6 has joined #zope3-dev | 19:02 | |
*** jfroche has joined #zope3-dev | 19:02 | |
*** jsadjohnson has quit IRC | 19:02 | |
*** jsadjohnson has joined #zope3-dev | 19:02 | |
*** mcdonc has joined #zope3-dev | 19:02 | |
*** fcorrea has joined #zope3-dev | 19:02 | |
*** b52laptop has joined #zope3-dev | 19:02 | |
*** elro has joined #zope3-dev | 19:02 | |
*** jamur2 has joined #zope3-dev | 19:02 | |
*** sm has joined #zope3-dev | 19:02 | |
*** andres_f has joined #zope3-dev | 19:02 | |
*** __mac__ has joined #zope3-dev | 19:02 | |
*** kidsoul has joined #zope3-dev | 19:02 | |
*** aaronv has joined #zope3-dev | 19:02 | |
*** mkerrin has joined #zope3-dev | 19:02 | |
*** ktwilight has joined #zope3-dev | 19:02 | |
*** malthe has joined #zope3-dev | 19:02 | |
*** alecghica has joined #zope3-dev | 19:02 | |
*** danfairs has joined #zope3-dev | 19:02 | |
*** jodok has joined #zope3-dev | 19:02 | |
*** jukart has joined #zope3-dev | 19:02 | |
*** wolfe_ has joined #zope3-dev | 19:02 | |
*** kiorky has joined #zope3-dev | 19:02 | |
*** flox has joined #zope3-dev | 19:02 | |
*** seletz has joined #zope3-dev | 19:02 | |
*** fairwinds has joined #zope3-dev | 19:02 | |
*** benji has joined #zope3-dev | 19:02 | |
*** SteveA has joined #zope3-dev | 19:02 | |
*** jpcw2002 has joined #zope3-dev | 19:02 | |
*** jhauser has joined #zope3-dev | 19:02 | |
*** nathany has joined #zope3-dev | 19:02 | |
*** lucielejard has joined #zope3-dev | 19:02 | |
*** maurits has joined #zope3-dev | 19:02 | |
*** natea_ has joined #zope3-dev | 19:02 | |
*** VladDrac has joined #zope3-dev | 19:02 | |
*** Pan_ has joined #zope3-dev | 19:02 | |
fcorrea | oh...everyone is back | 19:03 |
*** aaronv is now known as aaronLunch | 19:03 | |
ChrisW | http://en.wikipedia.org/wiki/Netsplit | 19:03 |
ChrisW | :-) | 19:03 |
*** mcdonc has quit IRC | 19:04 | |
fcorrea | I've seem this before but not this big | 19:04 |
*** mcdonc has joined #zope3-dev | 19:05 | |
*** dbfrombrc has joined #zope3-dev | 19:06 | |
*** wolfe has quit IRC | 19:09 | |
*** aclark|away is now known as aclark | 19:10 | |
*** __mac__ has quit IRC | 19:11 | |
*** mintsauce has quit IRC | 19:13 | |
*** zagy has joined #zope3-dev | 19:17 | |
*** ignas has quit IRC | 19:20 | |
*** nathany has quit IRC | 19:20 | |
*** zagy has quit IRC | 19:32 | |
*** mkerrin has quit IRC | 19:34 | |
*** tdoggette has joined #zope3-dev | 19:38 | |
*** jukart has quit IRC | 19:39 | |
*** whit has quit IRC | 19:41 | |
*** philiKON has quit IRC | 19:42 | |
*** philiKON has joined #zope3-dev | 19:48 | |
*** philiKON has quit IRC | 19:51 | |
*** aaronLunch is now known as aaronv | 19:53 | |
*** alecm has joined #zope3-dev | 19:55 | |
*** whit has joined #zope3-dev | 19:55 | |
*** quodt has joined #zope3-dev | 20:00 | |
*** ccomb_ has quit IRC | 20:04 | |
*** natea_ has quit IRC | 20:13 | |
*** philiKON has joined #zope3-dev | 20:13 | |
*** thruflo has quit IRC | 20:14 | |
*** mcdonc has quit IRC | 20:21 | |
*** Theuni has joined #zope3-dev | 20:24 | |
ChrisW | hey Christian, fixed that bug in zeoraid yet? ;-) | 20:24 |
* Theuni runs | 20:26 | |
Theuni | it's not a bug! it's a missing feature. ;) | 20:27 |
*** mcdonc has joined #zope3-dev | 20:27 | |
ChrisW | bah | 20:28 |
ChrisW | non-recovering raid is not a feature :-P | 20:28 |
ChrisW | did Jim reply at all about those branches? | 20:28 |
*** tdoggette has quit IRC | 20:33 | |
Theuni | not that i could see | 20:33 |
Theuni | i'll meet him at a sprint in august though | 20:33 |
Theuni | he'll be at the black forest sprint afaik | 20:33 |
*** tdoggette has joined #zope3-dev | 20:34 | |
*** maurits has quit IRC | 20:34 | |
*** romanofski has joined #zope3-dev | 20:35 | |
*** agroszer has joined #zope3-dev | 20:37 | |
ChrisW | heh, make sure you pin him down on your branches and shane's | 20:37 |
ChrisW | really need to get them all merged :-/ | 20:37 |
*** TheVision has joined #zope3-dev | 20:38 | |
benji | Jim's on vacation this week; I can't decide if that increases or decreases the likelyhood that he'll look at the patches ;) | 20:38 |
ChrisW | heh | 20:39 |
Theuni | hehe | 20:40 |
Theuni | Well. It might increase the chance that he's energetic for looking at them afterwards. :) | 20:40 |
*** elro has quit IRC | 20:48 | |
*** whit has quit IRC | 20:48 | |
*** Aiste has quit IRC | 20:51 | |
*** ktwilight has quit IRC | 20:57 | |
TheVision | Hello. I'm trying to find a way to provide a list of users and their assigned roles [whether global or locally shared within plone] and have not found a nice way to do this? I've tried this product: http://agendaless.com/Members/tseaver/software/zopesecurityaudit/ but it doesn't do what I'd need. Anybody have any solutions? | 21:01 |
*** ktwilight has joined #zope3-dev | 21:04 | |
afd___ | TheVision: you got the windows wrong, ask on #plone | 21:04 |
*** natea_ has joined #zope3-dev | 21:04 | |
*** yota has joined #zope3-dev | 21:05 | |
*** zagy has joined #zope3-dev | 21:05 | |
TheVision | afd___: well that particular product is a called Zope Security Audit but is somewhat dated so I wasn't sure if something newer is available | 21:06 |
afd___ | TheVision: as I said, ask on #plone | 21:06 |
TheVision | afd___: ok well thanks for taking a look.. | 21:07 |
afd___ | np | 21:07 |
*** J1m has joined #zope3-dev | 21:08 | |
*** whit has joined #zope3-dev | 21:13 | |
*** redir has joined #zope3-dev | 21:13 | |
*** whitmo has joined #zope3-dev | 21:14 | |
*** seletz has quit IRC | 21:15 | |
*** whit has quit IRC | 21:15 | |
*** agroszer_ has joined #zope3-dev | 21:17 | |
*** mgedmin_ has joined #zope3-dev | 21:23 | |
*** baijum has joined #zope3-dev | 21:25 | |
*** agroszer has quit IRC | 21:29 | |
*** Theuni has quit IRC | 21:30 | |
*** quodt has quit IRC | 21:32 | |
*** jodok has quit IRC | 21:38 | |
*** jhauser has quit IRC | 21:47 | |
*** junkafarian has joined #zope3-dev | 21:47 | |
*** dbfrombrc has quit IRC | 21:51 | |
*** jodok has joined #zope3-dev | 21:51 | |
*** aaronv has quit IRC | 21:57 | |
*** jhauser has joined #zope3-dev | 21:58 | |
*** timte has joined #zope3-dev | 22:01 | |
*** natea_ has quit IRC | 22:01 | |
*** natea_ has joined #zope3-dev | 22:03 | |
*** Theuni has joined #zope3-dev | 22:06 | |
*** vimes656 has joined #zope3-dev | 22:06 | |
*** malthe is now known as malthe|out | 22:12 | |
*** markusleist has quit IRC | 22:17 | |
*** TheVision has left #zope3-dev | 22:18 | |
*** natea_ has quit IRC | 22:25 | |
*** mgedmin_ has quit IRC | 22:27 | |
*** baijum has quit IRC | 22:29 | |
*** yvl_ has joined #zope3-dev | 22:36 | |
*** agroszer_ has quit IRC | 22:39 | |
*** aaronv has joined #zope3-dev | 22:43 | |
*** natea_ has joined #zope3-dev | 22:44 | |
*** yvl has quit IRC | 22:52 | |
*** yvl_ has quit IRC | 23:00 | |
*** yvl_ has joined #zope3-dev | 23:00 | |
*** quodt has joined #zope3-dev | 23:00 | |
*** vipod has joined #zope3-dev | 23:02 | |
*** aclark is now known as aclark|away | 23:04 | |
*** dunny has joined #zope3-dev | 23:20 | |
*** oggers has joined #zope3-dev | 23:36 | |
*** dbfrombrc has joined #zope3-dev | 23:45 | |
*** vimes656 has quit IRC | 23:52 | |
*** tdoggette has quit IRC | 23:54 | |
*** redir has quit IRC | 23:59 | |
*** romanofski has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!