IRC log of #zope3-dev for Friday, 2007-06-22

*** alga has quit IRC00:02
*** harobed_ has quit IRC00:05
*** dobee has quit IRC00:07
*** witsch has quit IRC00:09
*** oferw has joined #zope3-dev00:15
*** pelle_ has joined #zope3-dev00:21
*** jfroche has quit IRC00:23
*** natea_ has joined #zope3-dev00:41
*** hazmat has quit IRC00:43
*** pelle_ has quit IRC00:46
*** greenman_ has joined #zope3-dev00:47
*** whit has quit IRC00:47
*** whitmo has joined #zope3-dev00:47
*** derek_richardson is now known as derek|office00:49
*** norro_ has quit IRC00:55
*** andrew_m has quit IRC00:56
*** lucielejard has quit IRC00:57
*** rcrafton_ has quit IRC00:57
*** natea_ has quit IRC00:58
*** benji has quit IRC01:01
*** J1m has quit IRC01:02
*** greenman has quit IRC01:03
*** jodok has quit IRC01:07
*** jsadjohnson has quit IRC01:20
*** whitmo is now known as whit01:25
*** norro has quit IRC01:30
*** coolestuk has joined #zope3-dev01:34
*** alecm has joined #zope3-dev01:38
*** coolestuk has quit IRC01:40
*** tjs has quit IRC01:52
*** Ariel_Calzada has quit IRC01:54
*** Ariel_Calzada has joined #zope3-dev01:55
*** coolestuk has joined #zope3-dev02:06
*** oferw has quit IRC02:17
*** jeffk has joined #zope3-dev02:18
*** febb has joined #zope3-dev02:42
*** febb has quit IRC02:44
*** tjs has joined #zope3-dev02:49
tjsare zcml directives processed sequentially ?02:50
tjsI have a custom directive that provides a url, and the directive handler calls zapi.getUtility() to get a utility that has been configured using a regular utility directive a few lines up in the configure.zcml file02:51
tjsso my configure.zcml file goes: <utility> to register the utility, then <myDirective> after to stick some more arguments onto it02:52
tjsmy unit tests (which use XMLConfig()) to run these zcml files works02:52
tjsbut when I run them in the wild my custom directive handler call to zapi.getUtility() raises a ComponentLookupError02:53
*** tjs has quit IRC03:09
*** tjs has joined #zope3-dev03:09
*** johnlr1 has quit IRC03:09
*** johnlr1 has joined #zope3-dev03:10
*** ksmith99 has left #zope3-dev03:14
*** huajie has joined #zope3-dev03:34
*** Ariel_Calzada has quit IRC03:34
*** Ariel_Calzada has joined #zope3-dev03:35
*** tjs has left #zope3-dev03:37
*** Ariel_Calzada has quit IRC03:40
*** coolestuk has left #zope3-dev03:40
*** bigkevmcd has quit IRC03:48
*** whitmo has joined #zope3-dev03:48
*** whit has quit IRC03:48
*** benji has joined #zope3-dev03:57
*** RaFromBRC has quit IRC04:11
*** b52lap has joined #zope3-dev04:22
*** niemeyer has quit IRC04:25
*** hazmat has joined #zope3-dev04:26
*** ChanServ sets mode: +o hazmat04:26
*** jeffk has quit IRC04:35
*** b52laptop has quit IRC04:39
*** pcardune has quit IRC05:09
*** jinty has quit IRC05:20
*** whitmo has quit IRC05:29
*** whit has joined #zope3-dev05:31
*** whit has quit IRC05:49
*** whit has joined #zope3-dev05:53
*** huajie_ has joined #zope3-dev05:56
*** huajie_ has quit IRC05:56
*** whit has quit IRC05:59
*** WebMaven_ has joined #zope3-dev06:03
*** WebMaven__ has joined #zope3-dev06:04
*** WebMaven has quit IRC06:19
*** WebMaven_ has quit IRC06:20
*** hazmat has quit IRC06:26
*** whit has joined #zope3-dev06:31
*** stub has joined #zope3-dev06:38
*** b52laptop has joined #zope3-dev07:09
*** b52lap has quit IRC07:14
*** johnlr2 has joined #zope3-dev08:16
*** johnlr1 has quit IRC08:17
*** jkakar_ has joined #zope3-dev08:18
*** jukart has joined #zope3-dev08:19
*** WebMaven_ has joined #zope3-dev08:26
*** WebMaven has joined #zope3-dev08:28
*** d2m has joined #zope3-dev08:34
*** WebMaven__ has quit IRC08:42
*** WebMaven_ has quit IRC08:43
*** sorin has joined #zope3-dev09:04
*** sorin is now known as sorindregan09:05
*** jodok has joined #zope3-dev09:09
*** Jell-O-Fishi has joined #zope3-dev09:15
*** dobee has joined #zope3-dev09:15
*** naro has joined #zope3-dev09:15
*** Jell-O-Fishi has quit IRC09:30
*** Jell-O-Fishi has joined #zope3-dev09:30
*** romanofski has joined #zope3-dev09:34
romanofskimoin :)09:35
*** Jell-O-Fishi has quit IRC09:35
*** Jell-O-Fishi has joined #zope3-dev09:36
*** BjornT has joined #zope3-dev09:43
*** alecm has quit IRC09:53
*** romanofs1i has joined #zope3-dev10:03
*** romanofski has quit IRC10:19
*** drzoltron has joined #zope3-dev10:19
*** baijum has joined #zope3-dev10:20
drzoltrongood morning, I'd like to edit the fields of contained objects from the container's edit form, any ideas for an approach ?10:21
zagydrzoltron: check out zc.table10:26
zagythere's a way to edit multiple objects in a table10:26
drzoltronzagy: thanx, will have a look10:27
*** deo has joined #zope3-dev10:51
*** bigkevmcd has joined #zope3-dev10:57
*** andrew_m has joined #zope3-dev11:00
*** stu1 has joined #zope3-dev11:01
*** Jell-O-Fishi has quit IRC11:08
*** coolestuk has joined #zope3-dev11:11
*** stub has quit IRC11:18
projekt01drzoltron, checkout z3c.formdemo.spreadsheet11:21
drzoltronprojekt01: will do that :)11:23
*** MJ|nickcollision has joined #zope3-dev11:26
*** MJ|nickcollision is now known as MJ11:28
*** jinty has joined #zope3-dev11:31
*** yvl has joined #zope3-dev11:36
*** malthe has joined #zope3-dev11:36
*** pelle_ has joined #zope3-dev11:37
*** jfroche has joined #zope3-dev11:41
*** ktwilight has joined #zope3-dev11:44
*** MrTopf has joined #zope3-dev11:56
*** richardkan has joined #zope3-dev11:59
*** ktwilight_ has quit IRC12:00
*** jfroche has quit IRC12:04
*** philiKON has joined #zope3-dev12:07
*** norro has joined #zope3-dev12:15
*** philiKON_ has quit IRC12:24
*** salfield has joined #zope3-dev12:37
*** mkerrin has joined #zope3-dev12:40
*** timte has joined #zope3-dev12:42
*** romanofs1i is now known as romanofski12:43
*** stu1 has quit IRC13:04
*** Ariel_Calzada has joined #zope3-dev13:08
*** whit has quit IRC13:22
*** wrobel has joined #zope3-dev13:23
*** jfroche has joined #zope3-dev13:29
*** coolestuk has quit IRC13:38
*** dunny has quit IRC13:56
*** benji has quit IRC14:02
*** MJ is now known as MJ|lunch14:02
*** ignas has joined #zope3-dev14:04
*** mgedmin has joined #zope3-dev14:14
*** witsch has joined #zope3-dev14:19
*** projekt01 has quit IRC14:19
*** projekt01 has joined #zope3-dev14:20
*** MrTopf has quit IRC14:21
*** huajie has quit IRC14:28
*** Jell-O-Fishi has joined #zope3-dev14:34
*** romanofski has quit IRC14:35
*** arnarl has joined #zope3-dev14:36
*** coolestuk has joined #zope3-dev14:37
*** projekt01 has left #zope3-dev14:38
arnarlI see that you can mark instances as providing one or more extra interfaces and that this is stored in the the __provides__ attribute. How are the interface (class) references persisted? Can ZODB store code?14:38
arnarlI'm really wondering if it is possible to dynamically generate interfaces based on the contents in ZODB14:39
*** jfroche has joined #zope3-dev14:44
*** romanofski has joined #zope3-dev14:45
*** projet01_ has joined #zope3-dev14:46
*** alga has joined #zope3-dev14:50
*** benji has joined #zope3-dev14:52
*** wrobel has left #zope3-dev14:52
mgedminclass references are persisted as a tuple (module name, class name), iirc14:53
mgedminso when you move/rename classes around, you must still make them importable under their old name from the old odule14:53
ccombHello, I've a problem with base href14:54
ccombI'm viewing an image as xxx/yyy/image.jpeg14:54
ccombthen I have no base href14:54
*** niemeyer has joined #zope3-dev14:55
ccombwith xxx/yyy/image.jpeg/   I have the base href = xxx/yyy/image.jpeg14:55
ccombbut this have no effect on the generation of URLs in the browser14:55
arnarlmgedmin: thnx14:55
ccombThe menu items of the context appear as if they were registered for the parent14:56
mgedminarnarl: there was once an attempt to store code in the ZODB, but it wasn't finished and is now removed, iirc14:56
mgedminwhy would you want to dynamically generate interfaces?14:56
arnarlIt is a bit special system. A content management driven topic map engine.14:57
*** Ariel_Calzada has quit IRC14:57
arnarlWe want the user to be able to create new types14:57
*** ccomb has left #zope3-dev14:57
*** ccomb has joined #zope3-dev14:58
arnarlbut would still like to be able to use the Zope 3 component architecture14:58
arnarlSo I'm looking for a way to "mark" instances not just with their python class, but also their topic map type (which is another instances of the same class14:58
ccombI think the base href should end with a slash14:59
ccombI've tried to add a '/' in publisher/ and now it works as expected14:59
*** MJ|lunch is now known as MJ15:00
ccomb(Ive send a mail to the list instead)15:00
benjiarnarl: you might like z3c.baseregistry15:16
*** arnarl has quit IRC15:18
*** Newfie2007 has joined #zope3-dev15:25
*** sorindregan has quit IRC15:48
*** coolestuk has quit IRC15:48
*** sorindregan has joined #zope3-dev15:51
*** norro_ has joined #zope3-dev15:54
*** norro has quit IRC16:09
*** baijum has quit IRC16:33
*** harobed has joined #zope3-dev16:34
*** J1m has joined #zope3-dev16:38
*** dobee has quit IRC16:41
*** jodok has quit IRC16:41
Crippsis there a howto somewhere for the z3c.pdftemplate package?16:47
bigkevmcdhave you read the doctest?16:48
projet01_Cripps, did you see the 144 samples16:48
*** projet01_ is now known as projekt0116:48
Crippswell ... I was thinking more like: "where do I put it in my existing zope installation?"16:49
*** tarek has joined #zope3-dev16:49
*** dobee has joined #zope3-dev16:55
Crippsprojekt01: should it be in Zope/lib/python/z3c/  ?16:55
*** rcrafton has joined #zope3-dev16:56
projekt01I guess yes if the /python/ folder is the location which contains 3rd-party python packages.16:57
*** yvl has quit IRC16:57
Crippsprojekt01: which is the default directory for 3rd part python packages in Zope? ... or is it supposed to be done in my Python install16:58
*** edgordon has joined #zope3-dev16:59
projekt01Cripps, I don't use a default setup. I use my own setup, Sorry, I can't tell you that.16:59
Crippsprojekt01: okay. Well ... I'm a few steps closer to understanding *exactly* now ... I'm sure I can figure out something that works :)17:00
*** jsadjohnson has joined #zope3-dev17:00
projekt01Cripps, but you can put z3c into the same folder which Zope3/src/zope is located. Or I guess the python folder if you use a instance.17:01
dennis_cripps to try it out:  instances/yourinstance/lib/python   .. assuming you have a fairly vanilla install17:07
*** edgordon has quit IRC17:08
Crippsdennis_: I'm trying to make it available across all instances, so for now Imma try out Zope/lib/python/z3c/pdftemplate (where Zope is the Zope install)17:08
*** edgordon has joined #zope3-dev17:08
dennis_yes, either yourzope/lib/python , or system python site-packages17:09
xbeanxCripps: just put it in your zope skel..  not your instance but your base install17:13
*** pcardune has joined #zope3-dev17:15
*** coolestuk has joined #zope3-dev17:16
*** deo has quit IRC17:20
*** cursor has joined #zope3-dev17:26
edgordonanyone know of any z3 developers in the Atlanta area?17:29
*** sorindregan has quit IRC17:29
*** rcrafton has quit IRC17:31
drzoltroni try to get an attribute from a view but get a proxy object, what is the proper way to unproxy it ?17:33
drzoltroncurrently I use removeSecurityProxy() which feels like hacking17:34
benjidrzoltron: it often is, especially when I use it :)17:34
drzoltronbenji: good, then we are 2 ;)17:35
*** jsadjohnson has quit IRC17:40
*** dobee has quit IRC17:44
*** kobold has joined #zope3-dev17:47
*** rocky is now known as rocky|away17:48
*** mgedmin has quit IRC17:48
pcardunedrzoltron: make that 317:50
drzoltroni just tried to add a permission set_attributes="..." but it does not help17:51
drzoltronthe chance that philiKON sees my code is little .. so not a problem ;)17:52
*** oferw has joined #zope3-dev18:00
*** norro_ has quit IRC18:03
*** ksmith99 has joined #zope3-dev18:04
*** mkerrin has quit IRC18:08
xbeanxdrzoltron: try adding the attribute to your interface declaration18:16
*** pelle_ has quit IRC18:17
drzoltronits there18:19
*** coolestuk has quit IRC18:20
*** lucielejard has joined #zope3-dev18:22
*** natea_ has joined #zope3-dev18:24
*** romanofs1i has joined #zope3-dev18:24
*** jukart has quit IRC18:25
*** witsch has quit IRC18:34
*** coolestuk has joined #zope3-dev18:34
*** kobold has left #zope3-dev18:36
*** meatballhat has joined #zope3-dev18:36
*** romanofski has quit IRC18:37
*** ignas has quit IRC18:38
*** projekt01 has quit IRC18:47
*** arnarl has joined #zope3-dev18:48
*** Ariel_Calzada has joined #zope3-dev18:48
*** pelle_ has joined #zope3-dev18:50
*** pelle_ has quit IRC18:52
*** b52lap has joined #zope3-dev18:57
*** b52laptop has quit IRC18:59
*** coolestuk has quit IRC19:00
*** rocky|away is now known as rocky19:04
*** tarek has quit IRC19:04
*** WebMaven has quit IRC19:06
*** jinty has quit IRC19:07
*** RaFromBRC has joined #zope3-dev19:08
*** ignas has joined #zope3-dev19:10
*** MJ has quit IRC19:10
*** romanofs1i has quit IRC19:14
*** coolestuk has joined #zope3-dev19:18
*** sm has joined #zope3-dev19:21
*** sm has quit IRC19:22
*** sm has joined #zope3-dev19:23
*** sm has quit IRC19:23
*** sm has joined #zope3-dev19:23
xbeanxDoes anyone here use cxoracleda ?  I'm just wondering how stable it is, considering its only version 0.119:24
*** harobed has quit IRC19:24
drzoltroncan I add  edit widgets to an edit view without a corresponding attribute in the class ?19:25
benjidrzoltron: yep19:30
benjiit works differently depending on what form generation package you're using19:30
drzoltronI use formlib19:31
drzoltronbut it does not work with it19:31
benjiyou can do it with formlib; I don't recall the details off the top of my head19:31
benjiI'm sure it's in the docs19:32
drzoltronbenji: I am generating my edit widgets myself19:32
drzoltronand the form.action's data dict is empty then19:32
benjiI don't really know enough about formlib to advise you, other than to state confidently that whatever you want do do is possible <wink>19:33
drzoltronbenji: well I hacked my way around it, but it looks very bad :)19:34
*** zagy has quit IRC19:38
*** b52lap has quit IRC19:40
*** rocky has quit IRC19:40
*** rocky has joined #zope3-dev19:41
*** pbugni has joined #zope3-dev19:42
*** arnarl has quit IRC19:45
*** mgedmin has joined #zope3-dev19:47
*** coolestuk has left #zope3-dev19:54
*** gumpa has joined #zope3-dev19:58
*** oferw has quit IRC19:58
*** Ariel_Calzada has quit IRC20:12
*** harobed_ has joined #zope3-dev20:12
mgedminnot a bad idea:
mgedminI always missed a function for quoting strings for insertion in javascript in zope320:14
mgedminthink tal:attributes="onclick string:somefunc('$var')"20:14
benjimgedmin: cool20:15
*** RaFromBRC has quit IRC20:23
*** zagy has joined #zope3-dev20:25
srichterhi all20:29
srichterI am getting this error when using eggs:20:30
srichterNameError: global name '__loader__' is not defined20:30
srichterI get this for several eggs, including:20:30
srichter  File "/opt/zope/sr/z3cForm/trunk/packages/z3c.formdemo/eggs/ZODB3-3.8.0a1-py2.4-linux-i686.egg/persistent/", line 5, in __bootstrap__20:30
srichter    del __bootstrap__, __loader__20:30
*** hazmat has joined #zope3-dev20:30
*** ChanServ sets mode: +o hazmat20:30
*** richardkan has quit IRC20:36
*** ignas has quit IRC20:38
*** ignas has joined #zope3-dev20:40
*** harobed_ has quit IRC20:41
*** hazmat has quit IRC20:41
*** RaFromBRC|mac has joined #zope3-dev20:45
*** hazmat has joined #zope3-dev20:48
*** ChanServ sets mode: +o hazmat20:48
*** edgordon has quit IRC20:51
*** pbugni has quit IRC20:56
*** jinty has joined #zope3-dev20:57
*** RaFromBRC|mac has quit IRC20:59
*** RaFromBRC has joined #zope3-dev21:03
*** hazmat has quit IRC21:09
*** salfield has quit IRC21:12
*** ksmith99 has quit IRC21:17
*** lisppaste6 has quit IRC21:24
*** jsadjohnson has joined #zope3-dev21:27
*** rcrafton has joined #zope3-dev21:29
*** mgedmin has quit IRC21:29
*** mkerrin has joined #zope3-dev21:39
*** b52laptop has joined #zope3-dev21:42
*** ignas has quit IRC21:42
*** b52lap has joined #zope3-dev21:43
*** jsadjohnson has quit IRC21:44
*** pelle_ has joined #zope3-dev21:44
*** pbugni has joined #zope3-dev21:47
*** b52lap has quit IRC21:48
*** pbugni has quit IRC21:49
*** drzoltron has quit IRC21:50
*** norro has joined #zope3-dev21:50
*** philiKON has quit IRC21:55
*** philiKON has joined #zope3-dev21:56
*** jsadjohnson has joined #zope3-dev21:57
*** dunny has joined #zope3-dev22:00
*** Newfie2007 has quit IRC22:05
*** pelle_ has quit IRC22:12
*** pbugni has joined #zope3-dev22:16
*** mkerrin has quit IRC22:16
*** naro has quit IRC22:17
*** jodok has joined #zope3-dev22:23
*** jodok has left #zope3-dev22:26
*** jodok has joined #zope3-dev22:26
*** alga has quit IRC22:37
*** lucielejard has left #zope3-dev22:41
*** meatballhat has left #zope3-dev22:45
*** bigkevmcd has quit IRC22:46
*** cursor has quit IRC22:47
*** jsadjohnson has quit IRC22:48
*** jinty has quit IRC22:55
*** gumpa has quit IRC22:58
*** malthe has quit IRC23:01
*** jinty has joined #zope3-dev23:01
*** Jell-O-Fishi has quit IRC23:06
*** derek|office is now known as derek_richardson23:15
*** pbugni is now known as pbugni-AFK23:20
*** marianom has joined #zope3-dev23:24
*** witsch has joined #zope3-dev23:33
*** malthe has joined #zope3-dev23:38
*** jsadjohnson has joined #zope3-dev23:42
*** edgordon_ has joined #zope3-dev23:44
*** norro has quit IRC23:45
*** zagy has quit IRC23:53
*** d2m has quit IRC23:53
*** norro has joined #zope3-dev23:56
*** malthe has quit IRC23:56

Generated by 2.15.1 by Marius Gedminas - find it at!