On Thu, 2003-04-10 at 10:01, Frank Barknecht wrote:
> $ python fragen.py
> Traceback (most recent call last):
> File "fragen.py", line 15, in ?
> class Answer(SQLObject):
> File "/usr/lib/python2.2/site-packages/SQLObject/SQLObject.py", line 124, in __new__
> mod = sys.modules[dict['__module__']]
> KeyError: __module__
>
> What does that mean and how to fix? Python is 2.2-final.
That's weird. It's like it isn't doing the metaclass thing right. As
long as you don't use __connection__ that line shouldn't be executed,
for a quick fix (or test)... I wonder if 2.2 has problems (I've been
doing my testing on 2.2.2).
Ian
|