Skip to content

Instantly share code, notes, and snippets.

@wwitzel3
Created March 1, 2011 23:40
Show Gist options
  • Save wwitzel3/850149 to your computer and use it in GitHub Desktop.
Save wwitzel3/850149 to your computer and use it in GitHub Desktop.
default blog init / build
(riotous)boi-mac-wwitzel:riotousbeta wayne.witzel$ blogofile build
ERROR:blogofile.post:Error reading post: _posts/001 - post 1.markdown
Traceback (most recent call last):
File "_controllers/blog/post.py", line 329, in parse_posts
bf.config.controllers.blog.post_encoding)
TypeError: decode() argument 1 must be string, not HierarchicalCache
Traceback (most recent call last):
File "/Users/wayne.witzel/.virtualenvs/riotous/bin/blogofile", line 8, in <module>
load_entry_point('Blogofile==1.0.0-DEV', 'console_scripts', 'blogofile')()
File "/Users/wayne.witzel/code/blogofile/blogofile/main.py", line 134, in main
args.func(args)
File "/Users/wayne.witzel/code/blogofile/blogofile/main.py", line 198, in do_build
writer.write_site()
File "/Users/wayne.witzel/code/blogofile/blogofile/writer.py", line 51, in write_site
self.__run_controllers()
File "/Users/wayne.witzel/code/blogofile/blogofile/writer.py", line 135, in __run_controllers
controller.run_all()
File "/Users/wayne.witzel/code/blogofile/blogofile/controller.py", line 205, in run_all
controller.run()
File "_controllers/blog/__init__.py", line 25, in run
blog.posts = post.parse_posts("_posts")
File "_controllers/blog/post.py", line 329, in parse_posts
bf.config.controllers.blog.post_encoding)
TypeError: decode() argument 1 must be string, not HierarchicalCache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment