*** hazmat has quit IRC | 00:02 | |
*** philiKON has joined #zope3-dev | 00:03 | |
*** philiKON has quit IRC | 00:04 | |
*** philiKON_ has joined #zope3-dev | 00:04 | |
*** romanofski has quit IRC | 00:05 | |
*** regebro has quit IRC | 00:06 | |
*** dunny has joined #zope3-dev | 00:16 | |
*** philiKON_ has quit IRC | 00:17 | |
*** philiKON has joined #zope3-dev | 00:17 | |
*** timte has quit IRC | 00:19 | |
*** philiKON has quit IRC | 00:23 | |
*** philiKON has joined #zope3-dev | 00:24 | |
*** philiKON has quit IRC | 00:26 | |
*** philiKON has joined #zope3-dev | 00:26 | |
*** Jell-O-Fishi has joined #zope3-dev | 00:31 | |
*** mcdonc has joined #zope3-dev | 00:34 | |
*** philiKON has quit IRC | 00:37 | |
*** philiKON has joined #zope3-dev | 00:38 | |
*** philiKON_ has joined #zope3-dev | 00:44 | |
*** philiKON has quit IRC | 00:44 | |
*** harobed has quit IRC | 00:53 | |
*** tdoggette has quit IRC | 00:53 | |
*** philiKON has joined #zope3-dev | 01:05 | |
*** philiKON_ has quit IRC | 01:05 | |
*** tarek has quit IRC | 01:09 | |
*** philiKON_ has joined #zope3-dev | 01:46 | |
*** philiKON has quit IRC | 01:46 | |
*** philiKON has joined #zope3-dev | 01:59 | |
*** philiKON_ has quit IRC | 01:59 | |
*** sunew has quit IRC | 02:02 | |
malthe | security checkers are not passed down to subclasses, right? | 02:06 |
---|---|---|
*** pcardune has quit IRC | 02:07 | |
*** philiKON has quit IRC | 02:23 | |
*** yota has quit IRC | 02:23 | |
*** aelkner has joined #zope3-dev | 02:23 | |
*** rcrafton has joined #zope3-dev | 02:25 | |
aelkner | can anyone help me with a question i have about traversal | 02:25 |
aelkner | i have a authentication plug-in that needs to redirect to a CAS server | 02:26 |
aelkner | but after it calls the response.redirect() method it doesn't end the traversal loop | 02:26 |
aelkner | this causes the plug-in to get called continually | 02:27 |
aelkner | is there a way to get it to stop traversing? | 02:27 |
aelkner | srichter: ayt? | 02:27 |
aelkner | rcrafton: ayt? | 02:28 |
aelkner | is there anybody out there? | 02:34 |
rcrafton | aelkner: Sorry. Not really here. Unfortunately I don't think I'm the one to help out with that problem anyway. | 02:46 |
aelkner | rcrafton: no prob. i think i night be able to get it to stop travesing by throwing a retry exception | 02:49 |
aelkner | i hope that works, at least | 02:49 |
rcrafton | :) | 02:49 |
rcrafton | I just haven't had that problem yet. Though I suspect I'll be doing some CAS integration as we convert some of our older apps to zope. So I should pay attention. | 02:50 |
aelkner | rcrafton: if you have questions about CAS at that point, you can email me at aelkner@gmail.com | 02:52 |
aelkner | by then, i should have this stuff figured out | 02:52 |
*** b52laptop has quit IRC | 02:59 | |
*** aclark is now known as aclark|away | 03:09 | |
*** norro has quit IRC | 03:19 | |
*** greenman has quit IRC | 03:45 | |
*** replicant has quit IRC | 03:49 | |
*** aelkner has left #zope3-dev | 03:51 | |
*** greenman has joined #zope3-dev | 03:56 | |
*** gberdyshev has joined #zope3-dev | 04:07 | |
*** gberdyshev is now known as gberdyshev_ | 04:09 | |
*** hazmat has joined #zope3-dev | 04:21 | |
*** ChanServ sets mode: +o hazmat | 04:21 | |
*** tdoggette has joined #zope3-dev | 04:22 | |
*** gstratton has joined #zope3-dev | 04:24 | |
*** J1m has joined #zope3-dev | 04:30 | |
*** greenman has quit IRC | 04:44 | |
*** greenman has joined #zope3-dev | 04:44 | |
*** pcardune has joined #zope3-dev | 04:47 | |
*** malthe is now known as malthe|Zzz | 05:21 | |
*** greenman has quit IRC | 05:27 | |
*** tdoggette has quit IRC | 06:13 | |
*** Jell-O-Fishi has quit IRC | 06:13 | |
*** markusleist has quit IRC | 06:13 | |
*** jfroche has quit IRC | 06:13 | |
*** tdoggette has joined #zope3-dev | 06:20 | |
*** Jell-O-Fishi has joined #zope3-dev | 06:20 | |
*** markusleist has joined #zope3-dev | 06:20 | |
*** jfroche has joined #zope3-dev | 06:20 | |
*** rcrafton has quit IRC | 06:21 | |
*** gberdyshev_ has quit IRC | 06:27 | |
*** tdoggette has quit IRC | 06:33 | |
*** rcrafton has joined #zope3-dev | 06:34 | |
*** tarek has joined #zope3-dev | 06:40 | |
*** tarek has left #zope3-dev | 06:53 | |
*** jfroche has quit IRC | 07:09 | |
*** markusleist has quit IRC | 07:09 | |
*** Jell-O-Fishi has quit IRC | 07:09 | |
*** afd__ has joined #zope3-dev | 07:10 | |
*** Jell-O-Fishi has joined #zope3-dev | 07:11 | |
*** markusleist has joined #zope3-dev | 07:11 | |
*** jfroche has joined #zope3-dev | 07:11 | |
*** jfroche has quit IRC | 07:17 | |
*** markusleist has quit IRC | 07:17 | |
*** Jell-O-Fishi has quit IRC | 07:17 | |
*** vimes656 has joined #zope3-dev | 07:22 | |
*** pcardune has quit IRC | 07:25 | |
*** binseer has joined #zope3-dev | 07:25 | |
*** Jell-O-Fishi has joined #zope3-dev | 07:26 | |
*** markusleist has joined #zope3-dev | 07:26 | |
*** jfroche has joined #zope3-dev | 07:26 | |
*** jfroche has quit IRC | 07:33 | |
*** markusleist has quit IRC | 07:33 | |
*** Jell-O-Fishi has quit IRC | 07:33 | |
*** Jell-O-Fishi has joined #zope3-dev | 07:43 | |
*** markusleist has joined #zope3-dev | 07:43 | |
*** jfroche has joined #zope3-dev | 07:43 | |
*** jfroche has quit IRC | 07:48 | |
*** markusleist has quit IRC | 07:48 | |
*** Jell-O-Fishi has quit IRC | 07:48 | |
*** Jell-O-Fishi has joined #zope3-dev | 07:57 | |
*** markusleist has joined #zope3-dev | 07:57 | |
*** jfroche has joined #zope3-dev | 07:57 | |
*** fairwinds has quit IRC | 07:59 | |
*** srichter has quit IRC | 08:00 | |
*** srichter has joined #zope3-dev | 08:00 | |
*** philiKON has joined #zope3-dev | 08:07 | |
*** philiKON_ has joined #zope3-dev | 08:12 | |
*** philiKON has quit IRC | 08:12 | |
*** philiKON_ has quit IRC | 08:15 | |
*** philiKON has joined #zope3-dev | 08:15 | |
*** philiKON has quit IRC | 08:18 | |
*** philiKON has joined #zope3-dev | 08:18 | |
*** tdoggette has joined #zope3-dev | 08:21 | |
*** afd__ has quit IRC | 08:25 | |
*** philiKON has quit IRC | 08:25 | |
*** philiKON has joined #zope3-dev | 08:25 | |
*** markusleis1 has joined #zope3-dev | 08:28 | |
*** srichter has quit IRC | 08:28 | |
*** jfroche has quit IRC | 08:28 | |
*** markusleist has quit IRC | 08:28 | |
*** Jell-O-Fishi has quit IRC | 08:28 | |
*** markusleis1 has quit IRC | 08:29 | |
*** markusleist has joined #zope3-dev | 08:29 | |
*** srichter has joined #zope3-dev | 08:30 | |
*** philiKON has quit IRC | 08:32 | |
*** philiKON_ has joined #zope3-dev | 08:32 | |
*** philiKON_ has quit IRC | 08:35 | |
*** Jell-O-Fishi has joined #zope3-dev | 08:38 | |
*** jfroche has joined #zope3-dev | 08:38 | |
*** zagy has quit IRC | 08:39 | |
*** afd__ has joined #zope3-dev | 08:40 | |
*** timte has joined #zope3-dev | 08:43 | |
*** jukart has joined #zope3-dev | 08:43 | |
*** pyqwer has joined #zope3-dev | 08:53 | |
*** reco has quit IRC | 08:57 | |
*** zagy has joined #zope3-dev | 09:03 | |
*** jukart has quit IRC | 09:06 | |
*** jukart has joined #zope3-dev | 09:09 | |
*** tuxella has joined #zope3-dev | 09:09 | |
*** jukart has quit IRC | 09:10 | |
*** dobee has joined #zope3-dev | 09:10 | |
*** jukart has joined #zope3-dev | 09:11 | |
*** jayaraj has joined #zope3-dev | 09:13 | |
*** jukart has quit IRC | 09:18 | |
*** jodok has joined #zope3-dev | 09:19 | |
*** quodt has joined #zope3-dev | 09:21 | |
*** jodok has quit IRC | 09:21 | |
*** jukart has joined #zope3-dev | 09:23 | |
*** agroszer has joined #zope3-dev | 09:26 | |
*** romanofski has joined #zope3-dev | 09:28 | |
*** jodok has joined #zope3-dev | 09:38 | |
*** sorindregan has joined #zope3-dev | 09:40 | |
*** gstratton has quit IRC | 09:42 | |
*** dobee has quit IRC | 09:48 | |
*** thruflo has joined #zope3-dev | 09:54 | |
*** tdoggette has quit IRC | 10:10 | |
*** J1m has quit IRC | 10:13 | |
*** stub has joined #zope3-dev | 10:16 | |
*** stub has quit IRC | 10:36 | |
*** tuxella has quit IRC | 10:36 | |
*** tlotze_ has joined #zope3-dev | 10:37 | |
*** tlotze has joined #zope3-dev | 10:37 | |
*** stub has joined #zope3-dev | 10:40 | |
*** MJ has joined #zope3-dev | 10:42 | |
*** seletz has joined #zope3-dev | 10:51 | |
*** alecghica has joined #zope3-dev | 10:54 | |
*** flox has joined #zope3-dev | 10:57 | |
*** yvl has joined #zope3-dev | 10:59 | |
*** yvl has left #zope3-dev | 10:59 | |
*** flox has left #zope3-dev | 11:01 | |
*** bigkevmcd has joined #zope3-dev | 11:05 | |
*** flox has joined #zope3-dev | 11:06 | |
*** maurits has joined #zope3-dev | 11:16 | |
*** yotaff has joined #zope3-dev | 11:21 | |
*** srichter has quit IRC | 11:30 | |
*** tdoggette has joined #zope3-dev | 11:53 | |
*** malthe|Zzz is now known as malthe | 11:55 | |
*** tdoggette has quit IRC | 11:56 | |
*** tlotze_ has left #zope3-dev | 11:57 | |
*** tdoggette has joined #zope3-dev | 11:57 | |
*** ktwilight has quit IRC | 11:58 | |
*** ktwilight has joined #zope3-dev | 12:00 | |
*** kursor has joined #zope3-dev | 12:05 | |
*** Jell-O-Fishi has quit IRC | 12:06 | |
*** norro has joined #zope3-dev | 12:06 | |
*** flox has quit IRC | 12:10 | |
*** b52laptop has joined #zope3-dev | 12:11 | |
*** flox has joined #zope3-dev | 12:18 | |
*** ranjith has joined #zope3-dev | 12:47 | |
*** projekt01 has joined #zope3-dev | 13:05 | |
*** malthe has quit IRC | 13:12 | |
*** sorindregan has quit IRC | 13:18 | |
*** djohnson has joined #zope3-dev | 13:23 | |
*** MJ is now known as MJ|lunch | 13:34 | |
*** fairwinds has joined #zope3-dev | 13:48 | |
*** stub has quit IRC | 13:48 | |
*** tdoggette has quit IRC | 14:01 | |
*** dunny has quit IRC | 14:02 | |
*** ranjith has quit IRC | 14:07 | |
*** MJ|lunch is now known as MJ | 14:09 | |
*** afd__ has quit IRC | 14:17 | |
*** ignas has joined #zope3-dev | 14:21 | |
*** malthe has joined #zope3-dev | 14:23 | |
*** J1m has joined #zope3-dev | 14:23 | |
*** mgedmin has joined #zope3-dev | 14:31 | |
*** tuxella has joined #zope3-dev | 14:44 | |
*** thruflo has joined #zope3-dev | 14:58 | |
*** kursor has quit IRC | 15:01 | |
*** benji has joined #zope3-dev | 15:10 | |
*** acsr has quit IRC | 15:13 | |
*** amleczko has joined #zope3-dev | 15:13 | |
*** acsr has joined #zope3-dev | 15:13 | |
*** regebro has joined #zope3-dev | 15:14 | |
amleczko | hi, i need help. i'm searching for how-to to run zc.z3monitor | 15:14 |
*** junkafarian has joined #zope3-dev | 15:16 | |
benji | amleczko: IIRC, you just have to <include package="zc.z3monitor"/> | 15:17 |
amleczko | benji: ok. but how can i use it then? | 15:18 |
benji | oh, and you probably need this in your zope.conf:<product-config zc.z3monitor> port 8099 | 15:18 |
benji | </product-config> | 15:18 |
benji | you telnet to the monitor port and issue a command; "help" would be a good start ;) | 15:18 |
amleczko | ok seems clear :) | 15:19 |
amleczko | benji: thx | 15:19 |
benji | np | 15:19 |
benji | it'd be nice to have that in the README.txt; I'll try to remember to do so | 15:20 |
*** fcorrea has quit IRC | 15:20 | |
*** djohnson has quit IRC | 15:28 | |
*** jsadjohnson has joined #zope3-dev | 15:28 | |
*** dobee has joined #zope3-dev | 15:30 | |
*** rcrafton has joined #zope3-dev | 15:34 | |
*** mkerrin has joined #zope3-dev | 15:35 | |
*** goschtl has joined #zope3-dev | 15:40 | |
amleczko | hi i have another question: is it safe to open new zodb connection inside twisted.internet.task.LoopingCall ? | 15:44 |
junkafarian | hmm, I am getting a ContentProviderLookupError from a ZPT object referencing a viewlet included in the macro it uses | 15:47 |
junkafarian | do i have to declare it separately than in the zcml? | 15:48 |
*** reco has joined #zope3-dev | 15:50 | |
amleczko | how can I access zodb from twisted LoopingCall ? | 15:53 |
*** reco has quit IRC | 15:54 | |
*** projekt01 has quit IRC | 15:55 | |
*** menesis has joined #zope3-dev | 15:56 | |
*** jamur2 has joined #zope3-dev | 16:00 | |
*** afd__ has joined #zope3-dev | 16:02 | |
*** vimes656 has quit IRC | 16:02 | |
*** malthe has quit IRC | 16:04 | |
*** lucielejard has joined #zope3-dev | 16:05 | |
junkafarian | is there a way i can specify the layer, similar to zcml for a ZPT object in the ZMI? | 16:06 |
*** lurkymclurkleton has joined #zope3-dev | 16:07 | |
mgedmin | no | 16:11 |
*** kursor has joined #zope3-dev | 16:17 | |
*** whit has joined #zope3-dev | 16:29 | |
hazmat | benji, another reason for coverage failure is py 2.5 | 16:30 |
*** tuxella has quit IRC | 16:30 | |
hazmat | at least with doctests | 16:30 |
* mgedmin wants to know | 16:34 | |
benji | hazmat: i.e. coverage doesn't work with 2.5? | 16:35 |
*** sp0cksbeard has joined #zope3-dev | 16:35 | |
*** aclark|away is now known as aclark | 16:42 | |
*** J1m has quit IRC | 16:42 | |
*** lurkymclurkleton has quit IRC | 16:43 | |
*** lurkymclurkleton has joined #zope3-dev | 16:43 | |
*** amleczko has quit IRC | 16:44 | |
*** afd__ has quit IRC | 16:55 | |
*** reco has joined #zope3-dev | 16:56 | |
*** kursor_ has joined #zope3-dev | 16:57 | |
*** kursor has quit IRC | 16:57 | |
*** tdoggette has joined #zope3-dev | 17:02 | |
*** charith_para has joined #zope3-dev | 17:08 | |
*** flox has quit IRC | 17:33 | |
*** flox has joined #zope3-dev | 17:36 | |
*** kursor_ has quit IRC | 17:42 | |
*** kursor has joined #zope3-dev | 17:42 | |
*** charith_para has quit IRC | 17:43 | |
*** charith_para has joined #zope3-dev | 17:43 | |
*** MJ has quit IRC | 17:45 | |
regebro | Can somebody point me to a basic Zope3 buildout? | 17:47 |
regebro | No PasteScript or anything. We just want the most simple buildout.cfg for Zope3, to include as a development buildout for an egg | 17:47 |
regebro | pater -tzope_app creates one that uses Paster and Twisted. | 17:48 |
*** reco has quit IRC | 17:50 | |
mgedmin | I think philikon's zopeproject creates these | 17:51 |
*** reco has joined #zope3-dev | 17:51 | |
ignas | regebro: emm, what is Zope3 in this case? | 17:53 |
regebro | mgedmin: Nah, he still uses twisted and paster. | 17:55 |
mgedmin | ah, I missed the 'no pastescript' bit | 17:55 |
regebro | Maybe that doesn't matter, but the amount of config files created is silly, IMO. :) | 17:55 |
ignas | what is Zope3 in this case? you want to avoid paste for hooking everything up? | 17:56 |
regebro | ignas: Well, you know, Zope 3. | 17:56 |
regebro | A well know application server. | 17:56 |
ignas | there is Zope3 libraries bit | 17:56 |
ignas | and there is wsgi server bit | 17:56 |
ignas | and there is wsgi application bit | 17:56 |
regebro | No, those you install with easy_install, not buildout. :) | 17:56 |
regebro | (The libraries, I mean) | 17:56 |
ignas | and you use paste to connect wsgi server that comes with zope.server to wsgi application that comes with zope.app or something like that | 17:57 |
ignas | i don't think there is a script that connects these without wsgi | 17:57 |
mgedmin | I think regebro wants a plain old zope.app.zserver | 17:57 |
regebro | Yeah. It existed not long ago, it didn't die did it? | 17:57 |
ignas | and i think philikon has killed the "zope instance" ;) | 17:58 |
ignas | at least that was his plan | 17:58 |
mgedmin | suggest looking at z3.py on trunk, assuming trunk hasn't died | 17:58 |
*** srichter has joined #zope3-dev | 17:58 | |
regebro | mgedmin: is z3.py a buildout.cfg? That would surprise me. :) | 17:58 |
*** timte has quit IRC | 17:59 | |
ignas | regebro: such buildout.cfg does not exist from what i can recall | 17:59 |
regebro | Is it impossible to ue Zope3 with buildout without PasteScript? Wow. | 17:59 |
ignas | regebro: most people who is using buildout.cfg are using recipes that set up wsgi components from what i can recall | 17:59 |
ignas | though maybe there is a zdaemon based recipe, i would not bet on it | 18:00 |
*** goschtl has left #zope3-dev | 18:01 | |
ignas | regebro: look at http://pypi.python.org/pypi/zc.zodbrecipes/0.2 maybe that is related ... | 18:03 |
ignas | not sure about it, but it seems that you can setup a zdaemon server | 18:03 |
ignas | somehow | 18:03 |
ignas | maybe you can gather out some useful bits that will help you write a recipe that works the way you want ... | 18:04 |
regebro | I'm now trying to use something baed on grokprojects buildout. | 18:04 |
ignas | but still - i don't think there are that many reasons to keep on using the mostly deprecated Zope3 startup methods... | 18:07 |
ignas | from what I can recall there were even talks about Zope getting out of the http server writing business ... and just using wsgi servers already available | 18:08 |
ignas | so even if zope.server is still there it might be gone in a year, two, three ... | 18:08 |
ignas | though i can be mistaken, i mean - i am not the person who decides these things | 18:08 |
ignas | from what I understand the only difference between paste approach and Zope3 approach is that instead of having both "server configuration" and "database configuration" in one file, you get them in 2 files ... | 18:11 |
ignas | at least that's what changed when schooltool began using paste for deployment | 18:11 |
junkafarian | hmm | 18:13 |
regebro | ignas: It's not a question of "deprecated", it's js | 18:13 |
junkafarian | im trying a different approach to my menu problem... | 18:13 |
regebro | just that I want to be able to start an instance, without having loads of config files in the root | 18:13 |
junkafarian | any ideas why context/@@view_get_menu/main_nav wont return anything? | 18:13 |
regebro | and without having to install twisted. | 18:13 |
junkafarian | i have registered a menu and populated some menuItems | 18:13 |
regebro | Nope, the grokproject one ALSO want to install twisted. But for some reason, the buildout doesn't install it. | 18:14 |
regebro | This current situation honestly sucks. | 18:14 |
regebro | It should not take me hours to get started with Zope3. | 18:14 |
junkafarian | but when i try and call view_get_menu/main_nav it wont reference the items i specified for the main_nav menu :( | 18:15 |
*** jodok has quit IRC | 18:15 | |
*** sidnei has joined #zope3-dev | 18:15 | |
sidnei | hey all, what kind of ssh keys is zope.org using these days? | 18:16 |
sidnei | it used to be ssh1 keys | 18:16 |
ignas | regebro: oh, that | 18:16 |
ignas | regebro: just fix it in a different way - depend on "zope.server" | 18:16 |
regebro | Huh? | 18:16 |
ignas | and in paste.ini do: | 18:16 |
ignas | use = egg:zope.server | 18:17 |
ignas | in your [server:main] | 18:17 |
regebro | Oh, OK. | 18:17 |
ignas | section | 18:17 |
regebro | Well, that's a step forward at least. | 18:17 |
ignas | and fix buildout.cfg | 18:17 |
regebro | I think a small explanation is in order: | 18:17 |
ignas | to ask for zope.server 3.5 | 18:17 |
*** jboisture has joined #zope3-dev | 18:18 | |
regebro | The currently recommended practice for Zope eggs is to have a buildout.cfg, so you can check out the egg, run the buildout and test/develop. | 18:18 |
regebro | With paste, you need a buildout.cfg. | 18:18 |
ignas | emm - kind of, i mean - you know how paste works? | 18:19 |
ignas | and how buildout works | 18:19 |
regebro | And a site.zcml.and a paste.ini. And a debug.ini and a deploy.ini. | 18:19 |
ignas | well - debug.ini and deploy.ini | 18:19 |
regebro | I know how buildout works, yes. | 18:19 |
ignas | are arbitrary | 18:19 |
ignas | you don't have to have them | 18:19 |
ignas | if you don't use the zope3 startup machinery provided | 18:19 |
ignas | i mean - i am just doing "bin/paster serve foo.ini" | 18:20 |
ignas | and am living wiht 1 single ini file | 18:20 |
ignas | the multiple ini files are for the scripts generated by one of the recipes to work i think | 18:20 |
ignas | can't recall precisely now | 18:20 |
ignas | because schooltool system is "homebrew" ;) | 18:20 |
ignas | and we really are not using twisted in any place | 18:21 |
regebro | Well, Grok is going to save Zope3 anyway, so luckily, we don't have to care about all this in most cases. :) | 18:21 |
regebro | Grok will be the easy entry into Zope3, and Zope3 can stay complicated. | 18:21 |
*** J1m has joined #zope3-dev | 18:23 | |
ignas | regebro: you can't have "easy" and "control" at the same time, and it seems that you want "control" ;) | 18:23 |
regebro | No, I want "simple", and I don't understand why "easy" and "simple" isn't the same thing, | 18:26 |
*** kursor has quit IRC | 18:26 | |
ignas | you can have the illusion of having it simple and having control, but then the law of leaky abstractions hits you, and you get major pain | 18:26 |
ignas | simple in this case is - don't touch ini files ;) | 18:27 |
*** kursor has joined #zope3-dev | 18:27 | |
regebro | No, that's easy. Simple is "not complicated". Meaning: Less ini files. | 18:27 |
ignas | why are they bothering you? | 18:28 |
ignas | you don't have to touch them ... | 18:28 |
*** sidnei_ has joined #zope3-dev | 18:28 | |
ignas | anyway - it's an intermediate step | 18:28 |
regebro | I explained above. | 18:29 |
ignas | Step 1 - you write them yourself | 18:29 |
*** sidnei_ has left #zope3-dev | 18:29 | |
ignas | Step 2 - they get generated | 18:29 |
ignas | Step 3 - they get generated runtime without you seeing them | 18:29 |
*** sidnei has quit IRC | 18:29 | |
ignas | so - it's better now than it was before, it's apparently not good enough ;) | 18:29 |
ignas | the Step 4 - they get generated runtime, but if you want to you can write them yourself... | 18:31 |
*** dobee has quit IRC | 18:35 | |
junkafarian | is there a summary of the standard globals available through context in ZPTs? | 18:35 |
junkafarian | eg: view_get_menu | 18:35 |
*** gimni has joined #zope3-dev | 18:36 | |
ignas | junkafarian: what is view_get_menu ? | 18:37 |
ignas | a global function in some module? | 18:37 |
ignas | if it is - no there is no such thing, and you should add a wrapper call in the view and use that | 18:38 |
junkafarian | i am following the example in philikon's book to generate a custom menu | 18:38 |
hazmat | benji, apparently not. | 18:38 |
hazmat | benji, it was reporting erroneous coverage results on unit tests | 18:39 |
*** nathany has joined #zope3-dev | 18:39 | |
junkafarian | basically... I am trying to modify mu current menu viewlet so that i can include it in a ZPT object created through the ZMI | 18:39 |
hazmat | benji, i switched back to py 2.4 and it started working again | 18:39 |
hazmat | all doc tests though. | 18:39 |
*** jboisture has quit IRC | 18:40 | |
junkafarian | ignas: which it seems i cant if i just reference the menu with <tal:providers replace="structure provider:menu" /> | 18:41 |
junkafarian | in my standard_macros | 18:41 |
ignas | junkafarian: sorry, i don't really know what's going on in philikon' | 18:41 |
ignas | s book | 18:41 |
ignas | so i can't really help you with that | 18:42 |
junkafarian | ^^ that was just my implementation before it wouldnt work with the ttw ZPT | 18:42 |
junkafarian | ignas: if i use the macro which works fine for pages declared in zcml with the ZPT object, i get: | 18:43 |
junkafarian | ContentProviderLookupError: menu | 18:44 |
ignas | junkafarian: sorry, but i just don't know the state you are coming from, and the thing you want to get to, so it's really not enough information for me to solve it | 18:46 |
junkafarian | at the moment i just have a viewlet which renders a main menu and is assigned to a viewletManager called `menu` | 18:48 |
junkafarian | and that works fine when any pages use metal to access the master template (which has that tal:providers line in it) | 18:49 |
*** MJ has joined #zope3-dev | 18:49 | |
ignas | i see | 18:50 |
ignas | and ... | 18:50 |
junkafarian | however, i tried to use a ZPT object to allow for TTW editing of the content | 18:50 |
junkafarian | as i need to provide a basic CMS | 18:50 |
junkafarian | and that doesnt like the macro i have defined | 18:50 |
junkafarian | and errors when trying to find the menu viewlet manager | 18:51 |
*** jayaraj has quit IRC | 18:51 | |
ignas | oh, hmm, i am not sure how TTW handles sites and adapter registries | 18:52 |
junkafarian | previously, i had to update all references using `views/standard_macros/..` to `context/@@standard_macros/...` | 18:52 |
*** tdoggette has quit IRC | 18:52 | |
junkafarian | I dont suppose anyone has worked on an object which allows a file on the local system to be edited TTW? | 18:53 |
hazmat | reflecto | 18:54 |
junkafarian | as that would presumably allow me to expose the .pt files to be updated | 18:54 |
hazmat | oh.. sorry wrong channel.. for that.. but its a plone extension (z3 style) to browse/ edit / index content on the filesystem | 18:54 |
junkafarian | any zope3 ports? | 18:55 |
*** dobee has joined #zope3-dev | 18:55 | |
hazmat | not that i know of | 18:55 |
hazmat | if you just want to expose your code for development.. you can set it up as a separate webdav mount | 18:55 |
junkafarian | its basically to allow for a simple admin CMS | 18:56 |
*** binseer has quit IRC | 18:56 | |
junkafarian | any experience with the ZPT objects through the ZMI? | 18:56 |
junkafarian | hazmat: ^ | 18:56 |
* mgedmin thinks ZPT objects in the ZMI are examples, almost completely useless in practice | 18:58 | |
junkafarian | doh! :P | 18:58 |
*** charith_para has left #zope3-dev | 18:58 | |
junkafarian | dont spose there are any useful projects providing similar functionality? | 18:58 |
junkafarian | previously i have used adapters to store editable content | 18:59 |
junkafarian | i remember someone mentioning a HTMLPage type object | 19:01 |
*** alga has joined #zope3-dev | 19:02 | |
junkafarian | but I assumed they were talking about the ZPT objects otherwise you would be unable to inherit the macros | 19:02 |
*** hexsprite has joined #zope3-dev | 19:04 | |
*** timte has joined #zope3-dev | 19:15 | |
*** dobee has quit IRC | 19:15 | |
*** jukart has quit IRC | 19:16 | |
*** quodt has quit IRC | 19:19 | |
*** MJ has quit IRC | 19:24 | |
*** MJ|nickcollision has joined #zope3-dev | 19:24 | |
*** mkerrin has quit IRC | 19:32 | |
*** fairwinds has quit IRC | 19:34 | |
*** kursor has quit IRC | 19:36 | |
*** gimni has quit IRC | 19:40 | |
*** gberdyshev has joined #zope3-dev | 19:41 | |
*** gberdyshev is now known as gberdyshev_ | 19:43 | |
*** seletz_ has joined #zope3-dev | 19:43 | |
*** MJ|nickcollision has quit IRC | 19:44 | |
*** jsadjohnson_ has joined #zope3-dev | 19:44 | |
*** jsadjohnson has quit IRC | 19:46 | |
*** maurits has quit IRC | 19:46 | |
*** dobee has joined #zope3-dev | 19:46 | |
*** quodt has joined #zope3-dev | 19:57 | |
*** seletz has quit IRC | 19:59 | |
*** gimni has joined #zope3-dev | 20:08 | |
*** b52lap has joined #zope3-dev | 20:09 | |
*** srichter has quit IRC | 20:10 | |
*** thruflo has quit IRC | 20:12 | |
*** gimni_ has joined #zope3-dev | 20:19 | |
*** b52laptop has quit IRC | 20:24 | |
*** charith_para has joined #zope3-dev | 20:27 | |
*** menesis has quit IRC | 20:29 | |
*** gimni__ has joined #zope3-dev | 20:29 | |
*** aclark is now known as aclark|away | 20:31 | |
*** hexsprite has quit IRC | 20:32 | |
*** gimni___ has joined #zope3-dev | 20:35 | |
*** gimni has quit IRC | 20:36 | |
*** gimni___ is now known as gimni | 20:36 | |
*** gimni___ has joined #zope3-dev | 20:37 | |
*** timte has quit IRC | 20:38 | |
*** gimni_____ has joined #zope3-dev | 20:40 | |
*** gimni_____ has quit IRC | 20:40 | |
*** gimni_ has quit IRC | 20:49 | |
*** gimni__ has quit IRC | 20:50 | |
*** jukart has joined #zope3-dev | 20:54 | |
*** gimni has quit IRC | 20:55 | |
*** gimni___ has quit IRC | 20:58 | |
*** junkafarian has quit IRC | 20:58 | |
*** srichter has joined #zope3-dev | 21:02 | |
*** charith_para has left #zope3-dev | 21:03 | |
*** RaFromBRC has joined #zope3-dev | 21:11 | |
*** malthe has joined #zope3-dev | 21:24 | |
*** ignas has quit IRC | 21:33 | |
*** charith_para has joined #zope3-dev | 21:38 | |
*** charith_para has left #zope3-dev | 21:38 | |
*** jukart has quit IRC | 21:39 | |
*** charith_para has joined #zope3-dev | 21:49 | |
*** alga has quit IRC | 21:56 | |
*** charith_para has left #zope3-dev | 22:05 | |
*** dvschramm has joined #zope3-dev | 22:15 | |
*** mgedmin has quit IRC | 22:23 | |
*** dvschramm has quit IRC | 22:24 | |
*** jsadjohnson_ has left #zope3-dev | 22:27 | |
*** timte has joined #zope3-dev | 22:29 | |
*** aclark|away is now known as aclark | 22:39 | |
*** jodok has joined #zope3-dev | 22:41 | |
*** lucielejard has quit IRC | 22:44 | |
*** agroszer has quit IRC | 22:50 | |
*** yotaff has quit IRC | 23:01 | |
*** malthe has quit IRC | 23:01 | |
*** quodt has quit IRC | 23:04 | |
*** srichter has quit IRC | 23:19 | |
*** malthe has joined #zope3-dev | 23:20 | |
*** srichter has joined #zope3-dev | 23:20 | |
*** hazmat has quit IRC | 23:21 | |
*** bigkevmcd has quit IRC | 23:21 | |
*** aclark is now known as aclark|away | 23:24 | |
*** dunny has joined #zope3-dev | 23:39 | |
*** tarek has joined #zope3-dev | 23:39 | |
*** flox has quit IRC | 23:40 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:40 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 23:55 | |
*** jodok has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!