collective / collective.transmogrifier

A configurable pipeline, aimed at transforming content for import and export
Other
5 stars 8 forks source link

Version 1.5 install error #9

Closed winstonf88 closed 8 years ago

winstonf88 commented 9 years ago

I am unable to install version 1.5 of collective.transmogrifier on portal.buildout. From the error message, it look like it has something to do with the readme file but that doesn't make any sense. Version 1.4 works fine though.

We have no distributions for collective.transmogrifier that satisfies 'collective.transmogrifier==1.5'.
Getting distribution for 'collective.transmogrifier==1.5'.
Running easy_install:
/home/winston/projects/portal.buildout/Python-2.7/bin/python "-c" "from setuptools.command.easy_install import main;main()" "-mUNxd" "/home/winston/projects/portal.buildout/eggs/tmpN3YKbu" "/tmp/tmpu1LF12get_dist/collective.transmogrifier-1.5.tar.gz"
path=/home/winston/projects/portal.buildout/eggs/setuptools-0.6c11-py2.7.egg

Processing collective.transmogrifier-1.5.tar.gz
Running collective.transmogrifier-1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Ii0Ggu/collective.transmogrifier-1.5/egg-dist-tmp-ntcorp
error: [Errno 2] No such file or directory: '/tmp/easy_install-Ii0Ggu/collective.transmogrifier-1.5/README.rst'
An error occurred when trying to install collective.transmogrifier 1.5. Look above this message for any errors that were output by easy_install.
While:
  Installing instance.
  Getting distribution for 'collective.transmogrifier==1.5'.
Error: Couldn't install: collective.transmogrifier 1.5
domarques commented 9 years ago

I'm with the same issue. I think that's because the README.rst was moved to docs and the symlink is not handled properly in the installation.

domarques commented 9 years ago

According with https://github.com/collective/transmogrify.webcrawler/issues/4 and http://stackoverflow.com/questions/14232647/funnelweb-error-installing-transmogrify-webcrawler

Adding auto-checkout += collective.transmogrifier (with mr.developer) in buildout can be a temporary fix.

idgserpro commented 8 years ago

The problem here is the symbolic link README.rst and the setuptools version. In setuptools < 0.7 symbolic links doesn't work as it is here.

@winstonf88 is probably using the 0.6c11 version, which is the version used by the Plone 4.3.

@polyester, why you moved the README.rst content to docs/README.rst?

My suggestion is move the content to README.rst and remove the symbolic link.

polyester commented 8 years ago

@idgserpro that was to have it included into docs.plone.org, but we can work around that, so moving it back to the top level is fine

thet commented 8 years ago

@winstonf88 are you using Windows? Symbolic links won't work there. That could also be the source of the problem. I'm also fine with moving the README.rst to top level.

idgserpro commented 8 years ago

@thet even in Linux the problem occurs if you use setuptools < 0.7.

domarques commented 8 years ago

I've tested with setuptools 0.6c11 using plonegovbr.buildout and the unified installer (Plone 4.3.7) - both failed. Then using the buildout from minimalplone4 with setuptools 18.4 (passed). All tested on Ubuntu 14.04. So, the problem is the version of setuptools ;)

hvelarde commented 8 years ago

problem solved; we need a new release...

idgserpro commented 8 years ago

@lentinj you can make a release?

@hvelarde thanks for fix!

lentinj commented 8 years ago

@idgserpro Done

idgserpro commented 8 years ago

@lentinj thanks!