清水川です。

2009/06/16 10:22 に Takayuki
>> maintainerの私は、3.1.7止まりでいいや、という気分でもあるのですが、力ずく
>> で UnifiedInstaller の方式のままインストールするとこうなりそうだというもの
>> ができましたので、お試しいただけると幸いです。
>
> 週末あたり試してみますね。

だいぶ遅くなりましたが、試してみました。
環境はVMWare2.0上(HostはWin7RC)のFreeBSD-7.2で、
/usr/ports はFreeBSD-7.2Releaseのデフォルト状態です。

実行したところ失敗してしまったのですが、原因はPlone側
(buildout実行中)のようなので、もうちょっと追ってみます。
ただ、失敗した後で install.log を確認したのですが、有用な
情報が何も記録されていなくて、puttyのログファイルで原因
を確認するしかなかった、というのが気になった点です。


以下、実行ログです。
(以下の実行前に一度、make install 中にDISKが溢れて、
容量確保後にやり直しています)


fb72b# make install
===>  Installing for plone3-3.2.2
===>   plone3-3.2.2 depends on file:
/usr/local/lib/python2.4/site-packages/PIL.pth - found
===>   plone3-3.2.2 depends on file:
/usr/local/lib/python2.4/site-packages/elementtree/__init__.py - found
===>   plone3-3.2.2 depends on file: /usr/local/bin/python2.4 - found
===>   plone3-3.2.2 depends on shared library: intl - found
===>   Generating temporary packing list
===>  Checking if www/plone3 already installed
Stand-Alone Zope Instance selected

Detailed installation log being written to
/usr/home/taka/plone3/work/Plone-3.2.2-UnifiedInstaller/install.log

\nTesting /usr/local/bin/python2.4 for Zope/Plone requirements....
/usr/local/bin/python2.4 looks OK. We'll try to use it.

Root install method chosen

Installing Plone 3.2.2 at /usr/local/Plone

Creating python virtual environment...
New python executable in /usr/local/Plone/Python-2.4/bin/python2.4
Not overwriting existing python script
/usr/local/Plone/Python-2.4/bin/python (you must use
/usr/local/Plone/Python-2.4/bin/python2.4)
Installing setuptools..............done.
Skipping zlib compile and install
Skipping libjpeg compile/install
Skipping readline compile/install
Python found at /usr/local/Plone/Python-2.4/bin/python; Skipping Python install.
Found existing buildout cache at /usr/local/Plone/buildout-cache; skipping step.
uid=80(www) gid=80(www) groups=80(www)
User 'www' already exists. No need to create it.
Generating random password ...
Copying buildout skeleton
Running buildout
Creating directory '/var/Plone/zinstance/parts'.
Creating directory '/var/Plone/zinstance/develop-eggs'.
Installing zope2.
Creating fake eggs
Installing productdistros.
Installing instance.
While:
  Installing instance.
  Getting distribution for 'zope.testing'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py",
line 1477, in main
    getattr(buildout, command)(args)
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py",
line 462, in install
    installed_files = self[part]._call(recipe.install)
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/buildout.py",
line 1060, in _call
    return f()
  File 
"/usr/local/Plone/buildout-cache/eggs/plone.recipe.zope2instance-2.7-py2.4.egg/plone/recipe/zope2instance/__init__.py",
line 38, in install
    requirements, ws = self.egg.working_set()
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.recipe.egg-1.1.0-py2.4.egg/zc/recipe/egg/egg.py",
line 75, in working_set
    [options['develop-eggs-directory'], options['eggs-directory']]
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
line 876, in working_set
    return install(specs, None, executable=executable, path=path)
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
line 775, in install
    return installer.install(specs, working_set)
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
line 645, in install
    for dist in self._get_dist(requirement, ws, self._always_unzip
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
line 519, in _get_dist
    dists = self._call_easy_install(
  File 
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-1.1.1-py2.4.egg/zc/buildout/easy_install.py",
line 352, in _call_easy_install
    newloc = os.path.join(dest, os.path.basename(d.location))
  File "/usr/local/lib/python2.4/posixpath.py", line 62, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue

Installation has failed.
See the detailed installation log at
/usr/home/taka/plone3/work/Plone-3.2.2-UnifiedInstaller/install.log
to determine the cause.
*** Error code 1

Stop in /usr/home/taka/plone3.
fb72b# cat work/Plone-3.2.2-UnifiedInstaller/install.log
Detailed installation log
Starting at Wed Jun 24 17:49:50 JST 2009
fb72b#


-- 
清水川.jp

Reply via email to