IRC log of #zope for Wednesday, 2011-01-12

*** sm has joined #zope00:12
*** menesis has joined #zope00:13
*** hever has quit IRC00:13
*** hever has joined #zope00:14
*** Arfrever has quit IRC00:15
*** lcpfnyvc has quit IRC00:17
*** J1m has quit IRC00:17
*** daMaestro has joined #zope00:17
*** lcpfnyvc has joined #zope00:20
*** astoon has quit IRC00:20
*** J1m has joined #zope00:28
*** cpf_ has quit IRC00:31
*** cwarner has joined #zope00:43
*** cpf_ has joined #zope00:49
*** astoon has joined #zope00:54
*** cpf_ has quit IRC01:03
planetzopebotPyramid "Auth" API Design Postmortem (plope)  http://plope.com/pyramid_auth_design_api_postmortem01:04
*** menesis has quit IRC01:11
*** vipod has quit IRC01:17
*** daMaestro has quit IRC01:23
*** alexpilz has quit IRC01:27
CIA-78ccomb * r119516 /bluebream/website/main/ (5 files in 3 dirs): new style for the inner pages01:34
*** daMaestro has joined #zope01:37
*** astoon has quit IRC01:37
*** lcpfnyvc has quit IRC01:41
*** mememe has joined #zope01:58
CIA-78ccomb * r119517 /bluebream/website/ (3 files in 3 dirs): logo and navbar for the doc sphinx too02:03
*** MrTango has quit IRC02:07
*** bigkevmcd has quit IRC02:08
CIA-78jim * r119518 /Sandbox/J1m/dozodb/ (8 files in 2 dirs):02:19
CIA-78Updated tests to test both the client and server code.02:19
CIA-78Added a separate webob module with a webob-based helper function that02:19
CIA-78can be used by webob-based applications (like bobo), and a webob-based02:19
CIA-78wsgi application.02:19
CIA-78ccomb * r119519 /bluebream/website/docs/v1.0/_templates/layout.html: fixed a link02:19
CIA-78ccomb * r119520 /bluebream/website/main/blue/static/style.css: fixed css02:19
*** alga has quit IRC02:26
*** J1m has quit IRC02:27
*** AnneGilles has quit IRC02:42
*** hever has quit IRC02:45
*** hever has joined #zope02:46
*** giampaolo has quit IRC02:49
*** thetet has joined #zope02:53
*** thetet has left #zope02:53
*** dayne has quit IRC03:06
*** ccomb has quit IRC03:14
*** alvaro_o has quit IRC03:25
*** Vejeta has joined #zope03:26
*** Vejeta has quit IRC03:31
*** Vejeta has joined #zope03:33
*** Vejeta has quit IRC03:33
*** Vejeta has joined #zope03:33
*** sm has quit IRC03:37
*** spanktar has quit IRC03:46
*** cwarner has quit IRC03:50
*** alecm_ has joined #zope03:54
*** alecm_ has joined #zope03:54
*** alecm has quit IRC03:58
*** alecm_ is now known as alecm03:58
*** daMaestro has quit IRC03:59
*** tiwula has quit IRC04:07
*** mr_jolly has left #zope04:27
*** tiwula has joined #zope04:31
*** cwarner has joined #zope05:32
*** thetet has joined #zope06:23
*** thetet has quit IRC06:23
*** rodgort has quit IRC07:05
*** spavan has joined #zope07:09
*** rodgort has joined #zope07:10
*** jan_s has joined #zope07:47
*** d2m has joined #zope08:25
*** bogdangi has joined #zope08:27
*** rogererens has joined #zope08:37
*** cpf_ has joined #zope08:39
*** tiwula has quit IRC08:44
*** cpf_ has quit IRC08:47
*** rogererens has quit IRC08:56
*** zagy has joined #zope08:56
*** wosc has joined #zope09:08
*** __mac__ has joined #zope09:09
*** tisto has joined #zope09:30
*** d2m has quit IRC09:30
*** cpf_ has joined #zope09:35
*** j-w has joined #zope09:40
*** alexpilz has joined #zope09:51
*** alga has joined #zope10:03
*** agroszer has joined #zope10:07
*** davisagli has left #zope10:07
bobo_bHi. How can I internationalize a strftime output? python datetime objects check the systems locale, zope's DateTime object seem to as well. Is there no t.strftime(format, lang)?10:12
betabugmaybe you can use the python datetime version? (dunno if that does it better)10:13
*** d2m has joined #zope10:18
bobo_bbetabug: the python datetime behaves differently according to the locale10:21
bobo_byou can't give it a dynamic locale10:21
betabugthen use that one :-)10:25
*** AnneGilles has joined #zope10:25
*** rogererens has joined #zope10:28
*** cpf_ has quit IRC10:30
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
bobo_bbetabug: well i can't, it  looks at the system locale, but it doesn't care about zope's i18n of course :-)10:34
betabugoh, I thought you meant you could feed the python datetime with the locale you wanted10:34
*** bobo_b is now known as bobo_b|afk10:41
*** goschtl has joined #zope10:45
*** AnneGilles has quit IRC10:48
*** AnneGilles has joined #zope10:49
CIA-78jens 2.2 * r119521 Products.DCWorkflow/Products/DCWorkflow/ (version.txt CHANGES.txt): - release prep for version 2.2.310:54
*** alexpilz has joined #zope10:55
*** cwarner has quit IRC10:59
*** AnneGilles has quit IRC11:00
*** d2m has quit IRC11:04
*** d2m has joined #zope11:04
*** MrTango has joined #zope11:05
*** d2m has quit IRC11:09
*** evilbungle has joined #zope11:11
*** cpf_ has joined #zope11:12
CIA-78jens * r119522 /Products.DCWorkflow/tags/2.2.3: - tagging version 2.2.311:16
CIA-78jens 2.2 * r119523 Products.DCWorkflow/Products/DCWorkflow/ (version.txt CHANGES.txt): - vb11:16
*** menesis has joined #zope11:24
*** Theuni1 has joined #zope11:26
*** sylvain has joined #zope11:28
*** martijn|4D has joined #zope11:41
*** d2m has joined #zope11:46
*** sunew has joined #zope11:50
*** vipod has joined #zope11:51
_mup_Bug #701837 was filed: Synthetic module 'zope.app.menus' is confusing <zope.browsermenu:New> < https://launchpad.net/bugs/701837 >11:55
*** eperez has joined #zope12:02
*** shastry has quit IRC12:05
*** Theuni1 has quit IRC12:14
*** rockfruit has quit IRC12:19
*** Theuni1 has joined #zope12:27
*** teix has joined #zope12:34
*** Theuni1 has quit IRC12:38
*** ccomb has joined #zope12:40
CIA-78janwijbrand * r119524 hurry.resource/ (src/hurry/resource/README.txt setup.py): add a warning about hurry.resource being superseded by Fanstatic12:49
CIA-78janwijbrand * r119525 hurry.resource/CHANGES.txt: add a warning about hurry.resource being superseded by Fanstatic12:49
CIA-78janwijbrand * r119526 hurry.zoperesource/ (src/hurry/zoperesource/README.txt CHANGES.txt setup.py): add a warning about hurry.zoperesource being superseded by zope.fanstatic13:08
*** mr_jolly has joined #zope13:19
CIA-78janwijbrand * r119526 hurry.zoperesource/ (src/hurry/zoperesource/README.txt CHANGES.txt setup.py): add a warning about hurry.zoperesource being superseded by zope.fanstatic13:27
CIA-78janwijbrand * r119527 hurry.yui/ (CHANGES.txt setup.py README.txt): add a warning about hurry.yui being superseded by js.yui13:27
CIA-78janwijbrand * r119528 hurry.yui/ (CHANGES.txt README.txt): fix typo13:27
CIA-78janwijbrand * r119529 hurry.jquery/ (CHANGES.txt setup.py README.txt): add a warning about hurry.jquery being superseded by js.jquery13:27
*** astoon has joined #zope13:32
*** nitrogenycs has joined #zope13:33
*** Theuni1 has joined #zope13:43
*** Theuni1 has quit IRC13:50
*** ccomb has quit IRC13:53
*** Theuni1 has joined #zope13:56
*** ccomb has joined #zope14:02
*** dayne has joined #zope14:06
*** jan_s has left #zope14:09
CIA-78janjaapdriessen * r119530 /Sandbox/janjaapdriessen/buildbot/buildout.cfg: Add ztk 1.1 branch.14:21
*** AnneGilles has joined #zope14:21
*** JianMeng has joined #zope14:21
*** Arfrever has joined #zope14:24
*** menesis has quit IRC14:24
*** d2m1 has joined #zope14:25
*** d2m has quit IRC14:25
*** JianMeng has left #zope14:27
CIA-78janjaapdriessen * r119531 /zopetoolkit/doc/source/process/buildbots.rst: Update ztk 1.1 branch buildbot output.14:34
*** bogdangi has quit IRC14:36
*** astoon has quit IRC14:37
*** rockfruit has joined #zope14:39
*** AnneGilles has quit IRC14:40
*** bogdangi has joined #zope14:42
*** AnneGilles has joined #zope14:47
*** Theuni1 has quit IRC14:51
*** fredvd has joined #zope14:58
heverhej kosh thanks for your idea. with python-profiler installed, the profiler works! But the output of the most time consuming "calls" is not very helpful http://pastebin.com/JnVhjtW015:00
*** Theuni1 has joined #zope15:01
*** d2m1 has quit IRC15:01
heverWhat is the function "0(read)" that takes so much time?15:01
*** bobo_b|afk is now known as bobo_b15:02
*** bogdangi has quit IRC15:03
*** thetet has joined #zope15:03
*** regebro has joined #zope15:04
mgedminlooks like a builtin15:05
*** allisterb has quit IRC15:06
mgedminso reading from a file (or, maybe, a network socket) is taking most of the time15:06
hevermgedmin, ah if I choose callers I can see what scripts call it... nice15:07
mgedminRunSnakeRun is a good tool for visualizing profiles15:07
mgedminalso, pyprof2calltree15:07
*** AnneGilles has quit IRC15:12
*** d2m has joined #zope15:13
hevermgedmin, for plone or zope or for analysing a profile file?15:17
mgedminthey're not plone/zope specific15:18
mgedminand they want a pstats file, iirc15:18
mgedminI'm not sure how you convince zope2 to create one15:18
mgedminI don't think I've ever used the zope 2 profiler15:18
mgedminthere's wsgi middleware out there that lets you profile stuff15:19
mgedminand I think these days zope 2 can be deployed as a wsgi app15:19
mgedminDozer (unreleased version from bitbucket) has a very nice profiler: http://mg.pov.lt/blog/profiling-with-dozer.html15:19
mgedminwell, pretty nice15:20
*** allisterb has joined #zope15:21
CIA-78janwijbrand * r119532 grok/src/grok/ (rest.py publication.py): remove remnants from the REST code that moved to grokcore.rest15:26
*** giampaolo has joined #zope15:26
*** menesis has joined #zope15:29
*** tisto is now known as tisto|lunch15:44
*** cwarner has joined #zope15:52
*** AnneGilles has joined #zope15:52
*** J1m has joined #zope16:03
CIA-78janwijbrand * r119533 groktoolkit/ (buildout.cfg grok.cfg): use ZTK-1.1c116:03
klawdhow can i document a classmethod in an interface?16:08
klawdjust like in the class itself?16:08
klawdand would i call implements or something else?16:09
*** mlechner has joined #zope16:10
*** rogererens has quit IRC16:16
*** rogererens has joined #zope16:21
mgedminklawd, document it as a normal def in a separate interface, then say that your class alsoProvides() this separate interface16:26
klawdmh ok16:26
*** mlechner has quit IRC16:37
*** jim_SFU has joined #zope16:43
*** rogererens has quit IRC16:58
*** wosc has quit IRC17:01
*** nitrogenycs has quit IRC17:02
*** FSCV has joined #zope17:06
*** FSCV has quit IRC17:07
*** sm has joined #zope17:08
*** tisto|lunch is now known as tisto17:09
*** agroszer_ has joined #zope17:10
*** dvschramm|away is now known as dvschramm17:11
*** agroszer has quit IRC17:11
*** agroszer_ has quit IRC17:16
*** dayne has quit IRC17:19
*** spavan has left #zope17:23
*** MrWu has joined #zope17:24
*** FSCV has joined #zope17:27
*** redir has quit IRC17:33
*** bigkevmcd has joined #zope17:35
*** AnneGilles has quit IRC17:39
CIA-78janjaapdriessen * r119534 megrok.layout/ (buildout.cfg docs/HISTORY.txt setup.py): Compatibility with grokcore.view 2.317:45
CIA-78janjaapdriessen * r119535 megrok.layout/ (docs/HISTORY.txt setup.py): Preparing release 1.317:45
CIA-78janjaapdriessen * r119536 /megrok.layout/tags/1.3: Tagging 1.317:45
CIA-78janjaapdriessen * r119537 megrok.layout/ (docs/HISTORY.txt setup.py): post release17:45
CIA-78janjaapdriessen * r119538 grokui.base/ (buildout.cfg CHANGES.txt setup.py): Preparing release 0.517:45
CIA-78janjaapdriessen * r119539 /grokui.base/tags/0.5: Tagging 0.517:45
CIA-78janjaapdriessen * r119540 grokui.base/ (CHANGES.txt setup.py): Back to development: 0.617:45
CIA-78janjaapdriessen * r119541 grokui.admin/ (setup.py src/grokui/admin/tests/tests.py buildout.cfg): Use zope.fanstatic layer in order to make tests in grokui.base pass.17:45
CIA-78janjaapdriessen * r119542 groktoolkit/grok.cfg: Update to newer grokcore.view and megrok.layout.17:45
*** daMaestro has joined #zope17:48
*** alvaro_o has joined #zope18:04
*** vipod has quit IRC18:04
*** Theuni1 has quit IRC18:05
*** sunew has quit IRC18:10
CIA-78janjaapdriessen * r119543 grokui.admin/buildout.cfg: These versions are now in the groktoolkit trunk.18:16
CIA-78janjaapdriessen * r119544 megrok.layout/buildout.cfg: This version is now in the groktoolkit.18:16
*** d2m has quit IRC18:18
*** alexpilz has quit IRC18:25
*** alexpilz has joined #zope18:25
heverCan somebody explain the output of the CallProfiler? 1.7269   53.2%    |18:30
hever+1.7269 0.0002 0.0% +- enableHTTPCompression18:30
heveruhm18:30
mgedminI can take a wild guess18:31
mgedmin53% time spent in that function, but all of it was actually spent in functions called from it18:32
*** sm has left #zope18:33
*** d2m has joined #zope18:33
*** sm has joined #zope18:33
*** j-w has quit IRC18:33
*** fredvd has quit IRC18:35
heverok sry here: http://imagebin.org/13234918:35
hevermgedmin, but what function?!18:36
mgedminah, those were two lines, not one!18:38
mgedminso, 1.7 seconds spent in the main function -- the one you were profiling18:39
*** alga has quit IRC18:39
mgedminthen it called enableHTTPCompression, then navigationParent etc.18:39
mgedminI'm not sure "main function" is right -- could be a page template, etc.18:40
heverbut what is this main function?18:40
heveryes what could it be?18:40
heverits for an url http://myresource/view18:40
*** __mac__ has quit IRC18:40
mgedminI'm afraid I'm not very familiar with plone (or zope2's CallProfiler for that matter)18:40
heverAnd you see the first entry. I'm not sure what the first 1.7269 secs happened.18:41
*** goschtl has quit IRC18:42
*** tiwula has joined #zope18:43
mgedminyes, that's the question, isn't it18:43
mgedminand CallProfiler doesn't answer18:43
heveryes18:43
CIA-78janwijbrand jw-documentation-rearangement * r119545 groktoolkit/ (552 files in 139 dirs): start moving Grok documentation to the groktoolkit18:44
*** Theuni1 has joined #zope18:44
*** martijn|4D has quit IRC18:45
*** zagy has quit IRC18:46
heverOk there are some slides from Andy McKay, http://plone.org/events/conferences/new-orleans-2003/video/index_html#caching18:47
heverBut they're not available... and a video. Not sure perhaps somebody have a backup ;)18:48
*** davisagli has joined #zope18:50
*** hever has quit IRC18:56
*** d2m has quit IRC18:57
*** hever has joined #zope18:57
*** hever has quit IRC18:58
*** giampaolo has quit IRC18:59
*** hever has joined #zope19:03
*** hever has quit IRC19:05
*** jim_SFU has quit IRC19:05
*** hever has joined #zope19:06
*** benji is now known as benji-lunch19:07
*** sm has left #zope19:07
*** spanktar has joined #zope19:19
*** redir has joined #zope19:20
*** alexpilz has joined #zope19:22
*** alexpilz1 has joined #zope19:22
*** alexpilz has quit IRC19:22
*** thetet has quit IRC19:37
*** hever has quit IRC19:37
*** cpf_ has quit IRC19:38
*** menesis has quit IRC19:41
*** d2m has joined #zope19:54
*** astoon has joined #zope19:58
*** benji-lunch is now known as benji20:03
*** sylvain has quit IRC20:04
CIA-78jim * r119546 /Sandbox/J1m/ (template/branches/dev template-dev): Separate initial project template from svn project-tree template20:04
CIA-78jim * r119547 /Sandbox/J1m/ (template svn-template): Separate initial project template from svn project-tree template20:04
CIA-78jim * r119548 /Sandbox/J1m/ (template template-dev): Separate initial project template from svn project-tree template20:04
*** sm has joined #zope20:11
*** __mac__ has joined #zope20:12
*** mitchell` is now known as mitchell`off20:16
*** FSCV1 has joined #zope20:17
*** FSCV has quit IRC20:19
*** mememe has quit IRC20:19
*** FSCV2 has joined #zope20:21
*** FSCV1 has quit IRC20:21
*** __mac__ has quit IRC20:30
*** dayne has joined #zope20:34
*** mememe has joined #zope20:35
*** MrWu has quit IRC20:37
CIA-78patricks * r119549 zc.catalog/ (3 files in 2 dirs): Fix a bug in the extent catalog's searchResults method20:42
*** eperez has quit IRC20:47
*** davetoo has joined #zope20:53
*** tisto has quit IRC20:59
*** bigkevmcd has quit IRC21:00
*** nitrogenycs has joined #zope21:01
CIA-78jim * r119550 /Sandbox/J1m/jsonform: yet another form project :)21:01
*** __mac__ has joined #zope21:01
*** __mac__ has quit IRC21:12
*** AnneGilles has joined #zope21:13
*** teix has left #zope21:18
CIA-78jim * r119551 /Sandbox/J1m/jsonform/ (9 files in 4 dirs): housekeeping21:19
*** __mac__ has joined #zope21:25
*** jim_SFU has joined #zope21:25
*** thetet has joined #zope21:27
*** mcdonc has quit IRC21:29
*** AnneGilles has quit IRC21:35
*** jim_SFU has left #zope21:38
*** alvaro_o has quit IRC21:38
*** astoon has quit IRC21:40
J1mI wonder if people are still using zope.formlib.21:41
*** alga has joined #zope21:59
*** AnneGilles has joined #zope21:59
*** goschtl has joined #zope22:04
*** goschtl has quit IRC22:21
*** TresEquis has joined #zope22:26
*** supton has joined #zope22:30
*** kiorky has joined #zope22:39
*** m8 has joined #zope22:42
*** regebro has quit IRC22:47
*** rdz has joined #zope22:48
rdzhi all. i'm running a zwiki website and i would like to add user authentication to my site. what product might be most suitable for that?22:49
rdzi found exUserFolder, but i'm not sure, if that is the right tool for what i want and I also don't know how to integrate it into the zwiki site22:50
*** bigkevmcd has joined #zope22:53
*** cpf_ has joined #zope22:58
*** regebro has joined #zope23:02
*** __mac__ has quit IRC23:12
koshbetabug: wake up!23:31
koshrdz: I think betabug knows a lot about zwiki, just need to get him to wake up23:31
smthat's right.. and TheJester knows about XUF23:31
koshI still use exUserFolder23:31
koshmy modified version allows secure cookie auth to actually be shared over the session system with zeo23:32
rdzkosh, let him sleep...23:32
koshwhich is very nice for cluster/load balancing stuff23:32
*** thetet has left #zope23:33
rdzaha.. I guess that would be a bit too advanced for my needs23:33
rdzsm, the 'MembershipSource' tells me the Site Base and also the name of the LoginForm. But when I access that page, it's Zwiki that proposes me to create that page.23:35
smyou have a custom standard_error_message in your wiki folder that's being activated23:36
rdzI added the Product into my zwiki folder in the ZMI. is that supposed to work like this or should i add the product on the same level as the wiki?23:36
smnormally it's only for 404's.. are you getting one of those ?23:36
rdzsm, aha. that page is not from zwiki then. i see23:37
rdzhttp://www.netpd.org:9673/netpd/LoginForm23:37
smyes.. that url does not exist23:38
rdz"MembershipSource" says: Site base: http://www.netpd.org:9673/netpd and "Relative Path of Login Page: LoginForm"23:40
rdzso I thought i should compose like this: http://www.netpd.org:9673/netpd/LoginForm23:40
smI found http://zwiki.org/FAQ#ok-how-do-i-set-up-a-login-form which says "add an ExUserFolder acl_users in your wiki folder. You'll need to study the XUF documentation and fiddle around in there to set up the login form"23:41
smExUserFolder is installed in your Products dir on the filesystem and should then appear in /Control_Panel/Products in the ZMI of course23:41
rdzsm, alright. thanks23:42
rdzactually, the authentication is already working. when i add /editform to any of the pages, it asks me to provide username and password and then i can edit the page... that's already great23:43
smyay23:43
smwell, that's the basic authentication built in to zope23:44
smexUserFolder, once working, will give you a nicer cookie-based login form23:45
rdzaha23:45
rdzyou say, that was always working.. :-)23:45
*** astoon has joined #zope23:48

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