*** pbugni has joined #zope3-dev | 00:17 | |
*** pbugni has quit IRC | 00:18 | |
*** pbugni has joined #zope3-dev | 00:20 | |
*** malthe has joined #zope3-dev | 00:36 | |
*** regebro has left #zope3-dev | 00:39 | |
*** malthe has quit IRC | 00:49 | |
*** chacha_chaudhry has quit IRC | 00:51 | |
*** benji has quit IRC | 00:58 | |
*** jsadjohnson has quit IRC | 01:20 | |
*** ktwilight has joined #zope3-dev | 01:29 | |
*** rcrafton has quit IRC | 01:38 | |
*** ktwilight_ has quit IRC | 01:44 | |
*** malthe has joined #zope3-dev | 01:49 | |
*** gstratton has quit IRC | 01:56 | |
*** J1m has quit IRC | 01:58 | |
*** MrTopf has quit IRC | 02:08 | |
*** javimansilla has left #zope3-dev | 02:13 | |
*** RaFromBRC is now known as RaFromBRC|away | 02:16 | |
*** aclark is now known as aclark|away | 02:30 | |
*** malthe_ has joined #zope3-dev | 02:54 | |
*** RaFromBRC|away is now known as RaFromBRC | 03:02 | |
*** malthe has quit IRC | 03:05 | |
*** ignas has quit IRC | 03:22 | |
*** jsadjohnson has joined #zope3-dev | 03:29 | |
*** stub has joined #zope3-dev | 03:36 | |
*** greenman has quit IRC | 03:40 | |
*** pbugni has quit IRC | 03:45 | |
*** huajie has joined #zope3-dev | 03:57 | |
*** fcorrea has quit IRC | 04:13 | |
*** tjs has joined #zope3-dev | 04:43 | |
tjs | is there a counterpart to dottedname.resolve.resolve() that actaully takes a class and returns a dotted name? | 04:43 |
---|---|---|
*** b52laptop has quit IRC | 04:44 | |
srichter | tjs: Klass.__module__ + '.' + Klass.__name__ | 04:46 |
tjs | heh, to easy :) | 04:47 |
tjs | ty | 04:47 |
*** dunny has quit IRC | 04:59 | |
*** greenman has joined #zope3-dev | 05:08 | |
*** ousado has joined #zope3-dev | 05:08 | |
*** salfield has joined #zope3-dev | 05:11 | |
*** jsadjohnson_ has joined #zope3-dev | 05:14 | |
*** malthe_ has quit IRC | 05:17 | |
*** ousado_ has quit IRC | 05:22 | |
*** jap has quit IRC | 05:24 | |
*** wiggy has quit IRC | 05:24 | |
*** ktwilight has quit IRC | 05:24 | |
*** jpfarias has quit IRC | 05:24 | |
*** tarek has quit IRC | 05:24 | |
*** lisppaste6 has quit IRC | 05:24 | |
*** SteveA has quit IRC | 05:24 | |
*** ktwilight has joined #zope3-dev | 05:25 | |
*** tarek has joined #zope3-dev | 05:25 | |
*** lisppaste6 has joined #zope3-dev | 05:25 | |
*** jpfarias has joined #zope3-dev | 05:25 | |
*** wiggy has joined #zope3-dev | 05:25 | |
*** SteveA has joined #zope3-dev | 05:25 | |
*** jap has joined #zope3-dev | 05:25 | |
*** RaFromBRC has quit IRC | 05:29 | |
*** pandres has quit IRC | 05:32 | |
*** huajie has quit IRC | 05:36 | |
*** huajie has joined #zope3-dev | 05:36 | |
*** Ariel_Calzada has joined #zope3-dev | 05:47 | |
*** rcrafton has joined #zope3-dev | 05:48 | |
*** huajie has quit IRC | 06:04 | |
*** rcrafton has quit IRC | 06:26 | |
*** niemeyer has quit IRC | 06:37 | |
*** tjs has quit IRC | 07:00 | |
*** jsadjohnson_ has quit IRC | 07:06 | |
*** febb has joined #zope3-dev | 07:10 | |
*** alecm has quit IRC | 07:16 | |
*** edgordon_ has quit IRC | 07:46 | |
*** jukart has joined #zope3-dev | 08:11 | |
*** febb has quit IRC | 08:12 | |
*** febb has joined #zope3-dev | 08:12 | |
*** pelle_ has joined #zope3-dev | 08:12 | |
*** febb has joined #zope3-dev | 08:12 | |
*** pelle_ has quit IRC | 08:13 | |
*** jsadjohnson has quit IRC | 08:17 | |
*** jukart has quit IRC | 08:22 | |
*** cursor has joined #zope3-dev | 08:37 | |
*** febb has quit IRC | 08:39 | |
*** markusleist has quit IRC | 08:39 | |
*** jukart has joined #zope3-dev | 08:48 | |
*** afd__ has joined #zope3-dev | 09:08 | |
*** zagy has quit IRC | 09:09 | |
*** zagy has joined #zope3-dev | 09:09 | |
*** ghendi has joined #zope3-dev | 09:17 | |
*** stub has quit IRC | 09:19 | |
*** chacha_chaudhry has joined #zope3-dev | 09:21 | |
*** baijum has joined #zope3-dev | 09:22 | |
*** agroszer has joined #zope3-dev | 09:23 | |
*** hdima has joined #zope3-dev | 09:23 | |
*** d2m has joined #zope3-dev | 09:32 | |
*** dobee has joined #zope3-dev | 09:33 | |
*** timte has joined #zope3-dev | 09:36 | |
*** dobee has quit IRC | 09:38 | |
wiggy | there's a convenience method or 3 out there as well | 09:46 |
*** baijum has quit IRC | 09:50 | |
*** kushal has joined #zope3-dev | 09:53 | |
*** markusleist has joined #zope3-dev | 10:00 | |
*** baijum has joined #zope3-dev | 10:08 | |
*** MrTopf has joined #zope3-dev | 10:10 | |
romanofski | moin :) | 10:17 |
kushal | baijum, | 10:17 |
baijum | Hi kushal | 10:17 |
kushal | baijum, at last started learning :) | 10:17 |
baijum | kushal, good. feel free to ask questions in this channel or zope3-users list :) | 10:19 |
kushal | baijum, ok | 10:19 |
baijum | kushal, BTW, are you using zopeproject or tar ball ? | 10:20 |
*** ousado_ has joined #zope3-dev | 10:20 | |
kushal | baijum, I installed the tarball | 10:21 |
baijum | kushal, ah. ok, but I would suggest zopeproject, see my screencast: http://www.baijum.info/z3/screencasts/zopeproject.html (updated version) | 10:22 |
kushal | checking | 10:24 |
*** BjornT has quit IRC | 10:29 | |
kushal | baijum, cool, finished | 10:29 |
*** BjornT has joined #zope3-dev | 10:29 | |
kushal | baijum, going for lunch, will come back and talk | 10:30 |
baijum | ok | 10:30 |
*** gstratton has joined #zope3-dev | 10:33 | |
*** pelle_ has joined #zope3-dev | 10:35 | |
*** afd__ has quit IRC | 10:36 | |
*** ousado has quit IRC | 10:37 | |
*** afd__ has joined #zope3-dev | 10:41 | |
kushal | back | 10:45 |
kushal | baijum, it is cool | 10:45 |
baijum | thanks! | 10:52 |
*** salfield has quit IRC | 10:52 | |
kushal | baijum, virtualenv is not installing | 10:54 |
baijum | kushal, what is the error coming, can you paste it here: http://paste.lisp.org/new/zope3-dev | 10:55 |
kushal | baijum, doing | 10:55 |
kushal | got it, they blocked my Internet connection for the virtual system | 10:57 |
baijum | ok | 10:57 |
baijum | kushal, btw, virtualenv is not mandatory, but an isolated working environment is always good while exploring something new. | 11:01 |
kushal | baijum, ok | 11:01 |
kushal | baijum, I also have zopeproject for grok iirc | 11:01 |
baijum | kushal, that is grokproject, very similar to zopeproject (I guess grokproject will use zopeproject in future) | 11:03 |
kushal | oh | 11:03 |
kushal | my mistake :) | 11:03 |
kushal | baijum, everything is installed properly | 11:05 |
baijum | good | 11:06 |
baijum | BTW, are you using zc.buildout's 'eggs-directory' option, see my post: http://baijum81.livejournal.com/20551.html | 11:07 |
baijum | It would be better to use 'eggs-directory' option, so that buildout can make use already downloaded eggs | 11:08 |
*** MJ has joined #zope3-dev | 11:09 | |
kushal | checking | 11:11 |
kushal | baijum, I took the default option and directory for eggs | 11:13 |
baijum | kushal, ok, next time onwards use that option in your global configuration ($HOME/.buildout/default.cfg) so that all your buildouts can share eggs | 11:14 |
kushal | baijum, ok | 11:15 |
*** pelle__ has joined #zope3-dev | 11:27 | |
*** yvl has joined #zope3-dev | 11:27 | |
*** greenman has quit IRC | 11:33 | |
*** greenman has joined #zope3-dev | 11:34 | |
*** dobee has joined #zope3-dev | 11:41 | |
*** pelle_ has quit IRC | 11:50 | |
*** mgedmin has joined #zope3-dev | 11:51 | |
*** afd__ has quit IRC | 12:10 | |
*** jodok has joined #zope3-dev | 12:13 | |
*** jinty has joined #zope3-dev | 12:19 | |
*** philiKON has joined #zope3-dev | 12:24 | |
*** salfield has joined #zope3-dev | 12:27 | |
*** b52laptop has joined #zope3-dev | 12:35 | |
*** ghendi has quit IRC | 12:37 | |
*** stub has joined #zope3-dev | 12:40 | |
*** salfield_ has joined #zope3-dev | 12:48 | |
*** salfield has quit IRC | 12:50 | |
*** ghendi has joined #zope3-dev | 13:00 | |
*** malthe has joined #zope3-dev | 13:07 | |
*** ktwilight has quit IRC | 13:08 | |
*** ignas has joined #zope3-dev | 13:09 | |
*** ktwilight has joined #zope3-dev | 13:09 | |
*** mkerrin has joined #zope3-dev | 13:21 | |
*** salfield_ has quit IRC | 13:21 | |
*** malthe is now known as malthe|away | 13:23 | |
*** jpfarias has quit IRC | 13:36 | |
*** salfield_ has joined #zope3-dev | 13:40 | |
*** tarek_ has joined #zope3-dev | 13:41 | |
*** b52laptop has quit IRC | 13:48 | |
*** yvl has quit IRC | 13:48 | |
*** b52laptop has joined #zope3-dev | 13:49 | |
*** edgordon has joined #zope3-dev | 13:50 | |
*** tarek has quit IRC | 13:51 | |
*** cursor has quit IRC | 13:55 | |
*** greenman has quit IRC | 13:59 | |
*** afd_ has quit IRC | 14:04 | |
*** baijum has quit IRC | 14:04 | |
*** cursor has joined #zope3-dev | 14:10 | |
*** alga has joined #zope3-dev | 14:16 | |
*** baijum has joined #zope3-dev | 14:16 | |
ignas | hi | 14:25 |
ignas | anyone familiar with i18n workings of zope3? | 14:26 |
ignas | in tal templates | 14:26 |
ignas | do i need i18n:translate="" for tags that contain "msgids coming from sourcecode" and "literal strings that i want translated" | 14:28 |
*** algenis has joined #zope3-dev | 14:28 | |
ignas | or just for literal strings | 14:28 |
algenis | hola | 14:28 |
*** algenis has quit IRC | 14:29 | |
*** rocky has quit IRC | 14:38 | |
*** rocky has joined #zope3-dev | 14:40 | |
*** aclark|away is now known as aclark | 14:41 | |
*** pelle_ has joined #zope3-dev | 14:45 | |
*** pelle___ has joined #zope3-dev | 14:46 | |
*** pelle__ has quit IRC | 15:00 | |
*** pelle___ has quit IRC | 15:08 | |
*** pelle_ has quit IRC | 15:08 | |
*** benji has joined #zope3-dev | 15:18 | |
*** pelle_ has joined #zope3-dev | 15:24 | |
*** _tarek_ has joined #zope3-dev | 15:24 | |
*** niemeyer has joined #zope3-dev | 15:28 | |
*** salfield_ has quit IRC | 15:30 | |
*** salfield has joined #zope3-dev | 15:30 | |
*** MJ is now known as MJ|away | 15:34 | |
*** malthe has joined #zope3-dev | 15:37 | |
*** tarek_ has quit IRC | 15:40 | |
*** malthe_ has joined #zope3-dev | 15:40 | |
*** fcorrea has joined #zope3-dev | 15:40 | |
*** jsadjohnson has joined #zope3-dev | 15:41 | |
*** pelle_ has quit IRC | 15:42 | |
*** pelle_ has joined #zope3-dev | 15:44 | |
*** afd_ has joined #zope3-dev | 15:45 | |
*** kushal has quit IRC | 15:50 | |
*** malthe|away has quit IRC | 15:53 | |
*** edgordon has quit IRC | 15:58 | |
*** malthe__ has joined #zope3-dev | 15:59 | |
*** malthe_ has quit IRC | 16:01 | |
*** malthe has quit IRC | 16:04 | |
*** edgordon has joined #zope3-dev | 16:04 | |
Cripps | moin :P | 16:09 |
Cripps | ... I'm getting some interesting behaviour here ... when I pass ensureUtility() a name="catalog" option, it adds the utility to MySite.getSiteManager()['default'] with a uuid ... | 16:11 |
Cripps | ... wait a second ... that has to do with something I wrote :/ | 16:11 |
*** J1m has joined #zope3-dev | 16:13 | |
Cripps | morning J1m | 16:17 |
*** baijum has quit IRC | 16:17 | |
*** salfield has quit IRC | 16:20 | |
*** salfield has joined #zope3-dev | 16:24 | |
Cripps | okay, now here's a doozy: I have overrided the default ContainerNameChooser with a uuid generator. Because of this, my siteManager uses my uuid generator. How would I go about getting the siteManager to either 1)not use the default name chooser, or 2)use specified names for objects on object creation ? | 16:28 |
*** brandon_rhodes has joined #zope3-dev | 16:28 | |
ignas | Cripps: do not override the default name chooser? | 16:28 |
ignas | might help ... | 16:28 |
*** ruda_porto has joined #zope3-dev | 16:29 | |
Cripps | ignas: is that the *only* way to get the site manager to not use the uuids? | 16:29 |
ignas | not the *only*, but the right one ... | 16:29 |
Cripps | ah. | 16:29 |
*** edgordon has quit IRC | 16:30 | |
ignas | you can add an if in your namechooser that checks for the type of the context | 16:30 |
ignas | and does different things for different objects | 16:30 |
ignas | but that would be *wrong* | 16:30 |
Cripps | hahaha. | 16:30 |
Cripps | yeah ... pretty much the *only* thing that doesn't use the uuids is the siteManager ... | 16:31 |
Cripps | but, I guess I'll go back and *not* override the NameChooser, and see how that turns out. | 16:31 |
Cripps | Thanks. | 16:31 |
ignas | usually you add a namechoser for some interface | 16:32 |
ignas | and apply that interface to containers | 16:32 |
ignas | that should use the namechooser in zcml | 16:32 |
ignas | instead of overriding the global one | 16:32 |
Cripps | ignas: get this: the interface my name chooser is declared for is "zope.app.container.interfaces.IContainer" ... heh ;) | 16:33 |
ignas | not a good idea | 16:33 |
Cripps | and I'm learning precisely why right now. | 16:33 |
Cripps | so the best idea, then, is to make a marker interface, and apply that interface to the containers I want to use my uuid generator ... correct? | 16:34 |
ignas | yes | 16:34 |
ignas | explicitly | 16:34 |
ignas | through <class> directive in zcml for example | 16:35 |
Cripps | sounds reasonable then. I guess I'll work on it. | 16:35 |
Cripps | yes ... <class class=MyClass><Implements="MyUUID.Marker.Interface"/></class> | 16:36 |
Cripps | ... more or less. | 16:36 |
*** sureshvv has joined #zope3-dev | 16:36 | |
sureshvv | question on formlib... how to I get the error messages to be displayed in local language | 16:39 |
*** MJ|away is now known as MJ | 16:42 | |
*** rcrafton has joined #zope3-dev | 16:42 | |
*** malthe__ has quit IRC | 16:43 | |
*** malthe has joined #zope3-dev | 16:44 | |
*** malthe_ has joined #zope3-dev | 16:46 | |
*** malthe has quit IRC | 16:48 | |
*** malthe has joined #zope3-dev | 16:53 | |
*** malthe_ has quit IRC | 16:53 | |
*** niemeyer has quit IRC | 16:56 | |
mgedmin | sureshvv: by using ugly hacks | 16:58 |
mgedmin | actually, wait a second, aren't these already messageids? | 16:58 |
mgedmin | I recall Zope 3 doing not-nice things like MyErrorClass.__doc__ = _("Error message") | 16:59 |
mgedmin | next to the definition of MyErrorClass | 16:59 |
*** deo has joined #zope3-dev | 16:59 | |
*** MJ is now known as MJ|away | 17:01 | |
srichter | J1m: when was the ZF election? | 17:01 |
srichter | I did not receive an invite to vote | 17:01 |
sureshvv | mgedmin: formlib still displays "There were errors" in English even though the messages on the field shows up correctly in Dutch | 17:02 |
mgedmin | that's strange, since zope.formlib.form has | 17:02 |
mgedmin | self.status = _('There were errors') | 17:02 |
mgedmin | so it should be translated | 17:02 |
*** chacha_chaudhry has quit IRC | 17:03 | |
sureshvv | mgedmin... I checked the .po file and the corresponding messages there are blank | 17:04 |
*** niemeyer has joined #zope3-dev | 17:06 | |
mgedmin | does't blank mean "use the original because there's no translation"? | 17:11 |
markusleist | is there a subscriber-point for shutdown-notice a zope3-application (like handler=".bootstrap.bootStrapSubscriberDatabase" which is called on startup)? | 17:16 |
*** rcrafton has quit IRC | 17:21 | |
*** salfield has quit IRC | 17:30 | |
*** ghendi has quit IRC | 17:31 | |
*** zagy has quit IRC | 17:35 | |
*** jsadjohnson has quit IRC | 17:47 | |
*** jpfarias has joined #zope3-dev | 17:50 | |
*** hdima has quit IRC | 17:53 | |
*** rcrafton has joined #zope3-dev | 18:02 | |
mgedmin | I think not | 18:07 |
*** nathany has joined #zope3-dev | 18:08 | |
*** MJ|away is now known as MJ | 18:13 | |
*** zagy has joined #zope3-dev | 18:15 | |
J1m | mgedmin, I think there might be. I think shutdown might actually be done via an event. | 18:16 |
markusleist | Aha, which event? | 18:16 |
J1m | don't know :) I'd have to look it up. | 18:17 |
markusleist | ... i have some threads and have to shutdown them "clean", by calling a special thread_stop-function | 18:18 |
mgedmin | there's IProcessStartingEvent and IDatabaseOpenedEvent, but I don't see their opposites | 18:19 |
J1m | Nope, utilities are used instead. | 18:22 |
J1m | No event. | 18:22 |
J1m | Sorry. | 18:22 |
J1m | You could create your own utility that wrapped the existing onces and generated an event. | 18:22 |
J1m | (See IServerControl.) | 18:23 |
markusleist | ok, thanks | 18:23 |
philiKON | J1m: i think IServerControl should go | 18:27 |
philiKON | well, or at least we can't rely on it being there anymore | 18:27 |
philiKON | e.g. with paste deployment, zope isn't in charge of the process anymore | 18:28 |
philiKON | it can't possibly know how it's being invoked and how to shut down the process | 18:28 |
J1m | I think the original use case is valid. | 18:28 |
*** pyqwer has quit IRC | 18:29 | |
philiKON | (i think this part of the application controller is a classical example of how zope thinks of itself as owning the app space) | 18:29 |
philiKON | what's the original use case? | 18:29 |
J1m | Control the process through the web. | 18:29 |
J1m | There should be a way to satisfy that use case. | 18:30 |
philiKON | ok. if that use case is valid, then it sure isn't zope's business | 18:30 |
philiKON | whichever provides the process management, e.g. paste, should provide the means | 18:30 |
J1m | There's been a proposal from the CherryPy guy to define an event system to provide or integrate with this sort of control. | 18:30 |
J1m | Then it also needs to provide hooks. | 18:31 |
J1m | a server control implementation could then use these hooks. | 18:31 |
philiKON | sounds sensible | 18:31 |
*** ruda_porto has quit IRC | 18:31 | |
J1m | Regardless, there really should be a shutdown event. | 18:31 |
ignas | how is i18n extract treating zcml conditionals? is it exploring both branches? | 18:31 |
*** ruda_porto has joined #zope3-dev | 18:32 | |
philiKON | ignas: probably not | 18:32 |
philiKON | ignas: at least i doubt. but iw ould just try it out :) | 18:32 |
philiKON | J1m: i wonder if we can guarantee that it'll be dispatched upon hitting Ctrl-C in the shell... | 18:33 |
mgedmin | why not? KeyboardInterrupt can be caught | 18:33 |
mgedmin | well, if you use paste or something, then things do get interesting | 18:34 |
philiKON | yup | 18:34 |
philiKON | i just think zope should stop pretending to own the app/process entirely. that said, i'm all for covering the use cases, but probably they're best implemented at a different level now | 18:34 |
ignas | like a wsgi middleware that adds server control? | 18:35 |
ignas | process control | 18:35 |
philiKON | if a middleware could do it, then the app could do it as well | 18:36 |
philiKON | i think the gateway has to provide this functionality | 18:36 |
ignas | oh, just thought about it | 18:36 |
philiKON | and some gateways will probably unlike provide it... like, apache :) | 18:36 |
*** timte has quit IRC | 18:41 | |
J1m | philiKON, This is s didcussion for the web-sig list, after reviewing the existing proposal. | 18:46 |
philiKON | yeah | 18:47 |
*** malthe has quit IRC | 18:47 | |
*** malthe has joined #zope3-dev | 18:48 | |
Cripps | I'm passing a string into ensureUtility as the name for my catalog (i.e. name="catalog") ... but I'm getting a failure/traceback from the nameChooser utility (the Zope default name chooser) that says "type object Catalog has no attribute 'rfind'" ... the call I make to ensureUtility is: ensureUtility(event.object, ICatalog, Catalog, Catalog, name="catalog"); Catalog was imported from zope.app.catalog.catalog .... if Catalog is not the right th | 18:49 |
Cripps | ing to use for 'type' then what is? | 18:49 |
*** pelle_ has quit IRC | 18:51 | |
philiKON | Cripps: ensureutility isn't an official API. we'd have to read its source, which is something you could as well :) | 18:52 |
Cripps | philiKON: it has been something that I've been doing, trying to figure it out. | 18:52 |
philiKON | anyway, rfind is something usually found on strings | 18:52 |
Cripps | that's odd, though ... if it's in the zope *core* why isn't it *official* API? | 18:52 |
philiKON | lots of stuff is in the zope core | 18:53 |
ignas | name = chooser.chooseName(utility_type, utility) | 18:53 |
ignas | looks fishy | 18:53 |
philiKON | yeah, definitely | 18:53 |
philiKON | Cripps: look up the definition for chooseName() | 18:53 |
philiKON | takes an object and a name | 18:53 |
philiKON | (not necessarily in that order) | 18:53 |
philiKON | anyway, ensureUtility isn't official until it's actually documented in an interface | 18:53 |
ignas | a name and an object | 18:53 |
Cripps | ah | 18:53 |
ignas | so i guess utility_type might be a string | 18:53 |
Cripps | interesting. if that's the case, I wonder what I should be using for the utility_type string ... that's something I can probably figure out on my own. | 18:54 |
*** malthe_ has joined #zope3-dev | 18:56 | |
Cripps | ahhhh ... I see exactly. Yeah, utility_type is a poorly named variable. If utility_type is passed in, and expected to be a string, name='' shouldn't even *be* in that function declaration. | 18:56 |
*** sureshvv has quit IRC | 18:56 | |
ignas | it should be | 18:56 |
ignas | the name is used for lookup | 18:56 |
Cripps | ah ... | 18:57 |
ignas | and the type is used to *generate* the new name | 18:57 |
Cripps | well, in the very least, there should be a check done on name. | 18:57 |
ignas | there are no guarantees that the name of your new utility will be identical to the type | 18:57 |
Cripps | if name is '': <generate new name>; elif name is not '': <do checks OR return name> | 18:57 |
*** b52laptop has quit IRC | 18:58 | |
*** malthe__ has joined #zope3-dev | 18:58 | |
ignas | name is the "registration name" | 18:58 |
Cripps | I might do that after hours when I'm not getting paid for it. | 18:58 |
ignas | and name generated by nameChooser is "storage name" | 18:58 |
ignas | not like it's sane | 18:58 |
*** nathany has quit IRC | 18:59 | |
Cripps | it still doesn't make sense for there to be two variables that hold *the same thing* on a function that should check for existence and make a new thing if it doesn't exist. | 18:59 |
ignas | just as having deprecation warnings in the code that is not a part of Zope3 API | 18:59 |
mgedmin | I'm sure they hold *slightly different things* | 18:59 |
ignas | they are not *the same thing* | 18:59 |
Cripps | well, the Deprecation warning there only explicitly mentions "asObject=False" | 18:59 |
mgedmin | it's just that nobody here knows what they'e supposed to be | 19:00 |
Cripps | mgedmin: that is a valid point. | 19:00 |
ignas | Cripps: yes, but even the fact that the warning is in there is not really normal, i mean - if it's not public API, how can it be deprecated ... | 19:00 |
Cripps | I don't understand the second half of that statement ... it sounds like you're arguing my side in there. | 19:02 |
Cripps | okay ... either way: I got the issue fixed with my call ... | 19:04 |
*** malthe__ is now known as malthe|unstable | 19:04 | |
Cripps | I think that I'll go over zope.app.appsetup.bootstrap.py in some of my off time and see what I can do to clean stuff up and/or make it more understandable. | 19:05 |
*** ignas has quit IRC | 19:07 | |
mgedmin | yay | 19:08 |
Cripps | yeah, that would be nice, wouldn't it? :) | 19:09 |
*** nathany has joined #zope3-dev | 19:11 | |
Cripps | wow. Here at work, Imma have to sift through a lot of crap to make sure everything gets set up properly on application instantiatin ... I have *a lot* of work ahead of me ;) | 19:11 |
*** pbugni has joined #zope3-dev | 19:12 | |
*** malthe has quit IRC | 19:15 | |
*** malthe|unstable has left #zope3-dev | 19:16 | |
Cripps | yish ... we've written about400k of code this summer ... | 19:16 |
*** malthe_ has quit IRC | 19:16 | |
* Cripps sighs | 19:22 | |
Cripps | ComponentLookupError: (<InterfaceClass zope.app.intid.interfaces.IIntIds>, '') ... can't you at leas tell me which file and line number this exception was raised in? | 19:23 |
*** cursor has quit IRC | 19:23 | |
Cripps | oh well ... classtime again. | 19:24 |
*** edgordon has joined #zope3-dev | 19:25 | |
*** jinty has quit IRC | 19:33 | |
*** jukart has quit IRC | 19:34 | |
*** jukart has joined #zope3-dev | 19:35 | |
*** dobee has quit IRC | 19:35 | |
*** edgordon has quit IRC | 19:37 | |
*** MJ is now known as MJ|dinner | 19:39 | |
*** b52laptop has joined #zope3-dev | 19:41 | |
*** jukart has quit IRC | 19:54 | |
*** Ariel_Calzada has quit IRC | 19:57 | |
*** Ariel_Calzada has joined #zope3-dev | 19:59 | |
*** jsadjohnson has joined #zope3-dev | 19:59 | |
*** Ariel_Calzada has quit IRC | 20:00 | |
*** whit is now known as whit|lunch | 20:01 | |
*** salfield has joined #zope3-dev | 20:01 | |
*** jodok has quit IRC | 20:07 | |
*** rcrafton has quit IRC | 20:08 | |
*** Ariel_Calzada has joined #zope3-dev | 20:10 | |
*** jodok has joined #zope3-dev | 20:10 | |
*** agroszer_ has joined #zope3-dev | 20:11 | |
*** rcrafton has joined #zope3-dev | 20:11 | |
*** jodok has quit IRC | 20:12 | |
*** faassen has joined #zope3-dev | 20:13 | |
*** RaFromBRC has joined #zope3-dev | 20:14 | |
*** benji has quit IRC | 20:20 | |
*** agroszer has quit IRC | 20:24 | |
*** MJ|dinner is now known as MJ | 20:28 | |
*** agroszer_ is now known as agroszer | 20:39 | |
*** philiKON has quit IRC | 20:44 | |
*** edgordon has joined #zope3-dev | 20:52 | |
*** aclark is now known as aclark|nearby | 20:55 | |
*** dobee has joined #zope3-dev | 20:58 | |
srichter | mkerrin: thanks for helping out with z3c.form! | 21:08 |
agroszer | hi srichter! | 21:11 |
srichter | agroszer: hey | 21:11 |
srichter | agroszer: ready for the travel? :-) | 21:11 |
agroszer | has Roger arrived? | 21:11 |
agroszer | nothing packed yet :-) | 21:11 |
*** rcrafton has quit IRC | 21:12 | |
*** jodok has joined #zope3-dev | 21:12 | |
*** jsadjohnson_ has joined #zope3-dev | 21:12 | |
srichter | agroszer: he should be here in about an hour; but he has a rental car, so I will not pick him up | 21:12 |
agroszer | good | 21:13 |
*** whit|lunch is now known as whit | 21:14 | |
*** mgedmin has quit IRC | 21:16 | |
mkerrin | srichter: no problem - by the way I have another security related problem - the same one just reported to the zope3-users list - that I need some input | 21:19 |
srichter | mkerrin: ok, shoot | 21:19 |
mkerrin | a) can I just add the security declarations to zcml without tests and b) zope.View or zope.Public | 21:19 |
srichter | a) I am okay with that | 21:20 |
srichter | b) depends on what you want to do | 21:20 |
*** junkafarian has joined #zope3-dev | 21:21 | |
mkerrin | a) cool - the test would not be nice to write | 21:21 |
srichter | yep, testing security with unit tests is extremely hard | 21:22 |
mkerrin | b) I just need access to some attributes so I think that the zope.Public permission is fine - the user should have already gone through the security mechanism | 21:22 |
mkerrin | as the problem only relates on displaying error messages | 21:22 |
srichter | ok, then sure | 21:23 |
*** dobee has quit IRC | 21:24 | |
mkerrin | cool so just have to fix it now | 21:25 |
srichter | great, thanks | 21:25 |
srichter | mkerrin: is it the same problem Yuan HOng reported? | 21:25 |
mkerrin | yipe | 21:26 |
srichter | ok, great | 21:26 |
srichter | the second error he sees is due to the fact that sometimes widget is None, so that the templates need to have "|nothing" after the label call | 21:26 |
srichter | (even better probably; the error view snippet update() method should try to extract the label | 21:27 |
*** dobee has joined #zope3-dev | 21:27 | |
*** jsadjohnson has quit IRC | 21:28 | |
Cripps | alright: I win for now ... but alas, it is time for me to head off home. Cheers for now guys. | 21:29 |
mkerrin | maybe - I am not seeing this - once I give access to the widgets then everything works for me and I getting the same problems (so text / textarea widgets) | 21:30 |
*** rcrafton has joined #zope3-dev | 21:31 | |
*** brandon_rhodes has left #zope3-dev | 21:35 | |
agroszer | good night | 21:39 |
*** agroszer has quit IRC | 21:39 | |
*** pelle_ has joined #zope3-dev | 21:42 | |
*** pelle_ has quit IRC | 21:43 | |
*** fcorrea has left #zope3-dev | 21:43 | |
*** jsadjohnson has joined #zope3-dev | 21:44 | |
*** pelle_ has joined #zope3-dev | 21:45 | |
*** salfield has quit IRC | 21:46 | |
*** dunny has joined #zope3-dev | 21:55 | |
*** jsadjohnson_ has quit IRC | 21:55 | |
*** MrTopf has quit IRC | 22:09 | |
*** MrTopf has joined #zope3-dev | 22:10 | |
*** afd__ has joined #zope3-dev | 22:19 | |
*** Ariel_Calzada has quit IRC | 22:22 | |
*** greenman has joined #zope3-dev | 22:22 | |
*** zagy has quit IRC | 22:25 | |
*** Ariel_Calzada has joined #zope3-dev | 22:29 | |
*** mkerrin has quit IRC | 22:30 | |
*** MrTopf has quit IRC | 22:31 | |
*** dobee has quit IRC | 22:39 | |
*** markusleist has quit IRC | 22:44 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 22:45 | |
*** MJ has quit IRC | 22:46 | |
*** alecm has joined #zope3-dev | 22:48 | |
*** dobee has joined #zope3-dev | 22:59 | |
*** dobee has joined #zope3-dev | 23:01 | |
*** markusleist has joined #zope3-dev | 23:09 | |
*** greenman has quit IRC | 23:10 | |
*** philiKON has joined #zope3-dev | 23:17 | |
*** jodok has quit IRC | 23:24 | |
*** d2m has quit IRC | 23:24 | |
*** jsadjohnson has quit IRC | 23:26 | |
*** ruda_porto has quit IRC | 23:34 | |
*** afd__ has quit IRC | 23:40 | |
*** dunny has quit IRC | 23:40 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 23:46 | |
*** RaFromBRC_ has joined #zope3-dev | 23:52 | |
*** pbugni_ has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!