IRC log of #zope for Friday, 2010-11-12

smlducas, neo|4D, mgedmin : nice video at http://www.justbiit.com/ incidentally00:06
smhailkosh00:06
*** JaRoel|4D has joined #zope00:07
*** JaRoel|4_ has joined #zope00:08
*** smita has quit IRC00:08
*** JaRoel|4D has quit IRC00:10
*** bigkevmcd has quit IRC00:16
*** alga has quit IRC00:17
*** jim_SFU has quit IRC00:18
*** menesis has quit IRC00:22
*** alexpilz has quit IRC00:40
*** alecm has quit IRC00:47
*** alecm has joined #zope00:57
*** alecm has joined #zope00:57
*** shastry has quit IRC01:11
*** shastry has joined #zope01:11
*** shastry has joined #zope01:11
*** J1m has quit IRC01:21
*** vipod has quit IRC01:24
*** povbot has joined #zope01:33
*** benji_ has joined #zope01:33
*** avn_ has joined #zope01:35
*** CIA-116 has joined #zope01:36
*** lducas has quit IRC01:37
*** sm_ has joined #zope01:39
*** sm has quit IRC01:41
*** benji has quit IRC01:41
*** allisterb has quit IRC01:41
*** avn has quit IRC01:41
*** povbot` has quit IRC01:41
*** CIA-77 has quit IRC01:41
*** sm_ is now known as sm01:41
*** allisterb has joined #zope01:48
*** srichter has quit IRC02:22
*** strichter has joined #zope02:22
*** dayne has quit IRC02:47
*** alvaro_o has quit IRC02:54
*** strichter has quit IRC03:03
*** strichter has joined #zope03:03
*** mr_jolly has joined #zope03:07
*** davisagli is now known as davisagli|away03:08
*** ccomb has quit IRC03:11
*** giampaolo has quit IRC03:14
*** mr_jolly has left #zope03:34
*** tiwula has quit IRC03:35
*** davisagli|away is now known as davisagli03:36
*** daMaestro has quit IRC03:42
*** davisagli is now known as davisagli|away03:46
*** davisagli|away is now known as davisagli04:00
*** davisagli is now known as davisagli|away04:02
*** tiwula has joined #zope04:05
*** davisagli|away is now known as davisagli04:08
*** davisagli is now known as davisagli|away04:15
*** davisagli|away is now known as davisagli04:21
*** neo|4D has quit IRC04:22
*** neo|4D has joined #zope04:22
*** davisagli is now known as davisagli|away04:58
*** thetet has joined #zope06:03
*** davisagli|away is now known as davisagli06:09
*** benji_ has quit IRC06:13
*** sm has quit IRC06:21
*** davisagli is now known as davisagli|away06:26
*** davisagli|away is now known as davisagli06:37
*** davisagli is now known as davisagli|away06:44
*** davisagli|away is now known as davisagli06:50
*** tiwula has quit IRC06:52
CIA-116fdrake * r118348 /zc.signalhandler/ (tags trunk branches): project structure06:54
CIA-116fdrake * r118349 zc.signalhandler/ (12 files in 5 dirs): import zc.signalhandler 1.0 (building history)06:54
CIA-116fdrake * r118350 /zc.signalhandler/tags/1.0: tag zc.signalhandler 1.006:54
CIA-116fdrake * r118351 zc.signalhandler/ (3 files in 2 dirs): import zc.signalhandler 1.1 (building history)06:54
CIA-116fdrake * r118352 /zc.signalhandler/tags/1.1: tag zc.signalhandler 1.106:54
*** strichter has quit IRC06:55
*** davisagli is now known as davisagli|away06:59
*** davisagli|away is now known as davisagli07:11
CIA-116fdrake * r118353 zc.signalhandler/ (setup.py README.txt LICENSE.txt buildout.cfg): update to current zope.org policies07:21
CIA-116fdrake * r118354 zc.signalhandler/README.txt: note licensing & release to zope.org07:21
CIA-116fdrake * r118355 /zc.signalhandler/tags/ (1.2.0 1.2.0/setup.py): tar zc.signalhandler 1.2.0 (ZPL release)07:21
*** neo|4D has quit IRC07:34
*** thetet has quit IRC07:36
*** sm has joined #zope07:38
*** sm_ has joined #zope07:46
*** sm__ has joined #zope07:47
*** sm has quit IRC07:49
*** sm__ is now known as sm07:49
*** sm_ has quit IRC07:51
*** betabug has quit IRC08:05
*** betabug has joined #zope08:05
*** AnneGilles has quit IRC08:29
*** davisagli is now known as davisagli|away08:40
*** digitalmortician has joined #zope08:45
*** __mac__ has joined #zope08:46
*** davisagli|away is now known as davisagli08:46
*** sm has quit IRC08:48
*** JaRoel|4_ has quit IRC08:52
*** davisagli is now known as davisagli|away08:52
*** dburba has joined #zope08:53
*** davisagli|away is now known as davisagli08:59
*** vipod has joined #zope09:00
*** davisagli is now known as davisagli|away09:06
CIA-116icemac * r118356 z3c.xmlhttp/ (3 files in 2 dirs): - Removed slugs for ZPKG and ZCML.09:14
CIA-116icemac * r118357 z3c.xmlhttp/ (LICENSE.txt bootstrap.py COPYRIGHT.txt): Conform to repository policy.09:14
*** vipod_ has joined #zope09:17
*** vipod has quit IRC09:17
*** vipod_ is now known as vipod09:17
*** d2m has joined #zope09:22
*** nitrogenycs has joined #zope09:29
*** menesis has joined #zope09:40
*** bigkevmcd has joined #zope09:41
CIA-116icemac * r118358 z3c.zalchemy/ (CHANGES.txt setup.py):09:44
CIA-116- Declared install dependency on `zope.deferredimport`.09:44
CIA-116- Tests still break (ImportError) even with version 0.4.8 of SQLAlchemy.09:44
CIA-116icemac * r118359 z3c.zcmlhook/setup.py: not needed09:44
CIA-116icemac * r118360 z3c.zcmlhook/ (setup.cfg bootstrap.py buildout.cfg docs/HISTORY.txt):09:44
CIA-116- Added test extra to declare test dependency on ``zope.component09:44
CIA-116[test]``. [icemac]09:44
CIA-116icemac * r118361 z3c.zcmlhook/ (LICENSE.txt COPYRIGHT.txt): Conform to repository policy.09:44
*** alexpilz has joined #zope09:52
*** alexpilz has quit IRC09:55
*** agroszer has joined #zope10:07
*** ploufplouf has joined #zope10:08
*** JaRoel|4D has joined #zope10:08
*** goschtl has joined #zope10:09
*** zagy has quit IRC10:09
*** tisto has joined #zope10:10
*** agroszer has quit IRC10:14
*** zagy has joined #zope10:20
*** AnneGilles_ has joined #zope10:22
*** menesis1 has joined #zope10:31
*** menesis has quit IRC10:31
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** dburba has quit IRC10:36
*** alexpilz has joined #zope10:41
*** agroszer has joined #zope10:43
*** AnneGilles_ has quit IRC10:45
*** smita has joined #zope10:46
*** dburba has joined #zope10:49
*** lucmult has quit IRC10:51
*** dburba has quit IRC10:53
*** rogererens has joined #zope11:00
*** dburba has joined #zope11:05
*** sunew has joined #zope11:20
*** AnneGilles_ has joined #zope11:32
*** digitalmortician has quit IRC11:40
*** AnneGilles_ has quit IRC11:51
*** menesis1 has quit IRC12:03
*** evilbungle has joined #zope12:04
*** mitchell`off is now known as mitchell`12:12
*** mr_jolly has joined #zope12:15
*** morphex has quit IRC12:17
*** agroszer has quit IRC12:22
*** agroszer has joined #zope12:22
*** ccomb has joined #zope12:39
*** lucmult has joined #zope12:43
*** janjaapdriessen has joined #zope12:47
*** teix has joined #zope12:48
*** cpf_ has quit IRC12:57
*** gwik has joined #zope13:09
*** gwik has quit IRC13:09
*** gwik has joined #zope13:09
*** rogererens has quit IRC13:10
*** menesis has joined #zope13:11
*** cpf_ has joined #zope13:12
*** thetet has joined #zope13:21
*** eperez has joined #zope13:24
*** saju has joined #zope13:25
*** saju has quit IRC13:25
*** saju_m has joined #zope13:27
saju_mhow make Synchronous method in python.suppose, two threads are running, thread-1 and thread-2 calling a menthod-1, what i need is at time allow only one thread t accure lock on method-1, next thread mus weight for the loack.13:27
* mgedmin gives saju_m a question mark for use in questions: ?13:28
mgedmina threading.Lock should do the trick13:29
mgedminsee http://docs.python.org/dev/library/threading.html13:29
mgedminalthough programming at this low level is rarely needed in Python13:29
mgedminwhat problem are you trying to solve?13:29
saju_mmenthod-1 is s seperate function13:29
*** agroszer has quit IRC13:34
*** vipod has quit IRC13:36
*** vipod has joined #zope13:40
*** regebro has joined #zope14:03
*** ploufplouf has quit IRC14:21
*** smita has quit IRC14:32
*** waldi has joined #zope14:34
waldihi14:34
*** mitchell` is now known as mitchell`afk14:34
waldiis there an easy way to see where in the object tree a given oid shows up?14:34
*** rogererens has joined #zope14:35
*** huajie has joined #zope14:45
*** kiorky has quit IRC14:46
*** kiorky has joined #zope14:47
mgedminwaldi, not really -- you have to traverse the object graph starting from root, since ZODB doesn't keep backrefs14:55
*** sunew has quit IRC14:56
nitrogenycswaldi: If it's for debugging purposes I think there's some zodb module which can create the backrefs for you14:57
*** dburba has quit IRC15:03
*** tisto has quit IRC15:12
*** gwik has quit IRC15:14
*** agroszer has joined #zope15:14
CIA-116ctheune * r118362 /zopetoolkit/doc/source/zope-dev/ (archive.rst zope-dev-20101116.rst index.rst): update for next week15:21
*** gwik has joined #zope15:29
*** mitchell`afk is now known as mitchell`15:35
*** giampaolo has joined #zope16:10
*** J1m has joined #zope16:15
CIA-116janjaapdriessen * r118363 zope.app.wsgi/src/zope/app/wsgi/testlayer.py: Add pluggability for setting up wsgi middleware in testlayer.16:23
CIA-116janjaapdriessen * r118364 zope.app.wsgi/src/zope/app/wsgi/ (filereturns.txt testing.py tests.py testlayer.txt):16:23
CIA-116- move fixtures from tests to testing.py16:23
CIA-116- add tests for testlayer setting up middleware16:23
CIA-116- add filereturn test to separate file.16:23
CIA-116janjaapdriessen * r118365 zope.app.wsgi/src/zope/app/wsgi/ (paste.py fileresult.py interfaces.py): pep8/pyflakes16:23
CIA-116janjaapdriessen * r118366 zope.app.wsgi/CHANGES.txt: Update changes16:23
CIA-116janjaapdriessen * r118367 zope.app.wsgi/src/zope/app/wsgi/ (testlayer.py testlayer.txt): Add comments about the difference between app and wsgi_stack in TestBrowserMiddleware.16:23
*** eperez has quit IRC16:29
*** __mac__ has quit IRC16:33
*** AnneGilles_ has joined #zope16:33
Moo^_^what's difference between gsm.queryUtility() (global site manager) and zope.component.queryUtility()16:33
agroszerMoo^_^, I think gsm... takes the global registrations, z.c.queryUtility respects the current context16:35
Moo^_^agroszer: z.c.queryUtility does not fall back to global context?16:35
*** aatiis has joined #zope16:35
Moo^_^agroszer: because I have code which used to work with z.c.queryUtility but does not work anymore16:35
agroszeryah it will, if there's no other configuration16:35
Moo^_^but it works if I change it to use global site manager16:36
Moo^_^so I think there is a bug in the depts of local site manager16:36
agroszerwhat sort of zope do you use?16:36
Moo^_^I tested this with Zope 2.12 / Plone 4 and Zope 2.10 (?) and Plone 316:36
*** giampaolo has quit IRC16:36
agroszereek, I'm not zope 2 approved ;-)16:37
*** aatiis has left #zope16:37
*** giampaolo has joined #zope16:38
agroszerMoo^_^, but I guess it should work as I stated above16:38
Moo^_^agroszer: yeah - the "fallback" part fails for some reason16:38
Moo^_^also if I use getUtilitiesFor() it works16:38
Moo^_^it returns one single utility I was asking for16:38
Moo^_^but getUtility() returns ComponentLookupError16:39
agroszerweird16:39
agroszersuch sh.t happens when the returned value happens to be None16:39
agroszerbut if you get a real object with getUtilitiesFor16:40
agroszerthen queryUtility should work too16:40
Moo^_^agroszer: yeah16:40
agroszertry #plone16:41
Moo^_^aha16:41
Moo^_^agroszer: did already16:41
Moo^_^I think which might the issue16:41
Moo^_^it does not fall back to global utilities if acquisition chain is not set up16:41
Moo^_^hmm wrong16:42
Moo^_^it is16:42
*** rogererens has quit IRC16:43
*** benji has joined #zope16:44
*** agroszer has quit IRC16:46
*** rogererens has joined #zope16:47
*** dvschramm has joined #zope16:52
*** agroszer has joined #zope16:56
*** goschtl has quit IRC17:01
*** dayne has joined #zope17:02
*** River_Rat has joined #zope17:04
*** River-Rat has quit IRC17:06
*** saju_m has quit IRC17:12
*** AnneGilles_ has quit IRC17:13
*** alexpilz1 has joined #zope17:14
*** alexpilz has quit IRC17:15
*** MrWu has joined #zope17:30
*** agroszer_ has joined #zope17:31
*** agroszer has quit IRC17:32
*** sm has joined #zope17:32
*** alexpilz1 has quit IRC17:36
*** agroszer_ is now known as agroszer17:43
CIA-116janjaapdriessen * r118368 zope.app.wsgi/src/zope/app/wsgi/tests.py: Remove unused import17:49
*** benji has quit IRC17:55
*** huajie has quit IRC17:55
*** danielblackburn has quit IRC17:56
*** thetet has quit IRC17:58
*** danielblackburn has joined #zope18:02
*** menesis has quit IRC18:03
*** zagy has quit IRC18:11
CIA-116janjaapdriessen * r118368 zope.app.wsgi/src/zope/app/wsgi/tests.py: Remove unused import18:18
mgedminyou said that already, CIA-11618:20
mgedmin30 minutes ago18:20
*** davisagli|away is now known as davisagli18:32
*** huajie has joined #zope18:36
*** __mac__ has joined #zope18:40
*** davisagli is now known as davisagli|away18:43
*** dburba has joined #zope18:44
*** __mac__ has quit IRC18:46
*** MrWu has quit IRC18:46
smtut tut18:51
*** danielblackburn has quit IRC18:55
*** dayne has quit IRC18:56
*** danielblackburn has joined #zope19:02
*** tiwula has joined #zope19:07
*** giampaolo has quit IRC19:08
*** regebro has left #zope19:18
*** davisagli|away is now known as davisagli19:24
CIA-116janjaapdriessen * r118368 zope.app.wsgi/src/zope/app/wsgi/tests.py: Remove unused import19:26
mgedmincia, seriously19:26
mgedminwe heard that the first two times19:26
*** bigkevmcd has quit IRC19:29
*** evilbungle has quit IRC19:30
*** evilbungle has joined #zope19:30
*** pyqwer has joined #zope19:36
*** _MrTango_ has joined #zope19:38
*** mitchell` is now known as mitchell`off19:39
*** shastry_ has joined #zope19:43
*** huajie has quit IRC19:44
*** shastry has quit IRC19:46
*** __MrTango__ has joined #zope19:47
*** _MrTango_ has quit IRC19:49
*** sm_ has joined #zope19:52
CIA-116janjaapdriessen * r118368 zope.app.wsgi/src/zope/app/wsgi/tests.py: Remove unused import19:52
CIA-116janjaapdriessen janjaapdriessen-wsgi * r118369 hurry.zoperesource/src/hurry/zoperesource/zopesupport.py:19:53
CIA-116Don't register a globalutility any more. Moved the hurry.resource zca code to19:53
CIA-116hurry.zoperesource. Might refactor this even further. No need to plug in a19:53
CIA-116custom request/response into the zope.publisher any longer. The plugin is19:53
CIA-116responsible for getting/setting the neededinclusions into the WSGI environment19:53
CIA-116and for setting the base url19:53
CIA-116janjaapdriessen janjaapdriessen-wsgi * r118370 hurry.zoperesource/src/hurry/zoperesource/configure.zcml: Lose the custom request/response objects.19:53
CIA-116janjaapdriessen janjaapdriessen-wsgi * r118371 hurry.zoperesource/src/hurry/zoperesource/zcml.py: Moved the zca plugin from hurry.resource to hurry.zoperesource.19:53
*** sm has quit IRC19:55
*** sm_ is now known as sm19:55
*** redir has joined #zope19:57
*** evilbungle has quit IRC19:58
*** dvschramm has quit IRC20:04
*** __MrTango__ has quit IRC20:10
*** __MrTango__ has joined #zope20:10
*** mitchell`off is now known as mitchell`20:11
*** __MrTango__ has quit IRC20:17
*** CIA-116 has quit IRC20:18
*** _MrTango_ has joined #zope20:19
*** gwik has quit IRC20:23
*** evilbungle has joined #zope20:28
*** daMaestro has joined #zope20:29
*** daMaestro has joined #zope20:29
*** lynucs has joined #zope20:38
*** lynucs is now known as jham20:39
*** dayne has joined #zope20:44
*** _MrTango_ has quit IRC20:44
*** minskmaz has joined #zope20:44
*** pyqwer has quit IRC20:47
*** _MrTango_ has joined #zope20:49
*** evilbungle has quit IRC20:51
*** CIA-82 has joined #zope20:55
*** zagy has joined #zope20:59
*** gwik has joined #zope21:04
CIA-82janjaapdriessen * r118368 zope.app.wsgi/src/zope/app/wsgi/tests.py: Remove unused import21:05
*** menesis has joined #zope21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118369 hurry.zoperesource/src/hurry/zoperesource/zopesupport.py:21:05
CIA-82Don't register a globalutility any more. Moved the hurry.resource zca code to21:05
CIA-82hurry.zoperesource. Might refactor this even further. No need to plug in a21:05
CIA-82custom request/response into the zope.publisher any longer. The plugin is21:05
CIA-82responsible for getting/setting the neededinclusions into the WSGI environment21:05
CIA-82and for setting the base url21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118370 hurry.zoperesource/src/hurry/zoperesource/configure.zcml: Lose the custom request/response objects.21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118371 hurry.zoperesource/src/hurry/zoperesource/zcml.py: Moved the zca plugin from hurry.resource to hurry.zoperesource.21:05
CIA-82janjaapdriessen * r118372 zope.app.wsgi/setup.py: Update version for next release21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118373 hurry.zoperesource/src/hurry/zoperesource/ (tests/ftesting.zcml README.txt tests/tests.py): Update tests to zope.app.wsgi instead of zope.app.testing/zope.app.zcmlfiles21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118374 hurry.zoperesource/setup.py: Clean up dependencies. Depend on not yet released version of zope.app.wsgi21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118375 hurry.zoperesource/CHANGES.txt: Update changes21:05
CIA-82janjaapdriessen janjaapdriessen-wsgi * r118376 hurry.zoperesource/buildout.cfg: Depend on development versions of zope.app.wsgi and hurry.resource for now. Use the groktoolkit.21:05
CIA-82janjaapdriessen * r118377 /hurry.zoperesource/branches/ (janjaapdriessen-wsgi/src janjaapdriessen-wsgi): update svn:ignore21:05
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118378 hurry.resource/setup.py: Add entry point for wsgi middleware21:05
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118379 hurry.resource/src/hurry/resource/zca.py: Moved to hurry.zoperesource21:05
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118380 hurry.resource/src/hurry/resource/core.py:21:06
CIA-82Plugins now have two responsibilities:21:06
CIA-821. Leaving a NeededInclusions() object in the WSGI environment.21:06
CIA-822. Leaving a base_url attribute on the NeededInclusions object.21:06
CIA-82Lose the get_library_url() on the NeededInclusions object.21:06
CIA-82Computing the library_urls is simpler, so we don't need to maintain a cache.21:06
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118381 hurry.resource/src/hurry/resource/wsgi.py: The WSGI middleware takes care of rendering the neededinclusions into the HTML.21:06
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118382 hurry.resource/buildout.cfg: Yagni ftests21:06
CIA-82janjaapdriessen janjaapdriessen-resource-publisher * r118383 hurry.resource/ (src/hurry/resource/README.txt CHANGES.txt src): Fix tests. Update changes21:06
*** shastry_ is now known as shastry21:06
*** alvaro_o has joined #zope21:09
*** alvaro_o has quit IRC21:09
*** giampaolo has joined #zope21:09
*** alvaro_o has joined #zope21:09
*** agroszer has quit IRC21:15
*** mitchell` is now known as mitchell`off21:26
*** minskmaz_ has joined #zope21:29
*** minskmaz has quit IRC21:31
*** minskmaz_ is now known as minskmaz21:31
*** jham has quit IRC21:32
*** menesis has quit IRC21:39
*** dburba has quit IRC21:48
*** lucmult has quit IRC21:51
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118384 grokproject/grokproject/template/etc/debug.ini.in_tmpl: Add resource_injection to WSGI pipeline22:05
*** lucmult has joined #zope22:06
*** redir has quit IRC22:12
*** menesis has joined #zope22:21
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118384 grokproject/grokproject/template/etc/debug.ini.in_tmpl: Add resource_injection to WSGI pipeline22:23
*** __adso has joined #zope22:27
*** __adso has left #zope22:31
*** minskmaz has quit IRC22:35
*** teix has quit IRC22:51
*** dayne has quit IRC22:55
*** Rotonen has quit IRC23:00
*** JaRoel|4D has quit IRC23:01
*** dayne has joined #zope23:03
*** dayne has left #zope23:03
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118384 grokproject/grokproject/template/etc/debug.ini.in_tmpl: Add resource_injection to WSGI pipeline23:03
CIA-82janjaapdriessen janjaapdriessen-hurry.resource * r118385 grokproject/grokproject/ (12 files in 6 dirs): Use hurry.resource in the resulting project.23:03
*** dayne has joined #zope23:18
*** zagy has quit IRC23:33
*** smita has joined #zope23:34
*** smita has quit IRC23:48

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