IRC log of #zope3-dev for Monday, 2005-11-28

*** sashav has quit IRC00:04
*** dunny has joined #zope3-dev00:13
*** j1m has quit IRC00:17
*** dunny has quit IRC00:18
*** dunny has joined #zope3-dev00:19
*** JoaoJoao has quit IRC00:52
*** drzoltron_ has quit IRC01:08
*** SiggyF has joined #zope3-dev01:16
*** philiKON has joined #zope3-dev01:44
*** tziade__ has joined #zope3-dev01:44
*** ignas__ has quit IRC01:45
*** SiggyF has quit IRC01:51
*** tarek_ has quit IRC02:03
*** __mac__ has quit IRC02:10
*** philiKON has quit IRC02:11
*** ignas has joined #zope3-dev02:11
*** bradallen has quit IRC02:26
*** yota has quit IRC02:47
*** natea has joined #zope3-dev02:53
*** sashav has joined #zope3-dev03:08
*** JoaoJoao has joined #zope3-dev03:21
JoaoJoaohello03:21
JoaoJoaois there a way for me to tell how an object's default id will look like?03:23
*** vlado has joined #zope3-dev03:39
*** xenru has joined #zope3-dev04:13
*** stub has joined #zope3-dev04:17
*** dunny has quit IRC04:22
newpersI don't check the site too much, does http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/RoadMap need updating?04:24
newpersin regards to zope 3.204:26
srichterprobably04:32
*** xenru has quit IRC04:36
*** MiUlEr has joined #zope3-dev04:38
*** xenru has joined #zope3-dev04:39
*** lordMiUlEr has joined #zope3-dev04:56
*** ignas has quit IRC05:02
*** MiUlEr has quit IRC05:09
*** tziade__ has quit IRC05:10
*** tziade__ has joined #zope3-dev05:10
*** lordMiUlEr is now known as MiUlEr05:48
*** ignas has joined #zope3-dev06:02
*** vlado has quit IRC06:03
*** MiUlEr has quit IRC06:11
*** ignas has left #zope3-dev06:22
*** _anguenot has quit IRC06:32
*** xanalogica has joined #zope3-dev06:34
*** JoaoJoao has quit IRC06:35
*** xanalogica has left #zope3-dev07:25
*** d2m has quit IRC07:36
*** d2m has joined #zope3-dev07:36
*** natea has quit IRC08:11
*** jfmoxley has quit IRC08:11
*** BjornT_ is now known as BjornT08:41
*** zagy has joined #zope3-dev08:41
*** zagy has quit IRC08:44
*** zagy has joined #zope3-dev08:45
zagymoin08:45
*** dobee has joined #zope3-dev08:57
*** SteveA has joined #zope3-dev08:58
*** sashav has quit IRC09:25
*** BjornT has quit IRC09:29
*** dobee has quit IRC09:34
*** BjornT has joined #zope3-dev09:34
*** __mac__ has joined #zope3-dev09:39
*** hdima has joined #zope3-dev09:50
*** natea has joined #zope3-dev10:02
*** drzoltron_ has joined #zope3-dev10:03
*** agroszer has joined #zope3-dev10:04
*** yota has joined #zope3-dev10:08
*** dobee has joined #zope3-dev10:14
*** tziade__ has quit IRC10:19
*** tarek has joined #zope3-dev10:19
*** andres has joined #zope3-dev10:20
*** natea has quit IRC10:28
*** drzoltron_ has quit IRC10:30
*** drzoltron_ has joined #zope3-dev10:39
*** sashav has joined #zope3-dev10:42
*** niemeyer has joined #zope3-dev11:10
*** sivang has joined #zope3-dev11:12
*** sivang has left #zope3-dev11:12
*** drzoltron_ has quit IRC11:22
*** xenru has quit IRC11:41
*** xenru has joined #zope3-dev11:42
*** xenru has quit IRC11:47
*** xenru has joined #zope3-dev11:51
*** WebMaven has quit IRC11:59
*** jinty has joined #zope3-dev12:11
*** Theuni has joined #zope3-dev12:17
*** jinty has quit IRC12:30
*** xenru|clone has joined #zope3-dev13:04
*** xenru has quit IRC13:05
*** mgedmin has joined #zope3-dev13:12
*** philiKON has joined #zope3-dev13:18
mgedminhi, folks13:21
mgedminsvn: Berkeley DB error while opening 'revisions' table for filesystem /svn/repos/main/db:13:21
mgedminCannot allocate memory13:21
mgedminwhile Fetching external item into 'Zope3/zpkgsetup'13:21
mgedmintime for somebody to put on a sysadmin hat?13:21
philiKONmgedmin, yeah, J1m :)13:31
mgedminwhen will you switch to subversion's fsfs backend?13:31
philiKON"you" ?13:31
mgedminas in "you Zope 3 folks"13:31
philiKON;)13:31
philiKONi guess when some volunteer of the zope foundation will take over maintenance of svn.zope.org13:32
philiKONnote the future tense ;)13:32
mgedminI can tell you a scary story about how bsddb completely ate the subversion repository that I used for storing my home directory backups13:32
philiKONheh, i believe you13:33
philiKONi've been using the fsfs backend for some time now as well13:33
philiKONand feel comfortable, especially with the ability to incrementally backup13:33
philiKONmgedmin, actually, it's not a BDB problem, I think13:33
*** xenru|clone has quit IRC13:33
philiKONmgedmin, svn upping svn+ssh:// urls works13:33
philiKONmgedmin, it's the svn:// urls that don't work13:33
philiKONviewcvs also does work13:34
philiKONso it seems like it's a problem of svnserve13:34
philiKON"Cannot allocate memory" != corruption of bdb13:34
mgedminhmm13:35
mgedminwell, it explicitly said "Berkeley DB error", so I just believed it13:36
philiKONthat could just mean that it's somewhere int he bdb backend...13:37
philiKONdunno13:37
philiKONi used to be more familiar with the svn source code back when i contributed to it...13:38
mgedminI had some fun wih svn's source code when I was debugging my problem -- http://subversion.tigris.org/issues/show_bug.cgi?id=243013:41
philiKONnice13:47
*** mkerrin has joined #zope3-dev13:56
*** mkerrin has quit IRC13:59
*** bradallen has joined #zope3-dev14:06
*** andres_ has joined #zope3-dev14:07
*** niemeyer has quit IRC14:09
*** mkerrin has joined #zope3-dev14:14
*** roym has joined #zope3-dev14:16
*** JoaoJoao has joined #zope3-dev14:16
*** andres has quit IRC14:23
roymIs there an implementation of ISessionDataContainer that doesn't persist to ZODB? Both PersistentSessionDataContainer and RAMSessionDataContainer seem to use the ZODB.14:26
philiKONroym, i don't think there is, but you could probably easily write one that uses a tmpdir14:27
philiKONroym, though you'd have to make sure you get it right in the threaded environment...14:28
philiKONand with transactions and such14:28
*** ignas has joined #zope3-dev14:29
roymWhat confuses me is with a name like 'RAMSessionDataContainer', one would expect it to NOT persist to disk. What might the rationale be to use disk.14:30
philiKONnot sure. i'm surprised too. maybe there isn't a decent way to keep data in ram over several requests14:33
philiKONthat works well with threads and all14:33
philiKONi guess it could use a memorystorage or whatever it's called14:33
philiKONa kind of zodb storage14:33
philiKONmaybe it does that?14:33
roymCould it be that this is the only way to allow ZEO to use storage? It uses MappingStorage (which is persistent to disk, isn't it?)14:38
*** dobee has quit IRC14:45
philiKONroym, ah yeah14:46
philiKONroym, that's it... zeo :)14:46
roymphiliKON: thanks for confirming.14:47
*** andres_ is now known as andres14:52
*** jinty has joined #zope3-dev14:58
*** zbir has quit IRC15:04
andresSome time ago i asked how i could realize this: A content object has an attribute ref which directs to another object. I want to do /object1/ref in order to reach this. I got the advice to implement ITraversable which didnt work, i had to implement IPublishTraverse (Im saying this just to explain the situation, not to blame someone). So, now i have the problem, that i want to do object/reflist/1. Currently reflist is an array (a join out of a databas15:12
andrese). So, how could i realize that? Because i cant see how to register an adapter for that. What ways do you see to implement that?15:12
*** MrTopf has joined #zope3-dev15:22
*** WebMaven has joined #zope3-dev15:27
*** WebMaven_ has joined #zope3-dev15:31
*** WebMaven has quit IRC15:45
jhauser_but if obj1 does implement IPublishTraverse it can lookup the parameters in the request and generate the requested object15:47
jhauser_but it seems that reflist is an implementation detail15:48
jhauser_are there different reflists?15:48
*** zbir has joined #zope3-dev15:57
*** mkerrin has quit IRC16:08
andresjhauser_, yes.16:09
andresOn some content objects there are (This is something i need in 20+ different classes) multiple.16:09
andresthose "reflist" are joins and a ref is a foreign key.16:11
jhauser_ok, but then you have both informations, reflist and ref from the request object16:12
jhauser_I think your problem might be to stop traversing there16:13
*** efge has joined #zope3-dev16:15
roymHow would I detect a session timeout? Is there an event for this? Any examples in the codebase?16:15
*** dobee has joined #zope3-dev16:18
*** mkerrin has joined #zope3-dev16:19
andresjhauser_, yes, it is.16:20
efgeanyone from Zope Corp here ? subversion is broken...16:21
agroszerefge: philikon said at 12:30 that svn+ssh is working16:25
efgeagroszer: well now I have bdb errors, with svn+ssh://svn.zope.org/repos/main/Zope/branches/2.916:26
agroszerhoped that'll help...16:26
jhauser_ah andres: have you tried to modify the request in the publishTraverse method?16:30
jhauser_that's how I would do in in z216:30
andresjhauser_, i will do that now, but i still dont like that... Its not that clean.16:31
philiKONreuqest doesn't have to be modified16:31
jhauser_now comes the clean way :-)16:31
philiKONIPublishTraverse is indeed the right iface, i think16:31
philiKONsorry to have mislead you16:31
philiKONITraversable is for stuff like TALES traversal16:31
philiKONso, first, you don't have to implement it on the object, it can be an adapter ;)16:32
philiKONbut it's your choice16:32
philiKONand what's wrong with further adapting 'reflist' to IPublishTraverse to get to obj/reflist/1 ?16:32
jhauser_reflist is a list and not an object16:32
jhauser_and there should be a way to stop traversing somewhere16:33
philiKONlists are objects16:33
philiKONbut that's not the point16:33
philiKONwho says that obj/reflist as a traversal actually has to  yield the list object16:34
philiKONit could yield some surrogate that knows how to get valuese from the real list when it's traversed16:34
jhauser_right you can do this16:34
jhauser_but nevertheless I think it would be a hinderance16:34
jhauser_first you generate a chain of objects, than you dissect them to get the parameters16:35
jhauser_obj ist the publisher16:35
jhauser_or controller one could say16:36
philiKONyes, the traverser can be told to further neglect entries16:36
philiKONif the current traverser already took them into account16:36
philiKONe.g. we're traversing 'object/reflist/1'16:36
philiKONthe traverser for 'object' also takes into account the items following it: 'reflist', '1'16:37
philiKONso it deletes them from the traversal stack16:37
philiKONvoila16:37
jhauser_question is how to delete from the traversal stack16:37
andresso, i have to implement my own traverser, right?16:37
jhauser_isn't the stack part of the request?16:38
philiKONit used to in z216:38
philiKONnot in z316:38
philiKONb/c the request should be read only16:38
jhauser_which I mean with change the request16:38
philiKONITraversable.traverse(name, furtherPath)16:38
jhauser_ah fine16:39
philiKONhmm, not too fine16:39
andresphiliKON, ITraversable?16:39
philiKONIPublishTraverse doesn't support this16:39
andresphiliKON, this confused me too.16:41
jhauser_but the ITraverse-Adapter of the result object could implement this16:41
* philiKON still thinks that mock objects along the traversal path would be the easiest16:42
andresphiliKON, its the easiest, but not the nicest way ;-)16:43
philiKONi think it's nicer than fiddling with some traversal stack16:43
jhauser_hm traversing to the end, than asking all the parents for the values, then generating a result, which could already be created by obj16:44
jhauser_I think it's enough if the result object implements traverse and eats it16:46
jhauser_eats the stack16:46
philiKONyeh16:46
*** benji has joined #zope3-dev16:47
efge(svn works again thx)16:47
*** philiKON has quit IRC17:10
*** stub has quit IRC17:13
*** stub has joined #zope3-dev17:22
*** sashav has quit IRC17:27
andresjhauser_, it works now, thanks for your help... (got it working in 5 minutes. Sometimes advice has some _serious_ advantages over just finding the solution yourself ;-))17:42
jhauser_:-) I learn this myself, so I will need to ask similar questions :-)17:43
andresjhauser_, i still wonder why #zope3-dev is that silent.17:47
andresjhauser_, the "box" approach has a additional benefit. You can define a view for it.17:48
*** bradallen has quit IRC17:48
*** xenru has joined #zope3-dev17:48
andresbtw, all this stuff only works in custom views, not through zmi...17:49
jhauser_ok17:49
*** hdima has quit IRC17:50
andresbecause of AbsoluteURL17:54
andresok, i found my failure... I have just set __parent__ and not __name__...17:58
*** dobee has quit IRC18:15
*** yota has quit IRC18:25
*** zagy has quit IRC18:25
*** xenru has quit IRC18:33
*** yota has joined #zope3-dev18:39
*** zagy has joined #zope3-dev18:39
*** bradb has joined #zope3-dev18:51
*** WebMaven_ is now known as WebMaven18:55
*** sashav has joined #zope3-dev19:01
*** zagy has quit IRC19:02
*** zagy has joined #zope3-dev19:04
*** zbir has quit IRC19:20
*** zbir has joined #zope3-dev19:21
*** andres_ has joined #zope3-dev19:27
*** zagy has quit IRC19:32
*** zagy has joined #zope3-dev19:33
*** andres has quit IRC19:43
*** dobee has joined #zope3-dev19:55
*** stub has quit IRC20:09
*** MrTopf has quit IRC20:14
*** andres_ is now known as andres20:18
*** natea has joined #zope3-dev20:24
*** dobee has quit IRC20:52
*** d2m has quit IRC20:52
andresAnybody here using zope.formlib?20:57
andresEspecially in combination with the file widget?20:59
*** deo has joined #zope3-dev21:01
*** efge has quit IRC21:06
*** dobee has joined #zope3-dev21:19
*** d2m has joined #zope3-dev21:20
*** agroszer has quit IRC21:26
*** SiggyF has joined #zope3-dev21:28
*** mkerrin has quit IRC21:35
*** jhauser has joined #zope3-dev21:58
*** jhauser_ has quit IRC22:08
*** j1m has joined #zope3-dev22:20
*** mgedmin has quit IRC22:22
j1msrichter, ayt?22:24
*** j1m has quit IRC22:29
*** zagy has quit IRC22:29
*** ignas has quit IRC22:30
*** SiggyF has quit IRC22:34
*** dobee has quit IRC22:39
*** d2m has quit IRC23:03
*** d2m has joined #zope3-dev23:03
*** jinty has quit IRC23:40
*** sashav has quit IRC23:43
*** sashav has joined #zope3-dev23:59

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