Skip to content

Instantly share code, notes, and snippets.

@bsdlp
Created July 27, 2014 23:31
Show Gist options
  • Save bsdlp/a9d4c28583e6c19227f5 to your computer and use it in GitHub Desktop.
Save bsdlp/a9d4c28583e6c19227f5 to your computer and use it in GitHub Desktop.
CRITICAL: coercing to Unicode: need string or buffer, list found
Traceback (most recent call last):
File "/Users/jchen/.venvs/burrito.sh/bin/pelican", line 11, in <module>
sys.exit(main())
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/pelican/__init__.py", line 419, in main
pelican.run()
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/pelican/__init__.py", line 167, in run
p.generate_context()
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/pelican/generators.py", line 508, in generate_context
self.categories[article.category].append(article)
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/pelican/urlwrappers.py", line 48, in __eq__
return self._key() == self._normalize_key(other)
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/pelican/urlwrappers.py", line 45, in _normalize_key
return six.text_type(slugify(key, subs))
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/pelican/utils.py", line 234, in slugify
value = Markup(value).striptags()
File "/Users/jchen/.venvs/burrito.sh/lib/python2.7/site-packages/markupsafe/__init__.py", line 74, in __new__
return text_type.__new__(cls, base)
TypeError: coercing to Unicode: need string or buffer, list found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment