abakan-zz / ablog

ABlog for blogging with Sphinx
ablog.readthedocs.org
Other
122 stars 34 forks source link

'ascii' codec can't encode characters... when build #34

Closed uralbash closed 9 years ago

uralbash commented 9 years ago

I'm trying to build cyrilic article like this:

.. post:: Apr 15, 2014
   :tags: earth, love, peace
   :category: python
   :language: ru

Привет Мир!
===========

...

But getting error:

  File "/home/user/.virtualenvs/blog/local/lib/python2.7/site-packages/sphinx/application.py", line 408, in emit         
    results.append(callback(self, *args))                                                                                    
  File "/home/user/.virtualenvs/blog/local/lib/python2.7/site-packages/ablog/post.py", line 411, in process_postlist     
    emp.append(nodes.Text(str(item)))                                                                                        
UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-11: ordinal not in range(128)                        
abakan-zz commented 9 years ago

Thanks for reporting this issue. v0.6.2 bugfix release is not available.