On Fri, 29 Mar 2002, Dieter Maurer wrote:
kosh@aesaeion.com writes:
I am having a problem with webdav and getting that error. I do a cd into a regular zope folder that has about 5 objects that I have written as python products and all inherit from ObjectManager however while I can cd into that folder containing them if I do an ls I get a 500 Internal Server Error. I have enabled STUPID_LOG_FILE, debug mode etc but I don't get tracebacks anywhere so I am not sure where to look to find this problem. I am fairly sure the error is in my code somewhere but am not sure where to look. In order to make this issue more complex if I use ftp I can do an ls in the folder just fine and I can do into the objects that it contains without problems.
Mostly looking for a place to start debugging. I read that Andreas has a Webdav logger which can analyse Webdav traffic. A TCP-logger, like "tcpdump" or "etherreal", might also provide valuable information about the exact problem.
Search the list archives will provide the necessary details.
Actually I recently found the problem after doing a bunch of debugging. It turns out it was my get_size method. I had containers returning a size and that seemed to upset webdav. When I changed get_size around it seemed to make webdav happy again.