Yes, this is a bug that must not have been caught by the interpreter
until 2.3. Fix now in CVS.
On Sun, 2003-04-13 at 02:25, Matt Mohebbi wrote:
> Hello,
>
> I have just checked out SQLObject from CVS and installed it on my
> debian system (python2.3). I get the following when I attempt to run
> the test program.
>
> >>> p = Person.new(firstName="John", lastName="Doe", username="johnd")
> Traceback (most recent call last):
> File "people.py", line 161, in ?
> runTest(test1)
> File "people.py", line 159, in runTest
> exec line[4:]
> File "<string>", line 1, in ?
> File "/usr/lib/python2.3/site-packages/SQLObject/SQLObject.py", line 665, in new
> inst = cls(None)
> File "/usr/lib/python2.3/site-packages/SQLObject/SQLObject.py", line 292, in __new__
> inst = object.__new__(cls, id)
> TypeError: default __new__ takes no parameters
>
> Any idea what could be causing this?
>
> Thanks,
> Matt
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
> for complex code. Debugging C/C++ programs can leave you feeling lost and
> disoriented. TotalView can help you find your way. Available on major UNIX
> and Linux platforms. Try it free. www.etnus.com
> _______________________________________________
> sqlobject-discuss mailing list
> sql...@li...
> https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
|