"Dieter" == Dieter Maurer <dieter@handshake.de> writes:
Dieter> Look at Python's "traceback" module (--> Python Library Dieter> Reference). It contains the function "print_exc" that Dieter> allows you to format the exception and put the result into Dieter> a file. This will tell you the cause of the problem. Thanks, that's a handy one to know. They problem was that I was loading the module, not the class, with from Products.StructuredDocument import StructuredDocument I needed from Products.StructuredDocument.StructuredDocument import StructuredDocument The traceback gave it away Traceback (most recent call last): File "/usr/local/Zope/Extensions/PUT_STXPage.py", line 14, in PUT_factory ob = StructuredDocument( body, __name__=name ) TypeError: object of type 'module' is not callable Thanks, John Hunter