On Sep 23, 3:04 am, "Chris Moffitt" <[EMAIL PROTECTED]> wrote:
> 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 Hi Chris, Thanks for the pointers, managed to debug this successfully. The error was in satchmo.contact.listeners, line 12 was passing str instead of the postcode pc = ukpostcode.parse_uk_postcode(str) should read... pc = ukpostcode.parse_uk_postcode(postcode) I'm a little new to this, i've raised ticket #583, hope everything is as it should be. Thanks Roger. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
