> Any clues as to what is happening here or what to do next? Apparently, it tries to wrap the main() function. It should not do that: main should not be callable from Python. Most likely, you have a declaration of main somewhere so it thinks it should wrap it. You should not have a declaration of main, anyway, so you should be safely able to drop that.
Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list