This is not only true for cyrillic letters, but also for (I guess)
anything non-ascii, like German umlauts -- also in 6.1. The critical
point is:

    File "/usr/lib/pymodules/python2.6/pychart/font.py", line 374, in 
unaligned_get_dimension
      for line in unicode(text).split('\n'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 18: 
ordinal not in range(128)

I know that encodings are always a hassle, but I guess adding
".decode('utf-8')" somewhere in that line should help?

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/684592

Title:
  [RC1] non-ascii characters is not printed in pychart pdf report
  example : Future stock forecast.

Status in OpenERP Server:
  Confirmed

Bug description:
  Hello. When i select some product with cyrillic symbols inside its
  name and click "Future stock forecast" report, i get:

  (<type 'exceptions.UnicodeDecodeError'>, UnicodeDecodeError('ascii', '
  [MB2] Mainboard \xd0\xb2\xd1\x8b\xd0\xb0ASUStek A7V8X-X', 17, 18,
  'ordinal not in range(128)'), <traceback object at 0x02AAF4B8>)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/684592/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openerp-india
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-india
More help   : https://help.launchpad.net/ListHelp

Reply via email to