Open hvelarde opened 6 years ago
@davisagli any hints?
I've seen this a few times recently; I think something changed about how zipped eggs are handled and omelette is not ignoring them successfully. I don't really use omelette myself these days so I haven't felt motivated to work on fixing it.
I can confirm that it has something to do with zipped eggs. In my case, enum34
was installed as a zipped egg in my eggs
directory. Removing the egg and running the buildout again installed it as an unzipped egg, and voila, problem solved.
It should be quite easy to fix the problem in code. There are two calls to dist._get_metadata
that return a generator. Iterating over this generator throws the exception. Wrapping this in a try-except
statement and returning an empty lis in case of an exception worked for me.
Plone 4.3.15 with setuptools 26.1.1 and buildout 2.9.5: