[Zope-Coders] startup problems

Andreas Jung Andreas Jung" <andreas@zope.com
Thu, 1 Nov 2001 15:48:29 -0500


----- Original Message ----- 
From: "Jeremy Hylton" <jeremy@zope.com>
To: "Jeffrey P Shell" <jeffrey@cuemedia.com>
Cc: <zope-coders@zope.org>
Sent: Thursday, November 01, 2001 15:13
Subject: Re: [Zope-Coders] startup problems


> >>>>> "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.

Jup,

but this error occurs in Python code.

Andreas