*** foxmjay has joined #zope3-dev | 00:10 | |
*** foxmjay has left #zope3-dev | 00:10 | |
*** rocky is now known as rocky|away | 00:14 | |
*** ousado has quit IRC | 00:17 | |
*** spython has quit IRC | 00:26 | |
J1m | philiKON, done | 00:27 |
---|---|---|
philiKON | J1m: thx | 00:27 |
*** RaFromBRC is now known as RaFromBRC|lunch | 00:42 | |
*** gumpa has quit IRC | 00:43 | |
*** tarek has joined #zope3-dev | 00:49 | |
*** edgordon has quit IRC | 00:49 | |
*** jodok has joined #zope3-dev | 00:50 | |
*** ousado has joined #zope3-dev | 00:50 | |
*** greenman has quit IRC | 00:52 | |
*** fcorrea has quit IRC | 00:58 | |
*** ousado_ has quit IRC | 01:07 | |
*** regebro has left #zope3-dev | 01:15 | |
*** RaFromBRC|lunch is now known as RaFromBRC | 01:20 | |
*** greenman has joined #zope3-dev | 01:22 | |
*** ignas has joined #zope3-dev | 01:28 | |
*** ignas has quit IRC | 01:35 | |
*** dobee has joined #zope3-dev | 01:43 | |
*** dobee has quit IRC | 01:45 | |
*** johnlr2 has quit IRC | 01:53 | |
*** johnlr2 has joined #zope3-dev | 02:06 | |
*** srichter has quit IRC | 02:11 | |
*** greenman has quit IRC | 02:18 | |
*** reco has quit IRC | 02:23 | |
*** derek|coffeeshop has joined #zope3-dev | 02:26 | |
*** nathany has quit IRC | 02:28 | |
*** ThomasKarlRichte has quit IRC | 02:30 | |
*** pbugni has joined #zope3-dev | 02:33 | |
*** supton has quit IRC | 02:33 | |
*** rcrafton has quit IRC | 02:43 | |
derek|coffeeshop | philiKON: if you get a free minute, I made another post to the thread on zope3-user. I am looking for a bit of validation before I move forward with my solution to running on both z2 and z3. | 02:45 |
*** norro has quit IRC | 02:49 | |
*** pbugni has quit IRC | 02:51 | |
derek|coffeeshop | philiKON: Thanks for the response! But, given that I have a hard requirement to support zope 2.10 + plone, is what I outlined the best way to do that? Or si there a better way? | 03:03 |
philiKON | well, if you want to support zope 2.10, then you're f**** | 03:03 |
derek|coffeeshop | rotfl | 03:04 |
philiKON | \whatever you described sounds so complicated, i will refuse to even waste any brain cells with it ;) | 03:04 |
philiKON | you're better off with two branches, really | 03:05 |
philiKON | one for zope 2.10 | 03:05 |
derek|coffeeshop | even if I didn't want to support 2.10 (which I don't, but I must), wouldn't the egg dependencies be different for z2.11 and z3.4? | 03:05 |
philiKON | one for zope 2.11+ | 03:05 |
philiKON | huh, no | 03:05 |
derek|coffeeshop | oh, ok | 03:05 |
philiKON | zope 2.11 just uses the zope 3.4 eggs | 03:05 |
derek|coffeeshop | so, Five goes away in z 2.11? | 03:05 |
philiKON | huh?!? | 03:06 |
philiKON | no | 03:06 |
derek|coffeeshop | ah, but I use things like intid, which is different in Five than in z3, right? | 03:06 |
philiKON | zope 2 has always shipped with zope 3 libraries ever since five was included | 03:06 |
philiKON | you're confusing things | 03:06 |
derek|coffeeshop | ok | 03:06 |
philiKON | the zope.* libraries have always shipped with zope 2, since version 2.8 | 03:06 |
derek|coffeeshop | so, the idea is, if Five.intid is a dep on zope 2.11, I add it to setup.py and it gets pulled down into z3.4 but not used? | 03:07 |
philiKON | i don't understand this sentence at all | 03:07 |
philiKON | there's five.intid | 03:08 |
philiKON | it's not part of the zope 2 distribution | 03:08 |
philiKON | it's a separate package | 03:08 |
*** J1m has quit IRC | 03:08 | |
* derek|coffeeshop thinks | 03:09 | |
derek|coffeeshop | right, five.intid is orthogonal. i see. | 03:10 |
philiKON | i have no clue what you're talking about, but i'm glad i answered your question :) | 03:10 |
derek|coffeeshop | :) | 03:10 |
philiKON | anyway, i think you should make two branches of your package | 03:10 |
philiKON | e.g. 1.x is for zope 2.10 | 03:10 |
philiKON | 2.x is for zope 2.11, fully eggified | 03:11 |
derek|coffeeshop | with two setup.py and zcml setups. All my packages are already eggs, it's the other packages that are the problem... | 03:11 |
philiKON | which ones? | 03:11 |
derek|coffeeshop | the ones that comprise zope proper. If I'm on z2.10, I don't want to pull down the z3 eggs, right? or does it not matter because they're redundant? | 03:12 |
philiKON | you don't want to pull them down in zope 2.10 | 03:13 |
philiKON | so that's what i said | 03:13 |
philiKON | you have a 1.x version of your package with no zope.* dependencies in setup.py | 03:14 |
philiKON | this one can't be buildoutified | 03:14 |
philiKON | and you have a 2.x version of you rpackage that's completely eggified, with all the dependencies, it's buildoutified, etc. | 03:14 |
derek|coffeeshop | right, just echoing to make sure I have it right. two branches. got ya. Though I'm using buildout for z 2.10 now with the plone recipes to grab a non-eggified zope 2.10. | 03:15 |
philiKON | right | 03:15 |
philiKON | that's ok | 03:15 |
philiKON | just don't depend on zope.* when on zope 2.10 | 03:15 |
philiKON | (or zope 3.3 for that matter) | 03:16 |
derek|coffeeshop | right. ok, got it. I'll go fix my project now. Thanks for all the help, as usual! | 03:17 |
philiKON | np | 03:17 |
derek|coffeeshop | btw, brandon_rhodes who keeps bugging you about grok is my coworker. I persuaded him to try grok. I hope his participation is helpful. | 03:18 |
philiKON | yeah, it is | 03:18 |
philiKON | thanks :) | 03:18 |
derek|coffeeshop | :) | 03:18 |
*** netshade has joined #zope3-dev | 03:25 | |
*** netshade has left #zope3-dev | 03:26 | |
*** Ariel_Calzada has joined #zope3-dev | 03:27 | |
*** alecm has quit IRC | 03:33 | |
*** b52laptop has quit IRC | 03:43 | |
*** dunny has quit IRC | 04:02 | |
*** derek|coffeeshop has quit IRC | 04:04 | |
*** greenman has joined #zope3-dev | 04:09 | |
*** WebMaven has quit IRC | 04:20 | |
*** WebMaven has joined #zope3-dev | 04:20 | |
*** dunny has joined #zope3-dev | 04:27 | |
*** dunny has quit IRC | 04:32 | |
*** srichter has joined #zope3-dev | 05:11 | |
*** ChanServ sets mode: +o srichter | 05:22 | |
*** strichter has joined #zope3-dev | 05:39 | |
*** ousado_ has joined #zope3-dev | 05:50 | |
*** srichter has quit IRC | 05:55 | |
*** RaFromBRC has quit IRC | 06:06 | |
*** ousado has quit IRC | 06:08 | |
*** huajie has joined #zope3-dev | 06:32 | |
*** niemeyer has quit IRC | 06:49 | |
*** philiKON_ has joined #zope3-dev | 07:20 | |
*** philiKON has quit IRC | 07:29 | |
*** johnlr2 has quit IRC | 07:48 | |
*** chacha_chaudhry has joined #zope3-dev | 07:50 | |
*** cursor has joined #zope3-dev | 07:54 | |
*** baijum has joined #zope3-dev | 07:57 | |
*** naro has joined #zope3-dev | 08:13 | |
*** gabrielmonnerat has joined #zope3-dev | 08:14 | |
gabrielmonnerat | hi!! somebody can help me with gcc and zope3, ocurred this error "error: command 'gcc' failed with exit status 1" | 08:14 |
baijum | gabrielmonnerat, may be you didn't installed python development libraries, what OS/distro you are using ? | 08:16 |
gabrielmonnerat | ubuntu 7.04 | 08:16 |
baijum | try installing python-dev | 08:17 |
baijum | or better compile your own Python | 08:18 |
gabrielmonnerat | python2.4-dev is installed | 08:19 |
naro | even better post full build log to pastebin | 08:19 |
naro | exit status 1 is useless | 08:20 |
gabrielmonnerat | i had installed for apt-get , but this problem also ocurred with grokproject | 08:21 |
baijum | gabrielmonnerat, as naro said paste your log to a pastebin : http://paste.lisp.org/new/zope3-dev | 08:24 |
gabrielmonnerat | ok | 08:24 |
*** jodok has quit IRC | 08:26 | |
lisppaste6 | gabrie monnerat pasted "problem with gcc" at http://paste.lisp.org/display/47658 | 08:27 |
naro | I'd use 'make' for build process, but I'm not sure if this is the problem. btw, you should include some part of correct build process before error is displayed. This part contains a lot of useful info | 08:31 |
naro | in build process, starting error lines contains the most important info, not end of report. | 08:32 |
gabrielmonnerat | I go to place then the error all, with this can analyze better | 08:37 |
*** sorin has joined #zope3-dev | 08:45 | |
*** sorin is now known as sorindregan | 08:46 | |
*** Ariel_Calzada has quit IRC | 08:48 | |
*** jukart has joined #zope3-dev | 08:49 | |
*** gabriel_ has joined #zope3-dev | 08:59 | |
gabriel_ | naro, now ocurred other error , i installed zope3 for apt-get next the grok , but when i create the grokproject ocurred an error similar | 09:05 |
lisppaste6 | gabriel monnerat pasted "zope error" at http://paste.lisp.org/display/47660 | 09:05 |
naro | this is the most important: src/zope/security/_proxy.c:19:20: error: Python.h: No such file or directory | 09:05 |
naro | you are missing pyhon2.4-dev | 09:06 |
gabriel_ | i had installed python2.5-dev and 2.4 not is installed | 09:09 |
gabriel_ | i go to execute again now | 09:10 |
naro | zope does not work with python 2.5 afaik | 09:10 |
gabriel_ | i know , but when i go install python-dev ubuntu always install python2.5-dev | 09:12 |
naro | install python2.4-dev | 09:12 |
*** dobee_ has joined #zope3-dev | 09:12 | |
naro | even better compile your python 2.4 | 09:12 |
naro | and use --with-python .... | 09:13 |
naro | as soon as you upgrade ubuntu, python 2.4 will be gone (maybe) | 09:13 |
gabriel_ | no no the zope is installed | 09:14 |
gabriel_ | i installed with apt-get | 09:14 |
gabriel_ | but with grokproject this problem ocurred too | 09:14 |
gabriel_ | also occured | 09:15 |
*** jodok has joined #zope3-dev | 09:16 | |
*** hdima has joined #zope3-dev | 09:17 | |
*** jodok has quit IRC | 09:17 | |
*** gabriel_ is now known as gabriel_monnerat | 09:17 | |
*** jodok has joined #zope3-dev | 09:17 | |
*** gabrielmonnerat has quit IRC | 09:22 | |
*** gabriel_monnerat is now known as gabrielmonnerat | 09:22 | |
*** dunny has joined #zope3-dev | 09:23 | |
naro | gabrielmonnerat: sorry, I have no idea how Zope/Grok packages in ubuntu works. You are missing python2.4-dev. | 09:26 |
*** greenman has quit IRC | 09:26 | |
gabrielmonnerat | yes i installed python2.4-dev and now is ok | 09:27 |
naro | ok | 09:27 |
*** dunny has quit IRC | 09:27 | |
gabrielmonnerat | occured other error now, but not serious | 09:28 |
*** dunny has joined #zope3-dev | 09:28 | |
gabrielmonnerat | error: Couldn't find a setup script in /usr/lib/python2.4/site-packages | 09:28 |
gabrielmonnerat | now i go sleep a little | 09:29 |
gabrielmonnerat | naro, thanks | 09:29 |
*** dunny has quit IRC | 09:30 | |
*** gabrielmonnerat has quit IRC | 09:32 | |
*** dunny has joined #zope3-dev | 09:40 | |
*** timte has joined #zope3-dev | 09:46 | |
*** pyqwer has joined #zope3-dev | 09:59 | |
*** naro has left #zope3-dev | 10:13 | |
tarek | hi, what is the proper way to do savepoints in ZODB 3.8 ? I am doing transaction.savepoint(True) but it seems unapropriate (2007-09-13 09:20:03 CRITICAL ZODB.DB DB.open() has XX open connections with a pool_size of 7) | 10:22 |
*** chacha_chaudhry has quit IRC | 10:32 | |
*** norro has joined #zope3-dev | 10:49 | |
*** naro has joined #zope3-dev | 10:52 | |
*** pelle_ has joined #zope3-dev | 10:58 | |
*** chacha_chaudhry has joined #zope3-dev | 10:58 | |
*** yvl has joined #zope3-dev | 11:02 | |
*** pelle_ has quit IRC | 11:07 | |
*** pelle_ has joined #zope3-dev | 11:07 | |
*** jfroche has joined #zope3-dev | 11:09 | |
*** greenman has joined #zope3-dev | 11:18 | |
*** jodok has quit IRC | 11:41 | |
*** jodok has joined #zope3-dev | 11:54 | |
*** faassen has joined #zope3-dev | 12:00 | |
*** norro_work has joined #zope3-dev | 12:02 | |
*** philiKON_ is now known as philiKON | 12:14 | |
*** huajie has quit IRC | 12:16 | |
baijum | Hi philiKON | 12:17 |
philiKON | hi | 12:18 |
baijum | we got invitation for GSoC summit right ? | 12:18 |
baijum | are you going ? | 12:18 |
philiKON | uh maybe...? | 12:18 |
philiKON | i have no idea | 12:18 |
philiKON | i don't seem to be getting the emails anymore | 12:18 |
philiKON | for some reason | 12:19 |
baijum | ZF is there in that list | 12:19 |
baijum | anyway, I won't be able to come (three peoples can attend ) | 12:19 |
philiKON | me neither | 12:19 |
baijum | it would be good if any other mentor can go to this summit, faassen ? | 12:21 |
*** b52laptop has joined #zope3-dev | 12:28 | |
*** MJ has joined #zope3-dev | 12:31 | |
philiKON | baijum: i don't think we *have* to go | 12:34 |
*** WebMaven has quit IRC | 12:37 | |
baijum | philiKON, yes, it's *not* compulsory ... | 12:39 |
philiKON | of course not | 12:39 |
philiKON | what i want to say is that we don't lose face if we don't go | 12:39 |
philiKON | it's just a party | 12:39 |
baijum | philiKON, you have mentioned writing something about out GSoC project, anything in pipeline now ? | 12:41 |
philiKON | uh... | 12:41 |
baijum | s/out/our | 12:41 |
philiKON | :( | 12:41 |
philiKON | not really | 12:41 |
*** mgedmin has joined #zope3-dev | 12:42 | |
baijum | ah. ok | 12:42 |
faassen | what summit is this? | 13:11 |
faassen | I | 13:11 |
faassen | baijum: can you forward me that mail? and to philipp as well. :) | 13:11 |
faassen | baijum: and we should indeed do a writeup. are you interested in writing it up? | 13:12 |
faassen | baijum: we should get the SoC students to write some text too. | 13:12 |
faassen | baijum: and include it. | 13:12 |
faassen | baijum: but if not you, I agree Philipp should do it, organizing the thing and all. :) | 13:12 |
* philiKON runs away... lunch ;) | 13:14 | |
*** rocky|away has quit IRC | 13:14 | |
baijum | faassen, I will send you that mail, I am not good in writeup, so you or Philip can do it ;) | 13:14 |
faassen | baijum: ok, well we'll get philipp then. :) | 13:14 |
philiKON | faassen: which reminds me, we need to make such news (gsoc participation) more visible on the website in the future | 13:14 |
faassen | baijum: keep reminding him. :) | 13:14 |
baijum | ok :) | 13:14 |
faassen | baijum: I wonder why you get the mail and I never do. | 13:14 |
philiKON | faassen: probalby because aroldo signed us up with weird email addresses? | 13:15 |
faassen | baijum: the only SoC email I got ever was to review the students. I got that successfully. | 13:15 |
faassen | philiKON: well, that got fixed for me, at least. | 13:15 |
baijum | It's mail from their list, not a personal invitation | 13:15 |
faassen | baijum: ah, Google Summer of Code list? | 13:15 |
baijum | yup | 13:15 |
faassen | I guess philiKON is on that. I'm not. :) | 13:15 |
philiKON | no i'm not either | 13:15 |
faassen | next year, if we manage to participate again, we need to organize this better. | 13:16 |
faassen | philiKON: whoah. :) | 13:16 |
faassen | I have quite a few ideas. :) | 13:16 |
baijum | see: http://groups.google.com/group/google-summer-of-code-mentors-list/browse_thread/thread/16896b515556878c | 13:16 |
philiKON | faassen: i agree :) | 13:16 |
philiKON | faassen: you do it next time *hide* :) | 13:16 |
faassen | baijum: so is there anything more about this summit? I mean, this is just the invite. | 13:16 |
faassen | philiKON: I definitely will not. :) | 13:16 |
faassen | philiKON: but I *will* give people my ideas. :) | 13:16 |
baijum | faassen, I don't know much about summit.. | 13:17 |
faassen | oct 6. I definitely can't make it. | 13:18 |
faassen | definitely not to Mountain View. | 13:18 |
faassen | is Stephan Richter mentoring or was he only stealth mentoring? | 13:18 |
*** mkerrin has joined #zope3-dev | 13:18 | |
faassen | I mean, Philipp and I are both in Europe + busy that week. | 13:19 |
baijum | he is not officially mentoring, the last one is MJ | 13:19 |
faassen | I'm at the Grok sprint, Philipp is giving training | 13:19 |
faassen | baijum: okay, well, unless MJ can make it I'm afraid we won't be going. :) | 13:19 |
faassen | anyway, I'm off now. :) | 13:20 |
faassen | see you! | 13:20 |
*** faassen has quit IRC | 13:20 | |
MJ | make it to where? | 13:20 |
* MJ reeds up | 13:20 | |
baijum | MJ, there is summit at Google as part of GSoC and ZF has got invitation | 13:21 |
MJ | ah | 13:21 |
MJ | yes, I got that far | 13:21 |
MJ | in the US? | 13:21 |
baijum | yes | 13:21 |
* MJ ain't going then. | 13:21 | |
MJ | too far for me right now. | 13:21 |
baijum | ah. ok, then no one is going from ZF . | 13:22 |
*** strichter has quit IRC | 13:26 | |
MJ | baijum: any signed up mentor is allowed to go | 13:29 |
MJ | baijum: so if Stephan signed up to be a mentor but wasn't assigned a student, he's allowed to go | 13:29 |
* MJ can't in any case. I am flying to Napels for the Plone conf that weekend. | 13:29 | |
baijum | MJ, ok, I will ask Stephan also | 13:35 |
*** norro_work has quit IRC | 13:39 | |
*** rocky has joined #zope3-dev | 13:40 | |
*** strichter has joined #zope3-dev | 13:40 | |
*** MJ is now known as MJ|lunch | 13:42 | |
*** pelle_ has quit IRC | 13:45 | |
*** pelle_ has joined #zope3-dev | 13:46 | |
baijum | Hi strichter | 13:46 |
*** pelle_ has quit IRC | 13:46 | |
*** strichter has quit IRC | 13:50 | |
*** greenman has quit IRC | 13:56 | |
*** greenman has joined #zope3-dev | 13:56 | |
*** edgordon has joined #zope3-dev | 13:57 | |
*** alga has joined #zope3-dev | 13:57 | |
*** pelle_ has joined #zope3-dev | 14:00 | |
*** MJ|lunch is now known as MJ | 14:33 | |
*** dunny has quit IRC | 14:38 | |
*** ignas has joined #zope3-dev | 14:41 | |
*** Ariel_Calzada has joined #zope3-dev | 14:42 | |
*** Ariel_Calzada has quit IRC | 14:57 | |
*** MJ has quit IRC | 14:57 | |
*** MJ has joined #zope3-dev | 14:59 | |
*** chacha_chaudhry has quit IRC | 15:04 | |
rocky | hm... i just discovered that default zope3 pageform generates fields with HTML id's of "prefix.field" ... that makes the field unselectable using CSS because of the invalid "." in the middle | 15:08 |
rocky | am i overlooking something simple? | 15:08 |
mgedmin | rocky: #field | 15:11 |
mgedmin | sorry | 15:11 |
mgedmin | rocky: #field\.name { color: red; } | 15:11 |
mgedmin | escape the periods with backslashes in your css | 15:11 |
*** niemeyer has joined #zope3-dev | 15:11 | |
rocky | that works? never saw that before | 15:11 |
rocky | does it work in the major browsers? | 15:12 |
mgedmin | works in firefox, don't remember about msie | 15:13 |
mgedmin | it's part of the css spec, iirc | 15:13 |
mgedmin | testing it in msie wouldn't hurt | 15:13 |
*** ktwilight has joined #zope3-dev | 15:15 | |
*** b52laptop has quit IRC | 15:16 | |
*** Ariel_Calzada has joined #zope3-dev | 15:18 | |
*** benji has joined #zope3-dev | 15:20 | |
*** greenman has quit IRC | 15:35 | |
*** greenman has joined #zope3-dev | 15:38 | |
*** pelle_ has quit IRC | 15:46 | |
*** pelle_ has joined #zope3-dev | 15:47 | |
*** pelle_ has quit IRC | 15:48 | |
*** ktwilight has quit IRC | 16:01 | |
*** Basti_ has quit IRC | 16:01 | |
*** Ariel_Calzada has quit IRC | 16:08 | |
*** pelle_ has joined #zope3-dev | 16:08 | |
*** ktwilight has joined #zope3-dev | 16:11 | |
*** Ariel_Calzada has joined #zope3-dev | 16:12 | |
*** netshade has joined #zope3-dev | 16:12 | |
*** netshade has left #zope3-dev | 16:14 | |
*** rcrafton has joined #zope3-dev | 16:17 | |
*** ktwilight has quit IRC | 16:23 | |
*** b52laptop has joined #zope3-dev | 16:28 | |
CrippsFX | I have a paste located here: http://www.pastebin.ca/695662 ... I'm getting a type error for my authenticator plugin that makes no sense to me. All the required information is in the post. Could somebody help me troubleshoot the problem please? | 16:31 |
*** baijum has quit IRC | 16:33 | |
*** pelle_ has quit IRC | 16:33 | |
timte | CrippsFX: I have never used ldap, but according to the error you send id when it should be LDAPAuth | 16:34 |
*** pelle_ has joined #zope3-dev | 16:36 | |
*** greenman has quit IRC | 16:37 | |
*** hazmat has quit IRC | 16:38 | |
CrippsFX | timte: well, it says that principalInfo takes 2 arguments, the declaration for mine is the same as the principalInfo() declaration in PrincipalFolder ... def principalInfo(self, id) ... self *should* fulfill the requirement of the first argument being an instance of LDAPAuth, should it not? | 16:39 |
timte | no, you don't count 'self' as an argument | 16:40 |
timte | the first argument is the one after 'self' | 16:40 |
CrippsFX | timte: ahh. Then the error message does make sense. I guess I was under the wrong impression about order of arguments. Thanks. I'll do some refactoring so that it works correctly now. | 16:41 |
*** J1m has joined #zope3-dev | 16:43 | |
CrippsFX | timte: well ... the type error makes sense anyways ... but if the type error is correct then the code in zope.app.authentication.authentication.getPrincipal() is wrong, and if the code in getPrincipal() is correct, then the spot where the type error is declared is wrong ... because in getPrincipal() id is *clearly* a string argument. | 16:45 |
* CrippsFX beats his head on the keyboard. | 16:46 | |
CrippsFX | I love simple problems like this. | 16:46 |
*** pelle_ has quit IRC | 16:47 | |
CrippsFX | oh, wait a second .... | 16:47 |
CrippsFX | hold on, I think I may have found the problem. | 16:47 |
*** pelle_ has joined #zope3-dev | 16:48 | |
CrippsFX | nope ... that wasn't it. | 16:49 |
* benji admires CrippsFX's new YTREWQ forehead tattoo. | 16:50 | |
CrippsFX | thanks benji ... I had to work hard for this tat | 16:51 |
*** pelle_ has quit IRC | 16:55 | |
*** ThomasKarlRichte has joined #zope3-dev | 16:59 | |
*** sorindregan has quit IRC | 17:06 | |
CrippsFX | if the interface IAuthenticatorPlugin (which LDAPAuth implements) has principalInfo() declared as def principalInfo(id) , then what could possibly be causing LDAPAuth.principalInfo(id) to raise the TypeError() ? | 17:15 |
*** hdima has quit IRC | 17:35 | |
*** jsadjohnson has left #zope3-dev | 17:44 | |
*** jsadjohnson has joined #zope3-dev | 17:45 | |
*** cursor has quit IRC | 17:48 | |
*** pyqwer has quit IRC | 17:51 | |
*** cursor has joined #zope3-dev | 17:52 | |
*** cursor has quit IRC | 17:52 | |
*** rocky is now known as rocky|away | 17:54 | |
*** mgedmin has quit IRC | 17:58 | |
*** mgedmin has joined #zope3-dev | 18:00 | |
*** timte has quit IRC | 18:01 | |
*** hazmat has joined #zope3-dev | 18:05 | |
*** ChanServ sets mode: +o hazmat | 18:05 | |
*** pelle_ has joined #zope3-dev | 18:09 | |
*** jodok has quit IRC | 18:11 | |
*** jodok has joined #zope3-dev | 18:27 | |
*** yvl has quit IRC | 18:28 | |
*** rocky|away is now known as rocky | 18:38 | |
*** hazmat has quit IRC | 18:47 | |
*** nathany has joined #zope3-dev | 18:53 | |
*** jodok_ has joined #zope3-dev | 18:56 | |
*** jukart_ has joined #zope3-dev | 18:56 | |
*** jodok has quit IRC | 19:02 | |
*** dobee_ has quit IRC | 19:02 | |
*** jukart has quit IRC | 19:02 | |
*** jukart_ has quit IRC | 19:07 | |
*** hazmat has joined #zope3-dev | 19:07 | |
*** ChanServ sets mode: +o hazmat | 19:07 | |
*** MJ has quit IRC | 19:09 | |
*** pbugni has joined #zope3-dev | 19:10 | |
*** spython has joined #zope3-dev | 19:35 | |
spython | hi, I have this in my addform: form_fields = ... + Fields(ITagging) When i try to add i get a "AttributeError: Can't set attribute" | 19:45 |
spython | ITagging has a "tags = List(TextLine())" which is stored as annotations | 19:45 |
lisppaste6 | spython pasted "attributeerror" at http://paste.lisp.org/display/47679 | 19:45 |
spython | hmm, maybe the adding code is doing something like obj.tags = addingtags (adding to a function agh) | 19:46 |
mgedmin | try Fields(ITagging).omit('tags') | 19:49 |
mgedmin | I find it a bit strange that an attribute named "mapping" contains a PersistentList (instead of a PersistentDict) | 19:49 |
spython | copypaste from worldcookery's rating :) | 19:50 |
spython | should be named something else yeah.. | 19:50 |
spython | oh wait | 19:51 |
*** jukart has joined #zope3-dev | 19:53 | |
spython | mgedmin: but if i do omit('tags') i cannot add tags via the addview | 19:58 |
mgedmin | don't make tags a read-only property then | 19:58 |
spython | gotcha :) | 20:01 |
* spython smacks himself in the neck | 20:01 | |
*** hazmat has quit IRC | 20:03 | |
*** hazmat has joined #zope3-dev | 20:09 | |
*** ChanServ sets mode: +o hazmat | 20:09 | |
*** nathany has quit IRC | 20:18 | |
*** RaFromBRC has joined #zope3-dev | 20:18 | |
*** mkerrin has quit IRC | 20:25 | |
*** faassen has joined #zope3-dev | 20:26 | |
*** alecm has joined #zope3-dev | 20:29 | |
*** ignas has quit IRC | 20:34 | |
*** dobee has joined #zope3-dev | 20:37 | |
*** mgedmin has left #zope3-dev | 20:37 | |
*** Ariel_Calzada has quit IRC | 20:38 | |
*** deo has quit IRC | 20:47 | |
*** reco has joined #zope3-dev | 20:49 | |
CrippsFX | so, if an authenticator plugin is supposed to take an instance of itself as the argument for authPlugin.principalInfo(id); then why does zope.app.authentication.authentication.getPrincipal() use a string when it calls principalInfo() ? | 21:05 |
*** naro has left #zope3-dev | 21:09 | |
*** nathany has joined #zope3-dev | 21:10 | |
*** deo has joined #zope3-dev | 21:10 | |
*** jodok_ has quit IRC | 21:13 | |
*** faassen has quit IRC | 21:16 | |
*** dobee has quit IRC | 21:22 | |
*** jukart has quit IRC | 21:23 | |
Theuni | benji: ping | 21:31 |
CrippsFX | why is this in getPrincipal? | 21:31 |
CrippsFX | if info is None: | 21:31 |
CrippsFX | continue | 21:31 |
CrippsFX | this check, effectively, does nothing. | 21:32 |
benji | Theuni: yo | 21:37 |
Theuni | ah | 21:37 |
Theuni | I read up some of the larger threads on zope3-dev | 21:37 |
Theuni | You wanted to make some changes to the coding-style part of the wiki. I took a look there and I too think it needs some cleanup. Anything specific how you wanted to approach that? | 21:37 |
benji | you could knit a sweater with the py3k thead | 21:37 |
Theuni | I was overwhelmed that there is so much stuff in there. | 21:37 |
Theuni | hmm. that would be warm. | 21:38 |
Theuni | I didn't manage to read that thread yet. | 21:38 |
Theuni | I'm scared if threads grow faster than I can read them. | 21:38 |
*** greenman_ has joined #zope3-dev | 21:40 | |
*** ktwilight has joined #zope3-dev | 21:40 | |
*** jodok has joined #zope3-dev | 21:43 | |
reco | philiKON: arround? christof hier | 21:44 |
*** ktwilight has quit IRC | 21:48 | |
*** whit is now known as whit|lunch | 21:52 | |
*** Ariel_Calzada has joined #zope3-dev | 21:56 | |
spython | hmm, I have form_fields = ... + Fields(IZopeDublinCore).select('title', 'description', 'subjects') in my addform | 21:57 |
spython | and i can access context/zope:title and context/zope:description but not context/zope:subjects | 21:57 |
*** reco has quit IRC | 21:58 | |
spython | last two lines in error output: | 21:58 |
spython | - __traceback_info__: (<zope.app.pagetemplate.talesapi.ZopeTalesAPI object at 0x4092230>, 'subjects', []) | 21:58 |
spython | TraversalError: (<zope.app.pagetemplate.talesapi.ZopeTalesAPI object at 0x4092230>, 'subjects') | 21:58 |
spython | when trying to do <li tal:repeat="s context/zope:subjects" tal:content="s">..</li> | 21:59 |
spython | and when i run debugzope IZopeDublincore(theobject).subjects indeed returns the tuple with the subjects i added | 22:02 |
*** MJ has joined #zope3-dev | 22:04 | |
*** alga has quit IRC | 22:06 | |
instantfoo | spython: hmm, weird | 22:07 |
*** dunny has joined #zope3-dev | 22:08 | |
spython | instantfoo: yeah, i can't see what's wrong so i made a function (subjects) in the view that adapts context to DC and return dc.subjects.. and then tal:repeat="s view/subjects" | 22:10 |
instantfoo | yup that's a way | 22:15 |
*** reco has joined #zope3-dev | 22:26 | |
*** ThomasKarlRichte has quit IRC | 22:51 | |
*** goplus has joined #zope3-dev | 23:01 | |
*** goplus has left #zope3-dev | 23:02 | |
*** rocky has quit IRC | 23:10 | |
*** grahal has joined #zope3-dev | 23:12 | |
*** whit|lunch is now known as whit | 23:14 | |
*** grahal has quit IRC | 23:15 | |
*** J1m_ has joined #zope3-dev | 23:15 | |
*** greenman_ has quit IRC | 23:21 | |
*** dobee has joined #zope3-dev | 23:26 | |
*** jukart has joined #zope3-dev | 23:29 | |
*** J1m has quit IRC | 23:31 | |
*** jsadjohnson has left #zope3-dev | 23:31 | |
*** jsadjohnson has joined #zope3-dev | 23:32 | |
*** jukart has quit IRC | 23:32 | |
*** tarek_ has joined #zope3-dev | 23:33 | |
*** dunny has quit IRC | 23:34 | |
*** wchipmanJSA has joined #zope3-dev | 23:36 | |
*** tarek has quit IRC | 23:48 | |
*** benji has quit IRC | 23:48 | |
*** dobee has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!