Hallo,
Ian Bicking hat gesagt: // Ian Bicking wrote:
> 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).
I do, too, but this webserver currently has only 2.2.0 installed.
I'll see, if we can update this without breaking other things. I'm the
only one using python there, the webmaster is a perl guy...
Changing connection to a class variable (_connection = ...) leads me
past this error, but another one comes along:
$ python fragen.py
[...]
Me OR You OR freeForm OR You OR freeForm
-- Ah, no, I guess, "Me" is not a good answer...
Traceback (most recent call last):
File "fragen.py", line 92, in ?
a1.destroy()
File "/usr/lib/python2.2/site-packages/SQLObject/SQLObject.py", line 831, in destroy
self._connection.cache.purge(self.id)
AttributeError: 'CacheSet' object has no attribute 'purge'
So, I cannot destroy. :(
I guess, the requirements of SQLObject should be raised up 2 minor
numbers...
ciao
--
Frank Barknecht _ ______footils.org__
|