Hi,

On Mon, Aug 8, 2011 at 6:38 PM, Andrew Colin Kissa <[email protected]> wrote:
>
> On 08 Aug 2011, at 6:32 PM, Mikael Syska wrote:
>
>> When going to: http://sub.domain/reports/10/
>>
>> I get the following exception:
>>
>> /usr/local/lib/python2.6/site-packages/baruwa/messages/templatetags/messages_extras.py
>> in tds_geoip
>> 137.138.139.140.141.142.143.144.    return mark_safe(tag)
>> ...145.146.147.148.149.150.
>>
>> Local vars
>> cname ->  ''
>> ccode => ''
>> value => u'192.168.201.16'
>>
>> Its a local server sending mail though the spam server.
>>
>> So I dont think it can do either geoip or country lookup on a private
>> ip ... so it might be as the exception says "Caught UnboundLocalError
>> while rendering: local variable 'tag' referenced before assignment"
>
> http://lists.baruwa.org/pipermail/baruwa/2011-July/thread.html#1124

And this one: 
https://github.com/akissa/baruwa/commit/3d8f7b10bc7a9529df67035cd31a28af17f5da8f

>
> --
> Baruwa - www.baruwa.org
>
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa
> Keep Baruwa FREE - http://pledgie.com/campaigns/12056
>
_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to