-
Notifications
You must be signed in to change notification settings - Fork 85
Setting the post date to a value in March crashes Blogofile #141
Comments
I suppose that I know now why this happens: March means März in German (notice the ä) and it's the only German month that has an umlaut in its name. It's pretty clear if you read the error message (it says that a I found out about this because I'm trying to translate the output of I wasn't able to come up with a better solution, so I just replace the German month names with the English ones:
Basically, this works, but as soon as I insert the lines for März (March), Blogofile crashes with the error below. The last line says
|
Okay, I just found out that everything works for me when I set the locale completely to English by putting this into config.py:
(thanks to Peter Zsoldos for pointing me to this) So the problem has disappeared for me, but everyone who tries to use Blogofile to blog in German (or, probably, any language containing umlauts) will still have the same problem. |
TL;DR:
Blogofile crashes when I set the post date to a date where the month name in my machine's default language contains an umlaut (in my case, the language is German and the umlaut is in "März", which is the German word for the month March).
I avoided the problem by setting the locale to English before the build. This works for me because I want to blog in English anyway, but it won't work for people who want to blog in a language with umlauts.
Long version:
I just discovered Blogofile a few hours ago, and I'm just trying to create my first site.
I ran into this issue first when I created a new site, and tried to add a new post (with a date in March 2012) to it.
Then I discovered that I get the same error when I change the post date in one of the default example posts.
After playing around with some test values, I found out that this error occurs whenever I set the post date to a value between March 1st and March 31st, no matter which year (I tested 2009 to 2012).
Here are the steps to reproduce the problem:
I'm using:
I create a new site according to the quick tutorial:
Blogofile compiles and I can view the site via http://localhost:8080.
Then I change the YAML header of this file:
By default, the header says this:
I change the month to March:
Then I try to build the site again:
Blogofile crashes and outputs this:
The text was updated successfully, but these errors were encountered: