IRC log of #zope3-dev for Wednesday, 2005-09-14

*** J1m has joined #zope3-dev00:00
*** jinty has quit IRC00:01
*** J1m has left #zope3-dev00:06
*** Alef has joined #zope3-dev00:23
*** yotaff has quit IRC00:28
*** srichter has joined #zope3-dev00:43
*** ChanServ sets mode: +o srichter00:43
roymIn z3, I find that I can set a value on an object property (described00:46
roymby a schema) as follows:00:46
roym  obj.field = ['xx']00:46
roym00:46
roymHowever, when I do setattr(obj, 'field', ['xx'])00:46
roym  I get zope.schema._bootstrapinterfaces.WrongType: ([u'xx'], <type 'list'>)00:46
roym00:46
roymThis is confusing... any ideas why (it only happens when I try to00:46
roymassign values that are lists.00:46
srichterwhat are objects? what are fields?00:51
*** replicant has quit IRC01:08
*** bskahan has joined #zope3-dev01:10
projekt01roym, use [u'xx',] instead of [u'xx']01:14
*** tvon has quit IRC01:26
roymprojekt01: 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
roymI don't see any difference.01:28
*** yota has quit IRC01:46
projekt01roym, sorry I'm wrong, I was thinking about a tuple where it makes a difference.01:51
projekt01roym, can you post the interface?01:53
*** MJ has quit IRC02:28
*** ksmith has joined #zope3-dev02:33
*** Alef has quit IRC02:33
ksmithwhere do fixes for the zope3 wiki get reported?02:35
*** tvon has joined #zope3-dev02:51
projekt01ksmith, write a mail to srichter03:11
projekt01srichter, ayt?03:11
*** projekt01 has quit IRC03:16
*** mnemoc has joined #zope3-dev03:16
mnemochi, i'll write a distributed accounting application on zope3. what do you recommend zeo or postgresql?03:18
*** stub has joined #zope3-dev03:26
ksmithprojekt01, ty03:33
mnemoc?03:37
*** ksmith has quit IRC03:38
bob2zodb Just Works03:48
bob2do you really need the scalability or interoperability of postgres?03:48
mnemocbob2: it's like a banking server.... with lots of per-account records03:49
mnemocbob2: 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-dev04:31
*** deo has joined #zope3-dev05:08
*** vlado__ has quit IRC05:14
*** deo has quit IRC05:21
*** MiUlEr has joined #zope3-dev05:29
srichtermnemoc: I would go with ZODB06:10
srichterI would only use RDBs if you have a requirement to use existing data or similar06:10
srichterZODB has proven on many very large sites06:11
mnemoc:)06:11
mnemocthat's what i wanted to ear06:12
mnemochear*06:12
*** BjornT_ has joined #zope3-dev06:16
*** deo has joined #zope3-dev06:26
*** BjornT has quit IRC06:27
bob2is there a way to repack zodb live?06:33
srichterwell, you need to use the DemoStorage06:34
*** jan_s has quit IRC06:56
*** tav has quit IRC07:14
*** tav has joined #zope3-dev07:18
*** jan_s has joined #zope3-dev07:19
*** vinsci has quit IRC07:21
*** jan_s has quit IRC07:43
*** vlado has joined #zope3-dev08:04
*** jan_s has joined #zope3-dev08:09
*** timte has joined #zope3-dev08:20
*** sashav has quit IRC08:37
*** BjornT_ is now known as BjornT08:51
*** timte has quit IRC08:52
*** j-w has joined #zope3-dev09:14
*** hdima has joined #zope3-dev09:20
*** sashav has joined #zope3-dev09:55
*** MJ has joined #zope3-dev10:11
*** tanghus_ has quit IRC10:14
*** tanghus has joined #zope3-dev10:15
*** MJ has quit IRC10:20
*** d2m has quit IRC10:43
*** yota has joined #zope3-dev10:55
*** mgedmin has joined #zope3-dev11:10
*** MJ has joined #zope3-dev11:11
*** MrTopf has joined #zope3-dev11:17
*** niemeyer has joined #zope3-dev11:28
*** tarek has joined #zope3-dev11:28
*** jinty has joined #zope3-dev11:31
*** jan_s has quit IRC11:33
*** Alef has joined #zope3-dev11:34
*** vinsci has joined #zope3-dev11:45
*** vinsci|2 has joined #zope3-dev11:46
*** vinsci|2 is now known as vinsci11:47
*** MiUlEr has quit IRC11:50
*** regebro has joined #zope3-dev11:52
*** jinty has quit IRC12:06
*** regebro is now known as regrebo12:09
*** BjornT_ has joined #zope3-dev12:15
*** regrebo is now known as regebro12:23
*** jinty has joined #zope3-dev12:25
*** BjornT has quit IRC12:28
*** philiKON has joined #zope3-dev12:38
*** BjornT_ is now known as BjornT12:42
*** timte has joined #zope3-dev12:53
*** efge has joined #zope3-dev12:56
*** mgedmin has quit IRC13:13
*** jan_s has joined #zope3-dev13:24
*** jan_s has quit IRC13:46
*** d2m has joined #zope3-dev13:47
philiKONd2m, you're taking care of zope.org, right?13:50
*** ignas has joined #zope3-dev14:02
d2mphiliKON: i'm trying14:08
philiKON:)14:08
philiKONd2m, ever since another small change recently, the zope 3 homepage is even deeper in zope.org hierarchy than before14:09
philiKONwww.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage is just way too long14:09
philiKONi wonder how much trouble it would be to:14:09
philiKON- move the wiki to http://zope.org/Zope314:09
philiKON- redirect /DevHome/Wikis/DevSite/Projects/ComponentArchitecture/* to /Zope3/*14:09
philiKON(so, basically, reverse the current situation by 180 degrees)14:10
philiKONgoal: zope 3 should really have more exposure on zope.org14:10
d2mit's easy to do it the other way round: redirecting http://zope.org/Zope3 to http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage14:10
philiKONyes, but that sucks14:10
d2mthere is a RedirectorProduct available14:10
philiKONurls are too long to be pasted in emails quickly etc.14:11
philiKONwhy can't the wiki be moved?14:11
wiggyhaving zope3 in development home also seems silly14:11
d2mok, i'll need to contact Sawdog (Andrew Sawyers) for that14:11
philiKONd2m, ok14:11
philiKONwiggy, indeed14:11
d2mphiliKON: i'll do that today and let you know14:11
philiKONwiggy, reason is that it started out as a development wiki14:12
philiKONthe ComponentArchitecture wiki14:12
philiKONit never got renamed nor moved14:12
philiKONfor promoting zope 3, this is unbearable14:12
efgephiliKON: you can link to dev.zope.org/Zope3, it redirects14:15
philiKONefge, i know14:15
philiKONefge, but manging every url manually sucks14:15
efgeok14:15
efgeagreed14:15
philiKONefge, i want it to be there physically14:15
philiKONs/manging/mangling/14:17
srichterI think we will develop a zope3.org collaboration portal at the NeckarSprint14:18
srichterJim and I have already agreed on a plan of attack14:18
philiKONhmm14:19
philiKONnot sure if it's such a good idea to move away from zope.org14:19
philiKONfor zope.org, we already have maintainers14:19
philiKONtook us a long time to find them14:19
philiKONi wouldnt' wanna go thru that process again14:19
*** anguenot has joined #zope3-dev14:19
philiKONalso, it would be nice if stuff like this could be discussed openly... "we already agreed on a plan" sounds like everyone else is left outside14:20
srichterbecause if you do something like this openly you get a million feature requests and long energy-draining discussions14:22
srichterand there has really been no interest in the subject lately anyways14:22
srichterthe first goal is to move wikis nothing more14:22
philiKONwhy not stay inside zope.org and move the wiki to a saner place14:23
philiKONi know martijn has been suggesting for loooong14:23
srichterbecause zope.org sucks at this point14:23
philiKONbut now that we have volunteers that take care of zope.org, i feel like we can finally do this14:23
srichterI even had zope3.org up and running at some point14:23
philiKONi know14:23
srichterthe caching at zope.org is insane14:24
srichterit's just too much pain at this stage14:24
srichterJim 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
philiKONi don't share your idea of bileratlism on this point14:26
philiKONi'm excited that there'll finally be a better page for zope 314:26
*** Aiste has quit IRC14:27
philiKONbut i'm a bit disappointed that others can't participate in that discussion14:27
philiKONi, for one, fear that noone will find the time to administer zope3.org14:27
philiKONand it'll be in worse pain than zope.org14:27
srichterI doubt it14:27
philiKONwe'll eventually need caching on zope3.org as well14:28
philiKONso, let's not be naive there14:28
*** Aiste has joined #zope3-dev14:28
*** Aiste has quit IRC14:32
*** Aiste has joined #zope3-dev14:32
*** Alef has quit IRC14:49
andrew_mgot a weird problem with resource directory mappings:15:07
andrew_m<browser:resourceDirectory name="blah2" directory="blah" />   works fine15:08
andrew_m<browser:resourceDirectory name="blah2/blah" directory="blah" />   doesn't seem to work15:08
andrew_mis that intended?15:08
*** d2m_ has joined #zope3-dev15:15
srichterwell, you specified a two path elements15:15
*** d2m has quit IRC15:15
srichterI am pretty sure it is simply not a feature15:15
*** d2m_ is now known as d2m15:15
srichterthe attribute is called "name" not "path" or "relativePath"15:16
andrew_msrichter: ic.. too bad.. thanks15:19
*** benji_york has joined #zope3-dev15:27
*** timte has quit IRC15:58
*** MrTopf has quit IRC16:10
*** MrTopf has joined #zope3-dev16:11
*** faassen has joined #zope3-dev16:14
*** timte has joined #zope3-dev16:14
*** timte has quit IRC16:26
*** projekt01 has joined #zope3-dev16:27
*** hdima has quit IRC17:01
*** projekt01 has quit IRC17:01
*** tvon has quit IRC17:26
*** MrTopf has quit IRC17:29
*** tarek has quit IRC17:40
*** projekt01 has joined #zope3-dev17:46
*** sashav has quit IRC17:54
*** stub has quit IRC17:57
*** d2m has quit IRC18:00
*** tvon has joined #zope3-dev18:00
*** jinty has quit IRC18:11
*** Soulraven has joined #zope3-dev18:35
*** jinty has joined #zope3-dev18:42
*** Soulraven has quit IRC18:45
*** mexiKON has joined #zope3-dev18:51
*** SureshZ has joined #zope3-dev18:52
*** philiKON has quit IRC18:53
*** mexiKON is now known as philiKON18:53
*** d2m has joined #zope3-dev19:10
*** MJ has quit IRC19:28
*** mgedmin has joined #zope3-dev19:29
*** tvon has quit IRC19:31
*** vlado_ has joined #zope3-dev19:49
*** Soulraven has joined #zope3-dev19:51
*** j-w has quit IRC20:06
*** tarek has joined #zope3-dev20:22
*** hazmat has joined #zope3-dev20:31
*** J1m has joined #zope3-dev20:32
*** Soulraven has quit IRC20:38
*** sashav has joined #zope3-dev20:47
*** tarek has quit IRC20:50
*** faassen has quit IRC21:01
*** J1m has quit IRC21:01
*** clueck has joined #zope3-dev21:01
*** jinty has quit IRC21:06
*** MJ has joined #zope3-dev21:07
*** fcorrea has joined #zope3-dev21:12
*** regebro has quit IRC21:12
*** ksmith has joined #zope3-dev21:17
*** SureshZ has left #zope3-dev21:18
*** ChanServ sets mode: +o hazmat21:26
fcorreaHi 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
philiKONfcorrea, can you be a bit more concrete?21:38
fcorreaphiliKON , 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 type21:41
fcorreagot the ideia?21:41
philiKONnot entirely21:41
philiKONthe choice widgets is populated with values from a vocab21:41
philiKONthe vocab is a dynamically generated set of objects21:42
SteveAis 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 test21:42
philiKONSteveA, namespace: would then be treated as the name of a new expression type... as in python: or not:21:42
philiKONfcorrea, what kind of objects do you want in the vocab?21:43
SteveA    CompilerError: Unrecognized expression type "count".21:43
SteveAright.21:43
fcorreatools that I registered on list field of a content type for example21:44
philiKONfcorrea, sure, that's possible21:44
fcorreaphiliKON, It should be kinda of a reference to another object...21:46
fcorreaphiliKON, how do I get objects of a specif type in z3?21:48
philiKONany objects?21:48
philiKONor objects within a container?21:48
efgeSteveA: there's a TALES prefix to say you want a path expression... Not sure which21:56
efgeit's path: actually :)21:59
philiKONanyone here with some distutils fu?22:00
philiKONnm22:06
*** andrew_m has quit IRC22:08
projekt01SteveA, perhaps you can take a look at the zope.app.pagelet package where I implemented a pagelet:dotted.interface.as.key TALES expression22:12
benji_yorkSteveA, also see zope.app.sqlexpr (and the description there-of in srichter's book)22:16
fcorreaphiliKON, sorry...I've to run out for a bit, so...any object22:27
philiKONfcorrea, hmm, looks like you want a catalog query22:27
*** efge has quit IRC22:27
*** deo has quit IRC22:31
fcorreaphiliKON, I didn't use catalog in zope3 yet :-/22:31
philiKONneither have I :)22:31
fcorrea:)22:32
fcorreaI think the best solution, should be any singleton where I can get data from....utility I think22:34
*** deo has joined #zope3-dev22:42
*** hazmat has quit IRC22:51
srichterprojekt01: I wonder whether menus could be implemented using pagelets22:52
*** mgedmin has quit IRC22:54
*** tvon has joined #zope3-dev23:03
*** ignas has quit IRC23:10
*** tiredbones has quit IRC23:21
*** ksmith has quit IRC23:22
*** andrew_m has joined #zope3-dev23:29
srichterprojekt01: are you there?23:33
srichterprojekt01: python: 'ping'*1000 # :-)23:35
*** mgedmin has joined #zope3-dev23:46
*** hazmat has joined #zope3-dev23:53

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!