| sm | J1m: got any newer favourite languages ? | 00:23 |
|---|---|---|
| sm | just curious | 00:24 |
| *** mcdonc has quit IRC | 00:36 | |
| *** runyaga has joined #zope | 00:46 | |
| *** runyaga has quit IRC | 00:46 | |
| *** runyaga has joined #zope | 00:46 | |
| J1m | sm, wha? Oh, my griping about Python. No, It's still my favorite, though with less enthusiasm than in the past. :) | 00:50 |
| sm | yay :) | 00:51 |
| sm | when you said regularity, I thought of two of my favourites, haskell and racket | 00:52 |
| sm | but python is coming in to this java shop I'm in.. hooray | 00:53 |
| *** mcdonc has joined #zope | 00:54 | |
| *** J1m has quit IRC | 01:20 | |
| *** avn has quit IRC | 01:30 | |
| *** kosh has joined #zope | 01:30 | |
| *** mcdonc has quit IRC | 01:48 | |
| *** evilbungle has quit IRC | 01:52 | |
| *** mcdonc has joined #zope | 02:09 | |
| *** mcdonc has quit IRC | 02:38 | |
| *** tiwula has quit IRC | 02:42 | |
| *** daMaestro has quit IRC | 02:53 | |
| *** _mup_ has quit IRC | 03:00 | |
| *** _mup_ has joined #zope | 03:00 | |
| *** benji has quit IRC | 03:27 | |
| *** benji has joined #zope | 03:28 | |
| *** Spanktar has quit IRC | 03:29 | |
| *** rodgort has quit IRC | 04:22 | |
| *** rodgort has joined #zope | 04:24 | |
| *** KageSenshi has joined #zope | 05:13 | |
| *** benji has quit IRC | 05:16 | |
| *** nande has quit IRC | 05:19 | |
| *** mcdonc has joined #zope | 05:33 | |
| *** benji has joined #zope | 05:40 | |
| *** KageSenshi has quit IRC | 05:57 | |
| *** KageSenshi has joined #zope | 06:04 | |
| *** alecm has quit IRC | 06:11 | |
| *** dayne has joined #zope | 06:15 | |
| *** frapell has joined #zope | 06:23 | |
| *** mcdonc has quit IRC | 06:36 | |
| *** alecm has joined #zope | 06:51 | |
| *** RichyB has quit IRC | 06:54 | |
| *** mcdonc has joined #zope | 07:12 | |
| *** kosh has quit IRC | 07:44 | |
| *** mcdonc has quit IRC | 08:53 | |
| *** menesis has joined #zope | 08:59 | |
| *** KageSenshi has quit IRC | 09:08 | |
| *** agroszer has joined #zope | 09:14 | |
| *** KageSenshi has joined #zope | 09:22 | |
| *** __mac__ has joined #zope | 09:29 | |
| *** moo-_- has quit IRC | 09:33 | |
| *** vperic has joined #zope | 09:48 | |
| *** avoinea has joined #zope | 10:14 | |
| *** vperic has quit IRC | 10:20 | |
| *** __mac__ has quit IRC | 10:40 | |
| *** goschtl has joined #zope | 10:45 | |
| *** eperez has joined #zope | 10:47 | |
| *** moo-_- has joined #zope | 10:51 | |
| *** giacomos has joined #zope | 11:05 | |
| *** maurits has joined #zope | 11:16 | |
| *** eperez has quit IRC | 11:22 | |
| *** MrTango has joined #zope | 11:25 | |
| *** sunew has joined #zope | 11:43 | |
| *** RichyB has joined #zope | 11:44 | |
| *** moo-_- has quit IRC | 12:10 | |
| *** moo-_- has joined #zope | 12:13 | |
| *** evilbungle has joined #zope | 12:16 | |
| *** astoon has joined #zope | 12:21 | |
| *** astoon has left #zope | 12:23 | |
| *** avn has joined #zope | 12:36 | |
| *** teix has joined #zope | 12:44 | |
| *** __mac__ has joined #zope | 12:45 | |
| *** eperez has joined #zope | 12:49 | |
| *** __mac__ has quit IRC | 13:37 | |
| *** nande has joined #zope | 13:37 | |
| *** sunew has quit IRC | 14:30 | |
| *** yvl has joined #zope | 14:55 | |
| *** goschtl has quit IRC | 15:11 | |
| *** menesis has quit IRC | 15:27 | |
| *** fredvd has joined #zope | 15:28 | |
| *** menesis has joined #zope | 16:08 | |
| *** J1m has joined #zope | 16:11 | |
| *** kosh has joined #zope | 16:20 | |
| *** fredvd has quit IRC | 16:25 | |
| *** KageSenshi has quit IRC | 16:27 | |
| *** J1m has quit IRC | 16:36 | |
| *** J1m has joined #zope | 16:41 | |
| *** f10w has quit IRC | 16:42 | |
| *** f10w has joined #zope | 16:45 | |
| *** menesis has quit IRC | 16:50 | |
| *** menesis has joined #zope | 16:52 | |
| *** menesis has quit IRC | 17:09 | |
| *** menesis has joined #zope | 17:10 | |
| *** KageSenshi has joined #zope | 17:20 | |
| *** mcdonc has joined #zope | 17:23 | |
| *** mk has joined #zope | 17:32 | |
| *** mk has left #zope | 17:32 | |
| *** mk86ax has joined #zope | 17:33 | |
| mk86ax | Hi@all | 17:33 |
| mk86ax | I have a question regarding Zope: I have two products which both have a own configure.zcml. Both require to set permissions for id=zope.View which is causing a ConfigurationConflict Error when I try to start my zopeServer. Both Products need those permissions. Is there any way to give them without causing a conflict? | 17:35 |
| mgedmin | yes | 17:37 |
| mgedmin | you can override both of the conflicting directives and resolve the conflict that way | 17:38 |
| mgedmin | find the file that <include>s both product configurations, put the override in there | 17:38 |
| J1m | or include one of the files as an override of the other. | 17:39 |
| *** eperez has quit IRC | 17:39 | |
| mk86ax | hm I thought its working like that, but actually I have no clue how to do that. I have two configure.zcml, each at the place where the product is. There is also a override.zcml in both folders. But I have no idea what to write there to solve the conflict | 17:40 |
| mk86ax | k, i will post my zcmls to pastie. one moment | 17:41 |
| mk86ax | http://pastie.org/private/sfgriw62j2aaygenpcmocg | 17:43 |
| mk86ax | those are the two zcml files. both with <permission id="zope.View" | 17:44 |
| mk86ax | so I guess I have to place that <permission id="zope.View" definition somewhere else to solve the conflict. Just don't know how and where :-( | 17:45 |
| mgedmin | you have to walk up the include tree | 17:47 |
| mgedmin | where is five/grok/configure.zcml included? | 17:47 |
| mgedmin | whee is gocept/fssyncz2/configure.zcml included? | 17:47 |
| mgedmin | IIRC the ConfigurationConflictError prints the include stack of both directives | 17:48 |
| mgedmin | (pastebint it maybe?) | 17:48 |
| mk86ax | http://pastie.org/private/zayfpuvwmtrdxbirgpvjpa | 17:50 |
| mgedmin | ok, I misremembered: it doesn't print the full include stack for config conflict errors | 17:52 |
| mk86ax | got no clue where to find the top of the stack. I tried to grep through but i get thousands of hits when it comes to configure.zcml or the product name s of course | 17:52 |
| *** dayne has quit IRC | 17:54 | |
| J1m | I'm 86% sure there used to be a traceback that showed zcml file names. <shrug> | 17:55 |
| mgedmin | I think regular exceptions that happen during configuration time show the full stack | 17:55 |
| mgedmin | mk86ax, this is zope 2? I'm not familiar with modern zope 2 | 17:56 |
| mgedmin | isn't there a site.zcml? | 17:56 |
| mk86ax | its zope2 yes | 17:56 |
| mk86ax | yes there is at instance1/etc | 17:57 |
| mk86ax | http://pastie.org/private/vjcm4pqfrds0v02gsoyluq | 17:57 |
| mgedmin | ok | 17:58 |
| mgedmin | I'd create a package-includes/something-overrides.zcml that contains this <permission ...> directive and a comment saying this is to resolve a conflict between five.grok and gocept.fssyncz2 | 17:58 |
| mgedmin | the hardest part is coming up with something to replace "something" in the filename ;) | 17:59 |
| mk86ax | honestly I am total nobody when it comes to zcml... | 18:00 |
| mk86ax | so that something-overrides.zcml needs a configure tag + that permission…. inside? | 18:00 |
| mk86ax | and where do i have to place this zcml file? | 18:00 |
| mk86ax | does: package-includes/something-overrides.zcml point to a certain path? | 18:01 |
| mgedmin | isn't there instance1/etc/package-includes? | 18:01 |
| mk86ax | ah i see, ok | 18:02 |
| mk86ax | so then i put the permission..line in here, including that file in the site.zcml and delete the permission entries from both configure.zcml files of the products? | 18:03 |
| mgedmin | no | 18:03 |
| mgedmin | you put the permission line in that (newly created) file | 18:03 |
| mgedmin | that's it | 18:03 |
| mgedmin | it's already included from site.zcml (<includeOverrides files="package-includes/*-overrides.zcml" />) | 18:04 |
| mgedmin | and it's an override, so you don't need to delete anything from other product's config files | 18:04 |
| *** vperic has joined #zope | 18:05 | |
| mk86ax | ah ok | 18:05 |
| mk86ax | ConfigurationError: ('Unknown directive', None, u'permission') | 18:06 |
| mk86ax | I put <configure><permission id="zope.View" title="View stuff" /></configure> in it, I guess that's not enough? :-D | 18:07 |
| *** kosh has quit IRC | 18:08 | |
| mgedmin | yeah, you need an xmlns | 18:10 |
| mgedmin | <configure xmlns="http://namespaces.zope.org/zope"> | 18:10 |
| mgedmin | sorry about not mentioning that (I forgot myself) | 18:10 |
| *** tiwula has joined #zope | 18:11 | |
| *** evilbungle has quit IRC | 18:11 | |
| *** evilbungle_ has joined #zope | 18:11 | |
| *** benji has quit IRC | 18:12 | |
| mk86ax | ConfigurationExecutionError: zope.component.interfaces.ComponentLookupError: (<InterfaceClass zope.security.interfaces.IPermission>, 'zope.View') | 18:13 |
| mgedmin | uhhh.... | 18:13 |
| mgedmin | pastebin full traceback? | 18:14 |
| mk86ax | http://pastie.org/private/rwkttobvhopz1z7zndxaa | 18:15 |
| mgedmin | maybe order matters here?> | 18:15 |
| mgedmin | in which case -overrides.zcml isn't going to cut it | 18:16 |
| mgedmin | and you need to move that <permission> line directly into site.zcml, between " <five:loadProducts file="meta.zcml"/>" and "<!-- Load the configuration -->" | 18:16 |
| *** benji has joined #zope | 18:18 | |
| mk86ax | yay, the server has at least started now without errors :-D | 18:19 |
| mgedmin | (you can probably see why I'm reluctant to recommend zope to anyone starting a new site/project) | 18:20 |
| mk86ax | well its not bad as long as you are not trying anything freaky like i do | 18:22 |
| mk86ax | i gotta go. but thank you VERY MUCH mgedmin, you made my day ;-.) | 18:22 |
| mgedmin | o/ | 18:23 |
| mk86ax | cya :-D | 18:23 |
| *** mk86ax has left #zope | 18:23 | |
| *** frapell has quit IRC | 18:25 | |
| *** frapell has joined #zope | 18:25 | |
| *** frapell has joined #zope | 18:25 | |
| *** Guest80319 has joined #zope | 18:26 | |
| *** mcdonc has quit IRC | 18:33 | |
| *** KageSenshi has quit IRC | 18:41 | |
| *** agroszer has quit IRC | 18:47 | |
| *** alecm has quit IRC | 19:06 | |
| *** evilbungle has joined #zope | 19:07 | |
| *** evilbungle_ has quit IRC | 19:07 | |
| *** vperic has quit IRC | 19:24 | |
| *** avoinea has quit IRC | 19:26 | |
| *** evilbungle has quit IRC | 19:33 | |
| *** chaoflow has quit IRC | 19:33 | |
| *** benji has quit IRC | 19:33 | |
| *** f10w has quit IRC | 19:33 | |
| *** kiorky has quit IRC | 19:33 | |
| *** CIA-80 has quit IRC | 19:33 | |
| *** _mup_ has quit IRC | 19:33 | |
| *** sp0cksbeard has quit IRC | 19:33 | |
| *** giacomos has quit IRC | 19:33 | |
| *** runyaga has quit IRC | 19:33 | |
| *** sm has quit IRC | 19:33 | |
| *** benbangert has quit IRC | 19:33 | |
| *** tiwula has quit IRC | 19:33 | |
| *** MrTango has quit IRC | 19:33 | |
| *** purserj has quit IRC | 19:33 | |
| *** iElectric has quit IRC | 19:33 | |
| *** Wu has quit IRC | 19:33 | |
| *** Arfrever has quit IRC | 19:33 | |
| *** teix has quit IRC | 19:33 | |
| *** Guest80319 has quit IRC | 19:33 | |
| *** J1m has quit IRC | 19:33 | |
| *** RichyB has quit IRC | 19:33 | |
| *** maurits has quit IRC | 19:33 | |
| *** avn has quit IRC | 19:33 | |
| *** polysix has quit IRC | 19:33 | |
| *** mitchell`off has quit IRC | 19:33 | |
| *** lahwran has quit IRC | 19:33 | |
| *** rodgort has quit IRC | 19:33 | |
| *** zenwryly has quit IRC | 19:33 | |
| *** moo-_- has quit IRC | 19:33 | |
| *** raydeo has quit IRC | 19:33 | |
| *** Deathspawn has quit IRC | 19:33 | |
| *** ajmitch has quit IRC | 19:33 | |
| *** JT___ has quit IRC | 19:33 | |
| *** betabug has quit IRC | 19:33 | |
| *** nande has quit IRC | 19:34 | |
| *** evilbungle has joined #zope | 19:34 | |
| *** nande1 has joined #zope | 19:34 | |
| *** Guest80319 has joined #zope | 19:34 | |
| *** benji has joined #zope | 19:34 | |
| *** tiwula has joined #zope | 19:34 | |
| *** f10w has joined #zope | 19:34 | |
| *** J1m has joined #zope | 19:34 | |
| *** teix has joined #zope | 19:34 | |
| *** avn has joined #zope | 19:34 | |
| *** moo-_- has joined #zope | 19:34 | |
| *** RichyB has joined #zope | 19:34 | |
| *** MrTango has joined #zope | 19:34 | |
| *** maurits has joined #zope | 19:34 | |
| *** giacomos has joined #zope | 19:34 | |
| *** rodgort has joined #zope | 19:34 | |
| *** _mup_ has joined #zope | 19:34 | |
| *** runyaga has joined #zope | 19:34 | |
| *** zenwryly has joined #zope | 19:34 | |
| *** kiorky has joined #zope | 19:34 | |
| *** polysix has joined #zope | 19:34 | |
| *** purserj has joined #zope | 19:34 | |
| *** chaoflow has joined #zope | 19:34 | |
| *** iElectric has joined #zope | 19:34 | |
| *** Wu has joined #zope | 19:34 | |
| *** benbangert has joined #zope | 19:34 | |
| *** sm has joined #zope | 19:34 | |
| *** sp0cksbeard has joined #zope | 19:34 | |
| *** Deathspawn has joined #zope | 19:34 | |
| *** Arfrever has joined #zope | 19:34 | |
| *** lahwran has joined #zope | 19:34 | |
| *** mitchell`off has joined #zope | 19:34 | |
| *** raydeo has joined #zope | 19:34 | |
| *** ajmitch has joined #zope | 19:34 | |
| *** betabug has joined #zope | 19:34 | |
| *** JT___ has joined #zope | 19:34 | |
| *** CIA-80 has joined #zope | 19:34 | |
| *** alecm has joined #zope | 19:40 | |
| *** alecm has joined #zope | 19:40 | |
| *** chaoflow has quit IRC | 19:44 | |
| *** benji has quit IRC | 19:44 | |
| *** f10w has quit IRC | 19:44 | |
| *** kiorky has quit IRC | 19:44 | |
| *** CIA-80 has quit IRC | 19:44 | |
| *** _mup_ has quit IRC | 19:44 | |
| *** sp0cksbeard has quit IRC | 19:44 | |
| *** giacomos has quit IRC | 19:44 | |
| *** runyaga has quit IRC | 19:44 | |
| *** sm has quit IRC | 19:44 | |
| *** benbangert has quit IRC | 19:44 | |
| *** tiwula has quit IRC | 19:44 | |
| *** MrTango has quit IRC | 19:44 | |
| *** purserj has quit IRC | 19:44 | |
| *** iElectric has quit IRC | 19:44 | |
| *** Wu has quit IRC | 19:44 | |
| *** Arfrever has quit IRC | 19:44 | |
| *** teix has quit IRC | 19:44 | |
| *** nande1 has quit IRC | 19:44 | |
| *** Guest80319 has quit IRC | 19:44 | |
| *** J1m has quit IRC | 19:44 | |
| *** RichyB has quit IRC | 19:44 | |
| *** maurits has quit IRC | 19:44 | |
| *** avn has quit IRC | 19:44 | |
| *** alecm has quit IRC | 19:44 | |
| *** polysix has quit IRC | 19:44 | |
| *** mitchell`off has quit IRC | 19:44 | |
| *** lahwran has quit IRC | 19:44 | |
| *** evilbungle has quit IRC | 19:44 | |
| *** rodgort has quit IRC | 19:44 | |
| *** zenwryly has quit IRC | 19:44 | |
| *** moo-_- has quit IRC | 19:44 | |
| *** raydeo has quit IRC | 19:44 | |
| *** Deathspawn has quit IRC | 19:44 | |
| *** ajmitch has quit IRC | 19:44 | |
| *** JT___ has quit IRC | 19:44 | |
| *** betabug has quit IRC | 19:44 | |
| *** alecm has joined #zope | 19:45 | |
| *** evilbungle has joined #zope | 19:45 | |
| *** nande1 has joined #zope | 19:45 | |
| *** Guest80319 has joined #zope | 19:45 | |
| *** benji has joined #zope | 19:45 | |
| *** tiwula has joined #zope | 19:45 | |
| *** f10w has joined #zope | 19:45 | |
| *** J1m has joined #zope | 19:45 | |
| *** teix has joined #zope | 19:45 | |
| *** avn has joined #zope | 19:45 | |
| *** moo-_- has joined #zope | 19:45 | |
| *** RichyB has joined #zope | 19:45 | |
| *** MrTango has joined #zope | 19:45 | |
| *** maurits has joined #zope | 19:45 | |
| *** giacomos has joined #zope | 19:45 | |
| *** rodgort has joined #zope | 19:45 | |
| *** _mup_ has joined #zope | 19:45 | |
| *** runyaga has joined #zope | 19:45 | |
| *** zenwryly has joined #zope | 19:45 | |
| *** kiorky has joined #zope | 19:45 | |
| *** polysix has joined #zope | 19:45 | |
| *** purserj has joined #zope | 19:45 | |
| *** chaoflow has joined #zope | 19:45 | |
| *** iElectric has joined #zope | 19:45 | |
| *** Wu has joined #zope | 19:45 | |
| *** benbangert has joined #zope | 19:45 | |
| *** sm has joined #zope | 19:45 | |
| *** sp0cksbeard has joined #zope | 19:45 | |
| *** Deathspawn has joined #zope | 19:45 | |
| *** Arfrever has joined #zope | 19:45 | |
| *** lahwran has joined #zope | 19:45 | |
| *** mitchell`off has joined #zope | 19:45 | |
| *** raydeo has joined #zope | 19:45 | |
| *** ajmitch has joined #zope | 19:45 | |
| *** betabug has joined #zope | 19:45 | |
| *** JT___ has joined #zope | 19:45 | |
| *** CIA-80 has joined #zope | 19:45 | |
| *** [Arfrever] has quit IRC | 19:45 | |
| *** [Arfrever] has joined #zope | 19:46 | |
| *** agroszer has joined #zope | 20:06 | |
| *** giacomos has quit IRC | 20:07 | |
| *** agroszer has quit IRC | 20:18 | |
| *** Spanktar has joined #zope | 20:18 | |
| *** evilbungle has quit IRC | 20:26 | |
| *** Guest80319 is now known as frapell | 20:29 | |
| *** frapell has joined #zope | 20:29 | |
| *** frapell has joined #zope | 20:30 | |
| *** Guest81710 has joined #zope | 20:30 | |
| *** Guest81710 is now known as frapell_ | 20:31 | |
| *** menesis has quit IRC | 20:37 | |
| *** frapell_ has quit IRC | 20:37 | |
| *** benji has quit IRC | 20:39 | |
| *** nande1 has quit IRC | 20:39 | |
| *** maurits has quit IRC | 20:40 | |
| *** benji has joined #zope | 20:45 | |
| *** Spanktar has quit IRC | 20:55 | |
| *** ajmitch has quit IRC | 20:55 | |
| *** Spanktar has joined #zope | 20:56 | |
| *** ajmitch has joined #zope | 20:58 | |
| *** frapell has joined #zope | 21:33 | |
| *** frapell has joined #zope | 21:33 | |
| *** frapell has quit IRC | 21:44 | |
| *** frapell has joined #zope | 21:45 | |
| *** frapell has joined #zope | 21:45 | |
| *** __mac__ has joined #zope | 21:46 | |
| *** evilbungle has joined #zope | 21:52 | |
| *** benji has quit IRC | 21:56 | |
| *** benji has joined #zope | 21:58 | |
| *** MrTango has quit IRC | 22:01 | |
| *** teix has quit IRC | 22:10 | |
| *** sqwishy has joined #zope | 22:25 | |
| sqwishy | Is there a way to register an adapter that is not a factory? | 22:25 |
| *** frapell has quit IRC | 22:26 | |
| benji | sqwishy: I don't understand the question. Will you elaborate a little? | 22:26 |
| *** frapell has joined #zope | 22:27 | |
| *** frapell has joined #zope | 22:27 | |
| sqwishy | benji: registerAdapter takes a class/factory and creates instances whenever it is needed by queryAdapter | 22:28 |
| sqwishy | I suppose I'm interested in registering one instance | 22:28 |
| benji | sqwishy: if you always want to return the same instance you can make a function that returns it | 22:30 |
| sqwishy | benji: And provide that as the factory? | 22:30 |
| benji | right | 22:30 |
| *** maurits has joined #zope | 22:31 | |
| sqwishy | benji: Well, I think the factory has to implement an interface. So I'm not sure it'd be as simple as a function. | 22:32 |
| benji | sqwishy: http://paste.ubuntu.com/1136771/ | 22:34 |
| benji | (that is untested code, but should be pretty close) | 22:34 |
| sqwishy | Oh, neato, I don't think I was aware of the implementer and adapter methods, just the other ones ... | 22:37 |
| *** maurits has quit IRC | 22:47 | |
| *** nande has joined #zope | 22:56 | |
| *** menesis has joined #zope | 22:58 | |
| *** __mac__ has quit IRC | 23:21 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!