IRC log of #zope for Monday, 2013-05-06

*** J1m has quit IRC00:08
*** menesis has quit IRC00:13
*** taufik has joined #zope00:23
*** taufik has quit IRC00:26
*** RichyB has joined #zope00:50
*** Arfrever has quit IRC00:58
*** RichyB has quit IRC01:05
*** RichyB has joined #zope01:23
*** motto has quit IRC02:17
*** chaoflow has quit IRC02:19
*** chaoflow has joined #zope02:22
*** kosh has quit IRC02:23
*** mindthief414 has joined #zope02:38
*** kosh has joined #zope02:47
*** RichyB has quit IRC03:52
*** mr_jolly has quit IRC04:33
*** mindthief414 has quit IRC05:06
*** MatthewWilkes is now known as mwilkes|away05:18
*** kosh has quit IRC08:04
*** bosim has joined #zope08:10
*** mindthief414 has joined #zope08:54
*** PeterZ1 has joined #zope08:58
*** PeterZ1 has left #zope08:58
*** mwilkes|away is now known as MatthewWilkes09:04
*** bosim has quit IRC09:19
*** agroszer has joined #zope09:20
*** River-Rat has quit IRC09:20
*** River_Rat has joined #zope09:20
*** bosim has joined #zope09:23
*** bosim has quit IRC09:23
*** mr_jolly has joined #zope09:27
*** mindthief414 has quit IRC09:33
*** maurits has joined #zope10:06
Moo-_-what's up-to-date way to sign Zope contributor agreement?10:09
*** miano has joined #zope10:13
*** giacomos has joined #zope10:14
*** bosim has joined #zope10:17
*** bosim has joined #zope10:17
*** tmog has joined #zope10:36
*** __mac__ has joined #zope10:53
*** taufik has joined #zope10:56
*** KageSenshi has quit IRC10:58
*** m8 has joined #zope11:02
*** menesis has joined #zope11:22
*** m8 has quit IRC11:34
*** m8 has joined #zope11:35
*** MrTango has joined #zope11:36
*** goschtl has joined #zope11:44
*** djc has joined #zope11:56
djchttps://bugs.launchpad.net/zope.interface/+bug/106225211:57
_mup_Bug #1062252: Metaclass problem on Python 3.2 <zope.interface:New> <https://launchpad.net/bugs/1062252>11:57
djcthis still happens with 4.0.511:57
djcwhy hasn't it gotten any attention for ~6 months?11:57
*** RichyB has joined #zope12:09
*** tmog has quit IRC12:13
*** eperez has joined #zope12:15
*** KageSenshi has joined #zope12:25
*** tmog has joined #zope12:26
*** KageSenshi has quit IRC12:26
*** tmog has quit IRC12:41
*** menesis has quit IRC12:43
*** tmog has joined #zope12:48
*** KageSenshi has joined #zope12:49
*** fredvd has joined #zope13:01
mgedminMoo-_-, http://foundation.zope.org/agreements13:03
mgedminspecifically, http://foundation.zope.org/agreements/ZopeFoundation_Committer_Agreement13:04
mgedmindjc, I can't reproduce13:14
*** tmog has quit IRC13:14
*** yvl has joined #zope13:25
Moo-_-mgedmin: thanks a lot13:30
djcmgedmin: we're doing python setup.py test13:32
djcis that not a supported way of testing?13:32
mgedmindjc, it should work13:32
mgedminthat's what tox.ini specifies13:32
djcany hints on troubleshooting this thing?13:33
mgedminok, I just did git checkout 4.0.1 && python3.2 setup.py test, and I got "Ran 1341 tests in 0.359s" and "OK"13:33
mgedmindjc, which zope.interface version are you testing?13:33
djc4.0.513:33
djcbut we saw the same thing with 4.0.1 and even 3.8.0 I think13:33
mgedmindo you perhaps have an older zope.interface in your site packages?13:34
mgedminthe traceback in that bug seems to indicate so13:35
djcyeah, I do13:35
mgedminplease use a virtualenv13:35
djcmmm13:36
djccan I just do PYTHONPATH=. instead?13:36
djcthis is for Gentoo's packaging environment13:37
mgedminI doubt that will wotrk13:38
mgedminbut you can try13:39
*** J1m has joined #zope13:40
*** tmog has joined #zope13:41
*** menesis has joined #zope13:49
djcmgedmin: okay, thanks, we'll take a look at tox13:51
*** djc has left #zope13:51
*** goschtl has quit IRC13:52
mgedminit's a very nice tool that basically automates the creation of a virtualenv for you, so you can run the tests in an isolated fashion13:52
mgedminhttps://pypi.python.org/pypi/tox13:52
mgedminplus there's https://pypi.python.org/pypi/detox which runs the tests for multiple Python versions in parallel13:53
*** taufik has quit IRC14:28
*** dayne has joined #zope14:31
*** m8 has quit IRC14:32
*** m8 has joined #zope14:33
*** J1m has quit IRC14:37
*** taufik has joined #zope14:57
*** enduro has joined #zope15:20
endurohello15:20
enduroany helping hands available15:20
enduroive one problem that has lastest now for two months15:20
endurowith old zope, and multiple instances15:21
enduroone crashes but i cannot get any output of it15:21
endurono hints15:21
endurohow do i debug threads properly15:21
mgedminzope 2?  I think there was a product called DeadlockDebugger15:22
mgedminit used sys._currentframes() to get stack traces from all live threads15:22
enduroyes that one i just found15:22
enduroand deployed15:22
enduroi hope it helps15:22
enduroi wonder if there are any otherways15:22
enduroafter that15:22
enduroif it fails to give hints15:22
endurozope2, yes.15:22
mgedmindo you know if it's a segfault or something?15:23
enduroits like client closes browser15:23
enduroand instance just stays there, no replies anywhere15:23
enduromysql gone away seen in logs sometimes, but that shouldnt be problem?15:24
mgedminno idea15:24
mgedminso the process is live, but stops responding to requests?15:24
enduroexactly15:24
mgedminyeah, _currentframes() should work there15:26
mgedminalternative debugging techniques include strace15:26
mgedminand attaching via gdb and trying to dump python level stacks (I never succeeded, I just made python segfault)15:27
enduroi can blame guys who coded itok15:27
enduro:D15:27
endurobut thanks for hints15:27
endurothe app i mean15:28
*** KageSenshi has quit IRC15:28
enduroi'll come back if this one doesnt help15:28
endurothanks beforehand15:28
mgedminI once had trouble in zope *3*15:28
mgedminwith server threads simply dying15:28
mgedminyou can check the number of threads with, say, pstree15:28
mgedminor ls /proc/$PID/task|wc -l15:28
mgedminIIRC zope 2 uses 1 main thread for accepting HTTP requests, and a number of worker threads for handling them15:29
*** fdrake has joined #zope15:29
mgedminif you use ZEO, there will be one extra thread dedicated for communicating with the ZEO server15:29
endurook15:30
endurothanks for chat.15:32
*** enduro has quit IRC15:32
*** goschtl has joined #zope15:42
*** J1m has joined #zope15:48
*** eperez has quit IRC15:59
*** sp0cksbeard has joined #zope15:59
*** m8 has quit IRC16:04
*** J1m has left #zope16:16
*** foodoo has joined #zope16:26
foodooHi, I can't find any documentation on how to create exceptions that translate into specific HTTP status codes. http://docs.zope.org/zope2/zdgbook/ObjectPublishing.html#exceptions16:32
foodooMaybe there are some zope-specific exception classes that map directly to the different HTTP status codes? If so, I haven't found them yet16:33
*** dayne has quit IRC16:41
foodoohttps://pypi.python.org/pypi/zExceptions found them16:59
*** foodoo has quit IRC17:00
*** agroszer has quit IRC17:02
*** KageSenshi has joined #zope17:02
*** m8 has joined #zope17:22
*** miano_ has joined #zope17:23
*** miano has quit IRC17:27
*** miano_ has quit IRC17:30
*** RichyB has left #zope17:36
*** MatthewWilkes is now known as mwilkes|away17:40
*** goschtl_ has joined #zope17:47
*** goschtl has quit IRC17:48
*** goschtl_ is now known as goschtl17:48
*** yvl has quit IRC17:50
*** yvl has joined #zope17:53
*** bosim has quit IRC17:59
*** dayne has joined #zope18:06
*** rreis has joined #zope18:11
*** rreis has left #zope18:12
*** bosim has joined #zope18:21
*** tmog has quit IRC18:23
*** bosim has quit IRC18:23
*** daMaestro has joined #zope18:24
*** benji has joined #zope18:25
*** mindthief414 has joined #zope18:30
*** __mac__ has quit IRC18:37
*** supton has joined #zope18:42
*** goschtl has quit IRC18:44
*** roq_ has joined #zope18:45
*** kosh has joined #zope18:45
*** roq_ has left #zope18:46
*** tiwula has joined #zope18:55
*** fredvd has quit IRC18:57
*** maurits has quit IRC19:24
*** taufik has quit IRC19:26
*** giacomos has quit IRC19:27
*** bosim has joined #zope19:30
*** menesis has quit IRC19:31
*** bosim has quit IRC19:38
*** RichyB has joined #zope19:59
*** menesis has joined #zope20:07
*** Spanktar has joined #zope20:17
*** bosim has joined #zope20:46
*** bosim has quit IRC20:57
*** miano has joined #zope21:00
*** rajesh has joined #zope21:17
*** MrTango has quit IRC21:26
*** menesis has quit IRC21:33
*** menesis has joined #zope21:35
*** taufik has joined #zope21:57
*** rajesh has quit IRC22:05
*** m8 has quit IRC22:13
*** m8 has joined #zope22:13
*** MrTango has joined #zope22:15
*** menesis has quit IRC22:21
*** taufik has quit IRC22:22
*** taufik has joined #zope22:23
*** benji has quit IRC22:41
*** thetet has joined #zope23:13
*** mwilkes|away is now known as MatthewWilkes23:17
*** MatthewWilkes is now known as mwilkes|away23:19
*** nueces has joined #zope23:22
*** taufik has quit IRC23:28
*** fredvd has joined #zope23:39
*** MrTango has quit IRC23:52
*** rajesh has joined #zope23:53
*** kosh has quit IRC23:58

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