IRC log of #zope3-dev for Monday, 2008-01-21

*** reco has quit IRC00:14
*** reco has joined #zope3-dev00:15
*** harobed has quit IRC00:31
*** danielblackburn has quit IRC00:35
*** regebro has left #zope3-dev00:36
*** flox has quit IRC00:41
*** dobee_ has joined #zope3-dev00:41
*** danielblackburn has joined #zope3-dev00:42
*** danielblackburn has quit IRC00:44
*** projekt01 has joined #zope3-dev00:59
*** dobee has quit IRC00:59
*** greenman has joined #zope3-dev01:10
*** norro has quit IRC01:11
*** whit has quit IRC01:24
*** whit has joined #zope3-dev01:24
*** natea_ has joined #zope3-dev01:25
*** jodok_ has quit IRC01:30
*** dobee_ has quit IRC01:30
*** jodok has joined #zope3-dev01:30
*** dobee has joined #zope3-dev01:30
*** natea|boston has quit IRC01:32
*** wreutz has quit IRC01:40
*** wreutz has joined #zope3-dev01:41
*** jodok has quit IRC01:49
*** malthe has joined #zope3-dev01:52
*** reco_ has joined #zope3-dev01:55
*** wreutz has quit IRC01:56
*** natea|boston has joined #zope3-dev01:58
*** jodok has joined #zope3-dev01:59
*** jodok_ has joined #zope3-dev02:00
*** jpcw2002 has quit IRC02:00
*** rmarianski has quit IRC02:03
*** natea_ has quit IRC02:06
*** dunny has quit IRC02:06
*** reco has quit IRC02:12
projekt01philiKON, ayt?02:15
projekt01what's the flag for force a *:tar.gz and not *.zip dist file for egg release?02:18
*** jodok has quit IRC02:18
*** malthe has quit IRC02:58
*** quodt has quit IRC02:58
*** dunny has joined #zope3-dev03:04
*** ignas has quit IRC03:15
*** tarek has quit IRC03:19
*** whit has quit IRC03:21
*** stub has joined #zope3-dev03:29
*** dobee has quit IRC03:30
*** jodok_ has quit IRC03:30
*** mweichert has joined #zope3-dev03:40
*** andres_f has joined #zope3-dev04:05
*** andres has quit IRC04:07
projekt01srichter, ayt?04:40
*** ejucovy has quit IRC04:42
*** J1m has quit IRC04:49
*** pcardune has joined #zope3-dev04:50
*** pcardune has quit IRC04:53
*** greenman has quit IRC05:05
*** philiKON_ has joined #zope3-dev05:57
*** pcardune has joined #zope3-dev05:58
*** pcardune has quit IRC05:59
*** philiKON has quit IRC06:07
*** reco_ has quit IRC06:24
*** rcrafton has quit IRC06:55
*** stub has quit IRC07:13
*** mweichert has quit IRC07:55
*** afd_ has joined #zope3-dev08:11
*** jpcw2002 has joined #zope3-dev08:23
*** zagy has joined #zope3-dev08:36
*** greenman has joined #zope3-dev08:44
*** d2m has joined #zope3-dev08:47
*** hdima has joined #zope3-dev08:49
*** sorin has joined #zope3-dev08:51
*** sorin is now known as sorindregan08:51
*** zagy has quit IRC08:55
*** greenman has quit IRC08:56
*** __mac__ has joined #zope3-dev09:05
*** acsr has joined #zope3-dev09:10
*** markusleist has joined #zope3-dev09:13
*** povbot has joined #zope3-dev09:27
*** zagy has joined #zope3-dev09:28
*** regebro has joined #zope3-dev09:28
*** ignas has joined #zope3-dev09:30
*** yvl has joined #zope3-dev09:32
*** mcdonc has quit IRC09:33
*** romanofski has joined #zope3-dev09:36
*** stub has joined #zope3-dev09:36
*** povbot` has quit IRC09:42
*** jpcw2002 has quit IRC09:56
*** projet01_ has joined #zope3-dev09:56
*** sorindregan has quit IRC10:00
*** sorin has joined #zope3-dev10:01
*** sorin is now known as sorindregan10:01
*** jukart has joined #zope3-dev10:10
*** greenman has joined #zope3-dev10:12
*** projekt01 has quit IRC10:14
projet01_jukart, ayt?10:15
*** projet01_ is now known as projekt0110:15
jukartprojet01: jep10:15
projekt01hi10:15
jukarthi10:15
projekt01I have a problem to get a distro for lovely.recipe10:16
jukartyou mean the latest egg ?10:16
projekt01could this be because it uses a and b in release numbers10:16
projekt01yes10:16
projekt01it's on pypi but doesn't get found10:16
*** pelle_ has joined #zope3-dev10:17
projekt01jukart, the error is:10:17
projekt01Download error: unknown url type: svn -- Some packages may not be found!10:17
projekt01if I comment out the import checker it works10:17
jukarthm, we used a,b all the time but maybe it doesn't work on pypi10:18
projekt01as far as I can see the lovely.recipe get not downloaded10:18
jukartprojekt01: as soon as jodok is around I tell him to make a release and upload it10:19
jukarthe is the owner of the package10:19
projekt01jukart, cool, thanks a lot10:19
*** goschtl has joined #zope3-dev10:20
*** ignas has quit IRC10:24
*** ignas has joined #zope3-dev10:24
afd_projekt01: you can use the egg if you make a checkout of the source and set it as develop path in the buildout10:26
projekt01afd, yes thanks, but I need to make releases of other packages which use this lovely.recipe10:27
afd_ok10:27
projekt01I only will make sure that others will get it out of the box10:27
afd_got it10:28
*** stub has quit IRC10:42
*** stu1 has joined #zope3-dev10:42
*** stu1 is now known as stub10:42
*** jpcw2002 has joined #zope3-dev10:46
*** rmarianski has joined #zope3-dev10:51
*** bigkevmcd has joined #zope3-dev10:55
*** jpcw2002 has quit IRC11:03
*** dunny has quit IRC11:07
*** toutpt has joined #zope3-dev11:10
*** norro has joined #zope3-dev11:11
*** jodok has joined #zope3-dev11:14
*** dobee has joined #zope3-dev11:15
*** jpcw2002 has joined #zope3-dev11:22
*** malthe has joined #zope3-dev11:42
malthedoes buildout support fetching packages from svn, i.e. depend on packages like lxml==dev which points to a subversion repository?11:43
*** lurker has joined #zope3-dev11:52
*** quodt has joined #zope3-dev11:52
*** tlotze has joined #zope3-dev11:55
*** tarek has joined #zope3-dev11:55
*** andres_f has quit IRC11:58
*** dobee_ has joined #zope3-dev12:04
*** goschtl_ has joined #zope3-dev12:05
*** MJ|nickcollision has joined #zope3-dev12:07
projekt01malthe, no, why do you mean?12:08
projekt01malthe, there is a recipe which is able to fetch packages form a repository, but not for build eggs12:09
*** MJ|nickcollision is now known as MJ12:10
projekt01jodok, ayt?12:11
*** markusleist has quit IRC12:13
maltheprojekt01: easy_install is able to do it.12:14
malthei.e. "Doing subversion checkout from http://codespeak.net/svn/kukit/kss.core/trunk to /tmp/easy_install-vaQ1yO/trunk"12:14
maltheseems to work if I say ``kss.core==1.4dev_r50813``12:16
malthei.e. some revision12:16
malthefunny that easy_install does not need this.12:16
projekt01I'm not sure if I understand your question correct12:17
*** goschtl has quit IRC12:22
*** jodok has quit IRC12:22
*** jodok has joined #zope3-dev12:22
*** dobee has quit IRC12:23
*** wreutz has joined #zope3-dev12:23
*** jpcw2002_ has joined #zope3-dev12:30
malthetlotze: would you mind if I add a kss-binding to zc.resourcelibrary (publication.py)?12:30
tlotzemalthe: go ahead12:31
maltheexcellent12:31
*** whit has joined #zope3-dev12:32
*** thruflo has joined #zope3-dev12:39
*** jpcw2002 has quit IRC12:40
*** jodok has quit IRC12:46
*** wreutz has quit IRC12:46
*** jodok has joined #zope3-dev12:46
*** wreutz has joined #zope3-dev12:48
*** wreutz_ has joined #zope3-dev12:53
*** dobee_ has quit IRC12:53
*** wreutz has quit IRC12:53
*** mkerrin has joined #zope3-dev12:57
malthesrichter: I think z3c.form 1.7.1 is broken; the manifest seems to be missing some zcml-files.12:57
projekt01malthe, really?12:58
maltheprojekt01: yeah --- the cheeseshop package isn't in a working state alas.12:58
maltherepository is fine12:58
projekt01what's the error?12:58
maltheit's not an error12:58
malthe:-)12:58
*** jodok has quit IRC12:58
*** jpcw2002_ has left #zope3-dev12:59
projekt01not again, philiKON, told me that this is fixed12:59
*** jodok has joined #zope3-dev12:59
projekt01malthe, why is it working on my windows?12:59
*** harobed has joined #zope3-dev12:59
maltheprojekt01: I don't know about windows12:59
projekt01what exactly the problem you have?12:59
maltheconfigure.zcml and friends are missing from the package when it's set up.13:00
*** thruflo has quit IRC13:00
*** ignas has quit IRC13:00
projekt01malthe, does linux have problems to extract the zcml files?13:00
malthehehe, yeah linux and any other decent operating system I suppose.13:01
projekt01whatever decent means ;-)13:01
*** jpcw2002 has joined #zope3-dev13:02
*** projekt01_ has joined #zope3-dev13:05
*** projekt01 has quit IRC13:05
*** goschtl has joined #zope3-dev13:08
*** ignas has joined #zope3-dev13:08
ccombprojekt01_  z3c.form Version 1.7.1 (2007-01-21)13:09
ccomb200813:11
*** dobee has joined #zope3-dev13:15
*** goschtl_ has quit IRC13:16
*** malthe_ has joined #zope3-dev13:17
*** ktenney has joined #zope3-dev13:19
*** ktenney has left #zope3-dev13:19
*** niemeyer has joined #zope3-dev13:28
*** baijum has joined #zope3-dev13:30
projekt01_ccomb, argh, but thanks for the hint13:32
*** projekt01_ is now known as projekt0113:32
*** __mac__ has left #zope3-dev13:32
*** malthe has quit IRC13:32
*** baijum has quit IRC13:33
*** alga has joined #zope3-dev13:36
*** MJ is now known as MJ|lunch13:46
*** greenman has quit IRC13:48
*** flox has joined #zope3-dev13:50
*** rmarianski has quit IRC13:53
*** hazmat has joined #zope3-dev14:05
*** rmarianski has joined #zope3-dev14:08
*** rmarianski has quit IRC14:09
*** rock1 has joined #zope3-dev14:09
*** wreutz has joined #zope3-dev14:11
*** wreutz_ has quit IRC14:11
*** wreutz_ has joined #zope3-dev14:14
*** wreutz has quit IRC14:14
*** rmarianski has joined #zope3-dev14:15
projekt01can somebody try to buildout z3c.form (newest version 1.7.2) from pypi?14:15
*** rock1 is now known as rocky14:16
*** rock1 has joined #zope3-dev14:16
*** timte has joined #zope3-dev14:17
*** rock1 is now known as rocky14:18
*** rock1 has joined #zope3-dev14:18
projekt01malthe reported that my windows based buildout can't extract the zcml files on linux.14:19
*** agroszer has joined #zope3-dev14:19
*** MacYET has joined #zope3-dev14:19
*** ChanServ sets mode: +o hazmat14:20
MacYEThi, what is the recommended way for validating instance attrs defined through a schema upon setattr(..)? Overriding __setattr__()?14:21
*** rmarianski has quit IRC14:22
*** MJ|lunch has quit IRC14:23
*** andres_f has joined #zope3-dev14:23
*** ktenney has joined #zope3-dev14:24
*** andres_f has quit IRC14:27
*** acsr has quit IRC14:27
*** timte has quit IRC14:27
*** wreutz_ has quit IRC14:27
*** goschtl has quit IRC14:27
*** norro has quit IRC14:27
*** bigkevmcd has quit IRC14:27
*** philiKON_ has quit IRC14:27
*** BjornT has quit IRC14:27
*** runyaga_ has quit IRC14:27
*** ktenney has quit IRC14:27
*** agroszer has quit IRC14:27
*** kobold has quit IRC14:27
*** grahal has quit IRC14:27
*** lisppaste6 has quit IRC14:27
*** SteveA has quit IRC14:27
*** dobee has quit IRC14:27
*** lurker has quit IRC14:27
*** jukart has quit IRC14:27
*** sorindregan has quit IRC14:27
*** MacYET has quit IRC14:27
*** natea|boston has quit IRC14:27
*** hazmat has quit IRC14:27
*** projekt01 has quit IRC14:27
*** pelle_ has quit IRC14:27
*** afd_ has quit IRC14:27
*** _basti__ has quit IRC14:27
*** rock1 has quit IRC14:27
*** alga has quit IRC14:27
*** malthe_ has quit IRC14:27
*** jpcw2002 has quit IRC14:27
*** harobed has quit IRC14:27
*** tarek has quit IRC14:27
*** d2m has quit IRC14:27
*** ktwilight has quit IRC14:27
*** mubix has quit IRC14:27
*** jodok has quit IRC14:27
*** b52laptop has quit IRC14:27
*** RB2 has quit IRC14:27
*** dokai has quit IRC14:27
*** quodt has quit IRC14:27
*** toutpt has quit IRC14:27
*** regebro has quit IRC14:27
*** ccomb has quit IRC14:27
*** vod has quit IRC14:27
*** srichter has quit IRC14:27
*** jfroche has quit IRC14:27
*** tlotze has quit IRC14:27
*** pan_ has quit IRC14:27
*** bc has joined #zope3-dev14:31
*** ktenney has joined #zope3-dev14:44
*** bc has left #zope3-dev14:50
*** pan has joined #zope3-dev14:55
*** projekt01 has joined #zope3-dev14:55
*** pelle_ has joined #zope3-dev14:55
*** afd_ has joined #zope3-dev14:55
*** _basti__ has joined #zope3-dev14:55
*** rmarianski has joined #zope3-dev14:55
*** andres has joined #zope3-dev14:55
*** acsr has joined #zope3-dev14:55
*** srichter has joined #zope3-dev14:55
*** rocky has joined #zope3-dev14:55
*** quodt has joined #zope3-dev14:55
*** toutpt has joined #zope3-dev14:55
*** regebro has joined #zope3-dev14:55
*** ccomb has joined #zope3-dev14:55
*** vod has joined #zope3-dev14:55
*** jfroche has joined #zope3-dev14:55
*** irc.freenode.net sets mode: +o srichter14:55
*** jodok has joined #zope3-dev14:55
*** b52laptop has joined #zope3-dev14:55
*** RB2 has joined #zope3-dev14:55
*** dokai has joined #zope3-dev14:55
*** alga has joined #zope3-dev14:55
*** malthe_ has joined #zope3-dev14:55
*** jpcw2002 has joined #zope3-dev14:55
*** harobed has joined #zope3-dev14:55
*** tarek has joined #zope3-dev14:55
*** d2m has joined #zope3-dev14:55
*** ktwilight has joined #zope3-dev14:55
*** mubix has joined #zope3-dev14:55
*** goschtl has joined #zope3-dev14:55
*** hazmat has joined #zope3-dev14:55
*** agroszer has joined #zope3-dev14:55
*** tlotze has joined #zope3-dev14:55
*** MacYET has joined #zope3-dev14:55
*** timte has joined #zope3-dev14:55
*** lurker has joined #zope3-dev14:55
*** norro has joined #zope3-dev14:55
*** bigkevmcd has joined #zope3-dev14:55
*** jukart has joined #zope3-dev14:55
*** sorindregan has joined #zope3-dev14:55
*** philiKON_ has joined #zope3-dev14:55
*** natea|boston has joined #zope3-dev14:55
*** BjornT has joined #zope3-dev14:55
*** runyaga_ has joined #zope3-dev14:55
*** kobold has joined #zope3-dev14:55
*** grahal has joined #zope3-dev14:55
*** lisppaste6 has joined #zope3-dev14:55
*** SteveA has joined #zope3-dev14:55
*** pan has quit IRC14:55
*** pan_ has joined #zope3-dev14:55
*** MacYET has left #zope3-dev14:56
*** faassen has joined #zope3-dev14:58
*** _basti__ has quit IRC15:04
*** danielblackburn_ has joined #zope3-dev15:12
*** lisppaste6 has quit IRC15:17
*** bigkevmcd has quit IRC15:22
*** BjornT has quit IRC15:23
*** norro has quit IRC15:23
*** timte has quit IRC15:23
*** runyaga_ has quit IRC15:23
*** philiKON_ has quit IRC15:23
*** hazmat has quit IRC15:23
*** kobold has quit IRC15:23
*** grahal has quit IRC15:23
*** goschtl has quit IRC15:23
*** SteveA has quit IRC15:23
*** agroszer has quit IRC15:23
*** danielblackburn_ has quit IRC15:23
*** tlotze has quit IRC15:23
*** lurker has quit IRC15:23
*** jukart has quit IRC15:23
*** natea|boston has quit IRC15:23
*** sorindregan has quit IRC15:23
*** mubix has quit IRC15:23
*** jpcw2002 has quit IRC15:23
*** ktwilight has quit IRC15:23
*** d2m has quit IRC15:23
*** alga has quit IRC15:23
*** tarek has quit IRC15:23
*** malthe_ has quit IRC15:23
*** harobed has quit IRC15:23
*** alga has joined #zope3-dev15:23
*** malthe_ has joined #zope3-dev15:23
*** jpcw2002 has joined #zope3-dev15:23
*** harobed has joined #zope3-dev15:23
*** tarek has joined #zope3-dev15:23
*** d2m has joined #zope3-dev15:23
*** ktwilight has joined #zope3-dev15:23
*** mubix has joined #zope3-dev15:23
*** pan_ has quit IRC15:23
*** pelle_ has quit IRC15:23
*** projekt01 has quit IRC15:23
*** afd_ has quit IRC15:23
*** RB2 has quit IRC15:23
*** jodok has quit IRC15:23
*** dokai has quit IRC15:23
*** b52laptop has quit IRC15:23
*** ccomb has quit IRC15:23
*** toutpt has quit IRC15:23
*** vod has quit IRC15:23
*** srichter has quit IRC15:23
*** jfroche has quit IRC15:23
*** quodt has quit IRC15:23
*** regebro has quit IRC15:23
*** rocky has quit IRC15:23
*** danielblackburn_ has joined #zope3-dev15:23
*** goschtl has joined #zope3-dev15:23
*** hazmat has joined #zope3-dev15:23
*** agroszer has joined #zope3-dev15:23
*** tlotze has joined #zope3-dev15:23
*** timte has joined #zope3-dev15:23
*** lurker has joined #zope3-dev15:23
*** norro has joined #zope3-dev15:23
*** bigkevmcd has joined #zope3-dev15:23
*** jukart has joined #zope3-dev15:23
*** sorindregan has joined #zope3-dev15:23
*** philiKON_ has joined #zope3-dev15:23
*** natea|boston has joined #zope3-dev15:23
*** BjornT has joined #zope3-dev15:23
*** runyaga_ has joined #zope3-dev15:23
*** kobold has joined #zope3-dev15:23
*** grahal has joined #zope3-dev15:23
*** SteveA has joined #zope3-dev15:23
*** pan_ has joined #zope3-dev15:23
*** projekt01 has joined #zope3-dev15:23
*** pelle_ has joined #zope3-dev15:23
*** afd_ has joined #zope3-dev15:23
*** jodok has joined #zope3-dev15:24
*** b52laptop has joined #zope3-dev15:24
*** RB2 has joined #zope3-dev15:24
*** dokai has joined #zope3-dev15:24
*** srichter has joined #zope3-dev15:24
*** rocky has joined #zope3-dev15:24
*** quodt has joined #zope3-dev15:24
*** toutpt has joined #zope3-dev15:24
*** regebro has joined #zope3-dev15:24
*** ccomb has joined #zope3-dev15:24
*** vod has joined #zope3-dev15:24
*** jfroche has joined #zope3-dev15:24
*** irc.freenode.net sets mode: +o srichter15:24
*** lisppaste6 has joined #zope3-dev15:28
*** ktenney has left #zope3-dev15:28
*** acsr has quit IRC15:29
*** wreutz has joined #zope3-dev15:32
malthe_tlotze: would you mind uploading a new release of15:34
malthe_  zc.resourcelibrary?15:34
*** rcrafton has joined #zope3-dev15:42
*** jodok has quit IRC15:45
*** rcrafton_ has joined #zope3-dev15:45
whitanybody know of a good template recipe that *doesn't* use cheetah?15:47
afd_simpletal, but it's only good for xml15:47
*** acsr has joined #zope3-dev15:50
*** J1m has joined #zope3-dev15:50
*** ktenney has joined #zope3-dev16:07
*** rcrafton has quit IRC16:07
tlotzemalthe_: np16:08
malthe_tlotze: great thanks16:08
*** ktenney has quit IRC16:09
lurkeram I right in thinking that the Adding view is the only place that checks container constraints and factory permissions?16:12
projekt01malthe_, seems that the issue with line endings for egg extraction isn't fixed in setuptools or something like that16:13
afd_lurker: a container's __setitem__ also does that, as far as I know16:13
afd_at least check the container constraints16:13
lurkerand - is using permissions on factories the right way to solve the "who may add what" issue?16:13
projekt01malthe_, srichter will rebuild and upload the eggs later16:13
malthe_projekt01: gotcha16:13
projekt01and I defently need to go to by a mac16:14
*** wreutz has quit IRC16:14
*** wreutz has joined #zope3-dev16:15
afd_lurker: I think you need to have the permission to add an object in the container (__setitem__), regardless of the object factory16:16
lurkerk, gotta think about that more ;)16:16
*** rmarianski has quit IRC16:20
*** wreutz has quit IRC16:20
*** quodt has quit IRC16:20
*** whit has quit IRC16:20
*** timte has quit IRC16:21
*** quodt has joined #zope3-dev16:21
*** whit has joined #zope3-dev16:21
*** rmarianski has joined #zope3-dev16:21
*** wreutz has joined #zope3-dev16:21
*** timte has joined #zope3-dev16:21
*** jodok has joined #zope3-dev16:22
*** lucielejard has joined #zope3-dev16:22
*** ryanbard has joined #zope3-dev16:24
*** tarek has quit IRC16:26
*** stub has quit IRC16:30
*** jodok has quit IRC16:39
*** dobee has joined #zope3-dev16:41
*** pelle_ has quit IRC16:46
*** pelle_ has joined #zope3-dev16:49
*** jodok has joined #zope3-dev16:56
*** mcdonc has joined #zope3-dev16:59
*** lurker has quit IRC17:00
*** MJ has joined #zope3-dev17:02
*** hdima has quit IRC17:13
*** sorindregan has quit IRC17:16
*** jodok_ has joined #zope3-dev17:22
*** malthe_ has quit IRC17:22
*** malthe_ has joined #zope3-dev17:23
*** jinty has joined #zope3-dev17:23
*** jinty has quit IRC17:32
*** jinty has joined #zope3-dev17:33
rockyis there anyway to override the bin directory for one part use of zc.recipe.egg ? i thought specifying "bin-directory" in that part would do it but apparently it does not17:35
*** jodok has quit IRC17:45
*** andres has quit IRC17:46
*** wreutz_ has joined #zope3-dev17:52
*** wreutz has quit IRC17:52
*** jinty has quit IRC17:54
*** jeffk has joined #zope3-dev17:56
*** projekt01 has quit IRC17:58
*** pelle_ has quit IRC18:16
*** pyqwer has joined #zope3-dev18:24
*** regebro has left #zope3-dev18:25
pyqwerHi, does someone know what has to be done so that vocabularies can be accessed during zope-testing?18:25
afd_zope.component.provideUtility(Factory(your_vocabulary_factory),18:26
afd_                            IVocabularyFactory,18:26
afd_                            'vocabulary_name')18:26
*** tarek has joined #zope3-dev18:27
pyqwerHmmm, I did this: alsoProvides(roleVocabulary, IVocabularyFactory) (in my source).18:27
pyqwerAnd I registered it as a named utility.18:27
*** thruflo has joined #zope3-dev18:30
*** agroszer_ has joined #zope3-dev18:30
afd_pyqwer: you can probably put your class (if you use one for your vocabulary, instead of a factory function)18:31
*** yvl has left #zope3-dev18:31
afd_but you still need to register it as a named utility for IVocabularyFactory18:31
pyqwerafd_: Hmmm, I did register it as a named utility: provideUtility(roleVocabulary, name='roleVocabulary')18:33
pyqwerBut still: VocabularyRegistryError: unknown vocabulary: 'roleVocabulary'18:33
pyqwerI suspect that it has something to do with my test setup. Perhaps some basic vocabulary instance has to be registered in my test setup?)18:34
afd_there's a difference between "alsoProvides" and registering a utility for an interface18:34
afd_the snippet I gave you is how you should do it18:35
pyqwerafd_: Now I have to following two lines after my factory:18:37
pyqweralsoProvides(roleVocabulary, IVocabularyFactory)18:37
pyqwerprovideUtility(roleVocabulary, IVocabularyFactory, name='roleVocabulary')18:37
pyqwerBut I still receive the error.18:37
afd_try:18:37
afd_ provideUtility(Factory(roleVocabulary), IVocabularyFactory, name='roleVocabulary')18:37
afd_from zope.component.factory import Factory18:38
afd_you don't need the "alsoProvides" line18:38
*** thruflo has quit IRC18:38
afd_or so I think...18:39
*** andres has joined #zope3-dev18:39
pyqwerNo, I need the alsoProvides(), as zope3 complains: TypeError: Missing 'provides' attribute18:40
afd_k18:40
pyqwerAnd, unfortunately, using Factory() did also not help.18:40
afd_how do you define the roleVocabulary?18:40
pyqwerdef roleVocabulary(obj): # do something; return vocabulary.SimpleVocabulary(roles)18:41
pyqwerThis should work, it did for me in various other cases.18:41
afd_indeed18:41
pyqwerHmmm, maybe the vocabulary is registered in another site object?18:41
pyqwerOr, better, in the wrong site object?18:42
*** agroszer has quit IRC18:42
*** agroszer_ is now known as agroszer18:42
pyqwerSetting up ftesting is soooo complicated... :-(18:42
afd_I thought you're doing unit testing :)18:42
*** natea|boston has quit IRC18:43
afd_with ftesting you can just register your vocabulary in ftesting.zcml18:43
pyqwerYes, I tried that, too, did not help although.18:43
afd_pyqwer: does it work outside of testing?18:44
pyqwerI think so, although I did not test this specific vocabulary, others do work outside and are done the same.18:44
afd_k18:45
afd_and your ftest layer works properly, right?18:45
afd_you may have some other issues, not with your vocabulary18:45
*** nathany has joined #zope3-dev18:45
pyqwerWell, another *big* issue is security, right.18:45
pyqwerOther things work.18:45
pyqwerI do have problems with interactions, checkers, proxies etc.18:46
*** pelle_ has joined #zope3-dev18:46
pyqwerI just copied parts of ftesting.zcml and test_doc.py from some other project and adapted it.18:47
pyqwerThere are a lot of includes in this ftesting.zcml, perhaps some are missing, I'm unsure.18:47
*** pelle_ has quit IRC18:47
*** danielblackburn_ has quit IRC18:54
pyqwerafd_: Maybe, the VocabularyRegistry is not correctly set up during ftesting, as I cannot retrieve the vocabulary right after registering.19:00
pyqwerBut, I'll quit for today, I'll dig into the zope3 source tomorrow... Thanks for help!19:00
afd_pyqwer: I think you have something wrong with your test setup19:01
afd_if you're doing unit testing, to setup.placefullSetup(True) before19:01
afd_I mean, in the test setup19:01
*** goschtl has quit IRC19:01
pyqwerafd_: unit testing is no problem. But for functional testing, I need some components registered.19:01
afd_if you're doing ftesting, check that your ftesting.zcml is really loaded19:01
afd_and you don't need to register anything for your vocabulary19:02
pyqwerIt is, that's for sure, but there may be something wrong with it.19:02
afd_except the alsoProvides() bit19:02
*** pyqwer has quit IRC19:03
*** jodok_ has quit IRC19:10
*** jodok has joined #zope3-dev19:11
*** MJ has quit IRC19:15
*** ChanServ sets mode: +o hazmat19:15
*** romanofski has quit IRC19:17
mcdoncphiliKON_: where's your screed on commit ettiquette again?19:35
philiKON_mcdonc: http://svn.zope.org/Sandbox/philikon/foundation/19:35
mcdoncty19:35
mcdonchighly useful19:36
philiKON_once the new zope.org is launched, i'll put it there19:37
*** malthe_ has quit IRC19:37
runyaga_are there continuous integration tests on anything besides Zope/ZODB/CMF? i.e. package level tests?19:44
runyaga_in the zope repo?19:44
philiKON_continuous?19:44
runyaga_i guess the main definition is tests ran after a commit is made19:46
philiKON_i'm not sure that the ftest layers commit their setup19:47
philiKON_if so, every ftests would be such a test19:47
philiKON_but i think they throw away the zodb each time19:47
runyaga_sorry19:48
runyaga_wrong page ;)19:48
runyaga_if someone changes z3c.form is there a test that runs19:48
runyaga_i will just go find the buildbot for zope19:49
philiKON_... that runs what?19:49
runyaga_a packages tests19:49
philiKON_aaaaah19:49
philiKON_that kind of commit19:50
philiKON_hehe19:50
philiKON_why didn't you say buildbot19:50
philiKON_:)19:50
philiKON_we used to have a buildbot for the zope3 tree19:50
philiKON_which has become useless19:50
runyaga_bcause of package rearrangement?19:50
philiKON_Theuni had a builbot that would run tests for all packages that had a buildout.cfg in the trunk19:50
philiKON_yes19:50
philiKON_i have no idea about the status of Theuni's buildbot, but i sure hope it'll reach some sort of stable status soon19:51
philiKON_btw, with srichter's KGS, it's become somewhat easier to run "all tests"19:51
philiKON_sorta like in the good old one-big-tree days19:51
*** wreutz_ has quit IRC19:58
*** wreutz has joined #zope3-dev19:59
*** jukart has quit IRC20:01
*** rmarianski has quit IRC20:01
*** wreutz has quit IRC20:01
*** natea|boston has joined #zope3-dev20:04
*** agroszer_ has joined #zope3-dev20:09
*** agroszer_ has quit IRC20:14
*** dunny has joined #zope3-dev20:17
*** agroszer has quit IRC20:18
J1msrichter, zodb 3.8 is released20:19
srichterJ1m: yipee, thanks20:19
*** thruflo has joined #zope3-dev20:23
srichterJ1m: I think we can have an RC for Zope 3.4 then20:23
*** harobed has quit IRC20:23
J1mcool20:23
*** toutpt has quit IRC20:31
*** lucielejard has quit IRC20:32
*** lucielejard has joined #zope3-dev20:32
*** tarek has quit IRC20:38
*** ignas has quit IRC20:47
*** thruflo has left #zope3-dev20:58
*** faassen has quit IRC21:07
*** tarek has joined #zope3-dev21:09
*** jukart has joined #zope3-dev21:11
*** deo has joined #zope3-dev21:16
*** jpcw2002 has left #zope3-dev21:19
*** mkerrin has quit IRC21:21
*** wreutz has joined #zope3-dev21:22
*** rocky is now known as rocky|away21:24
*** rocky|away has quit IRC21:24
*** wreutz has quit IRC21:31
*** whit has quit IRC21:32
*** wreutz has joined #zope3-dev21:33
*** danielblackburn has joined #zope3-dev21:37
*** wreutz has quit IRC21:39
*** wreutz has joined #zope3-dev21:43
*** vod_ has joined #zope3-dev21:44
*** afd_ has quit IRC21:46
*** wreutz has quit IRC21:47
*** vod has quit IRC21:48
*** vod_ is now known as vod21:48
*** vod_ has joined #zope3-dev21:49
*** vod_ has quit IRC21:50
*** wreutz has joined #zope3-dev21:50
*** malthe has joined #zope3-dev21:50
*** rmarianski has joined #zope3-dev21:52
*** quodt has quit IRC21:54
*** jukart has quit IRC21:57
*** nathany has quit IRC21:57
*** natea|boston has quit IRC21:58
*** toutpt has joined #zope3-dev22:02
Theuni~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~[6~/wuibn/win 222:07
Theuniargh. sorry. bad network connection :(22:11
Theunistupid 3g ...22:11
mcdoncTheuni: dont lie, we know you wuibn us22:15
*** jukart has joined #zope3-dev22:17
Theuniwuibn you?22:21
Theunidefinitely22:21
Theunioh. that.22:21
Theunidarn22:22
Theunineed to exit the train though!22:22
Theunineed to exit the train th=)22:22
Theuni*gone*22:22
*** quodt has joined #zope3-dev22:30
*** greenman has joined #zope3-dev22:38
*** d2m has quit IRC22:40
*** ktwilight has quit IRC22:47
*** J1m has quit IRC22:49
*** ktwilight has joined #zope3-dev22:53
*** toutpt has quit IRC23:14
*** alga has quit IRC23:30
*** jpcw2002 has joined #zope3-dev23:37
*** natea|boston has joined #zope3-dev23:47
*** harobed has joined #zope3-dev23:48
*** greenman has quit IRC23:56

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