RajatShukla / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

csv export 'ascii' codec can't encode #298

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It's possible to enter an ascii character in the name of the card holder, may 
be it shouldn't be so. With the nullpayment processor at least, the card is 
accepted but you can't export a search

Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 47, in call_object
  Module Products.PloneGetPaid.browser.admin_order, line 344, in __call__
  Module Products.PloneGetPaid.browser.admin_order, line 325, in update
  Module ore.viewlet.core, line 21, in update
  Module Products.PloneGetPaid._patch, line 44, in update
  Module zope.formlib.form, line 763, in update
  Module zope.formlib.form, line 607, in success
  Module Products.PloneGetPaid.browser.admin_order, line 160, in export_search
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 0: 
ordinal not in range(128)

Original issue reported on code.google.com by danielle...@gmail.com on 17 Jul 2010 at 3:34