zope

Sql Alchemy QueuePool limit overflow

Sql Alchemy QueuePool limit overflow Question: I have a Sql Alchemy application that is returning TimeOut: TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30 I read in a different post that this happens when I don’t close the session but I don’t know if this applies to my code: …

Total answers: 2

PIL "IOError: image file truncated" with big images

PIL "IOError: image file truncated" with big images Question: I think this problem is not Zope-related. Nonetheless I’ll explain what I’m trying to do: I’m using a PUT_factory in Zope to upload images to the ZODB per FTP. The uploaded image is saved as a Zope Image inside a newly created container object. This works …

Total answers: 7

Purpose of Zope Interfaces?

Purpose of Zope Interfaces? Question: I have started using Zope interfaces in my code, and as of now, they are really only documentation. I use them to specify what attributes the class should possess, explicitly implement them in the appropriate classes and explicitly check for them where I expect one. This is fine, but I …

Total answers: 4

Get stacktrace from stuck python process that does not accept signals

Get stacktrace from stuck python process that does not accept signals Question: I have to run a legacy Zope2 website and have some grievance with it. The biggest issue is that, occasionally, it just locks up, running at 100% CPU load and not answering to requests anymore. While the problem isn’t reproducible on a regular …

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