[Zope-Coders] startup problems
Jeremy Hylton
jeremy@zope.com
Thu, 1 Nov 2001 15:13:35 -0500 (EST)
>>>>> "JPS" == Jeffrey P Shell <jeffrey@cuemedia.com> writes:
JPS> On a fresh CVS (HEAD) Checkout + Build, on linux (Redhat 7.1, I
JPS> believe), I'm getting the following in my debug.log for every
JPS> Zope product when I attempt to start up::
(Nice to hear from you, Jeffrey.)
JPS> Lexicon.py, line 230, in Splitter TypeError: function takes at
JPS> most 2 arguments (3 given)
I've got a tangential response.
A small suggestion for future development: The above error is raised
by PyArg_ParseTuple(). The format string you pass can optionally end
with ":function_name" when will produce a nicer error message, with
the name of the function in the exception where it just says
"function."
We ought to use it when we can -- when we're updating old code or
writing new code.
Jeremy