学習者アラート
FreeBSD 9.0
これは初めて機能しました:
http://plone.org/documentation/manual/installing-plone/installation-quick-guide
しかし、「Professional Plone 4 Development」に従って、virtualenv を機能させることができませんでした
私の virtualenv dir plonedev で:
bin/instance fg
2012-07-18 09:04:58 INFO ZServer HTTP server started at Wed Jul 18 09:04:58 2012
Hostname: 0.0.0.0
Port: 8080
Traceback (most recent call last):
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
run()
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare
self.startZope()
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py", line 259, in startZope
Zope2.startup()
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/Zope2/__init__.py", line 46, in startup
from Zope2.App.startup import startup as _startup
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/Zope2/App/startup.py", line 38, in <module>
import OFS.Application
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/OFS/Application.py", line 22, in <module>
import App.Product
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/App/Product.py", line 44, in <module>
from OFS.Folder import Folder
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/OFS/Folder.py", line 24, in <module>
from webdav.Collection import Collection
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/webdav/Collection.py", line 30, in <module>
from webdav.Resource import Resource
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/webdav/Resource.py", line 35, in <module>
from OFS.event import ObjectClonedEvent
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/OFS/event.py", line 20, in <module>
import OFS.interfaces
File "/usr/home/mydir/plonedev/eggs/Zope2-2.13.15-py2.7.egg/OFS/interfaces.py", line 19, in <module>
from zope.location.interfaces import IPossibleSite
ImportError: cannot import name IPossibleSitenterfaces import IPossibleSite
plonedev ツリーを調べたところ、次の場所で見つかりました/usr/home/mydir/plonedev/eggs/zope.location-4.0.0-py2.7.egg/EGG-INFO/PKG-INFO
。
4.0.0 (2012-06-07)
------------------
- Removed backward-compatibility imports:
- ``zope.copy.clone`` (aliased as ``zope.location.pickling.locationCopy``)
- ``zope.copy.CopyPersistent`` (aliased as
``zope.location.pickling.CopyPersistent``).
- ``zope.site.interfaces.IPossibleSite`` (aliased as
``zope.location.interfaces.IPossibleSite``).
バージョンの不一致があるようですが、どのようにしてそこに到達したのか、修正する方法がわかりません。