Ticket #14055 (assigned Bug)

Opened 2 years ago

Last modified 21 months ago

IOError in paster since Plone 4.3.3

Reported by: mekell Owned by: smcmahon
Priority: minor Milestone: 4.x
Component: Installers Version: 4.3
Keywords: PasteScript Cc:

Description

With the new release of Plone 4.3.3 paster (and zopeskel too) throws an IOError when running setup. This can be reproduced with paster and with zopeskel at least for the plone, archetype, and dexterity templates:

Running /home/Plone-4.3.3/Python-2.7/bin/python setup.py egg_info
Traceback (most recent call last):
  File "/home/Plone-4.3.3/zeocluster/bin/paster", line 253, in <module>
    sys.exit(paste.script.command.run())
  File "/home/Plone-4.3.3/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run
    invoke(command, command_name, options, args[1:])
  File "/home/Plone-4.3.3/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke
    exit_code = runner.run(args)
  File "/home/Plone-4.3.3/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
    result = self.command()
  File "/home/Plone-4.3.3/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/create_distro.py", line 170, in command
    egg_info_dir = pluginlib.egg_info_dir(output_dir, dist_name)
  File "/home/Plone-4.3.3/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/pluginlib.py", line 135, in egg_info_dir
    % ', '.join(all))
IOError: No egg-info directory found (looked in ./namespace.package/./namespace.package.egg-info, ./namespace.package/namespace/namespace.package.egg-info, ./namespace.package/README.txt/namespace.package.egg-info, ./namespace.package/setup.cfg/namespace.package.egg-info, ./namespace.package/setup.py/namespace.package.egg-info, ./namespace.package/docs/namespace.package.egg-info)

Change History

comment:1 Changed 2 years ago by mekell

To reproduce the bug:

cd /home/Plone-4.3.3/zeocluster/src
/home/Plone-4.3.3/zeocluster/bin/paster create -t plone namespace.package

comment:2 Changed 23 months ago by mekell

  • Status changed from new to confirmed
  • Component changed from Unknown to Installers

By running ../bin/paster create -v -v plone_basic with two(!) verbose options I get the following error:

Command error output:
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

After installing setuptools paster can run the generated setup.py.

UnifiedInstaller-4.3.3 doesn't install setuptools, hence I set this issue to the component Installers. Is there any reason not to install setuptools?

comment:3 Changed 21 months ago by smcmahon

  • Status changed from confirmed to assigned
  • Owner set to smcmahon

Yes, there is a reason not to install setuptools. The version needed by bootstrap is different from the version installed by virtualenv.

The error, by the way, is harmless. We still need to avoid it.

Note: See TracTickets for help on using tickets.