[Zope] Re: UnboundLocalError with FSCounter 1.2

marc lindahl marc@bowery.com
Thu, 07 Mar 2002 10:32:29 -0500


Yikes!
I have no idea, really... I simply mofidied the normal product to be
settable from the ZMI.  I'm CC'ing the list, maybe the original authors or
someone else has a clue....

> From: John_Knutson@candle.com
> Date: Thu, 7 Mar 2002 14:22:01 +0000
> To: marc@bowery.com
> Subject: UnboundLocalError with FSCounter 1.2
> 
> Marc,
> 
> I'm using your FSCounter 1.2 product and it appears to work fine. However,
> after changing a property on one of the counters (to add a IP address to
> the exclusion list) I got the message UnboundLocalError on every access to
> the page with the counter in it. Considering it's displayed from
> standard-html-footer, it happens all the time.
> 
> I managed to get over the problem by undoing the changes but I'm a bit
> concerned that it will happen at other times.
> 
> Is this behaviour expected? Should I never update properties? If that's the
> case, is it safe to delet and recreate a counte with the same name if I
> need to change something?
> 
> I welcome your advice.
> 
> Cheers,
> John
> 
> John Knutson
> Business Development Manager, BSM, Europe
> Telephone:   +44-1276-414836
> Mobile:        +44-7770-816157
> Home office: +44-1962-844719