IRC log of #zope3-dev for Wednesday, 2007-10-03

*** alga has quit IRC00:01
*** febb has quit IRC00:12
*** febb has joined #zope3-dev00:12
*** _srichter has joined #zope3-dev00:14
*** jfroche has joined #zope3-dev00:14
*** lurker has quit IRC00:23
*** RaFromBRC|nick has quit IRC00:30
*** strichter has quit IRC00:30
*** benji has quit IRC00:31
*** Ariel_Calzada has quit IRC00:33
*** RaFromBRC has joined #zope3-dev00:33
*** cursor has quit IRC00:41
*** greenman has joined #zope3-dev00:45
*** greenman has quit IRC00:46
*** harobed has joined #zope3-dev00:49
*** aclark is now known as aclark|away00:56
*** jodok has quit IRC00:56
*** rcrafton has quit IRC01:03
*** replicant has quit IRC01:05
*** philiKON has quit IRC01:18
*** harobed has quit IRC01:21
*** philiKON has joined #zope3-dev01:23
*** Ariel_Calzada has joined #zope3-dev01:32
*** greenman has joined #zope3-dev01:32
*** timte has quit IRC01:39
*** fcorrea has joined #zope3-dev01:47
*** deo has quit IRC01:49
*** jsadjohnson has joined #zope3-dev01:53
*** jsadjohnson has left #zope3-dev01:54
*** strichter has joined #zope3-dev01:57
*** ksmith99 has joined #zope3-dev01:59
*** febb has quit IRC02:00
*** febb has joined #zope3-dev02:01
*** _srichter has quit IRC02:01
*** ksmith99 has left #zope3-dev02:04
*** _srichter has joined #zope3-dev02:04
*** hazmat has joined #zope3-dev02:06
*** ChanServ sets mode: +o hazmat02:06
*** philiKON has quit IRC02:11
*** ccomb has quit IRC02:11
*** Jell-O-Fishi has quit IRC02:12
*** nathany has quit IRC02:13
*** philiKON has joined #zope3-dev02:13
*** spython has quit IRC02:15
*** Jell-O-Fishi has joined #zope3-dev02:17
*** strichter has quit IRC02:17
*** deo has joined #zope3-dev02:18
*** philiKON has quit IRC02:20
*** fdrake has quit IRC02:31
*** MrTopf has joined #zope3-dev02:35
*** strichter has joined #zope3-dev03:08
*** J1m has quit IRC03:09
*** _srichter has quit IRC03:26
*** fcorrea has quit IRC03:47
*** malthe has quit IRC03:53
*** jfroche has quit IRC03:59
*** febb has quit IRC04:01
*** RaFromBRC has quit IRC04:02
*** hazmat has quit IRC04:04
*** hexsprite has joined #zope3-dev04:05
*** tjs has joined #zope3-dev04:05
tjshaving trouble with the egg for zope.security 3.4.0b504:06
tjsfailing to compile _proxy.c04:06
tjsjust trying out zopeproject, is anyone responsible for that around?04:07
strichtertjs: linux?04:10
*** strichter is now known as srichter04:10
*** ChanServ sets mode: +o srichter04:10
tjsyep, feisty04:11
tjscan pastebin the error if that helps04:11
tjshttp://rafb.net/p/9vp0Zk83.html04:21
tjsnm I'm an idiot04:25
*** niemeyer has quit IRC04:28
*** tjs has left #zope3-dev04:41
*** deo has quit IRC04:47
*** deo has joined #zope3-dev04:48
*** MrTopf has quit IRC04:51
*** fcorrea has joined #zope3-dev04:58
*** run|home has joined #zope3-dev05:08
*** ousado has joined #zope3-dev05:17
*** ousado_ has quit IRC05:19
*** ousado_ has joined #zope3-dev05:29
*** povbot` has joined #zope3-dev05:46
*** ruda_porto has joined #zope3-dev05:48
*** stub has joined #zope3-dev05:53
*** povbot has quit IRC06:12
*** deo has quit IRC06:22
*** ruda_porto has quit IRC06:28
*** Ariel_Calzada has quit IRC06:36
*** Ariel_Calzada has joined #zope3-dev07:21
*** naro has joined #zope3-dev07:23
*** dobee has joined #zope3-dev07:24
*** Jell-O-Fishi has quit IRC07:40
*** ktwilight_ has joined #zope3-dev07:45
*** b52lap has quit IRC07:48
*** baijum has joined #zope3-dev07:51
*** ktwilight has quit IRC07:58
*** afd_ has joined #zope3-dev08:02
*** afd_ has quit IRC08:10
*** run|home has quit IRC08:26
baijumsrichter, ayt ?08:31
baijumsrichter, Can you bump version number in trunk for the package you released recently ? http://wiki.zope.org/zope3/StabilizeEggPackages08:32
*** cursor has joined #zope3-dev08:33
baijumsrichter, If release is '3.4.0', use '3.4.1dev' as next version08:33
*** jukart has joined #zope3-dev08:38
*** jodok has joined #zope3-dev08:44
*** greenman has quit IRC08:53
*** davidstryker has joined #zope3-dev08:59
*** ghendi has joined #zope3-dev08:59
*** jpcw2002 has joined #zope3-dev09:01
*** sorin has joined #zope3-dev09:07
*** sorin is now known as sorindregan09:08
*** timte has joined #zope3-dev09:13
*** pelle_ has joined #zope3-dev09:18
*** afd_ has joined #zope3-dev09:26
*** yvl has joined #zope3-dev09:26
*** sorin_ has joined #zope3-dev09:28
*** hdima has joined #zope3-dev09:29
*** davidstryker has left #zope3-dev09:31
*** sorin_ has quit IRC09:31
*** sorindregan has quit IRC09:34
*** sorin_ has joined #zope3-dev09:35
*** sorin_ is now known as sorindregan09:35
*** schwendinger has joined #zope3-dev10:05
*** agroszer has joined #zope3-dev10:11
*** jfroche has joined #zope3-dev10:16
*** sorindregan has quit IRC10:28
*** davidstryker has joined #zope3-dev10:34
*** sorindregan has joined #zope3-dev10:35
*** Ariel_Calzada has quit IRC10:35
*** davidstryker has left #zope3-dev10:36
*** greenman has joined #zope3-dev10:41
*** ccomb has joined #zope3-dev10:44
*** povbot has joined #zope3-dev10:48
*** agroszer has quit IRC10:52
*** zagy has joined #zope3-dev10:53
*** povbot` has quit IRC11:06
*** yvl has quit IRC11:06
*** sorin_ has joined #zope3-dev11:13
*** yvl has joined #zope3-dev11:13
*** Aiste has joined #zope3-dev11:17
*** malthe has joined #zope3-dev11:18
*** cursor has quit IRC11:22
*** cursor has joined #zope3-dev11:22
*** harobed has joined #zope3-dev11:23
*** pelle_ has quit IRC11:26
*** pelle_ has joined #zope3-dev11:27
*** sorindregan has quit IRC11:28
*** yvl has quit IRC11:37
*** pyqwer has joined #zope3-dev11:47
*** sorin_ has quit IRC11:53
*** sorin_ has joined #zope3-dev11:58
*** thruflo has joined #zope3-dev12:03
* wiggy ponders adding an Ipv4 field to zope.schema12:06
*** romanofski has joined #zope3-dev12:08
*** cursor has quit IRC12:21
*** sorin_ is now known as sorindregan12:25
*** yvl has joined #zope3-dev12:32
*** jukart_ has joined #zope3-dev12:43
*** yvl has quit IRC12:46
*** sorin_ has joined #zope3-dev12:50
*** sorin_ has quit IRC12:52
*** sorin_ has joined #zope3-dev12:56
*** sorindregan has quit IRC12:57
*** jukart has quit IRC13:00
*** sorin_ is now known as sorindregan13:00
*** ktwilight has joined #zope3-dev13:12
*** b52laptop has joined #zope3-dev13:12
*** ignas has joined #zope3-dev13:17
*** ktwilight_ has quit IRC13:27
*** ktwilight_ has joined #zope3-dev13:34
*** afd_ has quit IRC13:35
*** jfroche has quit IRC13:36
*** sorindregan has quit IRC13:38
*** sorindregan has joined #zope3-dev13:38
*** ktwilight has quit IRC13:48
*** ktwilight has joined #zope3-dev13:52
*** sorindregan has quit IRC13:54
*** sorindregan has joined #zope3-dev13:57
*** ktwilight_ has quit IRC14:08
*** gstratton_ has joined #zope3-dev14:08
*** ktwilight_ has joined #zope3-dev14:08
*** ktwilight has quit IRC14:09
*** greenman has quit IRC14:12
*** ktwilight has joined #zope3-dev14:13
*** rocky has quit IRC14:13
*** ktwilight_ has quit IRC14:28
*** rocky has joined #zope3-dev14:29
*** mkerrin has joined #zope3-dev14:30
*** ktwilight has quit IRC14:32
*** ktwilight has joined #zope3-dev14:34
*** sorindregan has quit IRC14:34
*** ktwilight_ has joined #zope3-dev14:36
*** markusleist has joined #zope3-dev14:45
*** ktwilight has quit IRC14:51
*** Jell-O-Fishi has joined #zope3-dev14:52
*** ktwilight has joined #zope3-dev14:53
*** sorin has joined #zope3-dev15:00
*** sorin is now known as sorindregan15:03
*** jsadjohnson has joined #zope3-dev15:06
*** ktwilight_ has quit IRC15:07
*** jsadjohnson has quit IRC15:10
*** ktwilight has quit IRC15:12
*** ktwilight has joined #zope3-dev15:12
*** benji has joined #zope3-dev15:16
*** Aiste has quit IRC15:19
*** niemeyer has joined #zope3-dev15:20
*** jfroche has joined #zope3-dev15:25
*** ktwilight_ has joined #zope3-dev15:33
*** sorindregan has quit IRC15:33
*** jsadjohnson has joined #zope3-dev15:33
*** sorindregan has joined #zope3-dev15:35
*** romanofs1i has joined #zope3-dev15:44
*** J1m has joined #zope3-dev15:44
*** hexsprite has quit IRC15:44
*** ktwilight has quit IRC15:48
*** ktwilight has joined #zope3-dev15:53
*** romanofski has quit IRC15:56
*** stub has quit IRC15:59
*** MrTopf has joined #zope3-dev16:00
*** ktwilight_ has quit IRC16:00
*** stub has joined #zope3-dev16:01
*** rcrafton has joined #zope3-dev16:01
*** malthe has quit IRC16:05
*** afd_ has joined #zope3-dev16:10
baijumsrichter, ping ?16:11
*** fdrake has joined #zope3-dev16:11
*** ktwilight has quit IRC16:12
srichterbaijum: pong16:12
baijumsrichter, Can you please bump version number in trunk for the package you released recently ?16:12
baijumsrichter, If release is '3.4.0', use '3.4.1dev' as next version16:12
srichterbaijum: why? there was no consensus last week, and I Find version bumping totally stupid16:13
*** sorindregan has quit IRC16:13
srichteryou cannot anticipate the next release16:13
*** sorindregan has joined #zope3-dev16:14
baijumsrichter, hmm.. but we need a consensus ...16:14
*** ktwilight has joined #zope3-dev16:14
srichterbaijum: of course we do; I check the tags in SVN anyways to amke sure16:15
srichterbaijum: what I really want is a tool16:16
baijumsrichter, I agree, a tool would be good16:16
srichterbaijum: then it is totally irrelevant what the trunk setup.py version is16:16
srichterbaijum: and then, ... I want a Zope 3 something that let's me define a stable set :-)16:21
*** sorindregan has quit IRC16:22
*** sorindregan has joined #zope3-dev16:22
baijumsrichter, if you are using buildout, you can use versions option to pin down versions16:23
srichterbaijum: yep, I know; I need this for the releases already :-(16:24
srichterbaijum: I just need to create some sort of Zope 3 meta-egg or whatever you want to call it and set versions on them16:25
srichterand figure out a way I can run all the tests for every package in that configuration16:25
baijumyou can use zc.recipe.testrunner recipe for that, just list all eggs you want there16:26
srichterbaijum: right, that's just very tedious; it would be nice, if it would build that buildout.cfg for me from the dependencies16:27
baijumyou want to test only dependencies or all packages in Zope 3 ?16:28
*** afd_ has quit IRC16:29
*** afd_ has joined #zope3-dev16:29
baijumIf you want to test all packages, you can use extends option along with testrunner in which extends points to a url which lists all packages to be tested16:30
srichterbaijum: I want to create a set of packages (with their version numbers) that resemble a classic Zope 3 release16:31
srichterbaijum: I want to be able to run all tests in that set to ensure they work together well16:31
baijumhmm...may be another recipe might be the way to go ...16:32
srichterbaijum: yeah, I have not thought about it very hard16:32
srichterbut basically, I want a package manifest, which then generates pretty much everything for me16:33
*** ktwilight_ has joined #zope3-dev16:33
*** ktwilight has quit IRC16:37
*** MrTopf has quit IRC16:42
srichterbaijum: do you know how I can setup a global egg cache for buildout, so that it does not constantly store the same package again16:44
ignassrichter: eggs-directory = /home/ignas/.buildout-eggs in [buildout] section works for me16:45
baijumsrichter, You mean eggs-directory option in buildout ?16:45
ignasnot sure what's the right way though16:45
srichterbaijum: ignas can I have this entry in my .buildout.cfg as well?16:46
ignashmm, what's .buildout.cfg ?16:46
srichterI meant /.buildout/default.cfg16:47
* ignas goes to try out16:47
ignascool it works :D16:48
ignasthanks16:48
srichtergreat!16:48
ignasi guess i should move my .buildout-eggs to .buildout/eggs now :)16:49
baijumsrichter, may be you can also use newest = false option16:49
*** Jell-O-Fishi has quit IRC16:49
srichterbaijum: for what?16:50
baijumsrichter, from buildout doc: With this setting, buildout will not seek16:50
baijum    new distributions if installed distributions satisfy it's16:50
baijum    requirements.16:50
srichterbaijum: right, newest = false generically is a bit dangerous though16:51
srichterI prefer the explicit -N option16:51
ignasa question16:52
*** ktwilight has joined #zope3-dev16:53
ignasimporting ZopeMessageFactory from the old location16:53
ignasis giving deprecation warnings16:53
ignasthat tell you to import it from zope.i18n16:53
ignasthough philikon told me that it's a bad idea16:53
ignasshould the warning be fixed?16:53
*** stub has quit IRC16:54
baijumignas, where was the old location of ZopeMessageFactory ?16:54
srichterignas: I don't think it is a bad idea at all16:54
srichterbaijum: it was in zope.app.i18n16:55
srichterwhich pulled ina  alot of stuff16:55
srichterI think we moved it to zope.i18nmessageid16:55
baijumnow it is in zope.i18nmessageid, is it ?16:55
srichterbecause any package worrying about i18n uses zope.i18nmessgeid16:55
baijumah. ok16:55
srichterit was a compromize to massively reduce inter-dependencies16:55
ignassrichter: the point is that zope.i18nmessageid only has that factory since 3.4.216:56
ignasand most people do not update dependencies16:56
ignasand such "fix" for the warning16:56
ignasis not really backwards compatible16:56
srichterwhy not?16:56
srichterwe do this all the time16:56
srichterremove from one location and move it to another16:56
srichterand provide a warning in the old location16:57
*** pelle_ has quit IRC16:57
ignasyes, but every package that starts using the new location, should at least explicitly state that it need the version of the new location package16:57
ignasthat is new enough16:57
srichteryep, you are probably right :-(16:58
srichteroh man, this all sucks16:58
ignasand when you download zope.app.catalog 3.5.0a3 for example you suddenly realise that it does not work with your16:58
ignaszope.i18nmessageid 3.4.016:59
ignasthat's not a hypothetical example ;)17:00
srichteroh, I know17:00
*** J1m has quit IRC17:01
srichterthis is the perfect example, why we need to keep track of a stable set17:01
srichterthe situation will not get better, just worse17:01
ignasin my very humble opinion17:01
srichterthe more development diverges from the trunk the worse the issue will get17:01
ignasthe assumption that everyone who can commit, should have the right to release17:02
ignasis a bit flawed :(17:02
srichterI don't think so17:02
ignaseveryone who has right to commit should be able to release N.N.Ndev eggs17:02
srichterI think we are blaming people, where we should blame the lack of tools17:03
ignasi think releasing is inherently complex17:03
ignasin svn17:03
srichterI have already spent at least 15 working days dealing with eggs; if we would have one large Zope trunk, this is the time I would spent for 3 full release cycles (including alphas and betas)17:03
ignasyou can revert a wrong commit17:03
ignasyou can't unrelease an egg17:04
srichterthe problem is that we lack man-power17:04
srichterI pointed out the issue back when eggs started and was ignored17:04
baijumsrichter, I agree17:04
srichterwe effectively have something like a Linux distribution now17:05
ignasa bad one :(17:05
srichterthere are a lot of people trying to get a Linux distribution right17:05
srichterignas: yep17:05
srichterlooking at Linux distros I realize we need some staging mechanism17:06
srichterI think a Zope 3 meta-egg (or whatever form it would take) that tracks a stable set would be a first good step17:06
* baijum leaving, bye all17:07
ignasyes, otherwise done the right way an egg release is way too difficult to be left to everyone, i mean - every egg must be tested with all the eggs in it's "dependency range"17:07
*** baijum has quit IRC17:07
*** ktwilight_ has quit IRC17:08
ignasi don't even know how to do that, but releasing an new version of an egg so i would be sure i won't break schooltool, without having access to schooltool code seems very hard to do17:08
ignasthough that's what should be done when releasing a "stable" 3.4.2 or 3.4.3 for example egg17:09
srichteryep, exactely17:09
srichterthis was exactely Roger's complaint17:10
ignasi am wondering how you will resolve evolution issues17:12
srichterignas: manually by slowly updating a stable set17:12
ignasyou see i think - evolution scripts will have to be split up among packages17:12
ignasand if that happens17:12
ignasyou won't have control over the order of execution of evolution scripts anymore17:13
srichterabsolutely, they have to be split up17:13
srichterI agree17:13
srichterit is very sad to see that none of those issues were worked out before17:13
*** ktwilight_ has joined #zope3-dev17:14
*** sorindregan has quit IRC17:15
*** aclark|away is now known as aclark17:15
*** Jell-O-Fishi has joined #zope3-dev17:15
wiggyhow do you test for a permission?17:16
ignascanAccess and canWrite17:17
wiggycustom permission17:17
ignasyes17:18
ignasit's for custom permissions17:18
ignaslook at the signature17:18
ignashmm, ok, maybe not17:18
ignaswell - it is not checking for a permission17:18
wiggylooks like I have to use checkPermission17:19
ignasit is checking whether you have access to the attribute17:19
*** whit has joined #zope3-dev17:21
*** jfroche has quit IRC17:23
wiggywhat permission does canAccess check?17:25
*** ktwilight has quit IRC17:28
*** fdrake has left #zope3-dev17:29
*** ghendi has quit IRC17:30
ignaswiggy: it's a capability based check17:31
*** hazmat has joined #zope3-dev17:31
*** ChanServ sets mode: +o hazmat17:31
wiggybut what manages that capability?17:31
ignasit checks whatever permission was required to "read" that attribute was set in zcml17:31
ignaslook at class directives17:31
ignasso if you set that to access "title" of an object you need "my-package.read" permission17:32
* wiggy has zalchemy objects here, non-ZODB17:32
ignasthere is no difference17:32
wiggyand I need to combine dynamic locales roles into that17:32
ignasyou still have <class > directives17:32
ignasit will check if currently logged in principal17:32
wiggyhm17:32
ignashas this permission17:32
wiggywhere is that stuff defined?17:33
ignasso it will translate into  "check what permission is needed to read this attribute" and checkPermission("permission", object)17:33
ignaswhich stuff?17:33
wiggythe <class> stuff which control this17:33
ignaszcml17:33
wiggyso I can look up the right syntax to us17:33
ignasoh, zcml directives17:33
*** ktwilight has joined #zope3-dev17:34
ignashttp://apidoc.zope.org/++apidoc++/ZCML/http_co__sl__sl_namespaces.zope.org_sl_zope/class/index.html17:34
*** hdima has quit IRC17:34
*** RaFromBRC has joined #zope3-dev17:35
* wiggy suspects that breaks with grok stripping security proxies17:36
ignasyes canAccess will break17:36
wiggybut I can sort that out17:37
ignasbecause the first step is performed by security proxy17:37
ignasor maybe not, hmm17:37
wiggynow.. if you would also happen to know how local roles work :)17:37
ignasyou should try it17:37
*** nathany has joined #zope3-dev17:37
ignaswiggy: no idea, sorry, i am using a custom security policy for more than a year already17:37
wiggyah17:38
* wiggy is hoping for an adapter that returns a list of local roles for a principal17:38
ignasand roles come in the checkPermission step17:38
ignasprincipal has an attribute that lists all the ids for roles he has iirc17:38
wiggyno, only groups17:38
ignasoh, yes17:39
ignasjust saw that17:39
*** schwendinger has quit IRC17:39
ignaswiggy: the logic for checking roles is described in the class ZopeSecurityPolicy17:42
ignasbut it's a bit convoluted17:42
ignasfor very high values of a bit ;)17:42
wiggythe trick seems to be IPrincipalRoleMap(parent, None)17:43
wiggywhich is queried in cached_principal_roles17:43
ignasyes, indeed17:44
ignasif you will be modifying it in a running application17:45
ignasand storing roles <-> principal pairs in the database17:45
ignasdo not forget to clean it up when a principal is removed ;)17:46
*** ktwilight_ has quit IRC17:46
*** MJ has joined #zope3-dev17:46
*** Ariel_Calzada has joined #zope3-dev17:47
wiggyI'm not storing anything17:47
*** schwendinger has joined #zope3-dev17:52
*** ktwilight_ has joined #zope3-dev17:53
*** rmarianski has joined #zope3-dev18:01
*** ktwilight has quit IRC18:08
*** hazmat has quit IRC18:10
*** timte has quit IRC18:11
*** ktwilight has joined #zope3-dev18:14
*** jsadjohnson has quit IRC18:20
*** whit has quit IRC18:23
*** TresEquis has joined #zope3-dev18:26
*** ktwilight_ has quit IRC18:28
*** jfroche has joined #zope3-dev18:35
*** jsadjohnson has joined #zope3-dev18:41
*** hazmat has joined #zope3-dev18:45
*** ChanServ sets mode: +o hazmat18:45
*** jukart_ has quit IRC18:45
*** ktwilight has quit IRC18:48
*** afd__ has joined #zope3-dev18:54
*** Ariel_Calzada has left #zope3-dev18:59
*** harobed has quit IRC19:03
*** afd_ has quit IRC19:09
*** schwendinger has quit IRC19:16
*** pyqwer has quit IRC19:16
*** ignas has quit IRC19:23
*** MJ is now known as MJ|dinner19:24
*** RaFromBRC has quit IRC19:26
*** replicant has joined #zope3-dev19:26
*** schwendinger has joined #zope3-dev19:29
*** jodok has quit IRC19:34
*** hazmat has quit IRC19:35
*** redir has joined #zope3-dev19:35
wiggyhow does one grant a role to a group through python?19:38
wiggyI was expecting a IPrincipalRoleManager utility, but that isn't there19:39
*** markusleist has quit IRC19:41
*** naro has quit IRC19:41
*** agroszer has joined #zope3-dev19:42
TresEquiswiggy: you could look at what the ZCML handlers do19:57
wiggyfinally figured it out19:57
wiggytook me 5 hours to implement user management and security for a grok app19:57
wiggythe pain of learning a new environment19:57
*** whit has joined #zope3-dev19:58
*** jodok has joined #zope3-dev20:02
redirwiggy I feel your pain20:09
*** davidstryker has joined #zope3-dev20:18
*** davidstryker has left #zope3-dev20:18
*** jukart has joined #zope3-dev20:24
*** MrTopf has joined #zope3-dev20:25
*** redir has quit IRC20:30
*** ktwilight has joined #zope3-dev20:31
*** RaFromBRC has joined #zope3-dev20:33
*** ktwilight_ has joined #zope3-dev20:33
*** ruda_porto has joined #zope3-dev20:34
*** ktwilight_ has quit IRC20:37
*** sm has quit IRC20:38
*** redir has joined #zope3-dev20:39
*** RaFromBRC has quit IRC20:42
*** pelle_ has joined #zope3-dev20:47
*** thruflo has quit IRC20:47
*** ktwilight has quit IRC20:48
*** MrTopf has quit IRC20:50
*** MrTopf has joined #zope3-dev20:51
*** salfield has joined #zope3-dev21:00
*** mkerrin has quit IRC21:10
*** dobee has quit IRC21:13
rockyanyone know the traditional way to feed the "extra" information into a menuItem or subMenuItem ?21:29
rockydoesn't look to be a zcml attribute21:29
*** ktwilight has joined #zope3-dev21:31
*** mgedmin has joined #zope3-dev21:32
wiggyit's a dictionary passed in as a parameter to the constructor21:32
*** ktwilight_ has joined #zope3-dev21:34
*** spython has joined #zope3-dev21:34
rockywiggy: indeed, but that means there's no way to use zcml to include or somehow generate the "extra" information which seems odd since the directive callbacks take it as an argument21:34
*** ktwilight_ has quit IRC21:34
*** jukart_ has joined #zope3-dev21:35
*** mgedmin has quit IRC21:35
*** jukart has quit IRC21:36
wiggyno idea21:36
*** zagy has quit IRC21:36
wiggyfor some reason we can't use that zcml in plone 3 anyway21:36
spythonHi, I'm have a zopecomponent in which you add stuff via a function "setMessage(...)" how do I create an "addform" for this?21:38
spythonI can't use AddForm because no object is actually created, right?21:38
wiggywrong21:38
wiggyjust use a custom save method21:38
spythonah21:39
spythonjust override create ?21:39
spythonand return None in it21:39
spythonand run setMessage(...) in it..21:39
*** ktwilight has quit IRC21:48
*** philiKON has joined #zope3-dev21:49
*** replicant is now known as hazmat22:01
*** ChanServ sets mode: +o hazmat22:01
*** philiKON has quit IRC22:01
*** philiKON has joined #zope3-dev22:04
*** MJ|dinner is now known as MJ22:09
spythonhmm, this isn't working22:10
spythonwiggy: can you be a bit more specific? :O22:10
wiggyjust look at what zope.formlib does22:10
spythonah found the error...AddForm.nextURL is accessing self.context.nextURL ... which doesn't exist22:12
spythonyeah, need to read the source some more22:12
WebMavensrichter: ping22:15
*** wreutz has joined #zope3-dev22:16
*** wreutz has left #zope3-dev22:19
*** jukart_ has quit IRC22:20
*** greenman has joined #zope3-dev22:21
*** rmarianski has quit IRC22:33
*** rmarianski has joined #zope3-dev22:39
*** ksmith99 has joined #zope3-dev22:47
*** wreutz_____ has joined #zope3-dev22:58
*** wreutz_____ has left #zope3-dev22:59
*** spython has quit IRC23:22
*** rlo has joined #zope3-dev23:33
*** harobed has joined #zope3-dev23:37
*** MJ has quit IRC23:39
*** redir has quit IRC23:44
*** redir has joined #zope3-dev23:44
*** ktwilight has joined #zope3-dev23:47
*** philiKON has quit IRC23:48
*** philiKON has joined #zope3-dev23:48
*** jfroche has quit IRC23:50
*** rlo has quit IRC23:51
*** ousado_ has quit IRC23:53
*** ousado_ has joined #zope3-dev23:54
*** ruda_porto has quit IRC23:57

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