*** deo has quit IRC | 00:05 | |
*** faassen has quit IRC | 00:19 | |
*** dobee has quit IRC | 00:21 | |
*** tarek has joined #zope3-dev | 00:27 | |
*** tarek has left #zope3-dev | 00:29 | |
*** rmarianski has quit IRC | 00:30 | |
*** marcin_ant has joined #zope3-dev | 00:31 | |
*** rmarianski has joined #zope3-dev | 00:35 | |
*** jkakar has joined #zope3-dev | 00:35 | |
*** timte has quit IRC | 00:36 | |
*** philiKON has joined #zope3-dev | 00:40 | |
*** RaFromBRC has quit IRC | 00:43 | |
*** d2m has quit IRC | 00:43 | |
*** ofer has joined #zope3-dev | 00:52 | |
*** sureshvv has left #zope3-dev | 00:54 | |
*** alecm has quit IRC | 01:23 | |
*** alecm has joined #zope3-dev | 01:24 | |
*** rocky is now known as rocky|Zzz | 01:41 | |
*** ofer has quit IRC | 01:48 | |
*** yota has quit IRC | 02:05 | |
*** J1m has quit IRC | 02:08 | |
*** jfroche has quit IRC | 02:13 | |
*** marcin_ant has quit IRC | 02:28 | |
*** CSWookie has joined #zope3-dev | 02:34 | |
*** b_52Free has joined #zope3-dev | 02:43 | |
*** jkakar has quit IRC | 02:55 | |
*** b_52Centos has quit IRC | 02:59 | |
*** wrobel has quit IRC | 03:22 | |
WebMaven | SteveA: can I ask a bit about Launchpad's setup? | 03:23 |
---|---|---|
*** b_52GM has joined #zope3-dev | 03:26 | |
*** b_52Centos has joined #zope3-dev | 03:34 | |
*** ksmith99 has quit IRC | 03:35 | |
*** jodok has joined #zope3-dev | 03:42 | |
*** b_52Free has quit IRC | 03:43 | |
*** b_52Free has joined #zope3-dev | 03:44 | |
*** b_52GM has quit IRC | 03:51 | |
*** batlogg has joined #zope3-dev | 03:52 | |
*** jodok has quit IRC | 03:52 | |
*** batlogg has quit IRC | 03:54 | |
*** b_52GM has joined #zope3-dev | 03:56 | |
*** b_52Free has quit IRC | 03:57 | |
*** b_52Centos has quit IRC | 04:04 | |
*** baijum has joined #zope3-dev | 04:12 | |
*** philiKON has quit IRC | 04:27 | |
*** opetznick has quit IRC | 04:37 | |
*** RaFromBRC has joined #zope3-dev | 04:41 | |
*** b_52Free has joined #zope3-dev | 04:55 | |
*** whit has quit IRC | 04:57 | |
*** stub has joined #zope3-dev | 05:20 | |
*** b_52GM has quit IRC | 05:22 | |
*** oferw has joined #zope3-dev | 05:38 | |
*** dobee has joined #zope3-dev | 06:14 | |
*** alecm has quit IRC | 06:35 | |
*** b_52GM has joined #zope3-dev | 06:42 | |
*** stub has quit IRC | 06:42 | |
*** dobee has quit IRC | 06:46 | |
*** RaFromBRC has quit IRC | 06:54 | |
*** dobee has joined #zope3-dev | 06:57 | |
*** b_52Centos has joined #zope3-dev | 07:01 | |
*** b_52Free has quit IRC | 07:08 | |
*** b_52GM has quit IRC | 07:22 | |
*** b_52Centos has quit IRC | 07:23 | |
*** b_52Centos has joined #zope3-dev | 07:24 | |
*** b_52Free has joined #zope3-dev | 07:32 | |
*** oferw has quit IRC | 07:42 | |
*** philiKON has joined #zope3-dev | 07:45 | |
*** b_52Centos has quit IRC | 07:49 | |
*** b_52GM has joined #zope3-dev | 07:58 | |
*** eins has joined #zope3-dev | 08:13 | |
*** b_52Centos has joined #zope3-dev | 08:19 | |
*** b_52Free has quit IRC | 08:27 | |
*** b_52GM has quit IRC | 08:35 | |
*** philiKON has quit IRC | 08:38 | |
*** b_52Free has joined #zope3-dev | 08:53 | |
*** b_52Free has quit IRC | 09:10 | |
*** b_52Centos has quit IRC | 09:10 | |
*** eins has quit IRC | 09:10 | |
*** baijum has quit IRC | 09:10 | |
*** tonico|away has quit IRC | 09:10 | |
*** timte has joined #zope3-dev | 09:10 | |
*** b_52Free has joined #zope3-dev | 09:10 | |
*** b_52Centos has joined #zope3-dev | 09:10 | |
*** eins has joined #zope3-dev | 09:10 | |
*** baijum has joined #zope3-dev | 09:10 | |
*** tonico|away has joined #zope3-dev | 09:10 | |
*** stub has joined #zope3-dev | 09:13 | |
*** b_52Centos has quit IRC | 09:16 | |
*** b_52GM has joined #zope3-dev | 09:20 | |
*** jkakar has joined #zope3-dev | 09:22 | |
*** HakTom has joined #zope3-dev | 09:24 | |
*** b_52Centos has joined #zope3-dev | 09:33 | |
*** dlk has joined #zope3-dev | 09:34 | |
*** jkakar has quit IRC | 09:36 | |
romanofski | moin | 09:37 |
*** b_52Free has quit IRC | 09:37 | |
*** povbot has joined #zope3-dev | 09:43 | |
*** jodok has joined #zope3-dev | 09:48 | |
*** opetznick has joined #zope3-dev | 09:48 | |
*** b_52Free has joined #zope3-dev | 09:50 | |
*** wrobel has joined #zope3-dev | 09:50 | |
*** opetznick has quit IRC | 09:52 | |
*** srichter has joined #zope3-dev | 09:53 | |
*** ChanServ sets mode: +o srichter | 09:53 | |
*** d2m has joined #zope3-dev | 09:56 | |
*** b_52GM has quit IRC | 09:58 | |
*** b_52Centos has quit IRC | 10:07 | |
*** schwendinger has joined #zope3-dev | 10:07 | |
*** dl1 has joined #zope3-dev | 10:09 | |
*** dlk has quit IRC | 10:09 | |
*** jodok has quit IRC | 10:11 | |
*** WebMaven has quit IRC | 10:12 | |
*** dl1 has left #zope3-dev | 10:12 | |
*** WebMaven has joined #zope3-dev | 10:13 | |
*** b_52GM has joined #zope3-dev | 10:13 | |
*** matthewrevell has joined #zope3-dev | 10:23 | |
*** jamesh has quit IRC | 10:36 | |
*** tarek has joined #zope3-dev | 10:37 | |
*** b_52Free has quit IRC | 10:37 | |
*** b_52GM has quit IRC | 10:41 | |
*** b_52GM has joined #zope3-dev | 10:42 | |
*** stub has quit IRC | 10:48 | |
*** stub has joined #zope3-dev | 10:49 | |
*** b_52Free has joined #zope3-dev | 11:02 | |
*** jinty has joined #zope3-dev | 11:07 | |
*** henri_ has joined #zope3-dev | 11:08 | |
*** dunny has quit IRC | 11:09 | |
*** b_52GM has quit IRC | 11:19 | |
*** b_52Free has quit IRC | 11:29 | |
*** b_52Free has joined #zope3-dev | 11:30 | |
*** ignas has joined #zope3-dev | 11:31 | |
*** tonico|away is now known as tonico | 11:31 | |
*** kobold has joined #zope3-dev | 11:35 | |
*** b_52Free has quit IRC | 11:45 | |
*** b_52Free has joined #zope3-dev | 11:45 | |
*** ktwilight_ has joined #zope3-dev | 11:52 | |
*** torkel_ has joined #Zope3-Dev | 11:52 | |
*** opetznick has joined #zope3-dev | 12:03 | |
*** ktwilight has quit IRC | 12:07 | |
*** torkel_ has quit IRC | 12:14 | |
*** niemeyer has quit IRC | 12:21 | |
*** niemeyer has joined #zope3-dev | 12:23 | |
*** mkerrin has joined #zope3-dev | 12:28 | |
*** b_52GM has joined #zope3-dev | 12:43 | |
*** jodok has joined #zope3-dev | 12:45 | |
*** b_52Free has quit IRC | 13:00 | |
dobee | srichter: ayt? | 13:00 |
*** jodok has quit IRC | 13:01 | |
*** b_52GM has quit IRC | 13:02 | |
*** b_52GM has joined #zope3-dev | 13:03 | |
srichter | dobee: yeah | 13:05 |
dobee | hi | 13:06 |
dobee | question about z3c.configurator | 13:06 |
srichter | shoot | 13:06 |
dobee | we have a problem there with the data armgument | 13:06 |
srichter | what about it? | 13:06 |
dobee | when 2 plugins share the same attribte names | 13:07 |
srichter | right, then you have a problem | 13:07 |
dobee | we cannot distinct those attribtues in data | 13:07 |
dobee | so i want to change data to a dictionary of dictionaries | 13:07 |
srichter | or implement a namespace | 13:07 |
srichter | ie: pluginName.attrName | 13:07 |
dobee | {pluginname: {},} | 13:07 |
srichter | I think that would be okay too | 13:08 |
srichter | oh, hold on | 13:08 |
dobee | it breaks existing implementations | 13:08 |
dobee | i am currently working on the configurator to allow to call specific named ones | 13:08 |
dobee | TTW | 13:08 |
srichter | the main idea originally was that the data attribute is totally informal | 13:08 |
srichter | and now we require the user/programmer to know the names of the plugins | 13:09 |
dobee | hm | 13:09 |
srichter | which we didn't before | 13:09 |
srichter | dobee: btw, I am surprised you use configurator over sampledata | 13:09 |
srichter | anyways, I think I would be opkay | 13:10 |
dobee | this is the first step to a merge | 13:10 |
srichter | dobee: but please create a branch/tag before starting, so we can change code later | 13:10 |
dobee | ok, you mean i should create a branch for my changes? | 13:11 |
srichter | I have noticed this week again, how simple the configurator is to use and to explain; I would hate to loose that simplicity | 13:11 |
srichter | dobee: no, a brnach for the old code | 13:11 |
srichter | so we can switch to that | 13:11 |
dobee | the data thing is the only incompatible change at all | 13:11 |
srichter | maybe a heads up to the zope3-users mailing lsit too | 13:11 |
dobee | ok, i'll create a 1.0 branch for the old code, or is that number to hight | 13:12 |
dobee | high | 13:12 |
srichter | interestingly enough, in the training example, I need to access one piece of data in two different plugins | 13:12 |
srichter | this is certainly a use case to consider | 13:12 |
srichter | and I do not even care about the schemas | 13:12 |
srichter | no, that number is ok | 13:13 |
dobee | i think we should care about schemas, if we use the schema based configurator plugin | 13:13 |
srichter | maybe we should support both use cases | 13:13 |
srichter | what about: if you have a schema plugin, you use your suggestion, but in general also allow a simple data dict | 13:14 |
dobee | maybe we should add a keyword argument ala 'namespaces' | 13:14 |
dobee | useNameSpaces=False | 13:14 |
dobee | in configure | 13:14 |
*** b_52GM has quit IRC | 13:14 | |
dobee | so we are completly backward compatible | 13:14 |
srichter | I think this is a good idea | 13:14 |
dobee | me too, ok i'll gonna implement this | 13:15 |
srichter | I like the sound of being backward compatible :-) | 13:15 |
dobee | yeah | 13:15 |
*** b_52GM has joined #zope3-dev | 13:15 | |
srichter | cool, have fun | 13:15 |
*** b_52GM has quit IRC | 13:18 | |
*** b_52GM has joined #zope3-dev | 13:19 | |
ignas | srichter: can one make a title attribute in a viewlet zcml declaration translatable? in schooltool the navigation menu is being set up through viewlets in zcml, and i don't really want to move all that into python code ... | 13:23 |
ignas | i can translate the string for users, but it is not being picked up by i18n extraction factilities | 13:24 |
srichter | you need to move the code into Python or write your own special directive (not that bad) | 13:24 |
ignas | hmm, any examples of such a directive in Zope3 or some other open source code ? | 13:24 |
srichter | in my projects I create the Python objects | 13:24 |
srichter | oftentimes you want to do more with the menu item anyways | 13:25 |
ignas | hmm, kind of makes sense | 13:25 |
ignas | just thought that there might be some magical zcml attribute like in tal that makes attributes translatable | 13:25 |
srichter | ignas: simply extend the IViewlet directive by a title attribute that is a MessageId field, write a new handler that only calls the original one and register the directive | 13:26 |
srichter | it's pretty easy | 13:26 |
srichter | but I think Python code is okay here | 13:26 |
srichter | I usually stick everything into a menu.py file | 13:26 |
ignas | thanks | 13:27 |
*** torkel__ has joined #Zope3-dev | 13:27 | |
*** ChrisW has joined #zope3-dev | 13:27 | |
ChrisW | hi all, if http://www.zope.org/Products/Zope3 the definitive place for Zope 3 downloads? | 13:28 |
*** jfroche has joined #zope3-dev | 13:28 | |
*** b_52Free has joined #zope3-dev | 13:30 | |
*** henri_ has left #zope3-dev | 13:37 | |
*** b_52Centos has joined #zope3-dev | 13:38 | |
*** dlk has joined #zope3-dev | 13:40 | |
*** J1m has joined #zope3-dev | 13:42 | |
*** kobold has quit IRC | 13:45 | |
*** b_52GM has quit IRC | 13:47 | |
*** b_52GM has joined #zope3-dev | 13:48 | |
*** dlk has left #zope3-dev | 13:51 | |
*** b_52Free has quit IRC | 13:58 | |
*** b_52Centos has quit IRC | 14:00 | |
*** rocky|Zzz is now known as rocky | 14:05 | |
rocky | good morning | 14:10 |
*** J1m has quit IRC | 14:11 | |
*** tiredbones has quit IRC | 14:23 | |
*** baijum has quit IRC | 14:23 | |
*** b_52Free has joined #zope3-dev | 14:24 | |
ChrisW | mornin ' rocky | 14:27 |
ChrisW | you might know: | 14:27 |
ChrisW | hi all, if http://www.zope.org/Products/Zope3 the definitive place for Zope 3 downloads? | 14:27 |
rocky | i thought it was | 14:27 |
ChrisW | cool | 14:27 |
ChrisW | just wanted to check, I've been running off svn for years ;-) | 14:28 |
rocky | ;) | 14:28 |
*** timte has quit IRC | 14:31 | |
*** timte has joined #zope3-dev | 14:31 | |
*** ktwilight_ has quit IRC | 14:38 | |
*** ktwilight_ has joined #zope3-dev | 14:39 | |
*** b_52GM has quit IRC | 14:41 | |
*** b_52Free has quit IRC | 14:50 | |
*** b_52Free has joined #zope3-dev | 14:50 | |
*** b_52GM has joined #zope3-dev | 14:58 | |
*** b_52Free has quit IRC | 15:22 | |
*** faassen has joined #zope3-dev | 15:23 | |
*** kobold has joined #zope3-dev | 15:35 | |
*** mgedmin has joined #zope3-dev | 15:39 | |
*** ccomb has joined #zope3-dev | 15:40 | |
*** dobee has quit IRC | 15:54 | |
*** eins has quit IRC | 15:56 | |
*** philiKON has joined #zope3-dev | 16:00 | |
mgedmin | philiKON: love for your ezmerge.py once again | 16:09 |
mgedmin | I did some more hacking: added the ability to find out the branch point (with svn log --stop-on-copy) so that I can merge the whole branch to trunk with "ezmerge.py ALL branchname" | 16:10 |
ChrisW | ezmerg.py? where? | 16:10 |
mgedmin | ChrisW: http://codespeak.net/svn/user/philikon/ezmerge.py | 16:10 |
mgedmin | plus I wrote ezswitch.py for switching the working dir between branches without having to copy and paste the long svn+ssh://.../ prefixes | 16:11 |
philiKON | mgedmin: nice | 16:11 |
mgedmin | this is where a distributed version control system would be useful: I could expose my branch and let you pull the changes if you like them | 16:12 |
*** philiKON_ has joined #zope3-dev | 16:13 | |
*** philiKON has quit IRC | 16:13 | |
philiKON_ | mgedmin: i still haven't looked at your mods :( | 16:14 |
philiKON_ | i like some, i don't like others | 16:14 |
mgedmin | I'll put my svn online so you can pick and choose | 16:15 |
mgedmin | first I need to extract it out of my home directory svn repo | 16:16 |
mgedmin | svndumpfilter, here I come | 16:16 |
*** philiKON has joined #zope3-dev | 16:17 | |
*** philiKON_ has quit IRC | 16:17 | |
*** philiKON_ has joined #zope3-dev | 16:21 | |
*** philiKON has quit IRC | 16:21 | |
*** philiKON_ has quit IRC | 16:21 | |
*** philiKON has joined #zope3-dev | 16:25 | |
*** HakTom has quit IRC | 16:26 | |
*** dobee has joined #zope3-dev | 16:30 | |
*** jodok has joined #zope3-dev | 16:32 | |
*** J1m has joined #zope3-dev | 16:33 | |
*** philiKON has quit IRC | 16:34 | |
ignas | is there a way to disable a view through zcml overrides ? | 16:37 |
ChrisW | ah, the old disabling-stuff-through zcml conundrum | 16:38 |
ChrisW | I wonder if the answer is still "no" :-S | 16:38 |
*** natea is now known as natea|breakfast | 16:39 | |
mgedmin | ignas: you could write a view class that raises NotFoundError in its __call__ and register it as an override | 16:39 |
ignas | mgedmin: hmm, and what about a a menu item added by <page directive? | 16:39 |
mgedmin | override it too, with <browser:menuItem ... condition="nothing" /> | 16:40 |
*** whit has joined #zope3-dev | 16:40 | |
ChrisW | :-( | 16:40 |
ChrisW | yuck | 16:40 |
mgedmin | yeah | 16:40 |
ChrisW | what about removing a permission? | 16:40 |
ignas | removing a permission ? | 16:41 |
ChrisW | as in undoing the action of a grant | 16:41 |
ignas | won't do, we're using a custom security policy | 16:41 |
*** batlogg has joined #zope3-dev | 16:45 | |
ChrisW | I want one of them :-) | 16:55 |
ignas | one of what ? policies ? :) | 16:56 |
ChrisW | custom policies | 16:56 |
ignas | it's open source, you can have it :D | 16:56 |
ChrisW | I'll come pick your brain when I get to writing it | 16:56 |
ChrisW | yeah, but yours will be wrong, of course, as it Zope 3's default, that's why I want my custom one :-) | 16:56 |
*** harobed has joined #zope3-dev | 16:56 | |
ChrisW | anyway, how's Vilnius? :-) | 16:56 |
*** matthewrevell has quit IRC | 16:57 | |
ignas | ChrisW: http://source.schooltool.org/trac/browser/trunk/schooltool/src/schooltool/securitypolicy/ | 16:57 |
*** matthewrevell has joined #zope3-dev | 16:57 | |
ignas | Vilnius is getting colder again, had it quite warm last days | 16:57 |
ChrisW | cool :-) | 16:58 |
ChrisW | well, cold weather wise, cool code wise :-) | 16:58 |
ignas | :) | 16:58 |
ChrisW | have you guys, or anyone else, made progress on the zope3-without-zodb? | 16:59 |
*** norro has joined #zope3-dev | 17:00 | |
ignas | ChrisW: haven't needed that yet | 17:00 |
ChrisW | I want it :-) | 17:00 |
faassen | with a rdb backend? | 17:00 |
ChrisW | yep | 17:01 |
ChrisW | that's one project | 17:01 |
faassen | what's the other project? | 17:01 |
ChrisW | but I'm also interested in just publishing an object from a class, without having to have a zodb, rdb, or anything else | 17:01 |
ChrisW | there are many projects ;-) | 17:01 |
faassen | well, you can hook it off traversal machinery, I think. | 17:02 |
ChrisW | yeah, but I want no zodb to even be opened | 17:02 |
*** natea|breakfast is now known as natea|away | 17:02 | |
*** jodok has quit IRC | 17:02 | |
ChrisW | J1m pointed me in the right direction, just need to find some time and have a dig :-) | 17:02 |
*** alecm has joined #zope3-dev | 17:05 | |
*** dobee has quit IRC | 17:20 | |
*** batlogg has quit IRC | 17:20 | |
*** romanofski has quit IRC | 17:21 | |
*** alga has joined #zope3-dev | 17:22 | |
mgedmin | philiKON, http://mg.pov.lt/eazysvn/ | 17:22 |
mgedmin | oh, he left already | 17:22 |
*** rmarianski has joined #zope3-dev | 17:28 | |
*** b_52Free has joined #zope3-dev | 17:32 | |
*** b_52Centos has joined #zope3-dev | 17:38 | |
mgedmin | svn.zope.org seems to be rather slow today for me | 17:45 |
faassen | maybe everybody is checking out grokproject? :) | 17:46 |
faassen | that is, typing 'grokproject foo' and causing a zope 3 checkout to happen. | 17:46 |
faassen | fanciful hope. :) | 17:46 |
ChrisW | heh | 17:47 |
ChrisW | I should really give grok a spin | 17:47 |
faassen | easy_install grokproject | 17:48 |
faassen | then 'grokproject myproject' :) | 17:48 |
faassen | let us know if that doesn't work. | 17:48 |
ChrisW | it won't right now | 17:48 |
ChrisW | I don't have easy_install ;-) | 17:48 |
*** b_52Centos has quit IRC | 17:49 | |
ChrisW | what do I need to do that on Windows? | 17:49 |
*** b_52Centos has joined #zope3-dev | 17:50 | |
*** dobee has joined #zope3-dev | 17:50 | |
*** b_52GM has quit IRC | 17:50 | |
faassen | ChrisW: okay, I don't know. :) | 17:50 |
faassen | ChrisW: the buildout will likely fail on windows right now. | 17:51 |
faassen | ChrisW: buildout can be made to work on windows but this needs more of a story. | 17:51 |
ChrisW | well, LEMME KNOW WHEN YA DUN AND I'LL GIVE IT A GO | 17:52 |
ChrisW | (I'm a windows cave man, remember ;-) ) | 17:52 |
ChrisW | and cavemen, sadly, aren't brave or clever enough to put Ubuntu on their laptops :-S | 17:53 |
* ignas SMASH windows laptop! | 17:53 | |
ChrisW | *snivvle* | 17:53 |
*** b_52Free has quit IRC | 17:55 | |
faassen | ME GROK NEED SMASH WINDOWS | 18:00 |
ChrisW | :'( | 18:01 |
faassen | ME GROK MEAN SUPPORT WINDOWS | 18:01 |
ChrisW | leave my windows alone, they keep the draught out | 18:01 |
faassen | ME GROK PET NICE WINDO | 18:01 |
*** b_52Free has joined #zope3-dev | 18:02 | |
*** zagy has quit IRC | 18:06 | |
mgedmin | only when they're closed :) | 18:07 |
*** torkel__ has quit IRC | 18:18 | |
*** b_52Centos has quit IRC | 18:20 | |
*** b_52Free has quit IRC | 18:30 | |
*** b_52Free has joined #zope3-dev | 18:31 | |
*** rocky is now known as rocky|away | 18:33 | |
*** deo has joined #zope3-dev | 18:34 | |
*** opetznick has quit IRC | 18:43 | |
*** b_52GM has joined #zope3-dev | 18:43 | |
*** rmarianski_ has joined #zope3-dev | 18:44 | |
*** grahal has joined #zope3-dev | 18:49 | |
*** tarek has left #zope3-dev | 18:56 | |
*** b_52Free has quit IRC | 18:58 | |
*** ignas has quit IRC | 19:00 | |
*** dobee has quit IRC | 19:10 | |
*** zagy has joined #zope3-dev | 19:11 | |
*** BjornT_ has quit IRC | 19:12 | |
WebMaven | I need some adapter help. | 19:17 |
ChrisW | shoot | 19:17 |
WebMaven | Ok, I am making an app with ZAlchemy, so I am working on a dublin core adapter. | 19:17 |
ChrisW | joy | 19:18 |
WebMaven | I have a RelationalDC class that stores title, description, and the two dates | 19:18 |
WebMaven | No, I'm unsure how to adapt my content class to it | 19:19 |
WebMaven | Sorrw, meant *now* I am unsure. | 19:19 |
ChrisW | you can't be wanting to adapt to it | 19:19 |
ChrisW | it sounds like you want to adapt and instance of it and your content object to give your something that implements the dublin core interface | 19:20 |
WebMaven | Mmm. Probabaly. | 19:21 |
*** b_52Free has joined #zope3-dev | 19:21 | |
WebMaven | I actually have to instantiate it once during the content class creation to get a unique id. | 19:22 |
WebMaven | but they get instantiated on the fly from the DB. | 19:22 |
*** BjornT has joined #zope3-dev | 19:23 | |
WebMaven | So, what do I need to do? | 19:23 |
ChrisW | no idea I'm afraid | 19:23 |
WebMaven | if you're getting hung up on the rdb stuff, just ignore it. Assume you have an alternate DC class you need to use. | 19:24 |
WebMaven | Does that help? | 19:26 |
*** alga has quit IRC | 19:29 | |
WebMaven | ChrisW: hello? | 19:29 |
ChrisW | you're assuming I have time to sit and read this channel ;-) | 19:33 |
WebMaven | :-) well, you did offer to help | 19:33 |
ChrisW | no, I commented on your question... | 19:33 |
ChrisW | that's not a promise to stay here and hand hold you until your problems is solved ;) | 19:33 |
WebMaven | Well, no, I suppose not. | 19:34 |
*** jkakar has joined #zope3-dev | 19:37 | |
*** b_52GM has quit IRC | 19:38 | |
*** faassen has quit IRC | 19:39 | |
*** ChrisW has left #zope3-dev | 19:40 | |
*** rmarianski__ has joined #zope3-dev | 19:42 | |
*** rmarianski_ has quit IRC | 19:42 | |
*** b_52GM has joined #zope3-dev | 19:47 | |
*** philiKON has joined #zope3-dev | 19:54 | |
*** harobed has quit IRC | 19:55 | |
*** matthewrevell has quit IRC | 19:56 | |
*** rmarianski_ has joined #zope3-dev | 19:58 | |
*** rmarianski__ has quit IRC | 19:59 | |
*** mkerrin has quit IRC | 20:10 | |
*** b_52Free has quit IRC | 20:13 | |
*** RaFromBRC has joined #zope3-dev | 20:15 | |
*** schwendinger has quit IRC | 20:20 | |
*** b_52Free has joined #zope3-dev | 20:21 | |
*** rocky|away is now known as rocky | 20:24 | |
*** b_52GM has quit IRC | 20:29 | |
*** schwendinger has joined #zope3-dev | 20:33 | |
*** schwendinger_ has joined #zope3-dev | 20:34 | |
*** philiKON has quit IRC | 20:37 | |
*** philiKON has joined #zope3-dev | 20:39 | |
*** rmarianski__ has joined #zope3-dev | 20:43 | |
*** rmarianski_ has quit IRC | 20:45 | |
*** schwendinger has quit IRC | 20:54 | |
*** kobold has left #zope3-dev | 20:59 | |
*** yota has joined #zope3-dev | 21:10 | |
*** schwendinger_ has quit IRC | 21:12 | |
*** oferw has joined #zope3-dev | 21:15 | |
*** schwendinger has joined #zope3-dev | 21:17 | |
*** schwendinger_ has joined #zope3-dev | 21:18 | |
*** rmarianski__ has quit IRC | 21:22 | |
*** rmarianski__ has joined #zope3-dev | 21:25 | |
*** b_52GM has joined #zope3-dev | 21:25 | |
*** opetznick has joined #zope3-dev | 21:27 | |
*** rmarianski has quit IRC | 21:29 | |
*** rmarianski__ has left #zope3-dev | 21:29 | |
*** natea|away is now known as natea | 21:31 | |
*** schwendinger has quit IRC | 21:33 | |
*** romanofski has joined #zope3-dev | 21:36 | |
*** sureshvv has joined #zope3-dev | 21:37 | |
*** lamike has joined #zope3-dev | 21:41 | |
*** zagy_ has joined #zope3-dev | 21:48 | |
*** lamike has quit IRC | 21:49 | |
*** deo has quit IRC | 21:51 | |
*** oferw has quit IRC | 21:51 | |
*** b_52Free has quit IRC | 21:52 | |
*** zagy has quit IRC | 21:54 | |
WebMaven | Adaptation is giving me a headache. This should be simple. | 21:59 |
ccomb | I also have a headache, but because of vocabularies and sources | 22:01 |
mgedmin | I once learned a way of using vocabularies that works, and just keep using it | 22:01 |
mgedmin | I'm a bit afraid to learn sources ;) | 22:01 |
ccomb | that's exactly what I'm trying to do | 22:02 |
*** mgedmin has quit IRC | 22:04 | |
WebMaven | So, I'm trying to adapt an RDB-persistent class to provide another class with Dublin Core. | 22:05 |
WebMaven | As far as I can tell, only the actual adaptation isn't working, and I'm too tired to see why. | 22:06 |
WebMaven | So, any assistance would be appreciated. | 22:06 |
WebMaven | ccomb have you seen csvvocabularies ? | 22:07 |
*** dunny has joined #zope3-dev | 22:08 | |
*** opetznick_ has joined #zope3-dev | 22:09 | |
*** opetznick has quit IRC | 22:09 | |
ccomb | no | 22:12 |
*** whit has quit IRC | 22:13 | |
ccomb | ok I've read the readme, thanks. | 22:14 |
ccomb | but I'm generating dynamic vocabularies | 22:14 |
*** b_52Free has joined #zope3-dev | 22:16 | |
ccomb | I'm currently learning zope3 by playing with zblog, and I'm implementing category management for the blog entries. | 22:17 |
ccomb | but anyone knows if category management already exists somewhere ? I guess yes ? | 22:17 |
*** HakTom has joined #zope3-dev | 22:19 | |
ccomb | (because I'm trying to make it completely independant from zblog and it could be used for any object.) | 22:21 |
*** jinty has quit IRC | 22:23 | |
*** whit has joined #zope3-dev | 22:25 | |
*** srichter has quit IRC | 22:28 | |
*** sureshvv has left #zope3-dev | 22:30 | |
*** whit has quit IRC | 22:37 | |
*** grahal has quit IRC | 22:39 | |
*** b_52Free has quit IRC | 22:41 | |
*** b_52GM has quit IRC | 22:42 | |
*** b_52Free has joined #zope3-dev | 22:42 | |
*** rocky is now known as rocky|away | 22:44 | |
*** stub has quit IRC | 22:47 | |
*** deo has joined #zope3-dev | 22:50 | |
*** b_52Free has quit IRC | 22:50 | |
*** ignas has joined #zope3-dev | 22:50 | |
*** b_52Free has joined #zope3-dev | 22:51 | |
*** whit has joined #zope3-dev | 22:54 | |
*** zagy_ has quit IRC | 22:54 | |
WebMaven | Can someone tell me what this means: | 22:55 |
WebMaven | ForbiddenAttribute: ('c', <rogue.za_example_4.message.HelloWorldMessage object at 0xb64cf28c>) | 22:55 |
*** zagy_ has joined #zope3-dev | 22:55 | |
WebMaven | when it comes from within an adapter | 22:55 |
timte | is HelloWorldMessage an adapter? | 22:56 |
*** whit has quit IRC | 22:56 | |
WebMaven | the HelloWorldMessage is the adpated object. | 22:56 |
ccomb | maybe add self.__parent__=context ? | 22:56 |
WebMaven | to the adapter? | 22:57 |
ccomb | yes | 22:57 |
WebMaven | OK. | 22:57 |
ccomb | I've solved a similar thing like that | 22:57 |
timte | does HelloWorldMessage have any security declarations? | 22:57 |
*** jkakar has quit IRC | 22:57 | |
timte | like <class class="...HelloWorldMessage"><require permission=".." ...> </class> | 22:58 |
WebMaven | ccomb: that didn't do anything. | 22:59 |
WebMaven | timte: yes | 22:59 |
WebMaven | <require | 23:00 |
WebMaven | permission="zope.View" | 23:00 |
WebMaven | interface=".interfaces.IHelloWorldMessage" | 23:00 |
WebMaven | /> | 23:00 |
WebMaven | <require | 23:00 |
WebMaven | permission="zope.ManageContent" | 23:00 |
WebMaven | set_schema=".interfaces.IHelloWorldMessage" | 23:00 |
WebMaven | /> | 23:00 |
WebMaven | What do you suggest? | 23:01 |
ccomb | this is the declaration on the adapter HelloWorldMessage class ? | 23:02 |
WebMaven | HelloWorldMessage is not an adapter | 23:02 |
timte | Does the interface include c? | 23:02 |
*** vlado has joined #zope3-dev | 23:02 | |
*** whit has joined #zope3-dev | 23:03 | |
WebMaven | timte: no, c is a generated attribute | 23:03 |
timte | generated? | 23:03 |
ccomb | When an attribute does not exist, you generally get ForbiddenAttribute before being warned that the attribute does not exist | 23:03 |
WebMaven | (represents the db columns) | 23:03 |
ccomb | so this is a method ? | 23:04 |
WebMaven | but it exists. | 23:04 |
ccomb | is it also declared in the interface ? | 23:04 |
WebMaven | HelloWorldMessage is a class that is mapped by SQLAlchemy to a table. | 23:04 |
WebMaven | no, it is not declared. | 23:05 |
*** HakTom has quit IRC | 23:05 | |
ccomb | The security declaration tells set_schema=".interfaces.IHelloWorldMessage" | 23:05 |
WebMaven | Hmm. | 23:05 |
ccomb | you have either to add c into the schema | 23:06 |
ccomb | or add a security declaration for c | 23:06 |
WebMaven | I see. | 23:06 |
timte | one could perhaps add a getColumn(col) method to the interface and then call that with c? | 23:07 |
timte | if an object uses attributes on itself, does it check for security declerations then as well? | 23:07 |
WebMaven | Well, actually the code is calling context.c.id | 23:08 |
WebMaven | so I really just need access to id | 23:08 |
WebMaven | I will explore thr SQLAlchemy API and find the most appropriate way to get that id and add a security declaration. | 23:08 |
WebMaven | Thanks. | 23:08 |
timte | WebMaven: or use grok which doesn't use these nasty security declarations ;) | 23:11 |
WebMaven | heh. | 23:12 |
WebMaven | OK, is there an opposite in schema definitions to required? | 23:25 |
WebMaven | can I make a field forbidden? | 23:26 |
ccomb | ¿ what for ? | 23:26 |
ccomb | to display it, but not modify it ? | 23:27 |
WebMaven | ensure it is never edited or passed as a parameter. | 23:27 |
WebMaven | yes. | 23:27 |
WebMaven | Well, no. | 23:27 |
WebMaven | I don't even want to display it. | 23:27 |
WebMaven | it's an internal value. | 23:27 |
ccomb | so it is an attribute, not a schema field | 23:27 |
WebMaven | Uh, yes. | 23:28 |
WebMaven | does that mean I can say id=0 in the interface? | 23:29 |
WebMaven | in IHelloWorldMessage ? | 23:29 |
ccomb | id=Attribute(... | 23:29 |
WebMaven | Ah! | 23:29 |
WebMaven | thx. | 23:29 |
*** redir has joined #zope3-dev | 23:34 | |
*** RaFromBRC is now known as RaFromBRC|lunch | 23:45 | |
*** schwendinger_ has quit IRC | 23:50 | |
*** jodok has joined #zope3-dev | 23:56 | |
*** timte has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!