[Distutils] Distribute error? datetimewidget.pot: File name too long

Jon Hadley me at jon-hadley.com
Fri Sep 24 15:45:50 CEST 2010


I'm trying to install a custom package in a buildout managed Plone 3 site in /develop-src named (for the sake of argument) 'foobar.wontbloodywork'.

Yet I keep getting an error 'z3cform.datetimewidget.pot: File name too long'

I get the same result on a freshly built Ubuntu server with no previous eggs. The custom packages used to install fine in an older (12 month +) project.

It was suggested to me (via the Plone Users mailing list) that this might be a distribute error. Can anyone on this list offer any insights?


Results of buildout -vvvv below:

Develop: '/Users/foobar/development/sites/gpi/gpi3/develop-src/foobar.wontbloodywork' in: '/Users/foobar/development/sites/gpi/gpi3/develop-src/foobar.wontbloodywork'
/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/tmpXFTFnd -q develop -mxN -d /Users/foobar/development/sites/gpi/gpi3/develop-eggs/tmp00VAgBbuild
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
install_dir .
Traceback (most recent call last):
 File "/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/tmpXFTFnd",
line 11, in ?
   execfile('/Users/foobar/development/sites/gpi/gpi3/develop-src/foobar.wontbloodywork/setup.py')
 File "/Users/foobar/development/sites/gpi/gpi3/develop-src/foobar.wontbloodywork/setup.py",
line 56, in ?
   paster_plugins = ["ZopeSkel"],
 File "/opt/local/lib/python2.4/distutils/core.py", line 110, in setup
   _setup_distribution = dist = klass(attrs)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/dist.py",
line 225, in __init__
   _Distribution.__init__(self,attrs)
 File "/opt/local/lib/python2.4/distutils/dist.py", line 240, in __init__
   self.finalize_options()
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/dist.py",
line 257, in finalize_options
   ep.require(installer=self.fetch_build_egg)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/pkg_resources.py",
line 1966, in require
   working_set.resolve(self.dist.requires(self.extras),env,installer))
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/pkg_resources.py",
line 544, in resolve
   dist = best[req.key] = env.best_match(req, self, installer)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/pkg_resources.py",
line 786, in best_match
   return self.obtain(req, installer) # try and download/install
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/pkg_resources.py",
line 798, in obtain
   return installer(requirement)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/dist.py",
line 293, in fetch_build_egg
   return cmd.easy_install(req)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py",
line 582, in easy_install
   return self.install_item(spec, dist.location, tmpdir, deps)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py",
line 612, in install_item
   dists = self.install_eggs(spec, download, tmpdir)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py",
line 802, in install_eggs
   return self.build_and_install(setup_script, setup_base)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py",
line 1079, in build_and_install
   self.run_setup(setup_script, setup_base, args)
 File "/Users/foobar/.eggs/distribute-0.6.14-py2.4.egg/setuptools/command/easy_install.py",
line 1070, in run_setup
   raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Setup
script exited with error: Setup script exited with error: Setup script
exited with error: Setup script exited with error: Setup script exited
with error: Setup script exited with error: Setup script exited with
error: Setup script exited with error: Setup script exited with error:
Setup script exited with error: Setup script exited with error: Setup
script exited with error:
/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/easy_install-1srx5w/plone.app.z3cform-0.5.0/temp/easy_install-9Uu00i/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-D3fuI0/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-ZmcdZR/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-hAO4T6/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-gabkaJ/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-eev8-a/collective.z3cform.datetimewidget-1.0.2/temp/easy_install--bZxqg/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-FeERFa/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-RT9zdd/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-WaJDIy/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-7Fa2cl/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-37Xaaj/collective.z3cform.datetimewidget-1.0.2/temp/easy_install-e_tXs0/collective.z3cform.datetimewidget-1.0.2/src/collective/z3cform/datetimewidget/locales/collective.z3cform.datetimewidget.pot:
File name too long
While:
 Installing.
 Processing develop directory
'/Users/foobar/development/sites/gpi/gpi3/develop-src/foobar.wontbloodywork'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
 File "/private/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/tmpZ8LHi3/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
line 1660, in main
 File "/private/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/tmpZ8LHi3/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
line 394, in install
 File "/private/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/tmpZ8LHi3/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
line 634, in _develop
 File "/private/var/folders/N1/N1WTRWwWE5Gfqr-Sut+UVk+++TM/-Tmp-/tmpZ8LHi3/zc.buildout-1.4.3-py2.4.egg/zc/buildout/easy_install.py",
line 894, in develop
AssertionError
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100924/e7fb45b2/attachment.html>


More information about the Distutils-SIG mailing list