在Plone 4.1/Zope 2.13系统上分析Plone/Zope应用程序的当前最佳实践是什么?
Products.ZopeProfiler和Plone.org版本的CallProfiler都在安装时失败:
Traceback (most recent call last):
File "/home/derek/plone4/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/OFS/Application.py", line 689, in install_product
initmethod(context)
File "/home/derek/plone4/buildout-cache/eggs/Products.ZopeProfiler-2.0.1-py2.6.egg/Products/ZopeProfiler/__init__.py", line 8, in initialize
control_panel = context._ProductContext__app.Control_Panel
AttributeError: 'NoneType' object has no attribute 'Control_Panel'
Run Code Online (Sandbox Code Playgroud)
z3c.profiler希望安装许多明显不兼容的依赖项(这并不奇怪,因为它适用于Zope3).
collective.profiler看起来很有前途,并且安装,但不允许我分析__call__View的方法,因为该方法没有__dict__属性.
| 归档时间: |
|
| 查看次数: |
705 次 |
| 最近记录: |