You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.
When running blogofile build, I get the following error:
midna /tmp $ git clone git://code.i3wm.org/i3-website
Cloning into 'i3-website'...
remote: Counting objects: 1213, done.
remote: Compressing objects: 100% (504/504), done.
remote: Total 1213 (delta 675), reused 1213 (delta 675)
Receiving objects: 100% (1213/1213), 34.37 MiB | 609 KiB/s, done.
Resolving deltas: 100% (675/675), done.
midna /tmp $ cd i3-website
midna /tmp/i3-website master $ blogofile build
ERROR:blogofile.post:Error reading post: _posts/2011-07-31-i3-4.0-released.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
ERROR:blogofile:Fatal build error occured, calling bf.config.build_exception()
Traceback (most recent call last):
File "/usr/local/bin/blogofile", line 9, in <module>
load_entry_point('Blogofile==0.8b1', 'console_scripts', 'blogofile')()
File "/usr/local/lib/python2.7/dist-packages/blogofile/main.py", line 58, in main
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/blogofile/main.py", line 388, in do_build
writer.write_site()
File "/usr/local/lib/python2.7/dist-packages/blogofile/writer.py", line 49, in write_site
self.__run_controllers()
File "/usr/local/lib/python2.7/dist-packages/blogofile/writer.py", line 162, in __run_controllers
controller.run_all(namespaces)
File "/usr/local/lib/python2.7/dist-packages/blogofile/controller.py", line 229, in run_all
c.mod.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
midna /tmp/i3-website master $ blogofile --version
Blogofile 0.8b1 -- http://www.blogofile.com -- CPython 2.7.3rc2
As far as I can tell, there’s multiple problems here, but I’m not sure which one to start with, so I’ll leave that up to you :-). Feel free to clone the repository to reproduce the issues.
The text was updated successfully, but these errors were encountered:
I went through the same problem, and my only solution was to fallback to 0.7.1, i.e.: pip install blogofile==0.7.1. As it is stated on the release announce of 0.8b1, the migration from 0.7 to 0.8 is still not supported. If you really want to upgrade, you either have the choice to rebuild your site from scratch with the new version of blogofile, or writing a migration script that the whole community will thank you to do.
You mentioned you’d be interested in my experiences to upgrade to 0.8, so here comes the first ticket.
I have the following _config.py:
When running blogofile build, I get the following error:
As far as I can tell, there’s multiple problems here, but I’m not sure which one to start with, so I’ll leave that up to you :-). Feel free to clone the repository to reproduce the issues.
The text was updated successfully, but these errors were encountered: