| *** d2m has joined #zope3-dev | 00:24 | |
| *** tvon has quit IRC | 00:34 | |
| *** tvon|31 has joined #zope3-dev | 00:37 | |
| *** Theuni has quit IRC | 00:37 | |
| *** tvon|31 is now known as tvon | 00:38 | |
| *** tvon has quit IRC | 00:40 | |
| *** tvon has joined #zope3-dev | 00:40 | |
| *** sashav has joined #zope3-dev | 01:08 | |
| philiKON | alienoid, i didn't get an email either | 01:27 |
|---|---|---|
| philiKON | that's strange | 01:27 |
| alienoid | hmm.. | 01:29 |
| alienoid | philiKON: not sure, but maybe my provider screwed things up.., can i send copy directly to your mail? | 01:30 |
| philiKON | well, i know what you want to do but the others don't ;) | 01:32 |
| alienoid | :) | 01:32 |
| alienoid | philiKON: i subscribed from another address and sent mail again | 01:47 |
| alienoid | seems like my local provider really makes bad... | 01:48 |
| philiKON | alienoid, got the msg now | 02:01 |
| philiKON | alienoid, i think we can give you access tomorrow, I'm going to bed now :) | 02:02 |
| philiKON | alienoid, we're usually hanging around #z3-base | 02:03 |
| alienoid | ok, thanks | 02:07 |
| alienoid | good night :) | 02:07 |
| *** Voblia has joined #zope3-dev | 02:18 | |
| *** projekt01 has quit IRC | 03:17 | |
| *** sashav has quit IRC | 03:17 | |
| *** Voblia has left #zope3-dev | 03:25 | |
| *** `anthony has quit IRC | 03:38 | |
| *** alienoid has quit IRC | 03:54 | |
| *** sashav has joined #zope3-dev | 05:00 | |
| *** povbot` has joined #zope3-dev | 05:04 | |
| *** povbot has quit IRC | 05:05 | |
| *** Damascene has quit IRC | 05:05 | |
| *** VladDrac has quit IRC | 05:05 | |
| *** VladDrac has joined #zope3-dev | 05:08 | |
| *** `anthony has joined #zope3-dev | 05:14 | |
| *** `anthony has quit IRC | 05:31 | |
| *** Jim7J1AJH has quit IRC | 05:31 | |
| *** tvon has quit IRC | 05:33 | |
| *** philiKON has quit IRC | 05:33 | |
| *** bradb has quit IRC | 05:33 | |
| *** tvon has joined #zope3-dev | 05:38 | |
| *** philiKON has joined #zope3-dev | 05:38 | |
| *** `anthony has joined #zope3-dev | 05:38 | |
| *** Jim7J1AJH has joined #zope3-dev | 05:38 | |
| *** bradb has joined #zope3-dev | 05:40 | |
| *** sashav has quit IRC | 06:13 | |
| *** Damascene has joined #zope3-dev | 07:41 | |
| *** apauley|away is now known as apauley | 07:46 | |
| *** sashav has joined #zope3-dev | 07:53 | |
| *** d2m has quit IRC | 08:05 | |
| *** sashav has quit IRC | 08:31 | |
| zagy | moin | 08:35 |
| *** d2m has joined #zope3-dev | 08:46 | |
| *** SteveA has joined #zope3-dev | 08:58 | |
| *** stub has joined #zope3-dev | 09:28 | |
| *** Theuni has joined #zope3-dev | 09:36 | |
| *** mooded has joined #zope3-dev | 09:52 | |
| *** `anthony has quit IRC | 10:10 | |
| *** stub has quit IRC | 10:10 | |
| *** stub has joined #zope3-dev | 10:34 | |
| *** sashav has joined #zope3-dev | 11:00 | |
| *** `anthony has joined #zope3-dev | 11:02 | |
| *** MalcolmC has joined #zope3-dev | 11:32 | |
| *** stub has quit IRC | 11:33 | |
| *** stub has joined #zope3-dev | 11:34 | |
| *** Voblia_ has joined #zope3-dev | 11:36 | |
| *** sashav has quit IRC | 12:57 | |
| *** kaczordek has joined #zope3-dev | 14:08 | |
| *** d2m has quit IRC | 14:09 | |
| *** kaczordek has quit IRC | 14:26 | |
| *** srichter has quit IRC | 14:41 | |
| * VladDrac 's noticing that the code he's writing somewhat depends on an architecture as offered by zope3 | 14:52 | |
| VladDrac | (a non-zope project) | 14:52 |
| SteveA | yay | 14:53 |
| VladDrac | I wonder *if* zope3 can be of use here | 14:53 |
| VladDrac | (and how :) | 14:54 |
| SteveA | don't see why not | 14:55 |
| SteveA | you can use adapters and utilities | 14:55 |
| SteveA | and events | 14:55 |
| SteveA | you can use the server and publisher | 14:55 |
| SteveA | although, you'd probably want to use jim's (not checked in yet probably) bobo publisher | 14:55 |
| VladDrac | don't need a publisher - it's not web based | 14:56 |
| VladDrac | just need a component architecture | 14:56 |
| SteveA | should be easy thne | 14:56 |
| VladDrac | well I need to 'boot' some stuff... some examples would be nice | 14:56 |
| SteveA | you can even do without zcml if you want by using usedfor() (or similar, can't remember) like an implements() | 14:56 |
| VladDrac | I recall that martijn had some sample code | 14:56 |
| VladDrac | actually, I just noticed that zcml would be cool | 14:56 |
| *** alienoid has joined #zope3-dev | 15:00 | |
| philiKON | SteveA, adapts() | 15:04 |
| SteveA | philiKON: ta | 15:05 |
| philiKON | which means what in lithuanian? | 15:05 |
| *** mooded has quit IRC | 15:17 | |
| VladDrac | does anyone know of an example of running zope3 stuff standalone? | 15:18 |
| SteveA | you'll have to specify what subset you are interested in | 15:22 |
| VladDrac | interfaces, adapters, utilities, zcml | 15:22 |
| *** Aiste has quit IRC | 15:36 | |
| *** BjornT has quit IRC | 15:36 | |
| *** Aiste has joined #zope3-dev | 15:47 | |
| *** mgedmin has joined #zope3-dev | 15:48 | |
| *** srichter has joined #zope3-dev | 15:56 | |
| VladDrac | hmm five seems to be a good starting point | 15:57 |
| VladDrac | or I could just bug srichter - he knows everything >:) | 15:57 |
| *** ChanServ sets mode: +o srichter | 15:59 | |
| srichter | what? | 16:00 |
| philiKON | VladDrac, i would look at five | 16:03 |
| *** apauley has quit IRC | 16:14 | |
| *** sashav has joined #zope3-dev | 16:19 | |
| *** BjornT has joined #zope3-dev | 16:21 | |
| *** vlado has joined #zope3-dev | 16:34 | |
| VladDrac | hmm, the code example on page 283 in my Zope3 devguide pdf is missing 2 columns | 16:34 |
| VladDrac | resulting in 'ass GlobalSmileyTheme' | 16:34 |
| VladDrac | I hope this is fixed in the printed version >:) | 16:34 |
| *** povbot has joined #zope3-dev | 16:36 | |
| *** povbot` has quit IRC | 16:36 | |
| *** tav|offline has joined #zope3-dev | 16:37 | |
| *** tav|offl1ne has quit IRC | 16:38 | |
| *** J1m has joined #zope3-dev | 16:39 | |
| *** stub has quit IRC | 16:47 | |
| *** stub has joined #zope3-dev | 16:48 | |
| srichter | VladDrac: I am pretty sure it is; there were several reviews; also SAMS uses very different layout techniques than waht I used to generate the PDF | 16:52 |
| *** d2m has joined #zope3-dev | 17:02 | |
| *** tvon has quit IRC | 17:08 | |
| *** mkerrin has joined #zope3-dev | 17:13 | |
| *** tvon has joined #zope3-dev | 17:39 | |
| *** povbot has joined #zope3-dev | 17:53 | |
| * mgedmin stares at AttributeError: 'LocalPAU' object has no attribute 'authenticate' | 17:53 | |
| mgedmin | that's what happended when I tried to use a Data.fs file made with rev 28873 with Zope 3 rev 29073 | 17:58 |
| mgedmin | the Data.fs file has a local auth utility in ++etc++site | 17:59 |
| mgedmin | was there a recent change without backwards compatibility with existing instances? | 17:59 |
| philiKON | zope.app.pau was renamed to zope.app.authentication | 18:01 |
| mgedmin | I saw jim's email about that | 18:03 |
| mgedmin | he also said he will add module aliases so that old pickles will continue to work | 18:03 |
| *** gintas has joined #zope3-dev | 18:04 | |
| mgedmin | apparently he didn't: | 18:05 |
| mgedmin | <persistent broken zope.app.pau.pau.LocalPAU instance ...> | 18:05 |
| *** alga has joined #zope3-dev | 18:05 | |
| philiKON | he didn't; i don't recall ever saying that he would, though | 18:06 |
| mgedmin | philiKON, http://mail.zope.org/pipermail/zope3-dev/2005-January/013119.html | 18:07 |
| *** bskahan has quit IRC | 18:09 | |
| *** bskahan has joined #zope3-dev | 18:10 | |
| philiKON | mgedmin, yes, but then in a later mail he said he had done the change w/o providing the aliases since srichter didn't do it either when converting pas to pau | 18:12 |
| J1m | mgedmin, if you need me to, I will, but I'd rather not | 18:13 |
| *** mgedmin has quit IRC | 18:18 | |
| srichter | it will make development almost impossible, if we keep BBB even during releases on the trunk | 18:21 |
| srichter | the risk of working with the trunk is that pickles will break | 18:21 |
| *** mgedmin has joined #zope3-dev | 18:21 | |
| srichter | for mgedmin: | 18:21 |
| srichter | it will make development almost impossible, if we keep BBB even during releases on the trunk | 18:21 |
| srichter | the risk of working with the trunk is that pickles will break | 18:22 |
| srichter | I think this is a reasonable request/assumption... | 18:22 |
| * mgedmin nods | 18:24 | |
| mgedmin | how can I add the module alias myself? | 18:24 |
| mgedmin | I'd rather not rm this specific Data.fs | 18:24 |
| mgedmin | IIRC there was a zcml directive, wasn't there? | 18:24 |
| J1m | yes, but you need more than that. | 18:25 |
| J1m | Because a class name changed also. | 18:25 |
| J1m | srichter, do you have a recommended way to do this now? | 18:26 |
| srichter | here is what I did on the branch | 18:27 |
| srichter | (so I think it is not ideal) | 18:27 |
| srichter | I created a module with the old name | 18:27 |
| srichter | and imported the class from the new location | 18:27 |
| srichter | then I use the deprecated method | 18:28 |
| srichter | so, in this case: | 18:28 |
| srichter | create a package called pau | 18:28 |
| J1m | yuck | 18:28 |
| srichter | create a module called pau.py | 18:28 |
| srichter | having | 18:29 |
| srichter | from zope.app.suthentication.authentication import PluggableAuthentication | 18:29 |
| J1m | creating fake packages is unsatisfactory | 18:29 |
| srichter | PAU = PluggableAuthentication | 18:29 |
| srichter | well, at least it was a workable solution for the branch | 18:30 |
| srichter | I think a fake package is a million times better than crunching all the BBB code in the new package and creating module aliases (which would not work all the time anyways) | 18:31 |
| srichter | J1m: you should look at the branch; I think it is very clean there | 18:31 |
| J1m | I've never had a module alias fail for me | 18:31 |
| J1m | I don't want extra packages | 18:32 |
| J1m | How about this. | 18:32 |
| J1m | How about this: | 18:32 |
| J1m | in zope.app.authentication, add a bbb.py module | 18:32 |
| J1m | Have that module create the necessary module and class aliases | 18:33 |
| J1m | have __init__.py import that | 18:33 |
| J1m | over | 18:33 |
| srichter | I tried this at the beginning and I ended up with so many circular imports that I gave up | 18:34 |
| J1m | why would bbb.py create circular imports? | 18:35 |
| srichter | I cannot think of a case off the top of my head; ahh, her is one I think | 18:36 |
| srichter | so bbb.py will import something else from this package, like a class | 18:36 |
| srichter | but you call bbb.py from the __init__.py file | 18:36 |
| srichter | so it circles around | 18:37 |
| *** vlado has quit IRC | 18:37 | |
| srichter | basically, when __init__.py is read, it is not part of sys.modules | 18:37 |
| *** vlado has joined #zope3-dev | 18:37 | |
| J1m | sure it is | 18:37 |
| srichter | so the bbb.py cannot import anything from this package | 18:37 |
| srichter | well, try it | 18:37 |
| srichter | I went crazy over this | 18:37 |
| J1m | ah | 18:39 |
| J1m | ok, I'll try it | 18:40 |
| srichter | sorry, for not being easily convinced, but I tried for a long time to juggle around, cheat imports, etc. before creating fake packages as a last resort | 18:41 |
| J1m | yup, I'm having a similar problem | 18:48 |
| J1m | hm | 18:48 |
| J1m | we really need a better solution to this problem. | 18:48 |
| J1m | Fir now, I'm for hacking the BBB into zope.app.authentication.ai=uthentication | 18:49 |
| J1m | For now, I'm for hacking the BBB into zope.app.authentication.ai=uthentication | 18:49 |
| J1m | I really hate the idea of creating extra packages | 18:49 |
| J1m | We really need a way to fix this at the database level, dagnabit | 18:50 |
| J1m | Dag dag nabit | 18:50 |
| srichter | well, at the DB level we can use generations; no problem there. | 18:51 |
| J1m | I'll ponder this and brainstorm with Tim on Wednesday | 18:51 |
| srichter | ok | 18:51 |
| J1m | srichter, not conveniently, because we can't iterate over the database. | 18:52 |
| srichter | btw, I will make an announcement today that I am getting ready for the merge | 18:52 |
| J1m | cool (gulp) | 18:52 |
| srichter | J1m: Right, but I added already a few tools that make it a little bit easier | 18:52 |
| srichter | I have only the database generations stuff left to do | 18:52 |
| srichter | (relatively easy, I think ;-) | 18:53 |
| J1m | :) | 18:53 |
| J1m | Maybe the extra packages aren't so bad | 18:53 |
| J1m | I retrack my objection to them | 18:53 |
| srichter | :-) | 18:53 |
| *** regebro has joined #zope3-dev | 18:55 | |
| *** vlado has quit IRC | 18:55 | |
| regebro | Hi all! | 18:56 |
| regebro | Could somebody point me to an explanation of multiadapters. I *think* they may be what I need, but I'm not sure. And I don't know how to make them. ;) | 18:56 |
| regebro | A code example of an adapter and it's usage would probably work fine. | 18:57 |
| J1m | zope/interface/adapter.txt | 19:04 |
| J1m | zope/component/README.txt | 19:04 |
| *** sashav has quit IRC | 19:17 | |
| *** mexiKON has joined #zope3-dev | 19:49 | |
| *** hazmat has joined #zope3-dev | 19:51 | |
| *** MalcolmC has quit IRC | 20:00 | |
| *** philiKON has quit IRC | 20:12 | |
| *** sashav has joined #zope3-dev | 20:19 | |
| *** tvon has quit IRC | 20:24 | |
| J1m | Sigh | 20:24 |
| J1m | it sure is silly to have the management nav tree on non-management pages | 20:25 |
| *** gintas has quit IRC | 20:29 | |
| regebro | Hmm. I tried to register an adapter (programatically, as this is part of the unit tests), and got a werid error. | 20:42 |
| regebro | That turned out to be because the register makes tuple(required) | 20:42 |
| regebro | and tuple(IMyInterface) returned a list of the attributes of the Interface. | 20:43 |
| regebro | That can't be how it's supposed to work, can it? ;) | 20:43 |
| J1m | register requires a sequence | 20:43 |
| J1m | fro requires | 20:43 |
| J1m | for requires | 20:43 |
| J1m | Yes, that's how it's supposed to work. | 20:44 |
| J1m | Btw: | 20:44 |
| J1m | you should use component.provideAdapter, and | 20:44 |
| regebro | OK, so that error message should be a bit better, then, register should complain if it doesn't get a sequence, I think. Minor issue, I know... | 20:44 |
| *** tvon has joined #zope3-dev | 20:44 | |
| J1m | if you use component.adapts to say what yoo adapt in the class statement, then you can omit the requires argument to provideAdapter | 20:45 |
| regebro | OK, cool. | 20:45 |
| J1m | Having those kinds of checks really clutters the code. | 20:46 |
| J1m | Having those kinds of error checks really clutters the code. | 20:46 |
| regebro | Well, ok, then. ;) | 20:46 |
| regebro | Hmm. Is provideAdapter new? I can't seem to find it. | 20:46 |
| J1m | yes, see component/README.txt | 20:47 |
| J1m | on the trunk | 20:47 |
| regebro | Well, I'm stuck with 3.0.0, so... | 20:47 |
| J1m | if you are using 3,0, you'll have to use ztapi.provideAdapter | 20:47 |
| regebro | OK, thanks, I'll try that. | 20:48 |
| *** tvon has quit IRC | 20:50 | |
| *** tvon has joined #zope3-dev | 20:55 | |
| *** mexiKON is now known as philiKON | 20:58 | |
| *** hazmat has quit IRC | 21:07 | |
| *** stub has quit IRC | 21:09 | |
| *** hazmat has joined #zope3-dev | 21:16 | |
| *** gintas has joined #zope3-dev | 21:16 | |
| *** regebro has quit IRC | 21:22 | |
| *** mkerrin has left #zope3-dev | 21:29 | |
| *** sashav has quit IRC | 21:29 | |
| tvon | brain check, the way to use AttributeAnnotation is to call "foo = AttributeAnnotation(instance)" and then just treate 'foo' as a dict? | 21:35 |
| *** sashav has joined #zope3-dev | 21:35 | |
| *** Theuni has quit IRC | 21:36 | |
| tvon | where instance is IAttributeAnnotatable | 21:36 |
| J1m | no | 21:38 |
| J1m | You call annotations = IAnnotations(ob) | 21:39 |
| J1m | Then get particular annotations with an app key: | 21:39 |
| J1m | mydata = annotations[myappkey] | 21:39 |
| J1m | then mydata is whatever you put into it. | 21:39 |
| tvon | hrm, okay | 21:42 |
| tvon | thanks | 21:42 |
| *** ChanServ sets mode: +o hazmat | 21:43 | |
| *** zagy has quit IRC | 21:47 | |
| *** gintas has quit IRC | 21:55 | |
| SteveA | J1m: thought we were going to use named adapters for annotations | 22:00 |
| J1m | Not that I remember. | 22:00 |
| J1m | I think we may have discussed the idea recently, | 22:00 |
| J1m | Of course, that's still doable. | 22:01 |
| J1m | That is, you could register a named annotation adapter and use it | 22:01 |
| SteveA | idea was to allow different handlers for different annotation types | 22:02 |
| J1m | I didn't implement it. Did you? | 22:02 |
| SteveA | no | 22:03 |
| SteveA | i still don't particularly use annotations for anything | 22:03 |
| *** sashav_ has joined #zope3-dev | 22:26 | |
| *** sashav has quit IRC | 22:27 | |
| *** Voblia_ has quit IRC | 22:29 | |
| *** mgedmin has quit IRC | 22:50 | |
| *** Aiste has quit IRC | 22:54 | |
| *** Aiste has joined #zope3-dev | 23:13 | |
| J1m | srichter, ayt? | 23:29 |
| *** alga has quit IRC | 23:30 | |
| srichter | J1m: yeah | 23:43 |
| J1m | srichter, I'm getting an intermittent functional test failure from apidoc: | 23:45 |
| J1m | Failure in test testInterfaceDetailsView (zope.app.apidoc.ifacemodule.ftests.InterfaceModuleTests) | 23:45 |
| J1m | Traceback (most recent call last): | 23:45 |
| J1m | File "/home/jim/p/jicpac/11/src/Zope3-trunk/src/zope/app/apidoc/ifacemodule/ftests.py", line 49, in testInterfaceDetailsView | 23:45 |
| J1m | basic='mgr:mgrpw') | 23:45 |
| J1m | File "/home/jim/p/jicpac/11/src/Zope3-trunk/src/zope/app/tests/functional.py", line 377, in checkForBrokenLinks | 23:45 |
| J1m | self.fail("%s contains broken links:\n" % path | 23:46 |
| J1m | File "/usr/local/python/2.3.4/lib/python2.3/unittest.py", line 270, in fail | 23:46 |
| J1m | raise self.failureException, msg | 23:46 |
| J1m | AssertionError: /++apidoc++/Interface/zope.app.apidoc.ifacemodule.IInterfaceModule/apiindex.html contains broken links: | 23:46 |
| J1m | /++apidoc++/Interface/zope.app.apidoc.ifacemodule.IInterfaceModule/../../Class/zope/app/pagelet/metaconfigure/PageletClass from /home/jim/p/jicpac/11/src/Zope3-trunk/src/zope/app/demo/pageletchooser/browser/firstlevel_pagelet_1/pt/index.html:NotFound: Object: <zope.app.apidoc.classmodule.Module object at 0xbca6a7cc>, name: u'PageletClass from ' | 23:46 |
| srichter | shrug, it seems to not correctly detect the name of the PageletClass class | 23:47 |
| srichter | it thinks it is "PageletClass from" | 23:48 |
| srichter | when did this failure start to appear? | 23:48 |
| J1m | today | 23:48 |
| J1m | It's probably a stale .pyc file thing | 23:48 |
| srichter | J1m: did you mess with any directive handlers? | 23:49 |
| J1m | actually, I first saw it after an up in an otherwise clean checkout | 23:49 |
| *** SteveA has quit IRC | 23:50 | |
| srichter | I do not know of any direct solution; if the problem persists, I can look at it | 23:50 |
| J1m | k | 23:50 |
| srichter | it is certainly an extremly weird one | 23:50 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!