我已经使用统一安装程序安装了Plone。
我已经尝试使用:
plone@localhost [zeocluster]# ./bin/plonectl start
zeoserver: .
daemon process started, pid=6738
client1: .
daemon process started, pid=6743
client2: .
daemon process started, pid=6756
当我检查状态时,我得到以下信息:
plone@localhost [zeocluster]# ./bin/plonectl start
zeoserver: .
daemon process started, pid=6738
client1: .
daemon process started, pid=6743
client2: .
daemon process started, pid=6756
当我尝试在fg中运行client1时,得到以下响应:
plone@localhost [zeocluster]# ./bin/client1 fg
2015-07-14 03:57:35 INFO ZServer HTTP server started at Tue Jul 14 03:57:35 2015
Hostname: 0.0.0.0
Port: 8080
2015-07-14 03:57:35 INFO Zope Set effective user to "plone_daemon"
2015-07-14 03:57:35 ERROR Application Could not import Products.ATContentTypes
.......
......
File "/usr/local/Plone/Python-2.7/lib/python2.7/locale.py", line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
甚至我试图找到本地使用:
plone@localhost [bin]# printenv LANG
en_US.UTF-8
my buildout.cfg也有以下值:
environment-vars =
LC_ALL en_US.UTF-8
LANG en_US.UTF-8
有人能帮我解决这个问题吗
http://plone-training.readthedocs.org/en/latest/plone_training_config/instructions.html建议您的错误如下(这是OSX &这是一个流浪汉,但我猜你最好尝试一下,即使你有一个不同的设置):
在这种情况下,你必须[设置]本地化的键盘和语言将流浪用户的.bash_profile中的设置保存到您的区域设置(例如en_US)。UTF-8或de_DE.UTF-8)export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8