IRC log of #zope3-dev for Tuesday, 2006-06-13

*** philiKON has quit IRC00:00
*** b_52CEntos_ has joined #zope3-dev00:06
*** natea|lunch is now known as natea00:10
*** gumpa is now known as gumpa-away00:17
*** b_52CEntos has quit IRC00:20
*** batlogg has quit IRC00:25
*** b_52CEntos_ is now known as b_52CEntos00:29
*** clbry has joined #zope3-dev00:29
*** clbry has joined #zope3-dev00:30
*** clbry has left #zope3-dev00:31
*** RaFromBRC|away is now known as RaFromBRC00:34
*** dunny has quit IRC00:35
*** yota has quit IRC00:41
*** xenru has joined #zope3-dev00:41
*** natea is now known as natea|away00:43
*** hannosch has quit IRC00:57
*** xenru has quit IRC00:58
*** xenru|clone has quit IRC00:59
*** projekt01 has quit IRC01:02
*** Theuni has quit IRC01:04
b_52CEntosis there any reader of "web component developement with zope3"01:05
*** zbir` has quit IRC01:10
volvoxthere is the author, if you come back tomorrow01:17
volvoxcan I help you?01:18
b_52CEntosyeah the actual question is just with organisations of the examples01:19
*** b_52CEntos has quit IRC01:22
*** b_52CEntos has joined #zope3-dev01:28
*** gumpa-away has left #zope3-dev01:28
*** volvox has left #zope3-dev01:45
*** natea|away is now known as natea01:46
*** baldtrol has joined #zope3-dev01:48
*** jinty has quit IRC01:51
*** sashav has quit IRC01:52
*** dunny has joined #zope3-dev02:01
*** RaFromBRC has quit IRC02:02
*** J1m has joined #zope3-dev02:12
*** rocky is now known as rocky|zZz02:16
*** ChanServ sets mode: +o srichter02:25
*** J1m has quit IRC02:27
baldtrolsrichter: when's the next training class that you're going to be teaching?02:39
*** b_52CEntos_ has joined #zope3-dev02:45
*** b_52CEntos has quit IRC02:57
*** b_52Centos__ has joined #zope3-dev03:05
*** b_52CEntos has joined #zope3-dev03:10
srichterbaldtrol: we have one planned at the beginning of August03:11
srichterbaldtrol: best ask Kamal for details03:11
*** b_52CEntos_ has quit IRC03:17
*** b_52CEntos_ has joined #zope3-dev03:23
*** b_52Centos__ has quit IRC03:24
*** b_52CEntos has quit IRC03:35
baldtrolcool, thanks03:36
*** b_52Centos__ has joined #zope3-dev03:38
*** b_52CEntos_ has quit IRC03:52
*** oferw has joined #zope3-dev04:00
*** dunny has quit IRC04:28
*** oferw has quit IRC04:29
*** dunny has joined #zope3-dev05:01
*** BjornT has quit IRC05:20
*** b_52CEntos_ has joined #zope3-dev05:21
*** rykomats has joined #zope3-dev05:26
*** BjornT has joined #zope3-dev05:26
rykomatsls05:26
*** b_52Centos__ has quit IRC05:33
*** b_52Centos__ has joined #zope3-dev05:36
*** zbir has joined #zope3-dev05:50
*** zbir has left #zope3-dev05:51
*** zbir has joined #zope3-dev05:52
*** b_52CEntos_ has quit IRC05:56
*** alecm has quit IRC06:08
*** b_52CEntos_ has joined #zope3-dev06:09
*** TrevorP has quit IRC06:12
*** TrevorP has joined #zope3-dev06:14
*** b_52CEntos_ has quit IRC06:17
*** b_52Centos__ has quit IRC06:20
*** b_52CEntos_ has joined #zope3-dev06:23
*** TrevorP has quit IRC06:32
*** TrevorP has joined #zope3-dev06:33
*** rom|aw is now known as romanofski06:36
romanofskimoin06:37
*** srichter has quit IRC06:39
*** b_52Centos__ has joined #zope3-dev06:42
*** b_52CEntos_ has quit IRC06:54
*** b_52CEntos_ has joined #zope3-dev07:02
*** romanofski has quit IRC07:06
*** b_52Centos__ has quit IRC07:15
*** alecm has joined #zope3-dev07:16
*** dobee has joined #zope3-dev07:30
*** romanofski has joined #zope3-dev07:45
*** b_52CEntos_ has quit IRC08:00
*** b_52CEntos_ has joined #zope3-dev08:02
*** eins has joined #zope3-dev08:09
*** philiKON has joined #zope3-dev08:26
*** sashav has joined #zope3-dev08:34
*** romanofski has quit IRC08:37
*** dunny has quit IRC08:50
*** romanofski has joined #zope3-dev08:51
*** sashav has quit IRC08:57
*** b_52Centos__ has joined #zope3-dev09:08
*** volvox has joined #zope3-dev09:14
*** hdima has joined #zope3-dev09:14
*** b_52CEntos has joined #zope3-dev09:16
*** b_52CEntos_ has quit IRC09:20
*** yota has joined #zope3-dev09:22
*** b_52Centos__ has quit IRC09:27
*** srichter has joined #zope3-dev09:28
*** volvox has quit IRC09:48
*** alecm has quit IRC09:56
*** alecm has joined #zope3-dev09:56
*** alecm has quit IRC10:11
*** sashav has joined #zope3-dev10:15
*** sashav has quit IRC10:16
*** sashav has joined #zope3-dev10:16
*** b_52CEntos has quit IRC10:24
*** b_52CEntos has joined #zope3-dev10:30
*** philiKON has quit IRC10:46
*** philiKON has joined #zope3-dev10:50
*** guruz has joined #zope3-dev11:11
guruzhello11:11
guruzi'm using DatabaseOpenedEvent to create a pluggable authentication and a credentials plugin and a authenticator plugin. I am also registering them. from the ZMI everything looks nice, but they don't get used. what could be wrong?11:12
*** romanofski has quit IRC11:13
*** romanofski has joined #zope3-dev11:15
*** romanofski has quit IRC11:24
*** baldtrol has quit IRC11:32
*** b_52CEntos_ has joined #zope3-dev11:48
*** volvox has joined #zope3-dev11:48
*** mgedmin has joined #zope3-dev11:58
*** romanofski has joined #zope3-dev11:59
*** b_52CEntos has quit IRC12:00
*** b_52CEntos_ is now known as b_52CEntos12:00
*** rykomats has quit IRC12:03
*** romanofski has quit IRC12:16
*** rykomats has joined #zope3-dev12:21
*** romanofski has joined #zope3-dev12:22
b_52CEntoszope.schema ; is a product a part i must install it separatly ? ; i haven't not find hit in zope.org !12:23
d2mb_52CEntos: zope.schema is at src/zope/schema12:23
philiKONor at lib/python/zope/schema :)12:24
d2mbtw, i added a zope.schema.Dict to my interface definition and now get ComponentLookupErrors when creating the content object12:24
philiKONcreating?12:25
b_52CEntosd2m,  philiKON  it this case " import zope.schema " should be ok :^ ?12:25
philiKONb_52CEntos, sure. if you have z3 installed, import zope.schema will work12:25
philiKONd2m, addform?12:25
d2maddform, yes12:25
philiKONwell, duh, look at the traceback12:25
b_52CEntos>>> import zope.schema12:26
b_52CEntosTraceback (most recent call last):12:26
b_52CEntos  File "<stdin>", line 1, in ?12:26
b_52CEntosImportError: No module named schema12:26
philiKONthere's no Dict widget12:26
philiKONb_52CEntos, check your PYTHONPATH12:26
philiKONd2m, you'll have to create your own widget that populates the dict12:26
d2mok, got it12:26
*** SureshV has joined #zope3-dev12:26
mgedminit only sounds simple ;)12:29
philiKONhehe12:29
* philiKON hides12:29
* mgedmin once tried to cross ObjectWidget and ListSequenceWidget to make a widget for editing containers that contain objects providing some schema12:30
philiKONListSequenceWidget(subwdiget=ObjectWidget) ?12:30
mgedminyes, but I wanted to store a dict of objects rather than a list of objects12:31
philiKONah, ic12:32
mgedminwhen list items have __names__ forms become somewhat more reliable (no more race conditions if you delete item #2 in browser window #1, and the indexes all shift making the rendered form in browser window #2 refer to outdated indexes)12:32
mgedminanyway, the easiest solution turned out to be to create form fields dynamically12:33
philiKONah12:33
philiKONstill sounds wild :)12:33
philiKONbut i can see how that can be more reliable12:33
b_52CEntosimport zope.schma related  prob  :       http://zope3.pastebin.com/70618513:00
mgedminb_52CEntos: where is your zope 3?13:03
mgedminubuntu has/had some zope3 packages like python2.4-zope-interface13:04
mgedminif you have that installed, then your /usr/lib/python2.4/site-packages has zope and zope.interface, but not zope.schema etc.13:04
b_52CEntosmgedmin,  /usr/local/Zope-3.2.1/13:04
mgedminwell, /usr/local/Zope-3.2.1/src/ is not in your pythonpath, unless you ran python from that location13:04
*** mkerrin has joined #zope3-dev13:04
* mgedmin looks at 'freebsd6' and decides Ubuntu's zope-interface packages are not at fault here ;)13:05
b_52CEntos:)13:05
b_52CEntosif each time i had a small problem with a Unix or a linux i change it .....  :^13:06
mgedminb_52CEntos: if you did a mkzopeinstance then there should be a .../instancedir/bin/python script that sets up PYTHONPATH and runs an interactive python prompt13:09
mgedminI think...13:09
b_52CEntosmgedmin,  yeap i create a zope instance  ; the script is pyskel ?13:12
mgedminno13:13
*** zagy_ has joined #zope3-dev13:16
*** volvox has quit IRC13:17
*** Aiste has quit IRC13:17
b_52CEntos./importchecker /usr/local/Zope-3.2.1/lib/python/13:18
b_52CEntos  and i'm waiting the result :)13:18
*** rocky|zZz is now known as rock113:23
*** zagy has quit IRC13:24
*** rock1 is now known as rocky13:24
*** faassen has joined #zope3-dev13:26
*** zagy_ has quit IRC13:32
*** ChanServ sets mode: +o srichter13:36
*** SureshV has quit IRC13:38
*** alga has joined #zope3-dev13:39
*** zagy has joined #zope3-dev13:42
*** Aiste has joined #zope3-dev13:43
*** rocky is now known as rocky|away13:51
*** rocky|away is now known as rocky14:05
*** b_52CEntos has quit IRC14:13
*** b_52CEntos has joined #zope3-dev14:17
*** ignas has joined #zope3-dev14:19
*** zbir has quit IRC14:25
*** oferw has joined #zope3-dev14:29
*** gumpa has joined #zope3-dev14:53
*** b_52CEntos_ has joined #zope3-dev15:08
*** jinty has joined #zope3-dev15:12
*** eins has quit IRC15:16
*** b_52CEntos has quit IRC15:22
*** b_52CEntos_ is now known as b_52CEntos15:22
*** gintas has joined #zope3-dev15:23
*** pcardune has joined #zope3-dev15:27
*** oferw has quit IRC15:33
*** dokai has quit IRC15:33
*** benji has quit IRC15:40
*** zbir has joined #zope3-dev15:54
*** b_52CEntos_ has joined #zope3-dev15:58
*** rykomats has quit IRC16:00
*** alga has quit IRC16:05
*** mgedmin is now known as mgedmin|lunch16:07
*** zagy has quit IRC16:07
*** b_52Centos__ has joined #zope3-dev16:08
*** lamike has joined #zope3-dev16:12
*** b_52CEntos_ has quit IRC16:12
*** b_52CEntos has quit IRC16:13
*** bradb has joined #zope3-dev16:15
*** Theuni has joined #zope3-dev16:17
*** b_52Centos__ has quit IRC16:18
lamikeHey Stephan, hast Du meine Emails gelesen?16:19
*** b_52Centos__ has joined #zope3-dev16:26
*** romanofski is now known as rom|aw16:26
*** benji has joined #zope3-dev16:30
*** zagy has joined #zope3-dev16:32
*** dokai has joined #zope3-dev16:41
*** J1m has joined #zope3-dev16:44
*** b_52Centos__ is now known as b_52Centos16:46
*** sussi has joined #zope3-dev16:48
*** lamike has quit IRC16:53
*** b_52Centos__ has joined #zope3-dev16:58
*** sashav has quit IRC17:01
*** b_52CEntos_ has joined #zope3-dev17:04
*** gintas has quit IRC17:09
*** b_52Centos has quit IRC17:12
*** mgedmin|lunch is now known as mgedmin17:15
*** gintas has joined #zope3-dev17:19
*** b_52CEntos has joined #zope3-dev17:22
*** b_52Centos__ has quit IRC17:23
*** b_52CEntos_ has quit IRC17:36
*** pcardune has quit IRC17:37
*** pcardune has joined #zope3-dev17:45
*** hdima has quit IRC17:46
*** alga has joined #zope3-dev17:50
*** b_52CEntos has quit IRC17:58
*** b_52CEntos has joined #zope3-dev18:04
*** dobee has quit IRC18:04
*** b_52CEntos_ has joined #zope3-dev18:30
*** b_52CEntos has quit IRC18:44
*** oferw has joined #zope3-dev18:56
ignashi18:58
ignasi have got a bit stuck with evolution scripts for a Zope3 based application18:58
ignaswhat could be the reason for "Couldn't load state for 0x2f" errors ?18:58
ignashttp://issues.schooltool.org/file95/evolution.log the traceback18:59
*** rocky is now known as rocky|away18:59
ignasi am not sure whether the problem is with the Data.fs with schooltool or with Zope3 ...18:59
*** zagy has quit IRC19:06
*** b_52CEntos_ has quit IRC19:07
*** b_52CEntos_ has joined #zope3-dev19:13
*** rocky|away is now known as rocky19:15
*** alecm has joined #zope3-dev19:18
*** alecm has joined #zope3-dev19:19
mgedminzcml question19:43
mgedmindoes <class class="Bar"><implements interface="IFoo" /> set up security declarations for IFoo on Bar?19:44
* mgedmin is trying to debug ForbiddenAttribute: __annotations__ on one of his IAttributeAnnotatable objects19:44
mgedminnope...19:45
*** oferw has quit IRC19:45
*** sussi is now known as sussi_bz_batteli19:48
*** sussi_bz_batteli is now known as sussi_away19:48
philiKONmgedmin, adapters that access __anotations__ are typically trusted19:49
philiKONe.g. IZopeDublinCore19:49
philiKONis a trusted adapter19:49
mgedminphiliKON: thanks for the hint19:49
mgedminI've actually "written" my own IZopeDublinCore adapter19:49
mgedminwhere "written" means19:49
philiKON:)19:49
mgedminMyDC = zope.dublincore.annotatableadapter.partialAnnotatableAdapterFactory(['title', 'description'])19:50
mgedminnaturally I registered it as an untrusted adapter...19:51
*** zagy has joined #zope3-dev19:57
*** b_52Centos__ has joined #zope3-dev20:02
*** RaFromBRC has joined #zope3-dev20:11
*** b_52CEntos_ has quit IRC20:15
*** oferw has joined #zope3-dev20:18
*** sussi_away has quit IRC20:20
*** oferw has quit IRC20:20
*** replicant has joined #zope3-dev20:47
*** alecm has quit IRC20:50
*** b_52Centos__ is now known as b_52Centos20:53
*** pcardune_ has joined #zope3-dev20:53
*** _sussi has joined #zope3-dev21:00
*** pcardune has quit IRC21:06
*** sashav has joined #zope3-dev21:09
*** replicant has quit IRC21:17
*** faassen has quit IRC21:20
*** ignas has quit IRC21:23
*** rom|aw has quit IRC21:28
*** rom|aw has joined #zope3-dev21:29
srichterJ1m: how does the subprocess stuff of the testrunner working?21:33
srichterI think that if a subprocess is used, the coverage is not working correctly21:33
J1mi'm on the phone21:33
srichterok21:33
J1mback21:45
J1mIf we have to run a subprocess, because we can't tear down a layer, then the testrunner reinvokes itself with the original options with some extra options saying which layer to run.21:46
srichterright21:46
srichterthat breaks coverage21:46
J1mI know nothing about the coverage except that the tests were very sketchy.21:46
srichterI think there is nothing we can about this21:46
srichterbasically coverage installs a tracer in sys21:47
srichterand records which lines of the code were executed21:47
J1mI'm sure that there is something we can do about it, it just takes someone with enough interest and ability, which is not me. :)21:47
J1mIdeally, the tracer data would be writted to a file.21:47
srichterright21:47
J1mI thought it already was.21:47
J1ma directory actually.21:48
srichterthe current format just does not work well for merging21:48
J1mLike I said, I'm sure it can be fixed.21:48
srichteryes, but it the source file plus a counter at the beginning of the line21:48
srichterit can, but it would be a good amount of work21:48
J1mk21:48
J1mnot it. :)21:48
J1mMaybe benji will do it. ;)21:49
srichterhe he21:49
srichterI think my fix for now will be to provide a cheap teardown for my non-teardownable layer ;-)21:49
J1mare we gonna have a bug day? :)21:53
srichterJ1m: we should :-)21:54
srichternoone ever responded21:54
J1mLets do!21:54
srichterany preferred day?21:54
J1mFriday?21:54
srichterok21:55
srichterI probably can do a couple hours that day21:55
srichterotherwise I am pretty swamped: teaching contracts and house buying21:56
J1mcongrats!21:57
J1mk21:57
srichterthanks :-)21:57
srichterwe are excited :-)21:57
srichterI am sending the E-mail now21:57
*** hazmat is now known as replicant22:00
*** hazmat has joined #zope3-dev22:00
*** ChanServ sets mode: +o hazmat22:00
*** b_52CEntos_ has joined #zope3-dev22:06
*** b_52Centos has quit IRC22:19
*** gintas_ has joined #zope3-dev22:34
*** gintas_ has quit IRC22:38
*** gintas has quit IRC22:49
*** mkerrin has quit IRC22:51
*** volvox has joined #zope3-dev22:52
*** hazmat has quit IRC22:56
volvoxphiliKON, ping23:00
*** Aiste has quit IRC23:04
*** batlogg has joined #zope3-dev23:08
*** zagy has quit IRC23:11
*** batlogg has quit IRC23:13
*** volvox has quit IRC23:13
*** batlogg has joined #zope3-dev23:14
*** batlogg has quit IRC23:24
*** dunny has joined #zope3-dev23:25
*** philiKON has quit IRC23:32
*** volvox has joined #zope3-dev23:33
RaFromBRCi'm subclassing an interface that defines a schema, and all i want to do is modify slightly some of the schema fields, but retain their original order...23:35
RaFromBRCwhen i define the new fields in the subclass, however, the fields are moved to the end of the schema... how would i maintain the original order?23:35
volvoxthere is an 'order' argument, i guess23:39
volvoxbut i don't know if it spans classes23:39
J1mIt does.23:41
RaFromBRCi'm assuming the argument belongs in the field declaration?23:42
J1mRight, as an argument to the constructor. You should be able to copy the order from the old field.23:43
RaFromBRCthx23:43
RaFromBRCthe original field order is implicit, but i can work it out... thx.  :-)23:44
*** alecm has joined #zope3-dev23:44
mgedminRaFromBRC: you can also access it, I'm sure23:44
mgedminclass IDerivedForm(IOriginalForm):23:44
J1mEvery field gets an order whether you pass it in or not.23:44
RaFromBRCah, got it23:44
mgedmin   field_x = Whatever(..., order=IOriginalForm['field_x'].order)23:45
* mgedmin once looked up the machinery that zope.schema uses to order fields in the order of definition23:45
J1mBut if you care that much about ordering, it might be better to specify the order you want in your form definition.23:45
* mgedmin found it educational23:45
*** mgedmin has quit IRC23:46
*** alga has quit IRC23:47
volvoxbtw, IWriteMutableSchema.moveField(name, position)   is declared twice the same in 3.3.0b123:48
* rocky has spotted a bunch of "this will be removed in zope 3.3" BBB comments still lingering on the zope 3.3 branch and trunk23:49
benjirocky should feel free to remove them23:54
rockyguess i should remove them on both 3.3 branch and trunk ... not too late to remove those for 3.3 i assume23:55
benjiI'd say so23:55
rockyyou'd say so what? that it is too late? or isn't? ;)23:56
benji:)23:56
benjiI'd say that it's not too late23:56
rockyperhaps i should run it by the list first23:57
benjisure, if you want an argument :)23:57
*** _sussi has quit IRC23:59

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