ValueError on Mac OS X
codeape opened this issue · 2 comments
I have installed blogofile in a python virtual environment on my Mac Book and this is what I get when I try to do blogofile build:
my-macbook:testblog me$ ../blogofile init simple_blog
Initializing the simple_blog site template...
my-macbook:testblog me$ ../blogofile build
ERROR:blogofile.filter:Cannot load filter: rst_template
Traceback (most recent call last):
File "../blogofile", line 8, in <module>
load_entry_point('Blogofile==0.7.1', 'console_scripts', 'blogofile')()
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/main.py", line 135, in main
args.func(args)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/main.py", line 195, in do_build
config_init(args)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/main.py", line 175, in config_init
config.init("_config.py")
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/config.py", line 92, in init
__load_config(config_file_path)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/config.py", line 66, in __load_config
filter.preload_filters()
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/filter.py", line 59, in preload_filters
load_filter(fn[:-3])
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/filter.py", line 95, in load_filter
mod = __loaded_filters[name] = __import__(name)
File "_filters/rst_template.py", line 1, in <module>
import docutils.core
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/core.py", line 20, in <module>
from docutils import frontend, io, utils, readers, writers
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/frontend.py", line 39, in <module>
import docutils.utils
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/utils.py", line 18, in <module>
from docutils.error_reporting import ErrorOutput, SafeString
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/eoscnor/Documents/testenv/lib/python2.6/locale.py", line 459, in getdefaultlocale
return _parse_localename(localename)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/locale.py", line 391, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
my-macbook:testblog me$
The thing is that I have the same problem on a live blog. I get the build error on my Mac but not on the Linux server. I create the markdown file on the Mac (and get build the build error if I try to build). I add the markdown file and commit it to a local git repo on my Mac and push it to a repo on a Linux server where I pull it to another git repo on the same server and do blogofile build with no problems.
This is how I installed blogofile:
my-macbook:Documents me$ mkdir testenv/bin/testblog
my-macbook:Documents me$ cd testenv/bin/testblog
my-macbook:testblog me$ ../easy_install blogofile
Searching for blogofile
Reading http://pypi.python.org/simple/blogofile/
Best match: blogofile 0.7.1
Downloading http://pypi.python.org/packages/source/B/Blogofile/blogofile-0.7.1.tar.gz#md5=a1fe1d9018eb5a84a076cd3f0d4bf8a2
Processing blogofile-0.7.1.tar.gz
Running blogofile-0.7.1/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-2n8F8K/blogofile-0.7.1/egg-dist-tmp-wBYKg1
zip_safe flag not set; analyzing archive contents...
blogofile.config: module references __file__
blogofile.site_init.__init__: module references __file__
Adding Blogofile 0.7.1 to easy-install.pth file
Installing blogofile script to /Users/eoscnor/Documents/testenv/bin
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg
Processing dependencies for blogofile
Searching for docutils
Reading http://pypi.python.org/simple/docutils/
Reading http://docutils.sourceforge.net/
Best match: docutils 0.8.1
Downloading http://prdownloads.sourceforge.net/docutils/docutils-0.8.1.tar.gz?download
Processing docutils-0.8.1.tar.gz
Running docutils-0.8.1/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-QC7taI/docutils-0.8.1/egg-dist-tmp-WUuWWQ
warning: no files found matching 'MANIFEST'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
Adding docutils 0.8.1 to easy-install.pth file
Installing rst2html.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2latex.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2man.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2odt.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2odt_prepstyles.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2pseudoxml.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2s5.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2xetex.py script to /Users/eoscnor/Documents/testenv/bin
Installing rst2xml.py script to /Users/eoscnor/Documents/testenv/bin
Installing rstpep2html.py script to /Users/eoscnor/Documents/testenv/bin
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg
Searching for pygments
Reading http://pypi.python.org/simple/pygments/
Reading http://pygments.org/
Reading http://pygments.pocoo.org/
Best match: Pygments 1.4
Downloading http://pypi.python.org/packages/2.6/P/Pygments/Pygments-1.4-py2.6.egg#md5=306241dd68799753cdb4a2c9ce8e883a
Processing Pygments-1.4-py2.6.egg
creating /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Pygments-1.4-py2.6.egg
Extracting Pygments-1.4-py2.6.egg to /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages
Adding Pygments 1.4 to easy-install.pth file
Installing pygmentize script to /Users/eoscnor/Documents/testenv/bin
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Pygments-1.4-py2.6.egg
Searching for argparse
Reading http://pypi.python.org/simple/argparse/
Reading http://code.google.com/p/argparse/
Best match: argparse 1.2.1
Downloading http://argparse.googlecode.com/files/argparse-1.2.1.tar.gz
Processing argparse-1.2.1.tar.gz
Running argparse-1.2.1/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-SBKvac/argparse-1.2.1/egg-dist-tmp-RpcEpn
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.orig' found anywhere in distribution
warning: no previously-included files matching '*.rej' found anywhere in distribution
no previously-included directories found matching 'doc/_build'
no previously-included directories found matching 'env24'
no previously-included directories found matching 'env25'
no previously-included directories found matching 'env26'
no previously-included directories found matching 'env27'
zip_safe flag not set; analyzing archive contents...
Adding argparse 1.2.1 to easy-install.pth file
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/argparse-1.2.1-py2.6.egg
Searching for markdown
Reading http://pypi.python.org/simple/markdown/
Reading http://www.freewisdom.org/projects/python-markdown
Reading https://sourceforge.net/project/showfiles.php?group_id=153041
Reading http://www.freewisdom.org/projects/python-markdown/
Best match: Markdown 2.0.3
Downloading http://pypi.python.org/packages/source/M/Markdown/Markdown-2.0.3.tar.gz
Processing Markdown-2.0.3.tar.gz
Running Markdown-2.0.3/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-w69Rtm/Markdown-2.0.3/egg-dist-tmp-ynmgrp
zip_safe flag not set; analyzing archive contents...
Adding Markdown 2.0.3 to easy-install.pth file
Installing markdown script to /Users/eoscnor/Documents/testenv/bin
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Markdown-2.0.3-py2.6.egg
Searching for textile
Reading http://pypi.python.org/simple/textile/
Reading http://dealmeida.net/projects/textile/
Reading http://loopcore.com/python-textile/
Reading http://github.com/chrisdrackett/python-textile
Best match: textile 2.1.5
Downloading http://pypi.python.org/packages/source/t/textile/textile-2.1.5.tar.gz#md5=6e030e112eca1dafa1be84cf5575560d
Processing textile-2.1.5.tar.gz
Running textile-2.1.5/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-9tkVEG/textile-2.1.5/egg-dist-tmp-qRaGQR
Adding textile 2.1.5 to easy-install.pth file
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/textile-2.1.5-py2.6.egg
Searching for pyyaml
Reading http://pypi.python.org/simple/pyyaml/
Reading http://pyyaml.org/wiki/PyYAML
Best match: PyYAML 3.10
Downloading http://pyyaml.org/download/pyyaml/PyYAML-3.10.zip
Processing PyYAML-3.10.zip
Running PyYAML-3.10/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-ew0mK0/PyYAML-3.10/egg-dist-tmp-biDVsO
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:2:18: error: yaml.h: No such file or directory
build/temp.macosx-10.6-universal-2.6/check_libyaml.c: In function ‘main’:
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: ‘yaml_parser_t’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: (Each undeclared identifier is reported only once
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: for each function it appears in.)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: expected ‘;’ before ‘parser’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:6: error: ‘yaml_emitter_t’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:6: error: expected ‘;’ before ‘emitter’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:8: warning: implicit declaration of function ‘yaml_parser_initialize’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:8: error: ‘parser’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:9: warning: implicit declaration of function ‘yaml_parser_delete’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:11: warning: implicit declaration of function ‘yaml_emitter_initialize’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:11: error: ‘emitter’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:12: warning: implicit declaration of function ‘yaml_emitter_delete’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:2:18: error: yaml.h: No such file or directory
build/temp.macosx-10.6-universal-2.6/check_libyaml.c: In function ‘main’:
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: ‘yaml_parser_t’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: (Each undeclared identifier is reported only once
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: for each function it appears in.)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: expected ‘;’ before ‘parser’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:6: error: ‘yaml_emitter_t’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:6: error: expected ‘;’ before ‘emitter’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:8: warning: implicit declaration of function ‘yaml_parser_initialize’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:8: error: ‘parser’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:9: warning: implicit declaration of function ‘yaml_parser_delete’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:11: warning: implicit declaration of function ‘yaml_emitter_initialize’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:11: error: ‘emitter’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:12: warning: implicit declaration of function ‘yaml_emitter_delete’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:2:18: error: yaml.h: No such file or directory
build/temp.macosx-10.6-universal-2.6/check_libyaml.c: In function ‘main’:
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: ‘yaml_parser_t’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: (Each undeclared identifier is reported only once
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: for each function it appears in.)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:5: error: expected ‘;’ before ‘parser’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:6: error: ‘yaml_emitter_t’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:6: error: expected ‘;’ before ‘emitter’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:8: warning: implicit declaration of function ‘yaml_parser_initialize’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:8: error: ‘parser’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:9: warning: implicit declaration of function ‘yaml_parser_delete’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:11: warning: implicit declaration of function ‘yaml_emitter_initialize’
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:11: error: ‘emitter’ undeclared (first use in this function)
build/temp.macosx-10.6-universal-2.6/check_libyaml.c:12: warning: implicit declaration of function ‘yaml_emitter_delete’
lipo: can't open input file: /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-//ccZOkExO.out (No such file or directory)
libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
specify the option --include-dirs or uncomment and
modify the parameter include_dirs in setup.cfg)
zip_safe flag not set; analyzing archive contents...
Adding PyYAML 3.10 to easy-install.pth file
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/PyYAML-3.10-py2.6-macosx-10.6-universal.egg
Searching for pytz
Reading http://pypi.python.org/simple/pytz/
Reading http://pytz.sourceforge.net
Reading http://sourceforge.net/project/showfiles.php?group_id=79122
Reading http://www.stuartbishop.net/Software/pytz
Reading http://sourceforge.net/projects/pytz/
Best match: pytz 2011h
Downloading http://pypi.python.org/packages/2.6/p/pytz/pytz-2011h-py2.6.egg#md5=08c3a6fd7576facd0b133128f29ae78e
Processing pytz-2011h-py2.6.egg
Moving pytz-2011h-py2.6.egg to /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages
Adding pytz 2011h to easy-install.pth file
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/pytz-2011h-py2.6.egg
Searching for BeautifulSoup
Reading http://pypi.python.org/simple/BeautifulSoup/
Reading http://www.crummy.com/software/BeautifulSoup/
Reading http://www.crummy.com/software/BeautifulSoup/download/
Best match: BeautifulSoup 3.2.0
Downloading http://www.crummy.com/software/BeautifulSoup/download/3.x/BeautifulSoup-3.2.0.tar.gz
Processing BeautifulSoup-3.2.0.tar.gz
Running BeautifulSoup-3.2.0/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-9jgE4f/BeautifulSoup-3.2.0/egg-dist-tmp-9h8vyC
zip_safe flag not set; analyzing archive contents...
/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/bdist_egg.py:422: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Adding BeautifulSoup 3.2.0 to easy-install.pth file
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/BeautifulSoup-3.2.0-py2.6.egg
Searching for mako
Reading http://pypi.python.org/simple/mako/
Reading http://www.makotemplates.org/
Best match: Mako 0.4.2
Downloading http://pypi.python.org/packages/source/M/Mako/Mako-0.4.2.tar.gz#md5=2ff0747e611b37d44e6409c4e0a80a08
Processing Mako-0.4.2.tar.gz
Running Mako-0.4.2/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-dMO8HE/Mako-0.4.2/egg-dist-tmp-36sXsJ
warning: no files found matching '*.xml' under directory 'examples'
warning: no files found matching '*.mako' under directory 'examples'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'
Adding Mako 0.4.2 to easy-install.pth file
Installing mako-render script to /Users/eoscnor/Documents/testenv/bin
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Mako-0.4.2-py2.6.egg
Searching for MarkupSafe>=0.9.2
Reading http://pypi.python.org/simple/MarkupSafe/
Reading http://dev.pocoo.org/
Best match: MarkupSafe 0.15
Downloading http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.15.tar.gz#md5=4e7c4d965fe5e033fa2d7bb7746bb186
Processing MarkupSafe-0.15.tar.gz
Running MarkupSafe-0.15/setup.py -q bdist_egg --dist-dir /var/folders/ty/tyyzye7gEGK85J3sIRliak+++TI/-Tmp-/easy_install-2Hpp3m/MarkupSafe-0.15/egg-dist-tmp-C8uZxp
Adding MarkupSafe 0.15 to easy-install.pth file
Installed /Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/MarkupSafe-0.15-py2.6-macosx-10.6-universal.egg
Finished processing dependencies for blogofile
oscar-norlanders-macbook:testblog eoscnor$
oscar-norlanders-macbook:testblog eoscnor$
oscar-norlanders-macbook:testblog eoscnor$ ../blogofile init simple_blog
Initializing the simple_blog site template...
oscar-norlanders-macbook:testblog eoscnor$ ../blogofile build
ERROR:blogofile.filter:Cannot load filter: rst_template
Traceback (most recent call last):
File "../blogofile", line 8, in <module>
load_entry_point('Blogofile==0.7.1', 'console_scripts', 'blogofile')()
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/main.py", line 135, in main
args.func(args)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/main.py", line 195, in do_build
config_init(args)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/main.py", line 175, in config_init
config.init("_config.py")
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/config.py", line 92, in init
__load_config(config_file_path)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/config.py", line 66, in __load_config
filter.preload_filters()
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/filter.py", line 59, in preload_filters
load_filter(fn[:-3])
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/Blogofile-0.7.1-py2.6.egg/blogofile/filter.py", line 95, in load_filter
mod = __loaded_filters[name] = __import__(name)
File "_filters/rst_template.py", line 1, in <module>
import docutils.core
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/core.py", line 20, in <module>
from docutils import frontend, io, utils, readers, writers
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/frontend.py", line 39, in <module>
import docutils.utils
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/utils.py", line 18, in <module>
from docutils.error_reporting import ErrorOutput, SafeString
File "/Users/eoscnor/Documents/testenv/lib/python2.6/site-packages/docutils-0.8.1-py2.6.egg/docutils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/Users/eoscnor/Documents/testenv/lib/python2.6/locale.py", line 459, in getdefaultlocale
return _parse_localename(localename)
File "/Users/eoscnor/Documents/testenv/lib/python2.6/locale.py", line 391, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
my-macbook:testblog me$
Sounds like you'll need to fiddle with the locale settings on your Mac. The relevant environment variables that need to be set are usually LANG and a couple that start with LC_*. You'll find lots of people with similar problems for many different projects. I highly doubt this is a blogofile bug.
http://www.google.com/search?q=python+ValueError%3A+unknown+locale%3A+UTF-8
Ahhha ... of course =)
$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="UTF-8"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
I did
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Then it worked. Thanks =)