Ask Your Question
2

Error ImportError: cannot import name str_to_unicode

asked 2013-02-19 09:52:54 -0600

anonymous user

Anonymous

updated 2013-02-28 14:45:27 -0600

Evgeny gravatar image

Hi, after start syncdb got the next error ImportError: cannot import name str_to_unicode some ideas how to solve it?

edit retag flag offensive close merge delete

Comments

Please post the error traceback, it's hard to tell where this is coming from based on the information provided.

Evgeny gravatar imageEvgeny ( 2013-02-19 13:21:23 -0600 )edit

sorry I'm new in Django, where can I get traceback, if I starting it in terminal, while webserver not running yet

here is what i got in termonal: python manage.py syncdb WARNING!!! You are using a 'locmem' (local memory) caching backend, which is OK for a low volume site running on a single-process server. For a multi-process configuration it is neccessary to have a production cache system, such as redis or memcached.

With local memory caching and multi-process setup you might intermittently see outdated content on your site.

cannot import name str_to_unicode WARNING!!! You are using a 'loc

Den4uk gravatar imageDen4uk ( 2013-02-19 22:19:42 -0600 )edit

Is it followed by a crash? or the process keeps running? If your traceback does not fit here please email it at support@askbot.com

Evgeny gravatar imageEvgeny ( 2013-02-22 18:01:54 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-28 09:49:10 -0600

mbi gravatar image

You probably installed Django 1.5: the installation requirements don't specify any upper bound for the version of Django, but AFAIK Askbot is not yet compatible with Django 1.5

You can try fixing this with:

pip uninstall Django
pip install Django==1.4.5
edit flag offensive delete link more

Comments

Confirmed, Askbot does not work with Django 1.5 at the moment.

Evgeny gravatar imageEvgeny ( 2013-02-28 13:05:08 -0600 )edit

Restricted version of django from above in the repository, until we figure this out.

Evgeny gravatar imageEvgeny ( 2013-02-28 14:46:31 -0600 )edit

it worked now

suhail gravatar imagesuhail ( 2013-08-01 06:27:39 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-02-19 09:52:54 -0600

Seen: 1,411 times

Last updated: Feb 28 '13