Error ImportError: cannot import name str_to_unicode
Hi, after start syncdb got the next error ImportError: cannot import name str_to_unicode some ideas how to solve it?
Hi, after start syncdb got the next error ImportError: cannot import name str_to_unicode some ideas how to solve it?
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
Confirmed, Askbot does not work with Django 1.5 at the moment.
Restricted version of django from above in the repository, until we figure this out.
it worked now
To enter a block of code:
Comments
Please post the error traceback, it's hard to tell where this is coming from based on the information provided.
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
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