IRC log of #zope3-dev for Monday, 2008-04-28

*** natea_ has quit IRC00:16
*** harobed has quit IRC00:16
*** junkafarian has quit IRC00:18
*** gstratton has quit IRC00:19
*** junkafarian has joined #zope3-dev00:23
*** tarek has joined #zope3-dev00:37
*** vimes656 has joined #zope3-dev00:38
*** vimes656 has quit IRC00:39
*** whit has joined #zope3-dev00:41
*** mcdonc has joined #zope3-dev00:53
*** sunew has joined #zope3-dev00:58
*** regebro has left #zope3-dev01:00
*** sunew has quit IRC01:01
*** whit has quit IRC01:05
*** whit has joined #zope3-dev01:05
*** MrTopf has quit IRC01:16
*** norro has quit IRC01:39
*** quodt has quit IRC01:57
*** alecm has joined #zope3-dev02:25
*** Jell-O-Fishi has quit IRC02:25
*** alecm has quit IRC02:38
*** Craig has joined #zope3-dev02:40
*** junkafarian has quit IRC02:41
*** pcardune has quit IRC02:44
*** Craig has quit IRC02:44
*** andres has joined #zope3-dev02:53
*** pcardune has joined #zope3-dev03:09
*** b52laptop has quit IRC03:18
*** alga has quit IRC03:25
*** mcdonc has quit IRC03:57
*** fairwinds has joined #zope3-dev03:57
fairwindsHey paul. I'm here03:58
*** tarek has quit IRC03:59
pcardunefairwinds: hi04:14
pcardunefairwinds: so I checked something in to my sandbox04:14
fairwindspcardune: hey paul, well we are connecting, that's a good thing.04:15
pcardunefairwinds: it looks like we are going to have some trouble with conf.py... it seems to be hard coded into their scripts *yuck*04:15
fairwindspcardune: Hmm let me see what you have04:15
* pcardune has never written a proper buildout before04:15
pcardunes/buildout/recipe04:16
*** mcdonc has joined #zope3-dev04:21
fairwindspcardune: Let me check this out. I just want to see what we are getting with this. This seems to take care of configuration. Yes. I am not keen on the conf.py they're using either.04:22
pcardunefairwinds: we can get around it, but it won't be that pretty04:22
fairwindspcardune: One other way I was thinking about this was perhaps just to put sphinx together in an egg but point out of the package to checked out package in the same folder. This way you can use a single sphinx and not clutter the zope packages for the sake of documentation.04:26
*** greenman has quit IRC04:26
pcardunefairwinds: I'm not sure I understand, can you give me an example?04:27
*** greenman has joined #zope3-dev04:28
fairwindspcardune: I'll try. Lets say I have a folder that I am checking out my development packages into. I'd check out the sphinx documention package (ie z3c.sphinx or whatever)  and run the buildout. I'd then checkout the package I am working on. Then run sphinx-quickstart from the sphinx package but have the document root be the root of the development package.04:31
pcarduneoh i see04:31
pcardunefairwinds: but that does not really follow the pattern people typically use to work on a specific package.04:32
fairwindspcardune: You'd end up without have to build into each package04:32
pcardunetrue, but I think adding things to buildout.cfg is a reasonable requirement04:32
pcarduneWe want the lowest barrier to entry for fixing documentation too04:33
pcarduneIf someone wants to fix spelling/grammer/etc errors, they should be able to checkout the single package itself, make changes, and build the documentation right there04:33
pcardunejust like running tests04:34
fairwindspcardune:  I am just throwing this out as an idea. I agree with your statements for sure04:35
fairwindspcardune: So we'd add the buildout stuff I came up with to buildout.cfg and use your recipe for conf.py correct04:35
pcarduneand I agree with you that we want to add as little as possible to the current packages04:36
pcardunefairwinds: something like that04:36
pcarduneI think my buildout script manages to pull in sphinx and create a script that is exactly the same as sphinx-build04:37
pcarduneI don't think we need the sphinx-quickstart or sphinx-web scripts04:37
pcardunethe problem is that sphinx-build takes a source directory argument (usually just .) and expects to find a conf.py in there04:38
fairwindspcardune: Ahh - ok, I should likely run it first. I agree, these other scripts are likely unnecessary04:38
pcarduneso if conf.py lives in parts, then you have to specify the parts directory as the source... but then none of the actual documentation (which does not live in the parts directory) gets pulled in04:39
pcardunefairwinds: by the way, I tried out the recipe with z3c.form by adding this to the buildout.cfg:04:39
pcardune[docs]04:39
pcardunerecipe = z3c.recipe.sphinxdoc:sphinxdoc04:39
pcarduneeggs = z3c.form04:39
fairwindspcardune: I think its really bad to expect conf.py at root of project. It would have been much better if it was named sphinx-conf.py at the least04:40
pcarduneyeah, I bet they would be happy to change it for us04:41
pcarduneor we could be highly proactive and fix it ourselves and send them a patch04:41
pcarduneit is after all still in "alpha" mode04:41
fairwindspcardune: Give me about 20 min. I am going to give your recipe a go. Yes about the patch idea. What would be better is a ini style config but they are doing something funky with pickling.04:42
pcarduneoh really?  I'll take a closer look at their code04:42
fairwindspcardune: It would be good if the conf.py did not have to live at our doc root but could be relative to it as well.04:43
mcdoncftr, i have no context here but I wanted to mention this (very rough) patch to sphinx's autodoc that allows you to point at zope interfaces for docs...http://www.plope.com/Members/chrism/sphinx_autointerface_patch04:43
fairwindsmcdonc: was not aware of this. Can you tell us more about this.04:45
mcdoncwell, it's just a sketch..  it really should be its own plugin, but it's a patch to sphinx' autodoc (which grabs docstrings from classes and modules).  that thing doesn't work against interfaces (because they're not really classes).  but with this patch it does.04:46
mcdoncit generates stuff like what's at http://plope.com/static/misc/sphinxtest/intro.html#module-repoze.who.interfaces04:47
pcardunemcdonc: ooo, that looks highly useful04:47
mcdonc(given the input at the end of http://svn.repoze.org/repoze.who/trunk/README.txt)04:48
fairwindsmcdonc: yup. looks really good.04:48
mcdoncyeah i haven't had the energy to make it its own plugin04:48
mcdoncif it was i suspect georg would just put it in04:48
*** sm has quit IRC04:48
fairwindsmcdonc: Wow, you've been busy with this for sure.04:49
pcardunemcdonc: are you going to have the energy in the near future?04:49
mcdoncnot really, it took about an hour, the sphinx code is very hackable04:49
mcdonci'd like to say yes, but it's likely no :-(04:50
mcdoncat least until i need to release more docs04:50
fairwindsmcdonc: have you tried zpt with template bridge?04:50
pcardunemcdonc: ok, well what you got there is a great starting point for someone to make an extension04:50
mcdoncno, i haven't.. did you make one?  i actually haven't used any templating in sphinx yet...04:50
fairwindsmcdonc: I am not crazy about the language they use. zpt fits my head04:51
mcdoncso you wrote a template bridge for zpt?04:51
pcardunemcdonc: they are jinja templates, which are basically django templates04:51
fairwindsmcdonc: not yet but there is a template bridge in the code to permit some other templating languages to be used04:52
mcdoncyeah i saw that... i'm not much of a fan of that templating style (just because it's something else i have to learn ;-) )04:52
fairwindsmcdonc: uh huh me too :-)04:53
mcdoncah ok... well, if i were to go after that i'd probably try to plug in dtml, because i dont much like using zpt to template not-xml04:53
mcdonci think it's great you're thinking hard about how to give people a place to hang renderable docs for z3 packages btw04:54
mcdoncits very important04:54
pcardunemcdonc: the templating is actually producing (x)html04:54
mcdoncah ok... yeah i havent really used it yet, so i have no context there04:55
fairwindspcardune: I am checking out you stuff. I'm going  be back soon04:55
pcardunefairwinds: ok04:55
fairwindspcardune: ok I'm back. I've got it built with z3c.form. So conf.py was made within docs part. How does this work for CHANGES and documents further up the tree?05:26
pcardunefairwinds: it doesn't :)05:26
pcardunefairwinds: that is why we need to patch sphinx to handle relative conf.py paths05:27
pcarduneor just alternate conf.py paths in general05:27
fairwindspcardune: Absolutely05:27
fairwindsI get the doc's help. I didn't build docs yet. Can you give me the args to pass to ./bin/docs. BTW. I checked out trunk. Perhaps I should have checked your branch but it had the templates etc already.05:29
*** malthe has quit IRC05:30
pcarduneyeah, best to check out trunk05:31
pcarduneI think what i used was ./bin/docs . parts/docs/z3c.form/build05:31
pcarduneor something to that effect05:32
fairwindspcardune: ok. I'll give it a go.05:33
*** edgordon has quit IRC05:34
fairwindspcardune: I'll have a bit of time to play with this tomorrow am for a bit. I'll be able to provide some better feedback once I try a few thinks with it. It looks like a good way to go if we can work out the conf issues.  Are you subscribed to the sphinx list?05:38
pcardunefairwinds: nope, are you?05:38
fairwindsYes05:38
pcardunefairwinds: what is the url?05:38
pcarduneah i see it05:39
fairwindsmailto:sphinx-dev@googlegroups.com05:39
fairwindspcardune: We probably should communicate to see whether there's some flexibility for the configuration file and to see if sphinx can handle the docs relative to it at the least. I'll see if I can find out more about the template bridge since I am not the only zope person that's likely to want to stick with familiar zpt or ctal05:41
pcardunefairwinds: ok, sounds good.  I just joined the group05:42
fairwindsOk good. I think that's about it for this evening. I'll contact you tomorrow after I have had more time to look at the recipe and see what else we may need to do. We've made a good beginning and looking forward to the results for sure05:44
pcardunefairwinds: ok, talk to you later05:45
fairwindspcardune: If you are on chat tomorrow. I will be around tomorrow probably closer to 11:30 in the evening my time05:47
pcardunefairwinds: yeah, I'll be around05:47
fairwindspcardune: Ok good, talk to you then.05:47
*** fairwinds has left #zope3-dev05:48
*** whit has quit IRC05:58
*** stub has joined #zope3-dev06:00
*** salfield has quit IRC06:09
*** mcdonc has quit IRC06:19
*** mcdonc has joined #zope3-dev06:58
*** greenman has quit IRC07:09
*** derek|laptop has quit IRC07:46
*** nathany has quit IRC07:48
*** hazmat has quit IRC07:50
*** baijum has joined #zope3-dev08:03
*** romanofski has quit IRC08:13
*** timte has quit IRC08:18
*** timte has joined #zope3-dev08:19
*** jayaraj has joined #zope3-dev08:23
*** alecm has joined #zope3-dev08:30
*** alecm_ has joined #zope3-dev08:40
*** alecm has quit IRC08:40
*** jukart has joined #zope3-dev08:43
*** Aiste has joined #zope3-dev08:47
*** srichter has quit IRC08:51
*** ktwilight_ has quit IRC08:55
*** ktwilight_ has joined #zope3-dev08:56
*** alecm_ has quit IRC08:57
*** __mac__ has joined #zope3-dev09:04
*** quodt has joined #zope3-dev09:12
*** stub has quit IRC09:20
*** philiKON_ has joined #zope3-dev09:27
*** romanofski has joined #zope3-dev09:32
*** projekt01 has joined #zope3-dev09:34
*** philiKON has quit IRC09:43
*** MJ has joined #zope3-dev09:46
*** zagy has joined #zope3-dev09:52
*** pcardune has quit IRC09:53
*** afd__ has quit IRC10:09
*** ccomb has joined #zope3-dev10:11
*** pelle_ has joined #zope3-dev10:14
*** jpcw2002 has quit IRC10:20
*** bigkevmcd has joined #zope3-dev10:22
*** junkafarian has joined #zope3-dev10:24
*** jayaraj_ has joined #zope3-dev10:32
*** jayaraj has quit IRC10:35
*** jpcw2002 has joined #zope3-dev10:38
*** MJ has quit IRC10:44
*** seletz has joined #zope3-dev10:45
*** tarek has joined #zope3-dev10:51
*** gimni has joined #zope3-dev10:52
*** greenman has joined #zope3-dev10:56
*** __mac__ has quit IRC11:02
*** jukart has quit IRC11:04
*** __mac__ has joined #zope3-dev11:04
*** jukart has joined #zope3-dev11:04
*** goschtl has joined #zope3-dev11:08
*** norro has joined #zope3-dev11:20
*** kursor has joined #zope3-dev11:28
*** jinty has joined #zope3-dev11:29
*** maurits has joined #zope3-dev11:46
*** MJ has joined #zope3-dev11:48
*** jinty has quit IRC11:55
*** jinty has joined #zope3-dev12:00
*** tarek has quit IRC12:03
*** tarek has joined #zope3-dev12:07
*** ktwilight_ has quit IRC12:26
*** ktwilight_ has joined #zope3-dev12:27
*** b52laptop has joined #zope3-dev12:33
*** alga has joined #zope3-dev12:46
*** b52laptop has quit IRC13:00
*** b52laptop has joined #zope3-dev13:03
*** vimes656 has joined #zope3-dev13:04
*** mkerrin has joined #zope3-dev13:05
*** timte has quit IRC13:06
*** stub has joined #zope3-dev13:11
*** tarek has quit IRC13:13
*** edgordon has joined #zope3-dev13:20
*** jsadjohnson has joined #zope3-dev13:22
*** tarek has joined #zope3-dev13:27
*** J1m has joined #zope3-dev13:39
*** salfield has joined #zope3-dev13:47
*** pelle_ has quit IRC14:00
*** timte has joined #zope3-dev14:02
*** ccomb has quit IRC14:11
*** gimni_ has joined #zope3-dev14:38
*** stu1 has joined #zope3-dev14:44
*** ignas has joined #zope3-dev14:48
*** gimni has quit IRC14:56
*** dunny has quit IRC14:56
*** stub has quit IRC15:03
*** b52laptop has quit IRC15:14
*** niemeyer has joined #zope3-dev15:20
*** b52laptop has joined #zope3-dev15:23
*** J1m has joined #zope3-dev15:25
*** benji has joined #zope3-dev15:29
*** greenman has quit IRC15:31
*** stu1 has quit IRC15:34
*** stub has joined #zope3-dev15:37
*** jukart has quit IRC15:46
*** b52laptop has quit IRC15:47
*** b52laptop has joined #zope3-dev15:47
*** MattBowen|work has joined #zope3-dev15:55
*** andres_f has joined #zope3-dev15:56
*** agroszer has joined #zope3-dev16:03
*** jamur2 has joined #zope3-dev16:03
*** zagy has quit IRC16:05
*** __mac__ has quit IRC16:05
*** zagy has joined #zope3-dev16:06
*** lurkymclurkleton has joined #zope3-dev16:06
*** __mac__ has joined #zope3-dev16:06
*** Theuni_ has joined #zope3-dev16:08
*** alexdb has joined #zope3-dev16:08
*** yotaff has joined #zope3-dev16:09
*** jukart has joined #zope3-dev16:10
alexdbHi, i'm coming from zope2 and it looks like that there no simple way to do a request.set in zope3 right ?16:11
*** stub has quit IRC16:16
*** romanofski has quit IRC16:17
*** Theuni has quit IRC16:17
*** jukart has quit IRC16:18
*** lucielejard has joined #zope3-dev16:18
*** maurits has quit IRC16:18
*** redir has joined #zope3-dev16:19
norroalexdb, what do you want to do?16:19
*** andres has quit IRC16:22
alexdbnorro: simply do a .upper on some fields in my request16:24
*** junkafarian_ has joined #zope3-dev16:29
*** junkafarian has quit IRC16:29
*** kursor has quit IRC16:33
*** jukart has joined #zope3-dev16:33
*** redir has quit IRC16:41
*** ccomb has joined #zope3-dev16:47
alexdbfound a way to set it by using request.form['foo']=bar  instead of request.set('foor',bar)16:49
*** salfield has quit IRC16:58
*** malthe has joined #zope3-dev16:59
*** baijum has quit IRC16:59
*** b52laptop has quit IRC17:04
*** jukart has quit IRC17:06
*** niemeyer_ has joined #zope3-dev17:12
*** salfield has joined #zope3-dev17:15
vimes656is there any way to merge Zope folders without looping?17:21
vimes656something like the update method for Python dictionaries17:22
*** hazmat has joined #zope3-dev17:26
*** ChanServ sets mode: +o hazmat17:26
*** niemeyer has quit IRC17:26
*** alecm has joined #zope3-dev17:29
*** whit has joined #zope3-dev17:35
*** MJ has quit IRC17:39
*** jukart has joined #zope3-dev17:42
*** niemeyer_ is now known as niemeyer17:42
*** rmarianski has joined #zope3-dev17:42
*** malthe has quit IRC17:45
*** alecm has quit IRC17:53
*** alecm has joined #zope3-dev17:56
*** srichter has joined #zope3-dev17:56
*** ChanServ sets mode: +o srichter17:56
*** bigkevmcd has quit IRC18:04
*** bigkevmcd has joined #zope3-dev18:05
*** povbot has joined #zope3-dev18:54
*** pcardune_ has joined #zope3-dev18:58
*** jpcw2002 has left #zope3-dev19:01
*** philiKON_ is now known as philiKON19:02
*** tarek has left #zope3-dev19:04
*** ignas has quit IRC19:06
*** Aiste_ has joined #zope3-dev19:07
*** ignas has joined #zope3-dev19:07
*** Aiste has quit IRC19:07
*** benji has quit IRC19:10
*** benji has joined #zope3-dev19:12
*** gimni_ has quit IRC19:13
*** mgedmin has joined #zope3-dev19:28
*** vimes656 has joined #zope3-dev19:30
*** b52laptop has quit IRC19:37
*** mkerrin has quit IRC19:51
*** alexdb has quit IRC19:57
lgsI'm trying to fix an error in the test zope.app.component/browser/registration.txt20:01
lgsthe offending line says:20:01
lgs    >>> browser.open(20:02
lgs    ...        'http://localhost/++etc++site/@@SelectedManagementView.html')20:02
lgs    >>> browser.getLink('[[zope][Registrations]]').click()20:02
lgsbut I don't know why that view does not have a Registrations link in this test20:02
lgsrunning a standard zope instance and using a real browser I can see the link20:02
lgsthe test crashes with a LinkNotFoundError exception20:03
lgsanyone can points me to a direction to start further investigation?20:03
lgssimilar lines like:20:05
lgs    >>> browser.open('http://localhost/sample1/@@SelectedManagementView.html')20:05
lgs    >>> browser.getLink('[[zope][Registration]]').click()20:05
lgsdo work20:05
lgsso I guess something is wrong registering the right actions to ILocalSiteManager objects20:05
*** quodt has quit IRC20:06
*** jpcw2002 has joined #zope3-dev20:06
*** RaFromBRC has joined #zope3-dev20:09
*** afd_ has joined #zope3-dev20:11
*** jukart has joined #zope3-dev20:19
*** malthe has joined #zope3-dev20:19
*** edgordon has quit IRC20:23
*** jinty has quit IRC20:35
*** vimes656_ has joined #zope3-dev20:36
*** vimes656 has quit IRC20:36
*** seletz has quit IRC20:39
*** jukart_ has joined #zope3-dev20:42
*** alecm has quit IRC20:49
*** alecm has joined #zope3-dev20:50
*** baijum has joined #zope3-dev20:50
*** jukart_ has quit IRC20:52
*** quodt has joined #zope3-dev20:55
*** edgordon has joined #zope3-dev20:55
*** dvschramm has quit IRC20:58
*** dvschramm has joined #zope3-dev20:58
*** jukart has quit IRC20:59
*** agroszer has quit IRC21:07
*** ignas has quit IRC21:14
*** yotaff has quit IRC21:21
*** yotaff has joined #zope3-dev21:22
*** ktwilight_ has quit IRC21:22
*** ktwilight_ has joined #zope3-dev21:23
*** vimes656_ has quit IRC21:23
*** baijum has quit IRC21:25
*** mgedmin has quit IRC21:25
lgsok, for some reason the containers used in that test, does not have a zmi_view menu item for @@contents.html21:30
lgsany clue about why is this happening?21:30
lgsthat explain why browser.open('http://localhost/@@SelectedManagementView.html') always goes to @@registration.html and getLink() does not find the correct links21:32
lgsI guess it's a problem in the functional test setup code21:32
lgsbtw, is there anybody out there? :-)21:33
benjilgs: lots of people; presumably all as busy as I am. ;)21:34
lgsfair enough21:34
*** jpcw2002 has quit IRC21:38
*** timte has quit IRC21:48
*** jpcw2002 has joined #zope3-dev21:50
*** timte has joined #zope3-dev21:50
*** b52laptop has joined #zope3-dev22:05
*** b52lap has joined #zope3-dev22:05
*** b52lap has quit IRC22:05
*** jpcw2002 has quit IRC22:16
*** jpcw2002 has joined #zope3-dev22:30
*** J1m_ has joined #zope3-dev22:33
*** J1m has quit IRC22:43
*** harobed has joined #zope3-dev23:01
*** dvschramm has quit IRC23:09
*** redir has joined #zope3-dev23:14
*** quodt has quit IRC23:19
*** derek|laptop has joined #zope3-dev23:41
*** povbot` has joined #zope3-dev23:58
*** povbot has quit IRC23:59

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