IRC log of #zope3-dev for Friday, 2009-01-09

*** whit has joined #zope3-dev00:07
*** mgedmin has quit IRC00:10
*** timte has quit IRC00:18
*** aaronv has joined #zope3-dev00:25
*** dbfrombrc has quit IRC00:26
*** aaronv has quit IRC00:27
*** aaronv has joined #zope3-dev00:40
*** regebro has quit IRC00:42
*** hazmat has quit IRC00:50
*** benji has quit IRC00:51
*** sp0cksbeard has quit IRC00:52
*** lucielejard has quit IRC00:57
*** tarek has joined #zope3-dev01:02
*** jamur2 has quit IRC01:05
*** hazmat has joined #zope3-dev01:21
*** ChanServ sets mode: +o hazmat01:21
*** lurkymclurkleton has quit IRC01:24
*** dbfrombrc has joined #zope3-dev01:25
*** whit has quit IRC01:29
*** junkafarian_ has quit IRC01:32
*** aaronv has quit IRC01:42
*** J1m_ has quit IRC01:57
*** quodt has quit IRC02:00
*** whit has joined #zope3-dev02:10
*** tarek has quit IRC02:29
*** rmarianski has quit IRC02:35
*** whit has quit IRC02:37
*** dbfrombrc has quit IRC02:45
*** nathany has quit IRC02:51
*** tarek has joined #zope3-dev02:56
*** tarek has quit IRC02:57
*** kaeru has quit IRC03:15
*** stub has joined #zope3-dev03:19
*** aaronv has joined #zope3-dev03:25
*** malthe__ has joined #zope3-dev03:25
*** malthe_ has quit IRC03:26
*** philiKON_ has quit IRC03:34
*** aaronv has quit IRC03:35
*** kaeru has joined #zope3-dev03:57
*** alecm has quit IRC04:13
*** davisagli has left #zope3-dev04:22
*** davisagli has joined #zope3-dev04:57
*** srichter has quit IRC05:04
*** davisagli has left #zope3-dev05:14
*** srichter has joined #zope3-dev05:46
*** fmail has joined #zope3-dev05:52
*** binseer has joined #zope3-dev05:59
*** srichter has quit IRC06:17
*** alga has quit IRC06:25
*** rocky has quit IRC06:28
*** greenman has quit IRC06:38
*** fmail has left #zope3-dev06:50
*** fairwinds has quit IRC06:56
*** ktwilight_ has quit IRC07:08
*** ktwilight has joined #zope3-dev07:08
*** jayaraj has joined #zope3-dev08:11
*** sm has quit IRC08:15
*** sm has joined #zope3-dev08:16
*** jayaraj_ has joined #zope3-dev08:22
*** afd___ has joined #zope3-dev08:31
*** agroszer has joined #zope3-dev08:41
*** jukart has joined #zope3-dev08:43
*** basti has joined #zope3-dev08:46
*** jayaraj has quit IRC08:51
*** zagy has joined #zope3-dev08:51
*** __mac__ has joined #zope3-dev08:57
*** jayaraj has joined #zope3-dev08:58
*** __mac__ has quit IRC08:59
*** __mac__ has joined #zope3-dev09:03
*** MrTopf has joined #zope3-dev09:07
*** __mac__ has quit IRC09:08
*** jayaraj__ has joined #zope3-dev09:08
*** tarek has joined #zope3-dev09:09
*** jayaraj__ has quit IRC09:11
*** tarek has quit IRC09:14
*** tarek has joined #zope3-dev09:15
*** jayaraj has quit IRC09:24
*** jayaraj has joined #zope3-dev09:27
*** jayaraj__ has joined #zope3-dev09:36
*** Theuni1 has joined #zope3-dev09:40
*** jayaraj has quit IRC09:41
*** philiKON has joined #zope3-dev09:41
*** jayaraj has joined #zope3-dev09:44
*** pyqwer has joined #zope3-dev09:44
*** agroszer has quit IRC09:44
*** greenman has joined #zope3-dev09:53
*** quodt has joined #zope3-dev09:56
*** jayaraj__ has quit IRC09:56
*** afd____ has joined #zope3-dev10:01
*** jayaraj has quit IRC10:05
*** __mac__ has joined #zope3-dev10:06
*** jayaraj has joined #zope3-dev10:07
*** harobed has joined #zope3-dev10:08
*** afd___ has quit IRC10:08
*** junkafarian has joined #zope3-dev10:10
*** __mac__ has quit IRC10:10
*** andycat has quit IRC10:14
*** exarkun has quit IRC10:14
*** mkerrin has joined #zope3-dev10:14
*** exarkun has joined #zope3-dev10:14
*** goschtl has joined #zope3-dev10:16
*** jayaraj has quit IRC10:18
*** jayaraj has joined #zope3-dev10:20
*** JaRoel|4D has quit IRC10:21
*** toutpt has joined #zope3-dev10:21
*** agroszer has joined #zope3-dev10:22
*** jayaraj has quit IRC10:33
*** jayaraj has joined #zope3-dev10:36
*** mkerrin has quit IRC10:38
*** mkerrin has joined #zope3-dev10:40
*** MJ has joined #zope3-dev10:41
*** andycat has joined #zope3-dev10:46
*** hazmat has quit IRC10:46
*** JaRoel|4D has joined #zope3-dev11:07
*** JaRoel|4_ has joined #zope3-dev11:09
*** mcdonc has quit IRC11:12
*** mcdonc has joined #zope3-dev11:12
*** markusleist has joined #zope3-dev11:14
*** junkafarian has quit IRC11:17
*** yvl has quit IRC11:17
*** pelle_ has joined #zope3-dev11:17
*** pelle_ has quit IRC11:18
*** junkafarian has joined #zope3-dev11:18
*** pelle_ has joined #zope3-dev11:18
*** olavgg has quit IRC11:23
*** tarek has quit IRC11:24
*** hipertracker has joined #zope3-dev11:24
*** tarek has joined #zope3-dev11:27
*** jayaraj_ has quit IRC11:28
*** dunny has quit IRC11:29
*** jayaraj_ has joined #zope3-dev11:30
*** ignas has joined #zope3-dev11:33
*** junkafarian has quit IRC11:34
*** JaRoel|4D has quit IRC11:34
*** jayaraj__ has joined #zope3-dev11:40
*** jayaraj__ has joined #zope3-dev11:40
*** olavgg has joined #zope3-dev11:44
*** MJ has quit IRC11:47
*** MJ has joined #zope3-dev11:48
*** junkafarian has joined #zope3-dev11:49
*** jayaraj has quit IRC11:51
*** jayaraj__ has quit IRC11:52
*** jayaraj has joined #zope3-dev11:52
*** kaeru has quit IRC11:58
*** quodt_ has joined #zope3-dev12:00
*** quodt has quit IRC12:01
*** quodt_ has quit IRC12:06
*** reco has quit IRC12:08
*** quodt has joined #zope3-dev12:08
*** jayaraj has quit IRC12:19
*** jayaraj has joined #zope3-dev12:19
*** sunew has joined #zope3-dev12:32
*** davisagli_ has joined #zope3-dev12:46
*** baijum has joined #zope3-dev12:46
*** zagy has quit IRC12:48
*** zagy has joined #zope3-dev12:49
*** gc_basti has joined #zope3-dev12:54
*** basti has quit IRC12:54
*** jukart has quit IRC13:01
*** davisagli_ has quit IRC13:02
*** jayaraj_ has quit IRC13:13
*** jayaraj_ has joined #zope3-dev13:28
*** greenman has quit IRC13:43
*** markusleist has quit IRC13:59
*** markusleistircfr has joined #zope3-dev14:02
*** markusleistircfr has quit IRC14:12
*** markusleist has joined #zope3-dev14:16
*** fairwinds has joined #zope3-dev14:29
*** malthe__ is now known as malthe|away14:30
*** JaRoel|4_ is now known as JaRoel|4D14:36
*** kaeru has joined #zope3-dev15:04
*** alga has joined #zope3-dev15:11
*** zagy has quit IRC15:20
*** gc_basti has quit IRC15:20
*** benji has joined #zope3-dev15:23
*** gc_basti has joined #zope3-dev15:23
*** zagy has joined #zope3-dev15:23
*** gc_basti has quit IRC15:27
*** mintsauce has joined #zope3-dev15:32
*** gc_basti has joined #zope3-dev15:33
*** binseer has quit IRC15:33
*** zagy has quit IRC15:39
*** malthe|away is now known as malthe15:41
*** BjornT has quit IRC15:41
*** mintsauce has quit IRC15:42
*** mintsauce has joined #zope3-dev15:42
*** zagy has joined #zope3-dev15:44
*** gc_basti has quit IRC15:47
*** jayaraj has quit IRC15:48
mintsauceCan I populate a 'Choice' schema attribute vocabulary from a list/dict that already exists in zodb? If so, how?15:49
*** gc_basti has joined #zope3-dev15:50
agroszermintsauce, should be easy15:50
* agroszer looking for a sample15:51
mintsauceagroszer: lol - thats what I thought - doing the same :)15:51
*** hipertracker has quit IRC15:53
*** hipertracker has joined #zope3-dev15:53
agroszerzope.app.security.vocabulary.PermissionIdsVocabulary15:53
*** hipertracker has quit IRC15:53
*** hipertracker has joined #zope3-dev15:53
agroszerinstead of the fuzz there, grab your list maybe via hooks.getSite()15:54
agroszermake the terms from the list15:54
agroszertada15:54
*** stub has quit IRC15:56
*** zagy has quit IRC15:59
mintsauceagroszer: taking a look ...16:00
*** jamur2 has joined #zope3-dev16:02
*** gc_basti_ has joined #zope3-dev16:02
*** jayaraj has joined #zope3-dev16:03
*** lurkymclurkleton has joined #zope3-dev16:03
*** cshenton has quit IRC16:04
*** jamur2 has quit IRC16:04
*** jamur2 has joined #zope3-dev16:04
*** cshenton has joined #zope3-dev16:04
*** jhauser has joined #zope3-dev16:05
*** zagy has joined #zope3-dev16:07
*** olavgg has quit IRC16:07
*** gc_basti has quit IRC16:08
*** jhauser has quit IRC16:08
*** jhauser has joined #zope3-dev16:08
*** olavgg has joined #zope3-dev16:10
*** rocky has joined #zope3-dev16:13
*** zagy has quit IRC16:23
*** zagy has joined #zope3-dev16:25
*** gc_basti_ is now known as basti___16:35
*** basti___ has quit IRC16:36
*** gc_basti has joined #zope3-dev16:36
*** reco has joined #zope3-dev16:37
*** aaronv has joined #zope3-dev16:37
*** jayaraj__ has joined #zope3-dev16:39
*** quodt has quit IRC16:39
*** quodt has joined #zope3-dev16:39
*** gc_basti has quit IRC16:40
*** gc_basti has joined #zope3-dev16:41
*** gc_basti is now known as basti__16:41
*** zagy has quit IRC16:41
*** jayaraj_ has quit IRC16:42
*** jukart has joined #zope3-dev16:43
*** reco has quit IRC16:43
*** agroszer has quit IRC16:44
*** reco has joined #zope3-dev16:44
*** agroszer has joined #zope3-dev16:44
mintsaucehmmm .... next problem - the dict is stored on the member annotation - and as such is obviously dependent on the member ID - how would I make the schema based attribute able to use the id ...?16:53
*** J1m has joined #zope3-dev16:54
*** basti__ has quit IRC16:54
*** jayaraj__ has quit IRC16:55
*** agroszer_ has joined #zope3-dev16:56
*** mgedmin has joined #zope3-dev16:56
*** hazmat has joined #zope3-dev16:56
*** ChanServ sets mode: +o hazmat16:56
*** jayaraj__ has joined #zope3-dev16:56
*** J1m has quit IRC16:59
mintsaucealso ... as far as I can tell ... cant run hooks.getSite() within schema, as its a zope.schema._bootstrapfields.Field object when it runs ..17:00
agroszer_weird it should return the nearest site17:02
agroszer_second try: traverse up via context17:02
agroszer_mintsauce ^17:03
mintsauceagroszer: yeah, it usually does - ive used it elsewhere, will try context.17:03
agroszer_are you checking it via a live app or a test?17:04
mintsauceAny ideas on the id prob? How do set something that can only be ascertained when the schema is accessed?17:04
mintsaucepdb17:04
mintsauceno context - all i can get is <zope.schema._bootstrapfields.Field object at 0x2700c90> via __parent__17:06
agroszer_are you running a test that triggers this?17:07
*** jayaraj_ has joined #zope3-dev17:08
mintsauceim trying to set it directly in interfaces.py (perhaps incorrectly) - ive set a pdb.set_trace() to automatically run before getSite() to check if it works17:09
agroszer_now I'm lost17:10
agroszer_can you paste some code in a paster?17:10
mintsauceyup17:10
mintsauceevery possibility im approaching this the wrong way :D17:10
*** agroszer has quit IRC17:11
*** agroszer_ is now known as agroszer17:11
*** projekt01 has joined #zope3-dev17:11
*** sp0cksbeard has joined #zope3-dev17:16
lisppaste6mintsauce pasted "interface muddle" at http://paste.lisp.org/display/7332417:17
*** jayaraj__ has quit IRC17:17
*** whit has joined #zope3-dev17:18
*** kaeru has quit IRC17:18
mintsaucewho is the list i want to provide values for from member annotation dict17:18
agroszergive me a min17:18
lisppaste6agroszer annotated #73324 with "re" at http://paste.lisp.org/display/73324#117:23
*** srichter has joined #zope3-dev17:26
mintsauceagroszer: whoaa ... that's a great help, will have a fiddle with it - thanks.17:26
agroszerwelcome17:26
mintsaucekeeping coming across, but never really used 'super' - what does it do?17:26
agroszernote: it's untested17:26
agroszergets the superclass17:27
*** ChanServ sets mode: +o srichter17:27
*** pyqwer has quit IRC17:27
agroszermintsauce: http://docs.python.org/library/functions.html17:28
agroszerlook for super()17:28
mintsauceahh - makes sense (not quite as 'super' as I was expecting)17:29
*** baijum has quit IRC17:31
*** goschtl has quit IRC17:38
mintsauceagroszer: VocabularyRegistryError: unknown vocabulary: 'Myvocabulary'17:40
agroszeryep, youy have to register it17:40
agroszeras in zope.app.security17:40
agroszer  <utility17:41
agroszer      component=".vocabulary.PermissionIdsVocabulary"17:41
agroszer      name="Permission Ids"17:41
agroszer      />17:41
mintsaucedoh, in zcml17:42
*** MJ has quit IRC17:42
*** hazmat has quit IRC17:53
lisppaste6mintsauce annotated #73324 with "Registration" at http://paste.lisp.org/display/73324#217:54
mintsauceAm I doing something stupid - still get the same error.17:54
agroszerin zcml: name="MyvocabularyName"17:55
agroszername is just an arbitrary string, does not have to match the classname17:56
mintsaucesame error17:59
agroszeris the zcml included for sure?17:59
agroszer(to test: break it like this: "<uxtility...")18:00
agroszerstart the app18:00
agroszerif it burps on <uxtility it's included18:00
mintsauceyup - that breaks it18:00
mintsauceconfigure.zcml in root - i have bunch of other stuff in there18:01
mintsauceinterfaces.py is in same relative location18:01
agroszerwhat's the error?18:01
mintsaucewhen I try to view a schema driven form I get the following error:18:02
mintsauceVocabularyRegistryError: unknown vocabulary: 'MyvocabularyName'18:03
agroszerweird18:03
agroszerand18:03
agroszerrequired = False,18:03
agroszer        vocabulary = "MyvocabularyName"18:03
agroszerand component=".interfaces.MyVocabulary"18:04
agroszer          name="MyvocabularyName"18:04
*** srichter has quit IRC18:04
*** srichter has joined #zope3-dev18:04
agroszerthose two have to match18:04
agroszerI mean MyvocabularyName18:04
mintsaucedef match18:10
mintsaucemust be the Friday effect18:10
*** toutpt has quit IRC18:10
agroszerI'm a bit puzzled18:10
mintsauceme too ;)18:11
mintsauceif i change the class name in zcml it breaks - so it's being read through ....18:12
*** srichter has quit IRC18:12
*** srichter has joined #zope3-dev18:13
agroszeryeah, it's included we figured before18:13
agroszertry to add to zcml:18:14
agroszerprovides="zope.schema.interfaces.IVocabularyFactory"18:14
mintsauceooh ... hang on - the form is in the /browser folder, which has it's own .zcml - does it need to be there too?18:14
agroszerno, registration is usually instance global18:15
*** J1m has joined #zope3-dev18:16
mintsaucesame error18:16
afd____mintsauce: http://code.google.com/p/z3ergo/source/browse/LearningJourney/src/learningjourney/app/vocabulary.py18:17
lisppaste6mintsauce annotated #73324 with "to sum up" at http://paste.lisp.org/display/73324#318:18
afd____http://code.google.com/p/z3ergo/source/browse/LearningJourney/src/learningjourney/app/configure.zcml18:18
afd____lines 46-4718:18
agroszerummm, yeah18:19
agroszersort of same18:19
afd____I think should be factory instead of component in the <utility /> tag18:19
*** sawdog_ has quit IRC18:21
*** sawdog has joined #zope3-dev18:21
*** sawdog has quit IRC18:22
*** sawdog has joined #zope3-dev18:23
*** jukart has quit IRC18:23
lisppaste6mintsauce annotated #73324 with "new error" at http://paste.lisp.org/display/73324#418:24
agroszerit's component=18:25
mintsaucetrying afd____'s suggestion18:25
*** afd____ is now known as afd_18:25
*** sunew has quit IRC18:28
*** dbfrombrc has joined #zope3-dev18:34
*** rmarianski has joined #zope3-dev18:35
mintsaucestumped18:39
*** strichter has joined #zope3-dev18:41
*** afd_ has quit IRC18:42
*** srichter has quit IRC18:44
*** afd___ has joined #zope3-dev18:45
mgedminmintsauce: s/factory/component/ in the zcml declaration18:45
mintsaucemgedmin: sorry, don't understand what you want me to do....18:47
agroszerhey mgedmin18:47
agroszerit does not work that way too18:47
mgedmin<utility component="..."18:47
mgedminnot <utility factory="..."18:47
agroszerdoes not find the vocabulary18:47
mintsauceive tried both18:48
mgedminah, I see it in #318:48
mgedminoh, I know18:49
mintsauceits gotta be something silly18:49
mgedminit's probably the stupid Zope "let's hook up IVocabularyFactory utilities into the generic zope.component vocabulary registry hooks at IMPORT TIME!!!"18:49
mgedminyou need to import some module in your app somewhere18:49
mgedminzope.app.schema.vocabulary18:50
mintsaucewooo .... that's got it! - At least it's got past that error ...18:51
mgedminI'd never know about this if I hadn't seen someone (probably srichter) do that18:51
mintsaucemgedmin: well remembered - thanks a load :)18:52
mintsauceagroszer: you too :)18:52
agroszerwelcome18:52
*** nathany has joined #zope3-dev18:52
*** markusleist has quit IRC18:57
*** jhauser has quit IRC18:59
*** rocky has quit IRC19:00
mintsaucecheers again guys, signing off for the day :)19:01
*** mintsauce has quit IRC19:02
*** dbfrombrc has quit IRC19:05
*** dbfrombrc has joined #zope3-dev19:06
*** jayaraj_ has quit IRC19:10
*** afd___ has quit IRC19:13
*** rocky has joined #zope3-dev19:19
*** quodt has quit IRC19:19
*** quodt has joined #zope3-dev19:20
*** zagy has joined #zope3-dev19:22
*** menesis has joined #zope3-dev19:25
*** afd___ has joined #zope3-dev19:33
*** quodt has quit IRC19:33
*** davisagli has joined #zope3-dev19:34
*** projekt01 has quit IRC19:38
*** jayaraj has quit IRC19:44
*** sunew has joined #zope3-dev19:46
*** tarek has quit IRC19:49
*** whit has quit IRC19:50
*** harobed has quit IRC19:51
*** tarek has joined #zope3-dev19:53
*** whit has joined #zope3-dev19:54
*** hipertracker has quit IRC19:55
*** MrTopf has quit IRC19:56
*** dunny has joined #zope3-dev20:04
*** quodt has joined #zope3-dev20:09
*** quodt has quit IRC20:17
*** rocky has quit IRC20:22
*** whit has quit IRC20:24
*** menesis has quit IRC20:25
*** lurkymclurkleton has quit IRC20:30
*** lurkymclurkleton has joined #zope3-dev20:31
*** JaRoel|4D has quit IRC20:33
*** zagy has quit IRC20:44
*** mkerrin has quit IRC20:52
*** sunew has quit IRC20:53
*** ignas has quit IRC20:55
*** multani has quit IRC21:01
*** menesis has joined #zope3-dev21:01
*** pcardune_vm_ has joined #zope3-dev21:02
*** pcardune_vm_ has quit IRC21:03
*** strichter is now known as srichter21:03
*** ChanServ sets mode: +o srichter21:03
*** pcardune_ has joined #zope3-dev21:03
*** pcardune has quit IRC21:04
*** sm has joined #zope3-dev21:05
*** J1m_ has joined #zope3-dev21:05
*** pcardune_ has quit IRC21:06
*** pcardune has joined #zope3-dev21:07
*** rocky1 has joined #zope3-dev21:11
*** junkafarian has quit IRC21:12
*** sm has quit IRC21:14
*** sm has joined #zope3-dev21:14
*** J1m has quit IRC21:15
*** rocky1 is now known as rocky21:17
*** junkafarian has joined #zope3-dev21:18
*** sm has quit IRC21:19
*** sm has joined #zope3-dev21:19
*** sm has quit IRC21:21
*** sm has joined #zope3-dev21:24
*** timte has joined #zope3-dev21:30
*** philiKON has quit IRC21:32
*** philiKON has joined #zope3-dev21:32
*** bigkevmcd has quit IRC21:38
*** sunew has joined #zope3-dev21:47
*** whit has joined #zope3-dev21:51
*** mgedmin has quit IRC21:52
*** sunew has quit IRC21:57
*** nyo1 has joined #zope3-dev21:58
*** olavgg has quit IRC22:02
*** philiKON has quit IRC22:05
*** philiKON has joined #zope3-dev22:06
*** nyo1 has quit IRC22:09
*** junkafarian_ has joined #zope3-dev22:23
*** junkafarian_ has quit IRC22:25
*** junkafarian_ has joined #zope3-dev22:25
*** hazmat has joined #zope3-dev22:31
*** ChanServ sets mode: +o hazmat22:31
*** afd___ has quit IRC22:45
*** yota has joined #zope3-dev22:48
*** hazmat has quit IRC22:49
*** sm has quit IRC22:49
*** aaronv has quit IRC23:00
*** alga has quit IRC23:01
*** aaronv has joined #zope3-dev23:03
*** agroszer has quit IRC23:05
*** kev__ has joined #zope3-dev23:08
*** hazmat has joined #zope3-dev23:11
*** ChanServ sets mode: +o hazmat23:11
*** whit has quit IRC23:14
*** hazmat has quit IRC23:15
*** whit has joined #zope3-dev23:25
*** kev__ has quit IRC23:38
*** davisagli has left #zope3-dev23:52
*** timte has quit IRC23:57

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