| *** J1m has joined #zope3-dev | 00:00 | |
| *** jinty has quit IRC | 00:01 | |
| *** J1m has left #zope3-dev | 00:06 | |
| *** Alef has joined #zope3-dev | 00:23 | |
| *** yotaff has quit IRC | 00:28 | |
| *** srichter has joined #zope3-dev | 00:43 | |
| *** ChanServ sets mode: +o srichter | 00:43 | |
| roym | In z3, I find that I can set a value on an object property (described | 00:46 |
|---|---|---|
| roym | by a schema) as follows: | 00:46 |
| roym | obj.field = ['xx'] | 00:46 |
| roym | 00:46 | |
| roym | However, when I do setattr(obj, 'field', ['xx']) | 00:46 |
| roym | I get zope.schema._bootstrapinterfaces.WrongType: ([u'xx'], <type 'list'>) | 00:46 |
| roym | 00:46 | |
| roym | This is confusing... any ideas why (it only happens when I try to | 00:46 |
| roym | assign values that are lists. | 00:46 |
| srichter | what are objects? what are fields? | 00:51 |
| *** replicant has quit IRC | 01:08 | |
| *** bskahan has joined #zope3-dev | 01:10 | |
| projekt01 | roym, use [u'xx',] instead of [u'xx'] | 01:14 |
| *** tvon has quit IRC | 01:26 | |
| roym | projekt01: why would I need a ','? In an interpreter, if I type: | 01:28 |
| roym | >>> type([2]) | 01:28 |
| roym | <type 'list'> | 01:28 |
| roym | >>> type([2,]) | 01:28 |
| roym | <type 'list'> | 01:28 |
| roym | >>> | 01:28 |
| roym | I don't see any difference. | 01:28 |
| *** yota has quit IRC | 01:46 | |
| projekt01 | roym, sorry I'm wrong, I was thinking about a tuple where it makes a difference. | 01:51 |
| projekt01 | roym, can you post the interface? | 01:53 |
| *** MJ has quit IRC | 02:28 | |
| *** ksmith has joined #zope3-dev | 02:33 | |
| *** Alef has quit IRC | 02:33 | |
| ksmith | where do fixes for the zope3 wiki get reported? | 02:35 |
| *** tvon has joined #zope3-dev | 02:51 | |
| projekt01 | ksmith, write a mail to srichter | 03:11 |
| projekt01 | srichter, ayt? | 03:11 |
| *** projekt01 has quit IRC | 03:16 | |
| *** mnemoc has joined #zope3-dev | 03:16 | |
| mnemoc | hi, i'll write a distributed accounting application on zope3. what do you recommend zeo or postgresql? | 03:18 |
| *** stub has joined #zope3-dev | 03:26 | |
| ksmith | projekt01, ty | 03:33 |
| mnemoc | ? | 03:37 |
| *** ksmith has quit IRC | 03:38 | |
| bob2 | zodb Just Works | 03:48 |
| bob2 | do you really need the scalability or interoperability of postgres? | 03:48 |
| mnemoc | bob2: it's like a banking server.... with lots of per-account records | 03:49 |
| mnemoc | bob2: if zodb scales and gives the necesary consistency i would prefer it over postgres because as you said, it just works :) | 03:52 |
| *** jan_s has joined #zope3-dev | 04:31 | |
| *** deo has joined #zope3-dev | 05:08 | |
| *** vlado__ has quit IRC | 05:14 | |
| *** deo has quit IRC | 05:21 | |
| *** MiUlEr has joined #zope3-dev | 05:29 | |
| srichter | mnemoc: I would go with ZODB | 06:10 |
| srichter | I would only use RDBs if you have a requirement to use existing data or similar | 06:10 |
| srichter | ZODB has proven on many very large sites | 06:11 |
| mnemoc | :) | 06:11 |
| mnemoc | that's what i wanted to ear | 06:12 |
| mnemoc | hear* | 06:12 |
| *** BjornT_ has joined #zope3-dev | 06:16 | |
| *** deo has joined #zope3-dev | 06:26 | |
| *** BjornT has quit IRC | 06:27 | |
| bob2 | is there a way to repack zodb live? | 06:33 |
| srichter | well, you need to use the DemoStorage | 06:34 |
| *** jan_s has quit IRC | 06:56 | |
| *** tav has quit IRC | 07:14 | |
| *** tav has joined #zope3-dev | 07:18 | |
| *** jan_s has joined #zope3-dev | 07:19 | |
| *** vinsci has quit IRC | 07:21 | |
| *** jan_s has quit IRC | 07:43 | |
| *** vlado has joined #zope3-dev | 08:04 | |
| *** jan_s has joined #zope3-dev | 08:09 | |
| *** timte has joined #zope3-dev | 08:20 | |
| *** sashav has quit IRC | 08:37 | |
| *** BjornT_ is now known as BjornT | 08:51 | |
| *** timte has quit IRC | 08:52 | |
| *** j-w has joined #zope3-dev | 09:14 | |
| *** hdima has joined #zope3-dev | 09:20 | |
| *** sashav has joined #zope3-dev | 09:55 | |
| *** MJ has joined #zope3-dev | 10:11 | |
| *** tanghus_ has quit IRC | 10:14 | |
| *** tanghus has joined #zope3-dev | 10:15 | |
| *** MJ has quit IRC | 10:20 | |
| *** d2m has quit IRC | 10:43 | |
| *** yota has joined #zope3-dev | 10:55 | |
| *** mgedmin has joined #zope3-dev | 11:10 | |
| *** MJ has joined #zope3-dev | 11:11 | |
| *** MrTopf has joined #zope3-dev | 11:17 | |
| *** niemeyer has joined #zope3-dev | 11:28 | |
| *** tarek has joined #zope3-dev | 11:28 | |
| *** jinty has joined #zope3-dev | 11:31 | |
| *** jan_s has quit IRC | 11:33 | |
| *** Alef has joined #zope3-dev | 11:34 | |
| *** vinsci has joined #zope3-dev | 11:45 | |
| *** vinsci|2 has joined #zope3-dev | 11:46 | |
| *** vinsci|2 is now known as vinsci | 11:47 | |
| *** MiUlEr has quit IRC | 11:50 | |
| *** regebro has joined #zope3-dev | 11:52 | |
| *** jinty has quit IRC | 12:06 | |
| *** regebro is now known as regrebo | 12:09 | |
| *** BjornT_ has joined #zope3-dev | 12:15 | |
| *** regrebo is now known as regebro | 12:23 | |
| *** jinty has joined #zope3-dev | 12:25 | |
| *** BjornT has quit IRC | 12:28 | |
| *** philiKON has joined #zope3-dev | 12:38 | |
| *** BjornT_ is now known as BjornT | 12:42 | |
| *** timte has joined #zope3-dev | 12:53 | |
| *** efge has joined #zope3-dev | 12:56 | |
| *** mgedmin has quit IRC | 13:13 | |
| *** jan_s has joined #zope3-dev | 13:24 | |
| *** jan_s has quit IRC | 13:46 | |
| *** d2m has joined #zope3-dev | 13:47 | |
| philiKON | d2m, you're taking care of zope.org, right? | 13:50 |
| *** ignas has joined #zope3-dev | 14:02 | |
| d2m | philiKON: i'm trying | 14:08 |
| philiKON | :) | 14:08 |
| philiKON | d2m, ever since another small change recently, the zope 3 homepage is even deeper in zope.org hierarchy than before | 14:09 |
| philiKON | www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage is just way too long | 14:09 |
| philiKON | i wonder how much trouble it would be to: | 14:09 |
| philiKON | - move the wiki to http://zope.org/Zope3 | 14:09 |
| philiKON | - redirect /DevHome/Wikis/DevSite/Projects/ComponentArchitecture/* to /Zope3/* | 14:09 |
| philiKON | (so, basically, reverse the current situation by 180 degrees) | 14:10 |
| philiKON | goal: zope 3 should really have more exposure on zope.org | 14:10 |
| d2m | it's easy to do it the other way round: redirecting http://zope.org/Zope3 to http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage | 14:10 |
| philiKON | yes, but that sucks | 14:10 |
| d2m | there is a RedirectorProduct available | 14:10 |
| philiKON | urls are too long to be pasted in emails quickly etc. | 14:11 |
| philiKON | why can't the wiki be moved? | 14:11 |
| wiggy | having zope3 in development home also seems silly | 14:11 |
| d2m | ok, i'll need to contact Sawdog (Andrew Sawyers) for that | 14:11 |
| philiKON | d2m, ok | 14:11 |
| philiKON | wiggy, indeed | 14:11 |
| d2m | philiKON: i'll do that today and let you know | 14:11 |
| philiKON | wiggy, reason is that it started out as a development wiki | 14:12 |
| philiKON | the ComponentArchitecture wiki | 14:12 |
| philiKON | it never got renamed nor moved | 14:12 |
| philiKON | for promoting zope 3, this is unbearable | 14:12 |
| efge | philiKON: you can link to dev.zope.org/Zope3, it redirects | 14:15 |
| philiKON | efge, i know | 14:15 |
| philiKON | efge, but manging every url manually sucks | 14:15 |
| efge | ok | 14:15 |
| efge | agreed | 14:15 |
| philiKON | efge, i want it to be there physically | 14:15 |
| philiKON | s/manging/mangling/ | 14:17 |
| srichter | I think we will develop a zope3.org collaboration portal at the NeckarSprint | 14:18 |
| srichter | Jim and I have already agreed on a plan of attack | 14:18 |
| philiKON | hmm | 14:19 |
| philiKON | not sure if it's such a good idea to move away from zope.org | 14:19 |
| philiKON | for zope.org, we already have maintainers | 14:19 |
| philiKON | took us a long time to find them | 14:19 |
| philiKON | i wouldnt' wanna go thru that process again | 14:19 |
| *** anguenot has joined #zope3-dev | 14:19 | |
| philiKON | also, it would be nice if stuff like this could be discussed openly... "we already agreed on a plan" sounds like everyone else is left outside | 14:20 |
| srichter | because if you do something like this openly you get a million feature requests and long energy-draining discussions | 14:22 |
| srichter | and there has really been no interest in the subject lately anyways | 14:22 |
| srichter | the first goal is to move wikis nothing more | 14:22 |
| philiKON | why not stay inside zope.org and move the wiki to a saner place | 14:23 |
| philiKON | i know martijn has been suggesting for loooong | 14:23 |
| srichter | because zope.org sucks at this point | 14:23 |
| philiKON | but now that we have volunteers that take care of zope.org, i feel like we can finally do this | 14:23 |
| srichter | I even had zope3.org up and running at some point | 14:23 |
| philiKON | i know | 14:23 |
| srichter | the caching at zope.org is insane | 14:24 |
| srichter | it's just too much pain at this stage | 14:24 |
| srichter | Jim has some really cool ideas on how wikis should work, so I am hoping that someone at the NeckarSprint will implement them; it will be a surprise but it will be cool I think :-) | 14:25 |
| philiKON | i don't share your idea of bileratlism on this point | 14:26 |
| philiKON | i'm excited that there'll finally be a better page for zope 3 | 14:26 |
| *** Aiste has quit IRC | 14:27 | |
| philiKON | but i'm a bit disappointed that others can't participate in that discussion | 14:27 |
| philiKON | i, for one, fear that noone will find the time to administer zope3.org | 14:27 |
| philiKON | and it'll be in worse pain than zope.org | 14:27 |
| srichter | I doubt it | 14:27 |
| philiKON | we'll eventually need caching on zope3.org as well | 14:28 |
| philiKON | so, let's not be naive there | 14:28 |
| *** Aiste has joined #zope3-dev | 14:28 | |
| *** Aiste has quit IRC | 14:32 | |
| *** Aiste has joined #zope3-dev | 14:32 | |
| *** Alef has quit IRC | 14:49 | |
| andrew_m | got a weird problem with resource directory mappings: | 15:07 |
| andrew_m | <browser:resourceDirectory name="blah2" directory="blah" /> works fine | 15:08 |
| andrew_m | <browser:resourceDirectory name="blah2/blah" directory="blah" /> doesn't seem to work | 15:08 |
| andrew_m | is that intended? | 15:08 |
| *** d2m_ has joined #zope3-dev | 15:15 | |
| srichter | well, you specified a two path elements | 15:15 |
| *** d2m has quit IRC | 15:15 | |
| srichter | I am pretty sure it is simply not a feature | 15:15 |
| *** d2m_ is now known as d2m | 15:15 | |
| srichter | the attribute is called "name" not "path" or "relativePath" | 15:16 |
| andrew_m | srichter: ic.. too bad.. thanks | 15:19 |
| *** benji_york has joined #zope3-dev | 15:27 | |
| *** timte has quit IRC | 15:58 | |
| *** MrTopf has quit IRC | 16:10 | |
| *** MrTopf has joined #zope3-dev | 16:11 | |
| *** faassen has joined #zope3-dev | 16:14 | |
| *** timte has joined #zope3-dev | 16:14 | |
| *** timte has quit IRC | 16:26 | |
| *** projekt01 has joined #zope3-dev | 16:27 | |
| *** hdima has quit IRC | 17:01 | |
| *** projekt01 has quit IRC | 17:01 | |
| *** tvon has quit IRC | 17:26 | |
| *** MrTopf has quit IRC | 17:29 | |
| *** tarek has quit IRC | 17:40 | |
| *** projekt01 has joined #zope3-dev | 17:46 | |
| *** sashav has quit IRC | 17:54 | |
| *** stub has quit IRC | 17:57 | |
| *** d2m has quit IRC | 18:00 | |
| *** tvon has joined #zope3-dev | 18:00 | |
| *** jinty has quit IRC | 18:11 | |
| *** Soulraven has joined #zope3-dev | 18:35 | |
| *** jinty has joined #zope3-dev | 18:42 | |
| *** Soulraven has quit IRC | 18:45 | |
| *** mexiKON has joined #zope3-dev | 18:51 | |
| *** SureshZ has joined #zope3-dev | 18:52 | |
| *** philiKON has quit IRC | 18:53 | |
| *** mexiKON is now known as philiKON | 18:53 | |
| *** d2m has joined #zope3-dev | 19:10 | |
| *** MJ has quit IRC | 19:28 | |
| *** mgedmin has joined #zope3-dev | 19:29 | |
| *** tvon has quit IRC | 19:31 | |
| *** vlado_ has joined #zope3-dev | 19:49 | |
| *** Soulraven has joined #zope3-dev | 19:51 | |
| *** j-w has quit IRC | 20:06 | |
| *** tarek has joined #zope3-dev | 20:22 | |
| *** hazmat has joined #zope3-dev | 20:31 | |
| *** J1m has joined #zope3-dev | 20:32 | |
| *** Soulraven has quit IRC | 20:38 | |
| *** sashav has joined #zope3-dev | 20:47 | |
| *** tarek has quit IRC | 20:50 | |
| *** faassen has quit IRC | 21:01 | |
| *** J1m has quit IRC | 21:01 | |
| *** clueck has joined #zope3-dev | 21:01 | |
| *** jinty has quit IRC | 21:06 | |
| *** MJ has joined #zope3-dev | 21:07 | |
| *** fcorrea has joined #zope3-dev | 21:12 | |
| *** regebro has quit IRC | 21:12 | |
| *** ksmith has joined #zope3-dev | 21:17 | |
| *** SureshZ has left #zope3-dev | 21:18 | |
| *** ChanServ sets mode: +o hazmat | 21:26 | |
| fcorrea | Hi srs...how do I populate a vocabulary of a Choice widget, with a list of values of specific type??Are there such approach? | 21:36 |
| philiKON | fcorrea, can you be a bit more concrete? | 21:38 |
| fcorrea | philiKON , for example, supose that I want to register a bunch of thing in a content type and want it to populate a Choice widget on another content type | 21:41 |
| fcorrea | got the ideia? | 21:41 |
| philiKON | not entirely | 21:41 |
| philiKON | the choice widgets is populated with values from a vocab | 21:41 |
| philiKON | the vocab is a dynamically generated set of objects | 21:42 |
| SteveA | is it possible to have a TALES expression that starts with namespace:name ? | 21:42 |
| * SteveA has a need for such a thing... | 21:42 | |
| * SteveA writes a unit test | 21:42 | |
| philiKON | SteveA, namespace: would then be treated as the name of a new expression type... as in python: or not: | 21:42 |
| philiKON | fcorrea, what kind of objects do you want in the vocab? | 21:43 |
| SteveA | CompilerError: Unrecognized expression type "count". | 21:43 |
| SteveA | right. | 21:43 |
| fcorrea | tools that I registered on list field of a content type for example | 21:44 |
| philiKON | fcorrea, sure, that's possible | 21:44 |
| fcorrea | philiKON, It should be kinda of a reference to another object... | 21:46 |
| fcorrea | philiKON, how do I get objects of a specif type in z3? | 21:48 |
| philiKON | any objects? | 21:48 |
| philiKON | or objects within a container? | 21:48 |
| efge | SteveA: there's a TALES prefix to say you want a path expression... Not sure which | 21:56 |
| efge | it's path: actually :) | 21:59 |
| philiKON | anyone here with some distutils fu? | 22:00 |
| philiKON | nm | 22:06 |
| *** andrew_m has quit IRC | 22:08 | |
| projekt01 | SteveA, perhaps you can take a look at the zope.app.pagelet package where I implemented a pagelet:dotted.interface.as.key TALES expression | 22:12 |
| benji_york | SteveA, also see zope.app.sqlexpr (and the description there-of in srichter's book) | 22:16 |
| fcorrea | philiKON, sorry...I've to run out for a bit, so...any object | 22:27 |
| philiKON | fcorrea, hmm, looks like you want a catalog query | 22:27 |
| *** efge has quit IRC | 22:27 | |
| *** deo has quit IRC | 22:31 | |
| fcorrea | philiKON, I didn't use catalog in zope3 yet :-/ | 22:31 |
| philiKON | neither have I :) | 22:31 |
| fcorrea | :) | 22:32 |
| fcorrea | I think the best solution, should be any singleton where I can get data from....utility I think | 22:34 |
| *** deo has joined #zope3-dev | 22:42 | |
| *** hazmat has quit IRC | 22:51 | |
| srichter | projekt01: I wonder whether menus could be implemented using pagelets | 22:52 |
| *** mgedmin has quit IRC | 22:54 | |
| *** tvon has joined #zope3-dev | 23:03 | |
| *** ignas has quit IRC | 23:10 | |
| *** tiredbones has quit IRC | 23:21 | |
| *** ksmith has quit IRC | 23:22 | |
| *** andrew_m has joined #zope3-dev | 23:29 | |
| srichter | projekt01: are you there? | 23:33 |
| srichter | projekt01: python: 'ping'*1000 # :-) | 23:35 |
| *** mgedmin has joined #zope3-dev | 23:46 | |
| *** hazmat has joined #zope3-dev | 23:53 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!