*** mcdonc_ has joined #zope3-dev | 00:04 | |
*** mcdonc has quit IRC | 00:04 | |
*** sashav has quit IRC | 00:05 | |
*** benji has quit IRC | 00:11 | |
*** dobee has quit IRC | 00:15 | |
*** benji has joined #zope3-dev | 00:20 | |
*** mcdonc_ has quit IRC | 00:21 | |
*** mcdonc has joined #zope3-dev | 00:21 | |
*** timte has quit IRC | 00:27 | |
*** b52laptop has joined #zope3-dev | 00:32 | |
*** Theuni has quit IRC | 00:33 | |
*** _redir_ has joined #zope3-dev | 00:35 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:38 | |
*** reco_ has joined #zope3-dev | 00:40 | |
*** reco has quit IRC | 00:40 | |
*** tav has quit IRC | 00:40 | |
*** reco_ has quit IRC | 00:42 | |
*** reco has joined #zope3-dev | 00:43 | |
*** redir_ has quit IRC | 00:44 | |
*** pelle_ has quit IRC | 00:52 | |
*** mcdonc has quit IRC | 00:53 | |
*** johbo has quit IRC | 00:55 | |
*** _redir_ has quit IRC | 01:01 | |
*** nederhoed has joined #zope3-dev | 01:03 | |
*** alecm has quit IRC | 01:03 | |
nederhoed | Can someone help me out, I ran working-env.py from Ian, but can't seem to `deactivate`. Now my PYTHONPATH has been changed permanently :S | 01:04 |
---|---|---|
nederhoed | and consequently I can't get my instance running because of missing imports | 01:05 |
*** benji has quit IRC | 01:05 | |
*** lucielejard has quit IRC | 01:08 | |
*** tav has joined #zope3-dev | 01:10 | |
*** ChanServ sets mode: +o tav | 01:10 | |
instantfoo | when I use z.formlib.form.EditForm the action button's label is "Apply" | 01:11 |
instantfoo | I would like it to be "Edit" instead, any ideas? | 01:11 |
*** reco has quit IRC | 01:14 | |
*** pbugni has quit IRC | 01:15 | |
nederhoed | solved, for now... | 01:19 |
nederhoed | It should be possible to pass a label value, let me see | 01:19 |
*** Theuni has joined #zope3-dev | 01:23 | |
nederhoed | @instantfoo: can you pass a label argument to the constructor? | 01:24 |
nederhoed | label="Edit" | 01:24 |
instantfoo | the label deals with the uhm.. label of the form.. not the edit action button | 01:25 |
nederhoed | can't help you out... I guess | 01:26 |
nederhoed | and action="Edit"? | 01:26 |
instantfoo | thing is, the editform has an form.action function to handle the edit action.. I can see the string "Apply" there | 01:27 |
instantfoo | @action(_("Apply"), condition=haveInputWidgets) | 01:27 |
instantfoo | def handle_edit(..): | 01:28 |
instantfoo | i could copy/paste the entire editformbase and define my own version to use.. but it's a little ugly | 01:29 |
nederhoed | and in the form template? | 01:29 |
nederhoed | what variable is assigned to the button label? | 01:29 |
nederhoed | good luck, time for bed. Hope you'll succeed | 01:30 |
instantfoo | i use a generic formtemplate.. and get all buttons via tal:replace="structure action/render" | 01:30 |
instantfoo | goodnight :) | 01:30 |
*** norro_ has quit IRC | 01:31 | |
*** nederhoed has left #zope3-dev | 01:33 | |
*** Theuni has quit IRC | 01:33 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:39 | |
*** sp0cksbeard has quit IRC | 01:41 | |
*** redir has joined #zope3-dev | 01:54 | |
*** Theuni has joined #zope3-dev | 02:03 | |
*** norro has quit IRC | 02:11 | |
*** J1m has quit IRC | 02:16 | |
*** greenman has joined #zope3-dev | 02:16 | |
*** b52laptop has quit IRC | 02:20 | |
*** Theuni has quit IRC | 02:26 | |
*** nathany has quit IRC | 02:27 | |
*** rmarianski has quit IRC | 02:32 | |
*** dunny has quit IRC | 02:35 | |
*** redir has quit IRC | 02:50 | |
*** greenman has quit IRC | 02:51 | |
*** alecm has joined #zope3-dev | 02:55 | |
*** Theuni has joined #zope3-dev | 03:01 | |
*** alecm has quit IRC | 03:29 | |
*** alecm has joined #zope3-dev | 03:35 | |
*** lisppaste6 has quit IRC | 03:51 | |
*** _basti_ has quit IRC | 03:51 | |
*** lisppaste6 has joined #zope3-dev | 03:51 | |
*** _basti_ has joined #zope3-dev | 03:51 | |
*** goschtl_ has joined #zope3-dev | 04:07 | |
*** goschtl has quit IRC | 04:22 | |
*** Theuni has quit IRC | 04:25 | |
*** srichter has quit IRC | 04:45 | |
*** Theuni has joined #zope3-dev | 04:47 | |
*** povbot has joined #zope3-dev | 06:27 | |
*** kubrick.freenode.net sets mode: +ns | 06:27 | |
-kubrick.freenode.net- *** Notice -- TS for #zope3-dev changed from 1204259252 to 1164523363 | 06:27 | |
*** irc.freenode.net sets mode: -s | 06:27 | |
*** tav has joined #zope3-dev | 06:27 | |
*** niemeyer has joined #zope3-dev | 06:27 | |
*** Aiste has joined #zope3-dev | 06:27 | |
*** greenman has joined #zope3-dev | 06:27 | |
*** goschtl has joined #zope3-dev | 06:27 | |
*** rcrafton has joined #zope3-dev | 06:27 | |
*** mrevoir has joined #zope3-dev | 06:27 | |
*** dunny has joined #zope3-dev | 06:27 | |
*** stub has joined #zope3-dev | 06:27 | |
*** _basti_ has joined #zope3-dev | 06:27 | |
*** lisppaste6 has joined #zope3-dev | 06:27 | |
*** alecm has joined #zope3-dev | 06:27 | |
*** whit has joined #zope3-dev | 06:27 | |
*** tarek has joined #zope3-dev | 06:27 | |
*** RaFromBRC has joined #zope3-dev | 06:27 | |
*** bigkevmcd has joined #zope3-dev | 06:27 | |
*** zagy has joined #zope3-dev | 06:27 | |
*** aCiDBaSe has joined #zope3-dev | 06:27 | |
*** SteveA has joined #zope3-dev | 06:27 | |
*** derek|office has joined #zope3-dev | 06:27 | |
*** jfroche has joined #zope3-dev | 06:27 | |
*** hexsprite has joined #zope3-dev | 06:27 | |
*** ktwilight_ has joined #zope3-dev | 06:27 | |
*** ejucovy has joined #zope3-dev | 06:27 | |
*** kobold has joined #zope3-dev | 06:27 | |
*** ccomb has joined #zope3-dev | 06:27 | |
*** jml has joined #zope3-dev | 06:27 | |
*** BjornT has joined #zope3-dev | 06:27 | |
*** hazmat has joined #zope3-dev | 06:27 | |
*** vinsci has joined #zope3-dev | 06:27 | |
*** jsadjohnson has joined #zope3-dev | 06:27 | |
*** jeffk has joined #zope3-dev | 06:27 | |
*** ekimus has joined #zope3-dev | 06:27 | |
*** tlotze has joined #zope3-dev | 06:27 | |
*** instantfoo has joined #zope3-dev | 06:27 | |
*** dokai has joined #zope3-dev | 06:27 | |
*** irc.freenode.net sets mode: +oo tav hazmat | 06:27 | |
*** irc.freenode.net sets mode: +bb paule118!*@* natea!*@* | 06:27 | |
*** irc.freenode.net changes topic to "Zope 3.4.0b2 is out: http://www.zope.org/Products/Zope3/3.4.0b2 | Paste: http://paste.lisp.org/new/zope3-dev | Zope 3.4 bugs: http://tinyurl.com/yvyeo5 | bugs: https://bugs.launchpad.net/zope3/ | FAQ: http://wiki.zope.org/zope3/FAQ | wiki: http://wiki.zope.org/zope3 | irc logs: http://zope3.pov.lt/irclogs/ | Like gardening ? join us here: http://wiki.zope.org/zope3/WikiGarden" | 06:27 | |
*** greenman has quit IRC | 06:28 | |
*** Theuni has joined #zope3-dev | 06:28 | |
*** RaFromBRC has quit IRC | 06:33 | |
*** Theuni has quit IRC | 06:34 | |
*** Theuni has joined #zope3-dev | 06:34 | |
*** alecm has quit IRC | 06:36 | |
*** jayaraj has joined #zope3-dev | 06:50 | |
*** Theuni has quit IRC | 06:55 | |
*** niemeyer has quit IRC | 07:04 | |
*** run|home has joined #zope3-dev | 07:07 | |
*** yvl has joined #zope3-dev | 07:16 | |
*** redir has joined #zope3-dev | 07:21 | |
*** hazmat has quit IRC | 07:23 | |
*** redir has quit IRC | 07:28 | |
*** Theuni has joined #zope3-dev | 07:34 | |
*** sm has joined #zope3-dev | 08:10 | |
*** dobee has joined #zope3-dev | 08:20 | |
*** dobee has joined #zope3-dev | 08:21 | |
*** dobee has quit IRC | 08:35 | |
*** d2m has joined #zope3-dev | 08:37 | |
*** hdima has joined #zope3-dev | 08:40 | |
*** philiKON has joined #zope3-dev | 08:44 | |
*** Theuni has quit IRC | 08:45 | |
*** pyqwer has joined #zope3-dev | 08:45 | |
*** sashav has joined #zope3-dev | 08:46 | |
pyqwer | Hi, I'm looking for some Python/Zope library that creates these OCR-Proof letter/number pictures that people have to read/type to verify that the client is "human". | 08:47 |
*** Theuni has joined #zope3-dev | 08:47 | |
pyqwer | Is there something available or do I have to implement this myself? | 08:47 |
*** sorin has joined #zope3-dev | 08:49 | |
*** sorin is now known as sorindregan | 08:50 | |
*** Theuni has quit IRC | 08:50 | |
*** Theuni has joined #zope3-dev | 08:50 | |
*** jukart has joined #zope3-dev | 08:57 | |
*** run|home_ has joined #zope3-dev | 09:01 | |
*** timte has joined #zope3-dev | 09:05 | |
*** dobee has joined #zope3-dev | 09:08 | |
*** run|home has quit IRC | 09:17 | |
*** zagy has quit IRC | 09:20 | |
*** zagy has joined #zope3-dev | 09:21 | |
*** greenman has joined #zope3-dev | 09:26 | |
*** __shon has joined #zope3-dev | 09:39 | |
*** greenman has quit IRC | 09:47 | |
*** stu1 has joined #zope3-dev | 09:49 | |
*** stub has quit IRC | 09:49 | |
*** stu1 is now known as stub | 09:50 | |
*** greenman has joined #zope3-dev | 09:51 | |
*** philiKON has quit IRC | 10:03 | |
*** toutpt has joined #zope3-dev | 10:04 | |
*** tarek has quit IRC | 10:15 | |
*** pelle_ has joined #zope3-dev | 10:23 | |
*** harobed has joined #zope3-dev | 10:26 | |
*** ghendi has joined #zope3-dev | 10:28 | |
*** quodt has joined #zope3-dev | 10:32 | |
*** afd_ has joined #zope3-dev | 10:35 | |
*** jodok has joined #zope3-dev | 10:39 | |
*** malthe has joined #zope3-dev | 10:40 | |
*** MJ has joined #zope3-dev | 10:49 | |
*** tarek has joined #zope3-dev | 10:53 | |
*** toutpt has quit IRC | 10:56 | |
*** toutpt has joined #zope3-dev | 11:07 | |
*** __shon has quit IRC | 11:11 | |
jayaraj | can any one tell me wheather a 'principal folder' plugin in PAU can create new user? i mean is there any sign-up functionality provided? (i am newbie!) | 11:12 |
afd_ | jayaraj: you can manually add users there, but there's no signup functionality in default zope | 11:13 |
jayaraj | yea i know that... but how about doing it using python script.... | 11:14 |
jayaraj | ic no default | 11:14 |
*** maurits has joined #zope3-dev | 11:14 | |
jayaraj | then how can i create a user using python script | 11:14 |
afd_ | jayaraj: there's nothing fancy, read the APIs of the principalfolder | 11:15 |
afd_ | http://apidoc.zope.org/++apidoc++/ | 11:15 |
jayaraj | afd_: thanks a lot ... i was going to ask you for any url... :) and you are already with one .... | 11:16 |
jayaraj | afd_: ithink i have looked at this before... it feels a little messy so dint go forward.... any way i think it may be a good resource...let me see... | 11:18 |
afd_ | jayaraj: you need to: | 11:19 |
afd_ | get the principal folder from the pau | 11:19 |
afd_ | create a new user object | 11:19 |
afd_ | add it to the principal folder | 11:19 |
afd_ | jayaraj: one thing to take care: in zope a principal is created on every request based on the authentication; the principal folder contains internal principals (which are not the same as principals) | 11:21 |
jayaraj | ic | 11:21 |
afd_ | basically, a principal will be created when a matching internal principal is found | 11:21 |
jayaraj | so we should create an internal principal for a user account.... | 11:22 |
afd_ | yes | 11:22 |
jayaraj | ic then thats wot i want to do... | 11:23 |
*** tflorac has joined #zope3-dev | 11:24 | |
afd_ | jayaraj: if you don't already have philipp's book, you can get the code from the worldcookery.com website, I think it touches this subject and is a great learning resource | 11:24 |
jayaraj | yea i have philipp's book but 1st ed... and i shall look at examples too ... my 3rd edition will reach by monday! | 11:25 |
afd_ | I wasn't aware of a third edition | 11:26 |
jayaraj | it just released... available in amazone | 11:27 |
afd_ | ok | 11:27 |
jayaraj | let me learn how to do it ... thans alot ....ttyl | 11:28 |
afd_ | http://www.worldcookery.com/Downloads | 11:28 |
jayaraj | yea i have downloaded it | 11:28 |
jayaraj | good thanks! | 11:28 |
afd_ | np | 11:29 |
*** yvl has left #zope3-dev | 11:29 | |
*** b52laptop has joined #zope3-dev | 11:35 | |
*** norro has joined #zope3-dev | 11:35 | |
*** dunny has quit IRC | 11:36 | |
*** ktwilight_ has quit IRC | 11:47 | |
*** jpcw2002 has joined #zope3-dev | 11:47 | |
*** ktwilight_ has joined #zope3-dev | 11:47 | |
*** philiKON has joined #zope3-dev | 11:56 | |
*** ignas has joined #zope3-dev | 11:56 | |
*** dobee_ has joined #zope3-dev | 11:58 | |
*** thruflo has joined #zope3-dev | 11:58 | |
*** thruflo is now known as thru|over | 11:59 | |
*** ktwilight_ is now known as ktwilight___ | 12:00 | |
malthe | is it correct that formlib does not make use of the ``fromUnicode``-method of a field? | 12:08 |
*** toutpt has quit IRC | 12:12 | |
malthe | I see, it's the zope.app.form-widgets that do not use the IFromUnicode-interface to convert to the field value type. | 12:14 |
*** dobee has quit IRC | 12:16 | |
*** philiKON has quit IRC | 12:21 | |
*** mgedmin has joined #zope3-dev | 12:26 | |
*** toutpt has joined #zope3-dev | 12:34 | |
*** reco has joined #zope3-dev | 12:44 | |
*** mgedmin has quit IRC | 12:51 | |
*** mkerrin has joined #zope3-dev | 12:52 | |
*** mgedmin has joined #zope3-dev | 12:53 | |
*** hazmat has joined #zope3-dev | 12:54 | |
*** ChanServ sets mode: +o hazmat | 12:54 | |
*** dobee_ has quit IRC | 13:04 | |
*** greenman has quit IRC | 13:19 | |
*** projekt01 has joined #zope3-dev | 13:26 | |
*** romanofski has joined #zope3-dev | 13:39 | |
*** toutpt has quit IRC | 13:53 | |
*** kursor has joined #zope3-dev | 14:08 | |
*** tarek is now known as tarek-away | 14:12 | |
*** ghendi has quit IRC | 14:15 | |
*** salfield has joined #zope3-dev | 14:37 | |
*** jpcw2002 has quit IRC | 14:40 | |
*** b52laptop has quit IRC | 14:40 | |
*** b52laptop has joined #zope3-dev | 14:41 | |
*** stub has quit IRC | 14:45 | |
*** afd_ has quit IRC | 14:49 | |
*** jayaraj has quit IRC | 14:51 | |
*** toutpt has joined #zope3-dev | 14:54 | |
*** johbo has joined #zope3-dev | 15:01 | |
*** MJ is now known as MJ|out | 15:02 | |
*** dobee has joined #zope3-dev | 15:06 | |
*** jpcw2002 has joined #zope3-dev | 15:09 | |
*** benji has joined #zope3-dev | 15:13 | |
*** ghendi has joined #zope3-dev | 15:25 | |
*** philiKON has joined #zope3-dev | 15:25 | |
*** jodok_ has joined #zope3-dev | 15:34 | |
ghendi | Hi all. Could anyone tell me about debug mode/dev mode in Zope3 and templates - how do I make on an deployed project to load the templates at startup only once? | 15:36 |
ghendi | does it have anything to do with devmode? | 15:37 |
*** redir has joined #zope3-dev | 15:37 | |
*** redir has quit IRC | 15:37 | |
*** jodok_ has quit IRC | 15:39 | |
*** jodok_ has joined #zope3-dev | 15:40 | |
*** goschtl has quit IRC | 15:43 | |
mgedmin | ghendi: templates are loaded on demand | 15:44 |
mgedmin | and only reloaded if the file modification timestamp changes | 15:44 |
mgedmin | devmode has nothing to do with it | 15:44 |
*** redir has joined #zope3-dev | 15:44 | |
mgedmin | afaik devmode has no impact on speed | 15:44 |
benji | I'm of the impression that templates are only checked for changes if devmode is on. | 15:45 |
ghendi | mgedmin: thx; this means that all template files are checked at every request for timestamp changes? | 15:45 |
*** MJ|out is now known as MJ | 15:46 | |
mgedmin | when in doubt, read the source code ;) | 15:46 |
ghendi | benji: I thought so too; but if tested it's not so | 15:46 |
mgedmin | benji: not devmode but __debug__ | 15:46 |
mgedmin | which is python -O, iirc? | 15:47 |
benji | mgedmin: yep | 15:47 |
ghendi | mgedmin: __debug__ ? can you tell me more about it? | 15:47 |
benji | weh should probably make it behave that way without devmode as well | 15:47 |
ghendi | where is it set? | 15:47 |
mgedmin | no, but docs.python.org can | 15:47 |
mgedmin | http://docs.python.org/dev/3.0/library/constants.html#__debug__ | 15:48 |
*** jodok_ has quit IRC | 15:48 | |
*** jodok has quit IRC | 15:49 | |
mgedmin | or rather http://docs.python.org/dev/library/constants.html#__debug__ | 15:49 |
*** jodok has joined #zope3-dev | 15:50 | |
*** rock1 has joined #zope3-dev | 15:53 | |
*** lucielejard has joined #zope3-dev | 15:53 | |
*** rock1 is now known as rocky | 15:54 | |
ghendi | mgedmin: how do I start zope with python having the debug mode off (-O option) ?:) | 15:56 |
mgedmin | python -O z3.py ? | 15:56 |
mgedmin | some option in zdaemon.conf? | 15:56 |
mgedmin | no idea | 15:56 |
ghendi | ok, thx | 15:56 |
mgedmin | #!/usr/bin/python -O at the top of bin/runzope? | 15:56 |
philiKON | -O is python's optimization mode | 15:58 |
*** b52laptop has quit IRC | 15:58 | |
*** pelle__ has joined #zope3-dev | 15:58 | |
philiKON | i think python's (sic!) debug mode has to be enabled at compile time | 15:58 |
*** b52laptop has joined #zope3-dev | 15:58 | |
mgedmin | philiKON: python's global __debug__ constant *is* an indication that -O is on, check the library docs I linked | 16:00 |
philiKON | ah really | 16:00 |
philiKON | k then | 16:00 |
ghendi | philiKON: what I need is to load templates only once at startup, so that zope doesn't have to check at every request the templates | 16:01 |
philiKON | that's what zope.pagetemplates does | 16:01 |
philiKON | well, it checks the file's modification time again | 16:02 |
philiKON | but that's a fast operation, usually | 16:02 |
*** reco_ has joined #zope3-dev | 16:02 | |
ghendi | at every request checking all templates involved... hmmm | 16:02 |
philiKON | of course you could make this conditional with __debug__ | 16:03 |
philiKON | and release a new version of zope.pagetemplate | 16:03 |
mgedmin | zope.pagetemplate already has a conditional on __debug__ | 16:04 |
philiKON | there you go :) | 16:04 |
mgedmin | but it never reads the template on startup; it does it on demand | 16:04 |
philiKON | ah | 16:04 |
philiKON | well, i'm sure that can be arranged, though | 16:06 |
zagy | hum | 16:07 |
zagy | hi | 16:07 |
zagy | :) | 16:07 |
zagy | shouldn't the DataManager in zope.sendmail support savepoints? | 16:07 |
philiKON | what should it do on savepoints? | 16:07 |
zagy | nothing, at least not for an opportunistic one | 16:08 |
zagy | but currently it breaks (i think) | 16:08 |
*** romanofski has quit IRC | 16:09 | |
zagy | when you create a savepoint | 16:09 |
philiKON | oh | 16:09 |
philiKON | i see | 16:09 |
mgedmin | how does it break? | 16:09 |
mgedmin | attributeerror? | 16:09 |
zagy | TypeError: | 16:09 |
zagy | ('Savepoints unsupported', <zope.sendmail.delivery.MailDataManager | 16:09 |
zagy | I haven't got a complete TB, yet | 16:10 |
zagy | but it makes sense so far :) | 16:10 |
zagy | hm no | 16:10 |
zagy | somwhere in a non opportunistic savepoint is created as it seems | 16:11 |
* zagy checks | 16:11 | |
mgedmin | would be nice if someone who understands savepoints would fix zope.sendmail, hint hint ;) | 16:13 |
zagy | no, everything is fine, I was wrong | 16:14 |
zagy | it *must* break in zope.sendmail when you ask for a non-optimistic savepoint | 16:14 |
zagy | ... at least I guess so | 16:14 |
zagy | otherwise you had to implement the savepoint semantics for mail... *runs* | 16:14 |
*** pelle_ has quit IRC | 16:14 | |
*** philiKON has quit IRC | 16:15 | |
*** reco has quit IRC | 16:16 | |
ghendi | mgedmin: #!/usr/bin/python -O at the top of bin/runzope does the trick, thx! | 16:28 |
*** fcorrea has joined #zope3-dev | 16:41 | |
*** niemeyer has joined #zope3-dev | 17:02 | |
*** thru|over is now known as thruflo | 17:03 | |
ghendi | mgedmin: how about the resources? how can I make them to load only at server startup? | 17:09 |
*** pelle__ has quit IRC | 17:11 | |
*** pelle_ has joined #zope3-dev | 17:12 | |
*** regebro has joined #zope3-dev | 17:12 | |
*** b52laptop has quit IRC | 17:22 | |
*** sashav has quit IRC | 17:22 | |
*** b52laptop has joined #zope3-dev | 17:23 | |
*** tarek-away is now known as tarek | 17:25 | |
*** whit has quit IRC | 17:26 | |
mgedmin | change the code, probably | 17:27 |
mgedmin | I don't know | 17:27 |
*** whit has joined #zope3-dev | 17:27 | |
mgedmin | speaking of things you might want to do on startup, you may want to load the most-often-accessed objects into the ZODB caches of every zope thread | 17:27 |
*** zagy has quit IRC | 17:28 | |
*** jodok has quit IRC | 17:29 | |
*** philiKON has joined #zope3-dev | 17:31 | |
ghendi | ok | 17:33 |
*** whitmo has joined #zope3-dev | 17:33 | |
*** whit has quit IRC | 17:33 | |
*** edgordon has joined #zope3-dev | 17:34 | |
*** hdima has quit IRC | 17:34 | |
edgordon | is there another index url that lets you easy_install packages from http://svn.zope.org/? | 17:35 |
*** afd_ has joined #zope3-dev | 17:37 | |
*** MJ has quit IRC | 17:41 | |
*** sp0cksbeard has joined #zope3-dev | 17:42 | |
*** ghendi has quit IRC | 17:48 | |
*** whitmo has quit IRC | 17:52 | |
*** sorindregan has quit IRC | 17:54 | |
*** rmarianski has joined #zope3-dev | 17:59 | |
*** zagy has joined #zope3-dev | 17:59 | |
*** jsadjohnson has quit IRC | 18:04 | |
*** zagy has quit IRC | 18:04 | |
*** maurits has quit IRC | 18:14 | |
*** J1m has joined #zope3-dev | 18:20 | |
*** redir_ has joined #zope3-dev | 18:21 | |
tarek | philiKON, hi ! do you happen to know if this has changed since then ? http://osdir.com/ml/web.zope.z3base.five/2005-12/msg00007.html | 18:23 |
philiKON | five supports overrides.zcml now | 18:24 |
*** b52laptop has quit IRC | 18:24 | |
*** redir has quit IRC | 18:24 | |
*** reedobrien has joined #zope3-dev | 18:24 | |
*** dobee has quit IRC | 18:25 | |
tarek | philiKON, what is the best practice to override an already overriden directive ? is there something to read on the topic ? | 18:25 |
philiKON | well, overridden things can be overridden again | 18:26 |
jfroche | hello, somebody tried to setup twisted with twisted.web2 in a buildout ? | 18:27 |
philiKON | it's all a matter of ordering | 18:27 |
philiKON | jfroche: we include twisted in the zope.app.twisted egg :( | 18:27 |
*** pelle_ has quit IRC | 18:29 | |
*** quodt has quit IRC | 18:29 | |
tarek | philiKON, the ordering happens in site.zcml or there's a way in a package to define it ? | 18:30 |
philiKON | site.zcml | 18:31 |
malthe | J1m: -re- directory resources; did you see my response on the list? | 18:33 |
malthe | tarek: what I'd like to do is be able to *append* to buildout parts directives. | 18:34 |
malthe | Anton mentioned that you would certainly appreciate something like that | 18:34 |
*** `ro has joined #zope3-dev | 18:34 | |
tarek | philiKON, do you know if there's any trick available to change the ordering, let's say for the "B" package to superseed the directive overriden by the "A" package without touching the site.cml file ? | 18:35 |
tarek | malthe, a yes that would be nice, we talked about a specific directive with J1m, to make parts platform-specific | 18:36 |
malthe | interesting | 18:37 |
malthe | what kind of platforms would that be? | 18:37 |
malthe | you mean something non-POSIX | 18:37 |
J1m | malthe, yes, I saw your email. Did you think that that constituted a proposal? :) | 18:37 |
malthe | no it didn't; but I would like to get a +1 or -100 based on that reply. | 18:38 |
tarek | malthe, whatever sys.platform coudl return | 18:38 |
malthe | +0.1 maybe | 18:38 |
malthe | I guess I'll just start coding and put it in a branch; it'll be obvious from the tests if it's a good approach or not | 18:39 |
J1m | malthe, I'd really like someone to write proposal so we can make sure we write the right thing. :) | 18:40 |
malthe | ah you mean a wiki proposal | 18:40 |
J1m | I can think of a number of ways this could be done. | 18:40 |
malthe | definitely | 18:40 |
J1m | It doesn't have to be in a wiki, although that might be nice. | 18:40 |
J1m | And it doesn't have to be super formal. | 18:40 |
*** rmarianski has quit IRC | 18:40 | |
J1m | brb | 18:40 |
malthe | gotcha | 18:41 |
mgedmin | tarek: for zcml overrides it's not the linear order that matters, it's the include hierarchy | 18:41 |
*** reco_ is now known as reco | 18:41 | |
*** jukart has quit IRC | 18:41 | |
mgedmin | any zcml file can override any directive from any other file it includes, directly or indirectly | 18:41 |
mgedmin | any zcml file included with includeOverrides can override any directive from any file included from the parent zcml file | 18:42 |
*** reedobrien has quit IRC | 18:42 | |
mgedmin | (in that respect includeOverrides is equivalent to directly copying and pasting the full text of the overrides.zcml directly) | 18:42 |
tarek | mgedmin, so as long as A includes B, if B already overrides a directive, it will superseed, right ? | 18:42 |
mgedmin | yes | 18:42 |
tarek | mgedmin, oki thx | 18:42 |
mgedmin | I've no idea what happens when your include tree is a not a tree but a digraph | 18:43 |
tarek | mm | 18:43 |
mgedmin | probably something accidental and unexpected | 18:43 |
mgedmin | IIRC any includes of a file that was already processed are simply ignored | 18:43 |
mgedmin | I think it works | 18:44 |
mgedmin | yes, this shouldn't affect overrides at all | 18:44 |
tarek | my use case is quite simple -> beeing able in a project to override everything, no matter if it's already overriden somehow | 18:44 |
tarek | so i guess i'll try different use cases | 18:45 |
malthe | tarek: remember to include the ZCML that registers the directive in you want to override at the same level as your <includeOverrides>-directive. | 18:46 |
tarek | malthe, oki thx | 18:46 |
mgedmin | oh, and there are some directives that can never be overridden | 18:46 |
mgedmin | subscribers, for example | 18:47 |
*** whit has joined #zope3-dev | 18:47 | |
tarek | mgedmin, ok. that should be ok i guess, as long as the the css/resource etc story is covered | 18:47 |
mgedmin | css/resources can also be dealt with skins rather than overrides | 18:48 |
mgedmin | and I personally suggest avoiding overrides like an overused cliche | 18:48 |
*** rcrafton has quit IRC | 18:49 | |
J1m | malthe, sorry | 18:50 |
J1m | so it would ne nice to have something that stand on it's own, not depending on email context. That sattes the problem and the solution in some specificity. | 18:50 |
malthe | understand; I'll work on that over the weekend and put it somewhere, maybe the wiki. | 18:51 |
malthe | can I create a new page there with my zope account? | 18:51 |
tarek | mgedmin, yeah. I am trying to convince people to use resources instead of Zope2 skins so i was making sure about the override story | 18:52 |
*** rmarianski has joined #zope3-dev | 18:52 | |
*** whit has quit IRC | 18:52 | |
tarek | malthe, is your proposal related to sections options ? | 18:53 |
malthe | nope | 18:53 |
mgedmin | tarek: I'm not familiar with Zope 2, but in Zope 3 resources depend on skin | 18:54 |
malthe | it's related to defining filters for resources | 18:54 |
*** toutpt has quit IRC | 18:54 | |
tarek | ok | 18:54 |
*** ccomb has quit IRC | 18:54 | |
J1m | malthe, I think the wiki is wide open, for better or worse. :) | 18:55 |
*** MJ has joined #zope3-dev | 18:57 | |
malthe | k | 18:57 |
*** reco_ has joined #zope3-dev | 18:58 | |
*** whit has joined #zope3-dev | 19:01 | |
*** rcrafton has joined #zope3-dev | 19:01 | |
*** redir_ has quit IRC | 19:04 | |
*** projekt01 has quit IRC | 19:06 | |
*** harobed has quit IRC | 19:09 | |
*** run|home has joined #zope3-dev | 19:09 | |
*** ignas has quit IRC | 19:10 | |
*** jpcw2002 has left #zope3-dev | 19:12 | |
*** run|home_ has quit IRC | 19:13 | |
*** reco has quit IRC | 19:15 | |
*** whit has quit IRC | 19:19 | |
*** MJ has quit IRC | 19:20 | |
*** reco_ is now known as reco | 19:21 | |
*** mkerrin has quit IRC | 19:22 | |
*** run|home has quit IRC | 19:23 | |
*** malthe has quit IRC | 19:28 | |
*** sashav has joined #zope3-dev | 19:28 | |
*** `ro has quit IRC | 19:37 | |
*** sm has quit IRC | 19:38 | |
*** pbugni has joined #zope3-dev | 19:39 | |
*** pbugni has joined #zope3-dev | 19:39 | |
*** tflorac has quit IRC | 19:40 | |
*** pbugni has quit IRC | 19:43 | |
*** pbugni has joined #zope3-dev | 19:43 | |
*** sashav has quit IRC | 19:47 | |
*** afd_ has quit IRC | 19:49 | |
*** pbugni_ has joined #zope3-dev | 19:59 | |
*** pbugni_ has joined #zope3-dev | 20:00 | |
*** pbugni has quit IRC | 20:01 | |
*** nathany has joined #zope3-dev | 20:02 | |
*** quodt has joined #zope3-dev | 20:12 | |
*** thruflo has quit IRC | 20:12 | |
*** whit has joined #zope3-dev | 20:22 | |
*** redir_ has joined #zope3-dev | 20:27 | |
*** whit has quit IRC | 20:29 | |
*** whit has joined #zope3-dev | 20:31 | |
*** RaFromBRC has joined #zope3-dev | 20:36 | |
*** sm has joined #zope3-dev | 20:37 | |
*** rmarianski has quit IRC | 20:38 | |
*** sm_ has joined #zope3-dev | 20:40 | |
*** whit has quit IRC | 20:42 | |
*** sm has quit IRC | 20:43 | |
*** johbo_ has joined #zope3-dev | 20:45 | |
*** quodt has quit IRC | 20:53 | |
*** mgedmin has quit IRC | 20:54 | |
*** pbugni_ is now known as pbugni | 20:56 | |
*** philiKON_ has joined #zope3-dev | 20:57 | |
*** johbo has quit IRC | 21:02 | |
*** redir_ has quit IRC | 21:03 | |
*** rmarianski has joined #zope3-dev | 21:05 | |
*** philiKON has quit IRC | 21:13 | |
*** sm_ has quit IRC | 21:14 | |
*** sm has joined #zope3-dev | 21:14 | |
*** d2m has quit IRC | 21:19 | |
*** dobee has joined #zope3-dev | 21:27 | |
*** alecm has joined #zope3-dev | 21:27 | |
*** kursor has quit IRC | 21:32 | |
*** J1m has quit IRC | 21:37 | |
*** redir has joined #zope3-dev | 21:39 | |
*** pbugni has left #zope3-dev | 21:41 | |
*** pbugni has joined #zope3-dev | 21:43 | |
*** dunny has joined #zope3-dev | 21:47 | |
*** kursor has joined #zope3-dev | 21:50 | |
*** pelle_ has joined #zope3-dev | 21:50 | |
*** sm has quit IRC | 21:59 | |
*** sm has joined #zope3-dev | 22:03 | |
*** dobee has quit IRC | 22:10 | |
*** J1m has joined #zope3-dev | 22:11 | |
*** niemeyer has quit IRC | 22:11 | |
*** sm has quit IRC | 22:17 | |
*** sm has joined #zope3-dev | 22:17 | |
*** whit has joined #zope3-dev | 22:18 | |
*** kursor has quit IRC | 22:22 | |
*** whit has quit IRC | 22:23 | |
*** fcorrea has quit IRC | 22:23 | |
edgordon | how would i get a viewlet to show up in only a certain view, as opposed to for a whole interface? | 22:31 |
*** pcardune has joined #zope3-dev | 22:33 | |
edgordon | nevermind | 22:35 |
*** sm_ has joined #zope3-dev | 22:38 | |
*** sm___ has joined #zope3-dev | 22:39 | |
*** whit has joined #zope3-dev | 22:40 | |
*** whit has quit IRC | 22:41 | |
*** whit has joined #zope3-dev | 22:42 | |
*** rocky has quit IRC | 22:42 | |
*** bigkevmcd has quit IRC | 22:47 | |
pyqwer | edgordon: Hmmm, there should be some options - still interested? | 22:52 |
edgordon | no, i realized the view zcml attribute did what i wanted | 22:52 |
pyqwer | Ok, fine! | 22:53 |
edgordon | haha. thanks anyways | 22:53 |
*** pyqwer has quit IRC | 22:53 | |
*** sm has quit IRC | 22:57 | |
*** sm_ has quit IRC | 22:58 | |
*** tarek has quit IRC | 23:10 | |
*** greenman has joined #zope3-dev | 23:18 | |
*** romanofski has joined #zope3-dev | 23:20 | |
*** quodt has joined #zope3-dev | 23:21 | |
*** hexsprite has quit IRC | 23:23 | |
*** hexsprite has joined #zope3-dev | 23:23 | |
*** niemeyer has joined #zope3-dev | 23:30 | |
*** greenman has quit IRC | 23:31 | |
*** tarek has joined #zope3-dev | 23:33 | |
*** tarek has quit IRC | 23:34 | |
*** malthe has joined #zope3-dev | 23:35 | |
*** lucielejard has quit IRC | 23:36 | |
*** acsr has joined #zope3-dev | 23:37 | |
*** johbo_ has quit IRC | 23:39 | |
*** ccomb has joined #zope3-dev | 23:51 | |
*** srichter has joined #zope3-dev | 23:54 | |
*** ChanServ sets mode: +o srichter | 23:54 | |
*** pelle_ has quit IRC | 23:55 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:56 | |
*** sm___ has quit IRC | 23:57 | |
*** nathany has quit IRC | 23:57 | |
*** tarek has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!