plone

Integrate facebook users on Plone

时光总嘲笑我的痴心妄想 提交于 2019-11-28 01:24:46
问题 I'm creating a Plone site which will allow users to register with Facebook but I need more than just like boxes and feed forms. I already have collective.simplesocial[1]. Logged users are expected to have some more data than the Plone default (i.e. height, weight, average workout...) and the data that one can get from Facebook. So the question is: how can I register users that some data comes from Facebook? Facebook connect is quite handy since whenever the user is logged on Facebook, it will

Dump stacktraces of all active Threads

眉间皱痕 提交于 2019-11-27 22:43:23
I'm trying to dump a list of all active threads including the current stack of each. I can get a list of all threads using threading.enumerate(), but i can't figure out a way to get to the stack from there. Background: A Zope/Plone app freaks out from time to time, consuming 100% of cpu and needs to be restarted. I have a feeling it's a loop which doesn't terminate properly, but i cannot reproduce it in the test-environemt for verification. I managed to register a signal handler which can be triggered from the outside, so i can trigger some code as soon as the situation occurs again. If I

Dump stacktraces of all active Threads

你说的曾经没有我的故事 提交于 2019-11-26 21:06:57
问题 I'm trying to dump a list of all active threads including the current stack of each. I can get a list of all threads using threading.enumerate(), but i can't figure out a way to get to the stack from there. Background: A Zope/Plone app freaks out from time to time, consuming 100% of cpu and needs to be restarted. I have a feeling it's a loop which doesn't terminate properly, but i cannot reproduce it in the test-environemt for verification. I managed to register a signal handler which can be