First time here? Check out the FAQ!
1

Ошибка при установке "'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

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

Evgeny's avatar
13.2k
Evgeny
updated 2011-09-11 08:32:48 -0600
anonymous user
asked 2011-09-10 18:31:14 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I tink I've fixed this one - please try again, an update is available at github: https://github.com/ASKBOT/askbot-devel

Did you get the source from git or pypi?

Thanks for the feedback!

Evgeny's avatar
13.2k
Evgeny
updated 2011-09-11 07:47:26 -0600, answered 2011-09-11 07:45:53 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments