*** sashav has quit IRC | 00:04 | |
*** dunny has joined #zope3-dev | 00:13 | |
*** j1m has quit IRC | 00:17 | |
*** dunny has quit IRC | 00:18 | |
*** dunny has joined #zope3-dev | 00:19 | |
*** JoaoJoao has quit IRC | 00:52 | |
*** drzoltron_ has quit IRC | 01:08 | |
*** SiggyF has joined #zope3-dev | 01:16 | |
*** philiKON has joined #zope3-dev | 01:44 | |
*** tziade__ has joined #zope3-dev | 01:44 | |
*** ignas__ has quit IRC | 01:45 | |
*** SiggyF has quit IRC | 01:51 | |
*** tarek_ has quit IRC | 02:03 | |
*** __mac__ has quit IRC | 02:10 | |
*** philiKON has quit IRC | 02:11 | |
*** ignas has joined #zope3-dev | 02:11 | |
*** bradallen has quit IRC | 02:26 | |
*** yota has quit IRC | 02:47 | |
*** natea has joined #zope3-dev | 02:53 | |
*** sashav has joined #zope3-dev | 03:08 | |
*** JoaoJoao has joined #zope3-dev | 03:21 | |
JoaoJoao | hello | 03:21 |
---|---|---|
JoaoJoao | is there a way for me to tell how an object's default id will look like? | 03:23 |
*** vlado has joined #zope3-dev | 03:39 | |
*** xenru has joined #zope3-dev | 04:13 | |
*** stub has joined #zope3-dev | 04:17 | |
*** dunny has quit IRC | 04:22 | |
newpers | I don't check the site too much, does http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/RoadMap need updating? | 04:24 |
newpers | in regards to zope 3.2 | 04:26 |
srichter | probably | 04:32 |
*** xenru has quit IRC | 04:36 | |
*** MiUlEr has joined #zope3-dev | 04:38 | |
*** xenru has joined #zope3-dev | 04:39 | |
*** lordMiUlEr has joined #zope3-dev | 04:56 | |
*** ignas has quit IRC | 05:02 | |
*** MiUlEr has quit IRC | 05:09 | |
*** tziade__ has quit IRC | 05:10 | |
*** tziade__ has joined #zope3-dev | 05:10 | |
*** lordMiUlEr is now known as MiUlEr | 05:48 | |
*** ignas has joined #zope3-dev | 06:02 | |
*** vlado has quit IRC | 06:03 | |
*** MiUlEr has quit IRC | 06:11 | |
*** ignas has left #zope3-dev | 06:22 | |
*** _anguenot has quit IRC | 06:32 | |
*** xanalogica has joined #zope3-dev | 06:34 | |
*** JoaoJoao has quit IRC | 06:35 | |
*** xanalogica has left #zope3-dev | 07:25 | |
*** d2m has quit IRC | 07:36 | |
*** d2m has joined #zope3-dev | 07:36 | |
*** natea has quit IRC | 08:11 | |
*** jfmoxley has quit IRC | 08:11 | |
*** BjornT_ is now known as BjornT | 08:41 | |
*** zagy has joined #zope3-dev | 08:41 | |
*** zagy has quit IRC | 08:44 | |
*** zagy has joined #zope3-dev | 08:45 | |
zagy | moin | 08:45 |
*** dobee has joined #zope3-dev | 08:57 | |
*** SteveA has joined #zope3-dev | 08:58 | |
*** sashav has quit IRC | 09:25 | |
*** BjornT has quit IRC | 09:29 | |
*** dobee has quit IRC | 09:34 | |
*** BjornT has joined #zope3-dev | 09:34 | |
*** __mac__ has joined #zope3-dev | 09:39 | |
*** hdima has joined #zope3-dev | 09:50 | |
*** natea has joined #zope3-dev | 10:02 | |
*** drzoltron_ has joined #zope3-dev | 10:03 | |
*** agroszer has joined #zope3-dev | 10:04 | |
*** yota has joined #zope3-dev | 10:08 | |
*** dobee has joined #zope3-dev | 10:14 | |
*** tziade__ has quit IRC | 10:19 | |
*** tarek has joined #zope3-dev | 10:19 | |
*** andres has joined #zope3-dev | 10:20 | |
*** natea has quit IRC | 10:28 | |
*** drzoltron_ has quit IRC | 10:30 | |
*** drzoltron_ has joined #zope3-dev | 10:39 | |
*** sashav has joined #zope3-dev | 10:42 | |
*** niemeyer has joined #zope3-dev | 11:10 | |
*** sivang has joined #zope3-dev | 11:12 | |
*** sivang has left #zope3-dev | 11:12 | |
*** drzoltron_ has quit IRC | 11:22 | |
*** xenru has quit IRC | 11:41 | |
*** xenru has joined #zope3-dev | 11:42 | |
*** xenru has quit IRC | 11:47 | |
*** xenru has joined #zope3-dev | 11:51 | |
*** WebMaven has quit IRC | 11:59 | |
*** jinty has joined #zope3-dev | 12:11 | |
*** Theuni has joined #zope3-dev | 12:17 | |
*** jinty has quit IRC | 12:30 | |
*** xenru|clone has joined #zope3-dev | 13:04 | |
*** xenru has quit IRC | 13:05 | |
*** mgedmin has joined #zope3-dev | 13:12 | |
*** philiKON has joined #zope3-dev | 13:18 | |
mgedmin | hi, folks | 13:21 |
mgedmin | svn: Berkeley DB error while opening 'revisions' table for filesystem /svn/repos/main/db: | 13:21 |
mgedmin | Cannot allocate memory | 13:21 |
mgedmin | while Fetching external item into 'Zope3/zpkgsetup' | 13:21 |
mgedmin | time for somebody to put on a sysadmin hat? | 13:21 |
philiKON | mgedmin, yeah, J1m :) | 13:31 |
mgedmin | when will you switch to subversion's fsfs backend? | 13:31 |
philiKON | "you" ? | 13:31 |
mgedmin | as in "you Zope 3 folks" | 13:31 |
philiKON | ;) | 13:31 |
philiKON | i guess when some volunteer of the zope foundation will take over maintenance of svn.zope.org | 13:32 |
philiKON | note the future tense ;) | 13:32 |
mgedmin | I can tell you a scary story about how bsddb completely ate the subversion repository that I used for storing my home directory backups | 13:32 |
philiKON | heh, i believe you | 13:33 |
philiKON | i've been using the fsfs backend for some time now as well | 13:33 |
philiKON | and feel comfortable, especially with the ability to incrementally backup | 13:33 |
philiKON | mgedmin, actually, it's not a BDB problem, I think | 13:33 |
*** xenru|clone has quit IRC | 13:33 | |
philiKON | mgedmin, svn upping svn+ssh:// urls works | 13:33 |
philiKON | mgedmin, it's the svn:// urls that don't work | 13:33 |
philiKON | viewcvs also does work | 13:34 |
philiKON | so it seems like it's a problem of svnserve | 13:34 |
philiKON | "Cannot allocate memory" != corruption of bdb | 13:34 |
mgedmin | hmm | 13:35 |
mgedmin | well, it explicitly said "Berkeley DB error", so I just believed it | 13:36 |
philiKON | that could just mean that it's somewhere int he bdb backend... | 13:37 |
philiKON | dunno | 13:37 |
philiKON | i used to be more familiar with the svn source code back when i contributed to it... | 13:38 |
mgedmin | I had some fun wih svn's source code when I was debugging my problem -- http://subversion.tigris.org/issues/show_bug.cgi?id=2430 | 13:41 |
philiKON | nice | 13:47 |
*** mkerrin has joined #zope3-dev | 13:56 | |
*** mkerrin has quit IRC | 13:59 | |
*** bradallen has joined #zope3-dev | 14:06 | |
*** andres_ has joined #zope3-dev | 14:07 | |
*** niemeyer has quit IRC | 14:09 | |
*** mkerrin has joined #zope3-dev | 14:14 | |
*** roym has joined #zope3-dev | 14:16 | |
*** JoaoJoao has joined #zope3-dev | 14:16 | |
*** andres has quit IRC | 14:23 | |
roym | Is there an implementation of ISessionDataContainer that doesn't persist to ZODB? Both PersistentSessionDataContainer and RAMSessionDataContainer seem to use the ZODB. | 14:26 |
philiKON | roym, i don't think there is, but you could probably easily write one that uses a tmpdir | 14:27 |
philiKON | roym, though you'd have to make sure you get it right in the threaded environment... | 14:28 |
philiKON | and with transactions and such | 14:28 |
*** ignas has joined #zope3-dev | 14:29 | |
roym | What 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 |
philiKON | not sure. i'm surprised too. maybe there isn't a decent way to keep data in ram over several requests | 14:33 |
philiKON | that works well with threads and all | 14:33 |
philiKON | i guess it could use a memorystorage or whatever it's called | 14:33 |
philiKON | a kind of zodb storage | 14:33 |
philiKON | maybe it does that? | 14:33 |
roym | Could 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 IRC | 14:45 | |
philiKON | roym, ah yeah | 14:46 |
philiKON | roym, that's it... zeo :) | 14:46 |
roym | philiKON: thanks for confirming. | 14:47 |
*** andres_ is now known as andres | 14:52 | |
*** jinty has joined #zope3-dev | 14:58 | |
*** zbir has quit IRC | 15:04 | |
andres | Some 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 databas | 15:12 |
andres | e). 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-dev | 15:22 | |
*** WebMaven has joined #zope3-dev | 15:27 | |
*** WebMaven_ has joined #zope3-dev | 15:31 | |
*** WebMaven has quit IRC | 15:45 | |
jhauser_ | but if obj1 does implement IPublishTraverse it can lookup the parameters in the request and generate the requested object | 15:47 |
jhauser_ | but it seems that reflist is an implementation detail | 15:48 |
jhauser_ | are there different reflists? | 15:48 |
*** zbir has joined #zope3-dev | 15:57 | |
*** mkerrin has quit IRC | 16:08 | |
andres | jhauser_, yes. | 16:09 |
andres | On some content objects there are (This is something i need in 20+ different classes) multiple. | 16:09 |
andres | those "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 object | 16:12 |
jhauser_ | I think your problem might be to stop traversing there | 16:13 |
*** efge has joined #zope3-dev | 16:15 | |
roym | How would I detect a session timeout? Is there an event for this? Any examples in the codebase? | 16:15 |
*** dobee has joined #zope3-dev | 16:18 | |
*** mkerrin has joined #zope3-dev | 16:19 | |
andres | jhauser_, yes, it is. | 16:20 |
efge | anyone from Zope Corp here ? subversion is broken... | 16:21 |
agroszer | efge: philikon said at 12:30 that svn+ssh is working | 16:25 |
efge | agroszer: well now I have bdb errors, with svn+ssh://svn.zope.org/repos/main/Zope/branches/2.9 | 16:26 |
agroszer | hoped 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 z2 | 16:30 |
andres | jhauser_, i will do that now, but i still dont like that... Its not that clean. | 16:31 |
philiKON | reuqest doesn't have to be modified | 16:31 |
jhauser_ | now comes the clean way :-) | 16:31 |
philiKON | IPublishTraverse is indeed the right iface, i think | 16:31 |
philiKON | sorry to have mislead you | 16:31 |
philiKON | ITraversable is for stuff like TALES traversal | 16:31 |
philiKON | so, first, you don't have to implement it on the object, it can be an adapter ;) | 16:32 |
philiKON | but it's your choice | 16:32 |
philiKON | and 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 object | 16:32 |
jhauser_ | and there should be a way to stop traversing somewhere | 16:33 |
philiKON | lists are objects | 16:33 |
philiKON | but that's not the point | 16:33 |
philiKON | who says that obj/reflist as a traversal actually has to yield the list object | 16:34 |
philiKON | it could yield some surrogate that knows how to get valuese from the real list when it's traversed | 16:34 |
jhauser_ | right you can do this | 16:34 |
jhauser_ | but nevertheless I think it would be a hinderance | 16:34 |
jhauser_ | first you generate a chain of objects, than you dissect them to get the parameters | 16:35 |
jhauser_ | obj ist the publisher | 16:35 |
jhauser_ | or controller one could say | 16:36 |
philiKON | yes, the traverser can be told to further neglect entries | 16:36 |
philiKON | if the current traverser already took them into account | 16:36 |
philiKON | e.g. we're traversing 'object/reflist/1' | 16:36 |
philiKON | the traverser for 'object' also takes into account the items following it: 'reflist', '1' | 16:37 |
philiKON | so it deletes them from the traversal stack | 16:37 |
philiKON | voila | 16:37 |
jhauser_ | question is how to delete from the traversal stack | 16:37 |
andres | so, i have to implement my own traverser, right? | 16:37 |
jhauser_ | isn't the stack part of the request? | 16:38 |
philiKON | it used to in z2 | 16:38 |
philiKON | not in z3 | 16:38 |
philiKON | b/c the request should be read only | 16:38 |
jhauser_ | which I mean with change the request | 16:38 |
philiKON | ITraversable.traverse(name, furtherPath) | 16:38 |
jhauser_ | ah fine | 16:39 |
philiKON | hmm, not too fine | 16:39 |
andres | philiKON, ITraversable? | 16:39 |
philiKON | IPublishTraverse doesn't support this | 16:39 |
andres | philiKON, this confused me too. | 16:41 |
jhauser_ | but the ITraverse-Adapter of the result object could implement this | 16:41 |
* philiKON still thinks that mock objects along the traversal path would be the easiest | 16:42 | |
andres | philiKON, its the easiest, but not the nicest way ;-) | 16:43 |
philiKON | i think it's nicer than fiddling with some traversal stack | 16: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 obj | 16:44 |
jhauser_ | I think it's enough if the result object implements traverse and eats it | 16:46 |
jhauser_ | eats the stack | 16:46 |
philiKON | yeh | 16:46 |
*** benji has joined #zope3-dev | 16:47 | |
efge | (svn works again thx) | 16:47 |
*** philiKON has quit IRC | 17:10 | |
*** stub has quit IRC | 17:13 | |
*** stub has joined #zope3-dev | 17:22 | |
*** sashav has quit IRC | 17:27 | |
andres | jhauser_, 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 |
andres | jhauser_, i still wonder why #zope3-dev is that silent. | 17:47 |
andres | jhauser_, the "box" approach has a additional benefit. You can define a view for it. | 17:48 |
*** bradallen has quit IRC | 17:48 | |
*** xenru has joined #zope3-dev | 17:48 | |
andres | btw, all this stuff only works in custom views, not through zmi... | 17:49 |
jhauser_ | ok | 17:49 |
*** hdima has quit IRC | 17:50 | |
andres | because of AbsoluteURL | 17:54 |
andres | ok, i found my failure... I have just set __parent__ and not __name__... | 17:58 |
*** dobee has quit IRC | 18:15 | |
*** yota has quit IRC | 18:25 | |
*** zagy has quit IRC | 18:25 | |
*** xenru has quit IRC | 18:33 | |
*** yota has joined #zope3-dev | 18:39 | |
*** zagy has joined #zope3-dev | 18:39 | |
*** bradb has joined #zope3-dev | 18:51 | |
*** WebMaven_ is now known as WebMaven | 18:55 | |
*** sashav has joined #zope3-dev | 19:01 | |
*** zagy has quit IRC | 19:02 | |
*** zagy has joined #zope3-dev | 19:04 | |
*** zbir has quit IRC | 19:20 | |
*** zbir has joined #zope3-dev | 19:21 | |
*** andres_ has joined #zope3-dev | 19:27 | |
*** zagy has quit IRC | 19:32 | |
*** zagy has joined #zope3-dev | 19:33 | |
*** andres has quit IRC | 19:43 | |
*** dobee has joined #zope3-dev | 19:55 | |
*** stub has quit IRC | 20:09 | |
*** MrTopf has quit IRC | 20:14 | |
*** andres_ is now known as andres | 20:18 | |
*** natea has joined #zope3-dev | 20:24 | |
*** dobee has quit IRC | 20:52 | |
*** d2m has quit IRC | 20:52 | |
andres | Anybody here using zope.formlib? | 20:57 |
andres | Especially in combination with the file widget? | 20:59 |
*** deo has joined #zope3-dev | 21:01 | |
*** efge has quit IRC | 21:06 | |
*** dobee has joined #zope3-dev | 21:19 | |
*** d2m has joined #zope3-dev | 21:20 | |
*** agroszer has quit IRC | 21:26 | |
*** SiggyF has joined #zope3-dev | 21:28 | |
*** mkerrin has quit IRC | 21:35 | |
*** jhauser has joined #zope3-dev | 21:58 | |
*** jhauser_ has quit IRC | 22:08 | |
*** j1m has joined #zope3-dev | 22:20 | |
*** mgedmin has quit IRC | 22:22 | |
j1m | srichter, ayt? | 22:24 |
*** j1m has quit IRC | 22:29 | |
*** zagy has quit IRC | 22:29 | |
*** ignas has quit IRC | 22:30 | |
*** SiggyF has quit IRC | 22:34 | |
*** dobee has quit IRC | 22:39 | |
*** d2m has quit IRC | 23:03 | |
*** d2m has joined #zope3-dev | 23:03 | |
*** jinty has quit IRC | 23:40 | |
*** sashav has quit IRC | 23:43 | |
*** sashav has joined #zope3-dev | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!