IRC log of #zope3-dev for Friday, 2007-03-30

seonewyeah, I'll come back to it again.  thanks.00:03
*** seonew has quit IRC00:03
*** Aiste|away has quit IRC00:05
*** hazmat has quit IRC00:06
*** hazmat has joined #zope3-dev00:18
*** ChanServ sets mode: +o hazmat00:18
*** jbb666 has quit IRC00:26
*** lucielejard has quit IRC00:28
*** d2m has quit IRC00:30
*** yota has quit IRC00:50
*** ofer has joined #zope3-dev00:50
philiKONwow00:54
*** pelle_ has joined #zope3-dev00:54
philiKONi just needed 6 lines of python code to run zope 3 completely on paste.deploy00:54
philiKONno zope.server, no twisted.web200:54
*** srichter has quit IRC00:55
* pbugni wants to see those 6 lines00:58
* philiKON commits them00:58
philiKONpbugni: http://svn.zope.org/zope.paste/trunk/zope/paste/factory.py?rev=73930&view=auto01:00
pbugniwoof01:01
pbugnithat is downright impressive01:01
*** philiKON has quit IRC01:05
*** philiKON has joined #zope3-dev01:05
*** marcin_ant has joined #zope3-dev01:07
*** pelle_ has quit IRC01:22
*** ccomb has left #zope3-dev01:27
*** pelle_ has joined #zope3-dev01:29
*** alecm has quit IRC01:34
*** J1m has quit IRC01:35
*** RaFromBRC has quit IRC01:38
*** jbb666 has joined #zope3-dev01:39
*** alecm has joined #zope3-dev01:47
*** RaFromBRC has joined #zope3-dev01:49
*** ofer has quit IRC01:52
*** bigkevmcd has quit IRC01:52
*** pelle_ has quit IRC01:53
philiKONok, the six lines are now 43, but now i also support developermode and multiple database a la zope.conf01:57
RaFromBRCphiliKON: that's awesome!02:03
*** harobed has quit IRC02:07
*** rocky has quit IRC02:08
*** reco has quit IRC02:11
*** natea has quit IRC02:12
*** jfroche__ has quit IRC02:23
*** hazmat is now known as a02:27
*** a is now known as hazmat02:27
*** marcin_ant has quit IRC02:30
*** ofer has joined #zope3-dev02:43
*** alecm has quit IRC02:44
*** alecm has joined #zope3-dev02:46
*** alecm has quit IRC02:47
*** pcardune has joined #zope3-dev02:49
*** niemeyer has quit IRC03:20
*** wrobel has quit IRC03:28
*** hazmat has quit IRC03:31
*** hazmat has joined #zope3-dev03:32
*** ChanServ sets mode: +o hazmat03:32
*** jinty has quit IRC03:38
*** jkakar has quit IRC03:40
*** optilude has joined #zope3-dev03:40
*** pcardune has quit IRC03:41
*** ofer has quit IRC03:46
*** pcardune has joined #zope3-dev03:58
*** optilude has left #zope3-dev04:08
*** deo has quit IRC04:23
*** hazmat has quit IRC04:23
*** RaFromBRC has quit IRC04:24
*** ofer has joined #zope3-dev05:04
*** stub has joined #zope3-dev05:10
*** pcardune has quit IRC05:28
*** baijum has joined #zope3-dev05:33
*** jkakar has joined #zope3-dev05:45
*** srichter has joined #zope3-dev05:46
*** ChanServ sets mode: +o srichter05:46
*** pbugni has quit IRC06:31
*** jkakar has quit IRC06:45
*** ofer has quit IRC06:49
*** dobee has joined #zope3-dev07:33
*** jbb666 has quit IRC07:46
*** pbugni has joined #zope3-dev07:51
*** zagy has quit IRC07:58
*** shiny has joined #zope3-dev07:59
*** pcardune has joined #zope3-dev08:00
*** febb has joined #zope3-dev08:11
*** afd_ has joined #zope3-dev08:14
*** Aiste|away has joined #zope3-dev08:20
*** zagy has joined #zope3-dev08:22
*** febb has quit IRC08:32
*** jukart has joined #zope3-dev08:39
*** sorin has joined #zope3-dev08:44
*** sorin is now known as sorindregan08:44
*** stub has quit IRC08:47
*** d2m has joined #zope3-dev08:55
*** opetznick has joined #zope3-dev09:05
*** wrobel has joined #zope3-dev09:21
*** opetznick has joined #zope3-dev09:33
*** jodok has joined #zope3-dev09:33
*** opetznick has quit IRC09:33
*** opetznick has joined #zope3-dev09:33
*** pghoratiu has joined #zope3-dev09:40
*** opetznick has quit IRC09:47
*** timte has joined #zope3-dev09:51
*** Bhaskar has joined #zope3-dev09:51
*** naro has joined #zope3-dev09:55
*** yota has joined #zope3-dev10:14
*** jhauser has joined #zope3-dev10:18
*** lurker has joined #zope3-dev10:19
*** jfroche has joined #zope3-dev10:21
*** ghendi has joined #zope3-dev10:32
*** ktwilight has joined #zope3-dev10:37
*** lzdych has joined #zope3-dev10:41
*** ccomb has joined #zope3-dev10:42
*** rocky has joined #zope3-dev10:57
*** rocky has quit IRC11:00
*** rocky|sorrento has joined #zope3-dev11:00
*** alecm has joined #zope3-dev11:02
*** natea has joined #zope3-dev11:05
*** alecm has quit IRC11:07
*** afd_ has quit IRC11:09
*** afd_ has joined #zope3-dev11:09
*** hazmat has joined #zope3-dev11:09
*** ChanServ sets mode: +o hazmat11:09
*** hazmat has quit IRC11:11
*** alecm has joined #zope3-dev11:11
*** Aiste|away has quit IRC11:21
*** stub has joined #zope3-dev11:28
*** opetznick has joined #zope3-dev11:28
*** RaFromBRC has joined #zope3-dev11:35
*** b52laptop has joined #zope3-dev11:37
*** Aiste|away has joined #zope3-dev11:54
*** hazmat has joined #zope3-dev11:55
*** ChanServ sets mode: +o hazmat11:55
*** replicant has joined #zope3-dev11:57
*** ktwilight has quit IRC11:58
*** yvl has joined #zope3-dev11:58
*** ktwilight has joined #zope3-dev11:58
*** tarek has joined #zope3-dev12:01
*** natea has quit IRC12:04
*** natea has joined #zope3-dev12:04
*** RaFromBRC has quit IRC12:05
*** alecm has quit IRC12:05
*** alecm has joined #zope3-dev12:06
*** RaFromBRC has joined #zope3-dev12:06
*** ofer has joined #zope3-dev12:06
*** jinty has joined #zope3-dev12:10
*** hazmat has quit IRC12:15
*** rocky|sorrento has quit IRC12:15
*** pcardune has quit IRC12:16
*** jfroche_ has joined #zope3-dev12:17
*** pbugni has quit IRC12:17
*** rocky|sorrento has joined #zope3-dev12:18
*** jfroche has quit IRC12:30
*** rocky|sorrento has quit IRC12:30
*** stub has quit IRC12:34
*** rocky|sorrento has joined #zope3-dev12:35
*** stub has joined #zope3-dev12:37
*** jhauser has quit IRC12:42
*** ofer has quit IRC12:59
*** replicant has quit IRC13:01
*** rocky|sorrento has quit IRC13:05
*** hazmat has joined #zope3-dev13:08
*** ChanServ sets mode: +o hazmat13:08
*** mkerrin has joined #zope3-dev13:09
*** ignas has joined #zope3-dev13:12
*** philiKON has quit IRC13:12
*** d2m has quit IRC13:20
*** ktwilight has quit IRC13:22
*** jhauser has joined #zope3-dev13:23
*** zagy has quit IRC13:24
*** jfroche_ has quit IRC13:26
*** cbcunc_ has joined #zope3-dev13:30
*** henri_ has joined #zope3-dev13:32
*** stub has quit IRC13:34
*** lurker is now known as lurker|lunch13:38
*** jhauser has quit IRC13:43
*** cbcunc has quit IRC13:44
*** henri_ has left #zope3-dev14:01
*** dunny has quit IRC14:02
*** baijum has quit IRC14:16
*** jhauser has joined #zope3-dev14:26
*** RaFromBRC has quit IRC14:33
*** mgedmin has joined #zope3-dev14:34
timteISomething(obj) returns obj directly if it implements ISomething. Is there a way to prevent this so I can use my own ISomething adapter even if the obj provides ISomthing directly?14:34
mgedminI doubt it14:35
*** RaFromBRC has joined #zope3-dev14:35
*** Bhaskar has quit IRC14:39
*** natea has quit IRC14:42
jukarttimte: don't provide ISomething :)14:47
timtejukart: I wish it was in my control  :)14:48
jukarttimte: but the code which adapts is under your control ?14:53
timtesure, I want to make an adapter, but it's not used because the object provides it directly.14:54
mgedminwrite a proxy object14:54
jukartwhat if you make a named adapter for this special content type and do a fallback to the unnamed14:54
*** J1m has joined #zope3-dev14:56
timtejukart: ah, you mean adapts, no that code is not under my control, only the adapter itself  :/14:56
*** srichter has quit IRC14:57
jukartno, you do queryAdapter(c, ISomething, name="mySpecial")14:57
jukartif this doesn't provide it, you do ISomething(c)14:57
jukartand the mySpecial-adapter is only for your special type14:58
timtebut it's not my code that looks up the adapter14:59
*** RaFromBRC has quit IRC14:59
jukartok, then it's bad, that was my question before, sorry14:59
timteyeah, I misunderstood15:00
timteI'd like a ISomething(obj) that only looks in registry, not on object.15:00
timteuhm no, I didn't have control over that code, sorry15:01
*** d2m has joined #zope3-dev15:13
*** benji has joined #zope3-dev15:21
*** yvl has quit IRC15:22
*** lurker|lunch is now known as lurker15:25
*** hazmat has quit IRC15:27
*** marcin_ant has joined #zope3-dev15:44
mgedmindo zodb read/write conflicts still exist in zope 3.2?15:48
mgedminI thought mvcc was supposed to get rid of them all15:48
mgedmindoes zodb that is bundled with zope 3.2 have mvcc?15:48
*** marcin_ant has quit IRC15:49
*** marcin_ant has joined #zope3-dev15:50
mgedminconflict errors are very painful when the request takes 1 hour to produce an 8 meg xml file with little bits of data taken from thousands of persistent objects15:52
benjimgedmin: write conflicts still happen, but I don't think there are (supposed to be) read conflicts15:53
benjioh, and to answer your other question, yes zope 3.2's zodb has mvcc15:54
*** naro has quit IRC16:04
*** marcin_ant has quit IRC16:14
*** alecm has quit IRC16:16
*** alecm has joined #zope3-dev16:17
*** niemeyer has joined #zope3-dev16:17
J1mRequests taking an hour are very painful. :)16:18
*** jkakar has joined #zope3-dev16:21
*** redir has joined #zope3-dev16:24
*** srichter has joined #zope3-dev16:29
*** alecm_ has joined #zope3-dev16:37
*** cbcunc_ is now known as cbcunc16:39
*** opetznick has quit IRC16:48
*** alecm has quit IRC16:52
*** twcook has joined #zope3-dev16:55
*** salfield has joined #zope3-dev16:56
*** lucielejard has joined #zope3-dev17:04
*** pghoratiu has quit IRC17:06
*** sorindregan has quit IRC17:07
*** ghendi has quit IRC17:07
mgedminbenji: the view that got the conflict error does not write to the PersistentDict that conflicted17:10
benjiit sounds like it would be difficult to create a small test to provoke the read conflict, but I bet that'll be neccesary to diagnose it :\17:11
mgedminhm, actually it could, I suppose17:12
mgedminchange that dict, I mean17:12
*** avoine has joined #zope3-dev17:12
mgedminthere's some initialize-default-values-if-they're-not-present magic going on in some of the adapters17:13
*** baijum has joined #zope3-dev17:13
*** pbugni has joined #zope3-dev17:13
*** tarek has left #zope3-dev17:49
*** srichter has quit IRC17:54
*** baijum has quit IRC17:54
*** redir has quit IRC18:03
*** redir has joined #zope3-dev18:06
*** shiny has quit IRC18:11
*** srichter has joined #zope3-dev18:14
*** tarek has joined #zope3-dev18:20
*** alecm_ has quit IRC18:25
*** lzdych has quit IRC18:27
*** ChanServ sets mode: +o srichter18:28
*** alecm has joined #zope3-dev18:28
*** alecm_ has joined #zope3-dev18:30
*** tarek has quit IRC18:34
*** pbugni has quit IRC18:35
*** jukart has quit IRC18:36
*** jbb666 has joined #zope3-dev18:42
*** alecm has quit IRC18:46
*** BjornT_ has joined #zope3-dev18:53
*** tarek has joined #zope3-dev18:55
*** BjornT has quit IRC18:56
*** ccomb has left #zope3-dev19:02
*** pbugni has joined #zope3-dev19:05
*** timte has quit IRC19:07
*** dobee has quit IRC19:12
*** Vq^ has joined #zope3-dev19:13
*** lurker has quit IRC19:15
*** febb has joined #zope3-dev19:16
*** Aiste|away has quit IRC19:19
*** RaFromBRC has joined #zope3-dev19:24
*** RaFromBRC has quit IRC19:25
*** redir has quit IRC19:27
*** jodok has quit IRC19:36
*** jodok_ has joined #zope3-dev19:36
*** redir has joined #zope3-dev19:39
jbb666i saw some threads on distutils-sig that indicated people were thinking about how use zc.buildout to install eggs built from SVN.... does this work now?19:45
*** jodok_ is now known as jodok19:48
*** ksmith99 has joined #zope3-dev19:51
*** alecm_ has quit IRC19:52
*** lurker has joined #zope3-dev19:53
*** jhauser has quit IRC19:55
*** alecm has joined #zope3-dev19:57
*** pbugni has quit IRC19:58
*** dobee has joined #zope3-dev20:02
*** RaFromBRC has joined #zope3-dev20:02
*** RaFromBRC has quit IRC20:03
*** pbugni has joined #zope3-dev20:03
*** RaFromBRC has joined #zope3-dev20:04
*** natea has joined #zope3-dev20:07
*** b52lap has joined #zope3-dev20:14
*** hazmat has joined #zope3-dev20:15
*** ChanServ sets mode: +o hazmat20:15
*** rocky|sorrento has joined #zope3-dev20:19
*** drzoltron has joined #zope3-dev20:29
drzoltronHey, what could be the reason for the following error: AttributeError: type object 'Editor' has no attribute 'providedBy'20:30
mgedminthe reason could be that the class Editor does not have a 'providedBy' attribute20:30
mgedminwhich is what the exception says20:30
*** b52laptop has quit IRC20:30
drzoltronmgedmin: really, wow !20:30
mgedmininterfaces typically have providedBy20:31
*** hazmat has quit IRC20:31
mgedminare you sure it wasn't supposed to be IEditor.providedBy instead of Editor?20:31
drzoltronmgedmin: the class looks just like the other classes that work20:31
mgedminor maybe you're passing a class to a function that expects an interface20:31
*** ktwilight has joined #zope3-dev20:32
*** alecm has quit IRC20:32
drzoltronah got it, passed the class to a contains() which expects the interface ;)20:32
drzoltronthanx20:32
*** avoine has quit IRC20:32
*** RaFromBRC has quit IRC20:32
*** alecm has joined #zope3-dev20:32
*** natea has quit IRC20:33
drzoltroncan I lock a ++skin++something to an object ?20:33
*** RaFromBRC has joined #zope3-dev20:33
*** natea has joined #zope3-dev20:34
mgedminyou could write a subscriber for IBeforeTraversalEvent that checks whether the object being traversed is the one you want, and if so, calls applySkin()20:37
mgedminI've done that on a couple of projects20:37
drzoltronmgedmin: cool, will try that !20:37
drzoltronsounds good20:37
*** opetznick has joined #zope3-dev20:38
*** pcardune has joined #zope3-dev20:39
*** rocky|sorrento has quit IRC20:41
*** RaFromBRC has quit IRC20:43
*** rocky|sorrento has joined #zope3-dev20:44
*** MiUlEr has joined #zope3-dev20:45
*** whit has quit IRC20:51
drzoltronmgedmin: where do I find the IBeforeTraversalEvent ?21:02
drzoltronjust did a search in the zope3 source, but no success21:02
*** ccom1 has joined #zope3-dev21:02
mgedminthat's because I spelt it wrong21:04
pcardunedrzoltron: zope.app.publication.interfaces.IBeforeTraverseEvent21:04
drzoltronhehehe21:04
drzoltronthanx21:04
drzoltronsuper !21:04
drzoltrongoogle found a lot of pages with it though ;)21:04
*** ignas has quit IRC21:08
*** jodok_ has joined #zope3-dev21:18
drzoltronI check whether an obejct is of a certain class like that: event.object.__class__.__name__ == 'Editor':21:23
drzoltronis there a more elegant event ?21:24
*** softdevr has joined #zope3-dev21:24
softdevris there a forum package for z3?21:25
pcardunedrzoltron: it is probably better to check if the object provides a certain interface... i.e. IObjectsInterface.providedBy(event.object)21:25
drzoltronerh: elegant way ;)21:25
drzoltronah cool, thanx pcardune21:26
*** jodok has quit IRC21:26
pcardunedrzoltron: as there can be many classes named 'Editor'21:26
drzoltronsure21:26
*** romanofski has quit IRC21:28
mgedminfwiw a direct, but not good answer to your question would be event.object.__class__ == Editor21:28
mgedminand if you want to accept subclasses as well, isinstance(event.object, Editor)21:28
mgedminbut interfaces are the recommended way in zope 321:28
drzoltronmgedmin: yeah, works fine21:31
*** jodok_ is now known as jodok21:32
*** dobee has quit IRC21:33
*** softdevr has quit IRC21:35
*** tarek has quit IRC21:42
*** drzoltron has quit IRC21:49
*** mkerrin has quit IRC21:49
*** jfroche has joined #zope3-dev21:56
*** pcardune has quit IRC22:00
*** twcook has quit IRC22:19
*** dawhimo has joined #zope3-dev22:38
*** dawhimo has quit IRC22:39
*** whit has joined #zope3-dev22:40
*** jodok_ has joined #zope3-dev22:42
*** whit has left #zope3-dev22:44
*** whit has joined #zope3-dev22:45
*** dunny has joined #zope3-dev22:45
*** ktwilight has quit IRC22:47
*** ktwilight has joined #zope3-dev22:48
*** natea_ has joined #zope3-dev22:52
*** b52laptop has joined #zope3-dev22:53
*** srichter has quit IRC22:55
*** ktwilight has quit IRC22:55
*** alecm has quit IRC22:56
*** ktwilight has joined #zope3-dev22:56
*** tarek has joined #zope3-dev22:56
*** alecm has joined #zope3-dev22:56
*** jinty has quit IRC22:58
*** ktwilight has quit IRC22:59
*** jodok has quit IRC23:00
*** jodok_ has quit IRC23:02
*** natea_ has quit IRC23:03
*** natea_ has joined #zope3-dev23:03
*** natea has quit IRC23:06
*** jfroche has quit IRC23:06
*** rocky|sorrento has quit IRC23:06
*** jfroche has joined #zope3-dev23:06
*** rocky|sorrento has joined #zope3-dev23:07
*** alecm has quit IRC23:09
*** b52lap has quit IRC23:09
*** pcardune has joined #zope3-dev23:14
*** natea_ has quit IRC23:15
*** jinty has joined #zope3-dev23:15
pcardune23:17
*** b52lap has joined #zope3-dev23:20
*** alecm has joined #zope3-dev23:30
*** natea has joined #zope3-dev23:30
*** RaFromBRC has joined #zope3-dev23:30
*** opetznick has quit IRC23:31
*** alecm has quit IRC23:35
*** b52laptop has quit IRC23:35
*** faassen has joined #zope3-dev23:35
faassenJ1m: small buildout question. Is there a way to trigger an egg download from SF?23:36
J1mGive a find-links value that points at the SF download page.23:36
faassenJ1m: and find-links would be placed in a zc.recipe.egg:eggs section?23:37
J1mEither there, or in your buildout section.23:38
*** afd_ has quit IRC23:39
jbb666another buildout q.... is there a way to build a SVN-based egg via develop =  ?23:43
*** mgedmin has quit IRC23:44
jbb666J1m, faassen, anyone?23:44
J1mIt would be a good recipe.23:44
jbb666mmm23:44
J1mNow you have to do a checkout and then add it.23:44
jbb666so its a todo item kinda23:44
J1mWhich is how I prefer to do it anyway.23:44
jbb666hmm23:44
J1mIn fact, forget I mentioned a recipe.23:44
jbb666so you could use svn externals23:44
J1mThat's a bad idea anyway.23:44
J1mYes. I do all the time.23:45
jbb666ok thats what i will do instead.... thanks!23:45
J1mOr if you just need it for a short time, do a checkout.23:45
faassenyeah, just put in an svn:externals and then list it in the 'develop' bit.23:47
faassenis what I do.23:47
faassenor what J1m says, for a short time, you simply check it out and add it.23:47

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