IRC log of #zope3-dev for Monday, 2008-03-17

*** thruflo has left #zope3-dev00:06
*** jodok has joined #zope3-dev00:22
*** norro_ has quit IRC00:39
*** alga has joined #zope3-dev00:41
*** sunew has quit IRC00:46
*** mcdonc has quit IRC00:54
*** jodok has quit IRC01:19
*** rocky has quit IRC01:27
*** d2m has quit IRC01:31
*** pcardune_vm_ has joined #zope3-dev01:38
*** pcardune_vm_ is now known as pcardune_vm01:38
*** ignas has quit IRC02:07
*** ignas has joined #zope3-dev02:09
*** pcardune has quit IRC02:40
*** mcdonc has joined #zope3-dev02:45
*** norro has quit IRC02:46
*** ignas has quit IRC02:50
*** mcdonc_ has joined #zope3-dev02:52
*** pcardune_vm has quit IRC02:57
*** jinty has joined #zope3-dev03:08
*** b52laptop has quit IRC03:09
*** mcdonc has quit IRC03:09
*** mcdonc_ has quit IRC03:21
*** reco has quit IRC03:54
*** acsr has joined #zope3-dev04:14
*** acsr_ has quit IRC04:15
*** greenman has quit IRC04:28
*** alga has quit IRC04:39
*** jinty has quit IRC04:40
*** greenman has joined #zope3-dev05:25
*** acsr_ has joined #zope3-dev05:44
*** acsr has quit IRC05:44
*** greenman has quit IRC05:59
*** ignas has joined #zope3-dev06:01
*** acsr has joined #zope3-dev06:14
*** acsr_ has quit IRC06:15
*** ignas has quit IRC06:34
*** CSWookie has joined #zope3-dev06:36
*** CSWookie has left #zope3-dev06:37
*** greenman has joined #zope3-dev06:38
*** tarek has joined #zope3-dev06:52
*** greenman has quit IRC06:52
*** tarek has quit IRC06:59
*** menesis has joined #zope3-dev07:41
*** acsr_ has joined #zope3-dev07:43
*** yvl has joined #zope3-dev07:44
*** acsr has quit IRC07:44
*** romanofs2i has quit IRC07:52
*** Theuni has quit IRC07:52
*** BjornT has quit IRC07:52
*** ejucovy has quit IRC07:52
*** hazmat has joined #zope3-dev07:55
*** ChanServ sets mode: +o hazmat07:55
*** ejucovy has joined #zope3-dev07:55
*** Theuni has joined #zope3-dev07:55
*** BjornT has joined #zope3-dev07:58
*** menesi1 has joined #zope3-dev08:02
*** menesis has quit IRC08:02
*** menesi1 is now known as menesis08:02
*** philiKON_ has joined #zope3-dev08:13
*** menesi1 has joined #zope3-dev08:25
*** menesis has quit IRC08:25
*** menesi1 is now known as menesis08:25
*** philiKON has quit IRC08:31
*** menesi1 has joined #zope3-dev08:32
*** menesis has quit IRC08:32
*** menesi1 is now known as menesis08:33
*** greenman has joined #zope3-dev08:34
*** jukart has joined #zope3-dev08:43
*** quodt has joined #zope3-dev08:53
*** sorin has joined #zope3-dev09:00
*** sorin is now known as sorindregan09:00
*** yvl has quit IRC09:05
*** __mac__ has joined #zope3-dev09:06
*** hazmat has quit IRC09:06
*** zagy has joined #zope3-dev09:06
*** kursor has joined #zope3-dev09:07
*** yvl has joined #zope3-dev09:08
*** d2m has joined #zope3-dev09:20
*** afd_ has joined #zope3-dev09:23
*** romanofski has joined #zope3-dev09:29
*** yvl has quit IRC09:45
*** markusleist has quit IRC09:47
*** yvl has joined #zope3-dev09:47
*** jpcw2002 has joined #zope3-dev10:10
*** acsr has joined #zope3-dev10:15
*** acsr_ has quit IRC10:15
*** tarek has joined #zope3-dev10:25
*** dobee has joined #zope3-dev10:28
*** jayaraj has joined #zope3-dev10:33
*** dobee has joined #zope3-dev10:36
*** bigkevmcd has joined #zope3-dev10:38
jayarajhi friends need advice here!.... which is the best and standard way to mark an object created by a user as owned by him... and i dont want other users to see those objects any way.... how about using principal metadata to point to ones objects? i know it can be done...but need to know which is the standard way to solve the problems like user profile and user owned objects....10:39
*** goschtl has joined #zope3-dev10:41
*** __mac__ has left #zope3-dev10:46
*** MJ has joined #zope3-dev10:53
*** malthe has quit IRC10:56
*** harobed has joined #zope3-dev11:00
*** maurits has joined #zope3-dev11:05
afd_jayaraj: create a new Owner role, assign this role to the user for his objects, you can then, for example, make a special interface that can be used in indexing those objects in the catalog for easy retrieval ("all objects for this user" type of query)11:08
jayarajic11:09
*** agroszer has joined #zope3-dev11:10
*** acsr has quit IRC11:16
*** yvl has quit IRC11:18
*** acsr has joined #zope3-dev11:20
jayarajafd_ so when ever a new user is created i should create a new role also! right?11:20
afd_jayaraj: no11:21
afd_just a "Owner" role11:21
afd_you assign this role to a principal, for an object11:21
jayarajk11:21
afd_check out IPrincipalRoleManager11:21
jayarajafd_ let me see11:22
jayarajafd_ i was about to make an index for each user to hold thier own objects and store the reference to it in the principal metadata.. but i had an intution that its not a standard way...11:24
*** jodok has joined #zope3-dev11:27
*** b52laptop has joined #zope3-dev11:30
*** yvl has joined #zope3-dev11:37
*** malthe has joined #zope3-dev11:40
*** jodok_ has joined #zope3-dev11:42
*** jodok has quit IRC11:42
*** jodok has joined #zope3-dev11:44
*** jodok_ has quit IRC11:44
*** thruflo has joined #zope3-dev11:45
*** greenman has quit IRC11:49
*** norro has joined #zope3-dev11:51
*** jodok has quit IRC11:58
*** jodok has joined #zope3-dev11:59
*** ktwilight_ has joined #zope3-dev12:02
*** dunny has quit IRC12:03
*** jodok has quit IRC12:06
*** jodok has joined #zope3-dev12:07
*** kursor has quit IRC12:09
*** acsr_ has joined #zope3-dev12:10
*** acsr has quit IRC12:10
*** ktwilight has quit IRC12:15
*** jodok has quit IRC12:17
*** jodok_ has joined #zope3-dev12:17
*** jodok_ has quit IRC12:35
*** jodok has joined #zope3-dev12:35
*** rocky has joined #zope3-dev12:39
*** stub has joined #zope3-dev12:49
*** jodok has quit IRC12:51
*** b52laptop has quit IRC13:02
*** b52laptop has joined #zope3-dev13:03
rockyanyone here having problems accessing svn.zope.org ? (i am)13:11
goschtlrocky: i am too  :(13:13
rockyi only noticed because all my buildouts stopped working :(13:14
*** jodok has joined #zope3-dev13:19
FFightergoschtl, might ask on Plone or Zope channel... or even python. I experienced this once before13:19
FFighterand someone told me the server was under maintenance13:20
FFighterit didn't take too much for the server to come back online13:20
*** acsr has joined #zope3-dev13:22
*** acsr_ has quit IRC13:22
*** yvl has quit IRC13:28
*** faassen has joined #zope3-dev13:29
*** yvl has joined #zope3-dev13:29
*** MJ is now known as MJ|out13:30
*** tarek has quit IRC13:30
faassenis  [www|svn].zope.org down or is this just me?13:36
goschtlfaassen: seems to be down!!!13:37
faassenbenji: checking at the source.. does it work for you guys?13:37
benjifaassen: gotta go now; I'll be back in about an hour13:44
*** benji has quit IRC13:44
faassenhm, it works now. :)13:48
*** niemeyer has joined #zope3-dev13:58
*** tarek has joined #zope3-dev13:59
*** MJ|out has quit IRC14:07
*** MJ has joined #zope3-dev14:08
*** acsr_ has joined #zope3-dev14:15
*** acsr has quit IRC14:17
*** jpcw2002 has quit IRC14:22
*** alga has joined #zope3-dev14:31
*** benji_ has joined #zope3-dev14:36
*** jpcw2002 has joined #zope3-dev14:39
*** acsr_ has quit IRC14:45
*** acsr has joined #zope3-dev14:46
*** faassen has quit IRC14:47
*** alga_ has joined #zope3-dev14:55
*** alga_ has quit IRC14:56
*** lucielejard has joined #zope3-dev15:02
*** djohnson has joined #zope3-dev15:03
*** derek|home has quit IRC15:06
*** J1m has joined #zope3-dev15:16
*** salfield has joined #zope3-dev15:16
*** wiggy has joined #zope3-dev15:17
wiggyj1m: can you give me some sourcerelease hints?15:17
wiggyso far I've only gotten it to enter an infinite loop in _relative15:17
J1mwiggy, That's odd.15:17
J1mI've never seen an infinite loop.15:17
J1mwhat sort of hints would you like?15:18
wiggy_relative('/tmp/zc/release/eggs', '/tmp/tmpjX_KHqsource-release1/release') does that15:18
wiggyit stripts off bits from the first one but never ends up with the second15:18
wiggyand it keeps looping at / and never aborts15:18
wiggyJ1m: how to invoke properly would be helpful15:18
wiggywhat I extract from the doctests does not work for me15:18
wiggythat suggests it is just <script> <path to configfile>15:19
wiggybut you need a second parameter pointing to a url with the buildout15:19
wiggyI'm testing with this line now: buildout-source-release file:///tmp/zc/release /tmp/zc/release/buildout.cfg15:19
J1mThe usual thing is: builtout-source-release somesvntagurl soemconfig15:20
wiggywhere someconfig is a standard buildout.cfg ?15:20
J1mfile urls are another option.15:21
J1mYes.15:21
wiggyhm, that works better15:21
wiggyseems sourcerelease is not happy if the configfile is in a path inside the buildout itself15:21
*** rcrafton has joined #zope3-dev15:22
J1mno, the source release expects the buildout config to be in the buildout.15:22
J1mIt expects the given file to be at the top of the project.15:23
J1m(It may be more flexible than that, but that's all I've tested.)15:23
wiggyin my test line buildout.cfg is in the top of the buildout15:23
J1mIf you look at the tests, the test uses a buildout with the buildout.cfg in the top of the buildout.15:24
J1m(It also shows the correct syntax.)15:24
wiggythe doctest as I see it on pypi appears to have a syntax error15:25
wiggyperhaps that's what is confusing me15:25
J1mWhere do you think it has a syntax error?15:26
J1mThe tests pass.15:26
wiggyah, the infamous trailing , for print15:27
wiggy    >>> print system(join('bin', 'buildout-source-release')15:27
wiggy    ...        +' file://'+sample+' buildout.cfg'),15:27
wiggythat only has a single parameter15:27
J1mwhat about it?15:27
*** yvl has left #zope3-dev15:28
*** rcrafton has quit IRC15:28
*** rcrafton has joined #zope3-dev15:28
wiggyif I run it with a single parameter I get "pop from empty list"15:28
J1mso don't do that. That isn't correct usage.15:29
wiggybut isn't that exactly what that doctest is doing there?15:29
J1mNo, it is passing 2 arguments, the file URL and the name of the buildout config.15:30
J1mThere's a space at the beginning of: ' buildout.cfg'15:30
wiggyso there is15:31
wiggyshell commands written in python are too hard to read for me it seems15:31
wiggyit seems to break if you make a sourcerelease for a buildout which happens to not use zc.recipe.egg15:32
J1mI don't see why.15:33
J1mThey key is that any downloading done will need to honor the download cache.15:33
wiggyWe have no distributions for zc.recipe.egg that satisfies 'zc.recipe.egg'.15:33
J1manything based on zc.recipe.egg or zc.recipe.cmmi will do that.15:34
*** J1m has quit IRC15:34
* wiggy wonders if plone.recipe.plone does something weird15:34
*** acsr has quit IRC15:43
*** J1m has joined #zope3-dev15:48
*** acsr has joined #zope3-dev15:48
*** rocky has quit IRC15:51
*** rocky has joined #zope3-dev15:52
wiggyhighly odd, zc.recipe.egg refuses to be included in the sourcerelease15:54
*** menesi1 has joined #zope3-dev15:55
*** menesis has quit IRC15:55
*** menesi1 is now known as menesis15:56
J1munbeliveable even15:59
wiggyit appears to be 100% reproducable16:00
wiggypaster create -t plone3_buildout16:00
wiggyand try to sourcerelease the result of that16:00
wiggyzc.recipe.egg is a dependency of plone.recipe.plone and pulled in if I run buildout by hand16:01
* wiggy puzzled16:01
*** reco has joined #zope3-dev16:04
*** b52laptop has quit IRC16:05
*** b52laptop has joined #zope3-dev16:06
*** menesi1 has joined #zope3-dev16:06
*** menesis has quit IRC16:06
* J1m boots vm where I make source releases16:06
*** menesi1 is now known as menesis16:07
J1mwiggy, what makes you think zc.recipe.egg isn't being included?16:08
wiggyit isn't in the tgz and running install.py aborts with an error that it can't be found16:09
J1mI don't know what's going on for you. We make lots of source releases and they all include zc.recipe.egg.16:09
wiggyI wish I knew16:10
wiggyI removed my ~/.buildout/default.cfg and get another fun one now16:10
wiggyOSError: [Errno 17] File exists: '/tmp/tmpFLVZessource-release2/release/eggs'16:10
wiggyah, I know why that is16:10
wiggyI ran buildout in there so it isn't a clean source anymore16:10
J1mIf you want to give me an svn tag and a config file name, I can try to reproduce the problen you're having later.16:11
J1mwith emphasis on later16:11
wiggysure16:11
*** markusleist has joined #zope3-dev16:12
wiggyJ1m: http://code.simplon.biz/svn/test/release buildout.cfg16:13
J1mwiggy, when I ran that, zc.recipe.egg was included in the tar ball.16:19
wiggyI was afraid you were going to say that16:20
J1malthough the source release is a bit odd in other ways.16:21
wiggyin what ways?16:22
J1mactually, mayeb not16:23
J1mnope, It's fine.16:24
wiggydo you have any things for things I can look at to figure out why it doesn't work here?16:25
J1mI got confised by the "release" directory name, which resulted from the url.16:25
J1mare you using your system Python?16:25
wiggyvirtualenv16:25
J1mI'm not about to debug that.16:25
J1mI'm using a Python installed from source.16:26
J1mGood luck.16:26
*** acsr has quit IRC16:26
wiggythanks16:26
wiggyI'll wait to see if the customer picks this option before investing too much time into it16:26
*** jodok has quit IRC16:28
*** pcardune has joined #zope3-dev16:28
*** pcardune_vm has joined #zope3-dev16:28
J1mIs zc.recipe.egg installed in your virtualenv?16:30
*** tarek has quit IRC16:31
wiggyno16:31
wiggyI created the virtualenv just to test this16:31
J1mHave you checked your virtualenv site-packages?16:32
wiggyhuh16:32
wiggyit is16:32
* wiggy wonders why16:33
wiggyoh, it is because zc.sourcerelease requires it16:33
*** acsr has joined #zope3-dev16:33
* J1m shakes his head16:34
wiggyis there a way around that?16:36
J1msure, don't install eggs into site-packages.16:36
*** djohnson has quit IRC16:37
wiggyyes, it's there because the virtualenv easy_install pulled it in when I installed zc.sourcerelease16:37
J1mI should probably add an option to zc.buildout to specifically exclude site packages.16:38
J1meventually16:38
benji_ooh, that'd be nice16:38
benji_could it be the default? ;)16:39
benji_no, I'm not volunteering16:39
wiggyzc.sourcerelease explicitly requires zc.recipe.egg it seems so that sounds logical16:45
wiggyhowever zc.buildout and setuptools do work and are also in site-packages16:46
* wiggy still feels lost too often in this egg world16:46
wiggyhow should I install sourcerelease then?16:47
wiggyI wouldn't know how to install something like zc.sourcerelease without installing its dependencies in site-packages16:48
J1mInstall it in a buildout.16:49
wiggyput it in its own buildout maybe so you get a wrapper and local eggs16:49
J1mMy home directory is a buildout and my ~bin directiory contains various scripts I use.16:49
J1mThis is described in the buildout tutorial.16:50
*** ignas has joined #zope3-dev17:00
wiggysweet, that works17:08
*** sp0cksbeard has joined #zope3-dev17:10
*** b52laptop has quit IRC17:13
*** b52laptop has joined #zope3-dev17:27
*** menesi1 has joined #zope3-dev17:27
*** menesis has quit IRC17:27
*** menesi1 is now known as menesis17:27
*** mcdonc has joined #zope3-dev17:28
*** stub has quit IRC17:32
*** djohnson has joined #zope3-dev17:36
*** acsr has quit IRC17:38
*** rmarianski has joined #zope3-dev17:42
*** acsr has joined #zope3-dev17:43
*** d2m has quit IRC17:43
*** nathany has joined #zope3-dev17:46
*** MJ has quit IRC17:46
*** tarek has joined #zope3-dev17:49
*** sorindregan has quit IRC17:51
*** alga has quit IRC17:54
*** alecm has joined #zope3-dev17:59
*** d2m has joined #zope3-dev18:00
*** wiggy has quit IRC18:04
*** alga has joined #zope3-dev18:08
*** redir has joined #zope3-dev18:14
*** alga has quit IRC18:15
*** alga has joined #zope3-dev18:15
*** niemeyer has quit IRC18:18
*** redir has quit IRC18:18
*** redir has joined #zope3-dev18:20
*** romanofski has quit IRC18:22
*** dobee has quit IRC18:25
*** menesis has quit IRC18:26
*** mgedmin has joined #zope3-dev18:26
*** goschtl has quit IRC18:32
*** niemeyer has joined #zope3-dev18:33
*** jukart has quit IRC18:36
*** b52laptop has quit IRC18:37
*** regebro has joined #zope3-dev18:38
*** reedobrien has joined #zope3-dev18:42
*** acsr has quit IRC18:43
*** djohnson has quit IRC18:44
*** dobee_ has joined #zope3-dev18:48
*** redir has quit IRC18:50
*** dobee_ has quit IRC18:50
*** acsr has joined #zope3-dev18:51
*** tarek has quit IRC19:06
*** jukart has joined #zope3-dev19:18
*** maurits has quit IRC19:20
*** whit has joined #zope3-dev19:20
*** whit has quit IRC19:22
*** jayaraj has quit IRC19:22
*** srichter has joined #zope3-dev19:27
*** agroszer has quit IRC19:32
*** jukart has quit IRC19:35
*** agroszer has joined #zope3-dev19:35
*** jukart has joined #zope3-dev19:35
*** markusleist has quit IRC19:43
*** FFighter has quit IRC19:45
*** malthe has quit IRC19:49
*** reedobrien has quit IRC19:54
*** rmarianski has quit IRC19:56
*** RaFromBRC has joined #zope3-dev20:03
*** jpcw2002 has left #zope3-dev20:09
*** jukart has quit IRC20:12
*** harobed_ has joined #zope3-dev20:14
*** pcardune_vm has quit IRC20:25
*** salfield has quit IRC20:26
*** dunny has joined #zope3-dev20:27
*** agroszer has quit IRC20:33
*** acsr has quit IRC20:43
*** thruflo has quit IRC20:43
*** acsr has joined #zope3-dev20:49
*** quodt has quit IRC20:54
*** mgedmin has quit IRC21:01
*** rmarianski has joined #zope3-dev21:02
*** redir has joined #zope3-dev21:10
*** greenman_ has joined #zope3-dev21:11
*** jukart has joined #zope3-dev21:17
*** alga has quit IRC21:17
*** dobee has joined #zope3-dev21:20
*** salfield has joined #zope3-dev21:24
*** acsr_ has joined #zope3-dev21:24
*** acsr has quit IRC21:24
*** jpfarias has joined #zope3-dev21:29
*** jpfarias has left #zope3-dev21:29
*** jukart has quit IRC21:36
*** djohnson has joined #zope3-dev21:45
*** jsadjohnson has quit IRC21:46
*** pcardune has quit IRC21:49
*** pcardune has joined #zope3-dev21:49
*** pcardune_vm_ has joined #zope3-dev21:49
*** pcardune_ has joined #zope3-dev21:52
*** pcardune_ has quit IRC21:52
*** pcardune has quit IRC21:52
*** pcardune has joined #zope3-dev21:53
*** pcardune_vm_ is now known as pcardune_vm21:56
*** acsr_ has quit IRC22:43
*** RaFromBRC is now known as RaFromBRC|lunch22:46
*** regebro has left #zope3-dev22:56
*** tarek has joined #zope3-dev23:00
*** benji_ has quit IRC23:01
*** acsr has joined #zope3-dev23:02
*** greenman_ has quit IRC23:04
*** afd_ has quit IRC23:07
*** kev__ has joined #zope3-dev23:34
*** srichter has quit IRC23:34
*** greenman_ has joined #zope3-dev23:35
*** RaFromBRC|lunch is now known as RaFromBRC23:48
*** sunew has joined #zope3-dev23:52
*** tarek has quit IRC23:53
*** rmarianski has quit IRC23:54
*** d2m has quit IRC23:56

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