1. Chris Moffitt
  2. satchmo
Issue #398 resolved

Ascii Problem

Anonymous created an issue

i am turkish user. Iknow satchmo dont have turksih translasiton. But i write tr_TR in my setting.py. when i give

$ python manage.py syncdb Installing yaml fixture 'initial_data' from '/usr/lib/python2.5/site-packages/satchmo/shop/fixtures'. Problem installing fixture '/usr/lib/python2.5/site-packages/satchmo/ shop/fixtures/initial_data.yaml': 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)

can i fix it ?

Reported by talat

Comments (3)

  1. Anonymous

    i fond problem. I use turkish directory name Masaüstü. In my settings.py i wrote DIRNAME = os.path.abspath(os.path.dirname(file))

    if i wrote :

    DIRNAME = os.path.abspath(os.path.dirname(file).decode('utf-8'))

    it is fix. If we change this line in settings-customs.py there is no problem all language.

  2. Log in to comment