Ошибка при установке "'ascii' codec can't encode characters"
Добрый день, помогите pls
Делаю все как написано в мануале.
На боевом сервере на чистую бд все встает и заводится без проблем.
Но вот когда попытался интегрировать askbot в действующий проект получаю ошибку:
python manage.py migrate askbot
Traceback (most recent call last): File "manage.py", line 11, in <module> executemanager(settings) File "/usr/local/lib/python2.6/site-packages/django/core/management/init.py", line 438, in executemanager utility.execute() File "/usr/local/lib/python2.6/site-packages/django/core/management/init.py", line 379, in execute self.fetchcommand(subcommand).runfromargv(self.argv) File "/usr/local/lib/python2.6/site-packages/django/core/management/base.py", line 191, in runfromargv self.execute(*args, **options.dict) File "/usr/local/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.6/site-packages/south/management/commands/migrate.py", line 105, in handle ignoreghosts = ignoreghosts, File "/usr/local/lib/python2.6/site-packages/south/migration/init.py", line 191, in migrateapp success = migrator.migratemany(target, workplan, database) File "/usr/local/lib/python2.6/site-packages/south/migration/migrators.py", line 221, in migratemany result = migrator.class.migratemany(migrator, target, migrations, database) File "/usr/local/lib/python2.6/site-packages/south/migration/migrators.py", line 292, in migratemany result = self.migrate(migration, database) File "/usr/local/lib/python2.6/site-packages/south/migration/migrators.py", line 125, in migrate result = self.run(migration) File "/usr/local/lib/python2.6/site-packages/south/migration/migrators.py", line 99, in run return self.runmigration(migration) File "/usr/local/lib/python2.6/site-packages/south/migration/migrators.py", line 81, in runmigration migrationfunction() File "/usr/local/lib/python2.6/site-packages/south/migration/migrators.py", line 57, in <lambda> return (lambda: direction(orm)) File "/usr/local/lib/python2.6/site-packages/askbot/migrations/0006addsubscriptionsettingforcommentsandmentions.py", line 49, in forwards user.id UnicodeEncodeError: 'ascii' codec can't encode characters in position 34-42: ordinal not in range(128)
БД utf8generalci
На локальной машине все интегрируется без особых проблем. Извиняюсь что спрашиваю на русском, с английским не дружу :-(
Comments