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
|