我正在尝试使用Bika在Ubuntu LTS 14(新建服务器)中安装Plone,其程序如下: https://github.com/bikalabs/Bika-LIMS/blob/0c606e0/INSTALL.rst
我可以使用以下命令启动Plone服务器:
sudo -u plone_daemon bin/plonectl zeoserver start
/usr/local/Plone/zeocluster# sudo -u plone_daemon bin/plonectl restart zeoserver
zeoserver: .
daemon process started, pid=3864
/usr/local/Plone/zeocluster# sudo -u plone_daemon bin/plonectl status zeoserver
zeoserver: program running; pid=3864
但是当我启动client1时,它会显示
错误应用程序无法导入Products.ATExtensions':
sudo -u plone_daemon bin / plonectl client1 fg
无法启动client1。
请您帮忙告知可能的原因是什么?
以下是启动client1时的错误消息:
/usr/local/Plone/zeocluster# sudo -u plone_daemon bin/plonectl fg client1
client1: 2015-10-11 12:37:05 INFO ZServer HTTP server started at Sun Oct 11 12:37:05 2015
Hostname: 0.0.0.0
Port: 8080
2015-10-11 12:37:07 ERROR Application Could not import Products.ATExtensions
Traceback (most recent call last):
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/usr/local/Plone/buildout-cache/eggs/Products.ATExtensions-1.1-py2.7.egg/Products/ATExtensions/__init__.py", line 18, in module
validation.register(PartialUrlValidator('isPartialUrl'))
File "/usr/local/Plone/buildout-cache/eggs/Products.validation-2.0-py2.7.egg/Products/validation/service.py", line 33, in register
raise FalseValidatorError, validator
FalseValidatorError: <Products.ATExtensions.validator.isPartialUrl.PartialUrlValidator instance at 0x7fe90f0048c0>
Traceback (most recent call last):
File "/usr/local/Plone/zeocluster/parts/client1/bin/interpreter", line 302, in module
exec(compile(__file__f.read(), __file__, "exec"))
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/run.py", line 76, in module
run()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare
self.startZope()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/Startup/__init__.py", line 262, in startZope
Zope2.startup()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/__init__.py", line 47, in startup
_startup()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/Zope2/App/startup.py", line 67, in startup
OFS.Application.import_products()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/OFS/Application.py", line 583, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.23-py2.7.egg/OFS/Application.py", line 606, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/usr/local/Plone/buildout-cache/eggs/Products.ATExtensions-1.1-py2.7.egg/Products/ATExtensions/__init__.py", line 18, in module
validation.register(PartialUrlValidator('isPartialUrl'))
File "/usr/local/Plone/buildout-cache/eggs/Products.validation-2.0-py2.7.egg/Products/validation/service.py", line 33, in register
raise FalseValidatorError, validator
Products.validation.exceptions.FalseValidatorError: <Products.ATExtensions.validator.isPartialUrl.PartialUrlValidator instance at 0x7fe90f0048c0>
答案 0 :(得分:1)
Bika LIMS不会在Plone 5中开箱即用,因为它取决于Products.ATExtensions,这个包似乎与Plone 5不兼容。
除此之外,默认情况下不会在Plone 5上安装Archetypes。