On Mon, Sep 22, 2008 at 6:53 PM, boardman <[EMAIL PROTECTED]> wrote:

>
> Hi
>
> UK Post Code validation is failing for me with a TypeError when trying
> to checkout.  It appears that the post code is being passed to
> parse_uk_postcode in satchmo.l10n.validators.ukpostcode as a type
> rather than as a string.
>

Hmm. This is relatively new code so I haven't even taken a look at it yet. I
imagine it's just some sort of issue with the form cleaning and unicode but
I'm guessing a bit. I'd try sprinkling some log/print statement around line
50 of ukpostcode.py to verify what is getting passed in.

It's getting passed from lines 91 and 95 in /satchmo/contact/forms.py so see
if there's something messed up with the cleaning of the form.

If you're not able to debug, please submit a ticket and we'll take a look at
it.

-Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to