plone

Couldn't find index page for 'ploneconf.site' (maybe misspelled?)

Couldn't find index page for 'ploneconf.site' (maybe misspelled?) Question: Hi i am following the mastering plone6 training. On:https://training.plone.org/5/mastering-plone/index.html#mastering-plone-label I am trying to install plone on my computer and i am following these instructions for that: https://training.plone.org/5/plone_training_config/instructions.html When I run the command to start building: ./bin/buildout it builds just fine but after a while building stops …

Total answers: 1

how to get derived class name from base class

how to get derived class name from base class Question: I have a base class Person and derived classes Manager and Employee. Now, what I would like to know is the object created is Manager or the Employee. The person is given as belows: from Project.CMFCore.utils import getToolByName schema = getattr(Person, ‘schema’, Schema(())).copy() + Schema((TextField(‘FirstName’, …

Total answers: 7

Dump stacktraces of all active Threads

Dump stacktraces of all active Threads Question: 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 …

Total answers: 6