On Fri, 11 Jul 2003 15:39:52 -0400, Mark Melvin <markm@...>
wrote:
> I have a need to force a refresh of my data from the database. I like the
> idea of a .sync() function.
>
> At any rate, I have been using the _connection.purge() to force deletion
> of a certain object from the cache as well as the .clear() method to
> clear the entire cache. This caused an exception due to a typo in the
> .clear() method.
>
> Line 140 should be: self.expiredCache[key] = ref(value)
>
> Or, change line 139 to use the variable names 'id', and 'obj'.
>
As it turns out - passing cache=False to the connection constructor (as
mentioned in a previous thread) solves my problem and do not have to use
these methods anyway...but the bug should be fixed up.
I also noticed if you pass 'cache=False' to the connection and try to call
.purge(), it causes an exception because there is no 'cache' attribute. I
think this should probably be fixed as well with a check or something just
as simple.
--
Thanks,
Mark.

I have a need to force a refresh of my data from the database. I like the
idea of a .sync() function.
At any rate, I have been using the _connection.purge() to force deletion of
a certain object from the cache as well as the .clear() method to clear the
entire cache. This caused an exception due to a typo in the .clear()
method.
Line 140 should be: self.expiredCache[key] = ref(value)
Or, change line 139 to use the variable names 'id', and 'obj'.
--
Thanks,
Mark.

<html>
<head>
<title>Hy sweet</title>
</head>
<body>
<p><font face=3D"Arial">Hi Sylvia!<br>
Me and Lisa are back online with our new site!<br>
We put on all Lisa's nude shots!<br>
There's also a movie of me and Lisa nude on the street!<br>
Come and visit us,
<a href=3D"http://www.geocities.com/e_omar_77/"><b>this is our site</b></a=
>.<br>
We hope to meet you again on Kerkira's nudist beach this year!<br>
We will be at Kerkira from August 1 to September 5.<br>
Don't forget to
<a href=3D"http://www.geocities.com/f_omar_77/"><b>visit our website</b></=
a>!<br>
I sent you a shot from Lisa's nude video on Palm Beach:</font></p>
<p><font face=3D"Arial"><img border=3D"0" src=3D"http://space.virgilio.it/=
hostxexe@.../thumb.jpg"></font></p>
<p><font face=3D"Arial">See you soon!<br>
<br>
Darren &amp; Lisa.</font></p>
</body>
</html>kjpuvpsxlqgix km yzxf tg cunw ag
ra