Ask Your Question

Ошибка при установке "'ascii' codec can't encode characters"

asked 2011-09-10 18:31:14 -0600

anonymous user


updated 2011-09-11 08:32:48 -0600

Evgeny's avatar

Добрый день, помогите pls

Делаю все как написано в мануале.

На боевом сервере на чистую бд все встает и заводится без проблем.

Но вот когда попытался интегрировать askbot в действующий проект получаю ошибку:

python migrate askbot

Traceback (most recent call last): File "", line 11, in <module> executemanager(settings) File "/usr/local/lib/python2.6/site-packages/django/core/management/", line 438, in executemanager utility.execute() File "/usr/local/lib/python2.6/site-packages/django/core/management/", line 379, in execute self.fetchcommand(subcommand).runfromargv(self.argv) File "/usr/local/lib/python2.6/site-packages/django/core/management/", line 191, in runfromargv self.execute(*args, **options.dict) File "/usr/local/lib/python2.6/site-packages/django/core/management/", line 220, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.6/site-packages/south/management/commands/", line 105, in handle ignoreghosts = ignoreghosts, File "/usr/local/lib/python2.6/site-packages/south/migration/", line 191, in migrateapp success = migrator.migratemany(target, workplan, database) File "/usr/local/lib/python2.6/site-packages/south/migration/", line 221, in migratemany result = migrator.class.migratemany(migrator, target, migrations, database) File "/usr/local/lib/python2.6/site-packages/south/migration/", line 292, in migratemany result = self.migrate(migration, database) File "/usr/local/lib/python2.6/site-packages/south/migration/", line 125, in migrate result = File "/usr/local/lib/python2.6/site-packages/south/migration/", line 99, in run return self.runmigration(migration) File "/usr/local/lib/python2.6/site-packages/south/migration/", line 81, in runmigration migrationfunction() File "/usr/local/lib/python2.6/site-packages/south/migration/", line 57, in <lambda> return (lambda: direction(orm)) File "/usr/local/lib/python2.6/site-packages/askbot/migrations/", line 49, in forwards UnicodeEncodeError: 'ascii' codec can't encode characters in position 34-42: ordinal not in range(128)

БД utf8generalci

На локальной машине все интегрируется без особых проблем. Извиняюсь что спрашиваю на русском, с английским не дружу :-(

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-09-11 07:45:53 -0600

Evgeny's avatar

updated 2011-09-11 07:47:26 -0600

I tink I've fixed this one - please try again, an update is available at github:

Did you get the source from git or pypi?

Thanks for the feedback!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-09-10 18:31:14 -0600

Seen: 202 times

Last updated: Sep 11 '11