
Hi,
I'm struggling to find a workaround for this issue (tail of the stack trace only):
File "/Users/paulkorzhyk/Projects/foobar/eggs/z3c.recipe.scripts-1.0.1-py2.7.egg/z3c/recipe/scripts/__init__.py", line 1, in <module> from z3c.recipe.scripts.scripts import Scripts, Interpreter
File "/Users/paulkorzhyk/Projects/foobar/eggs/z3c.recipe.scripts-1.0.1-py2.7.egg/z3c/recipe/scripts/scripts.py", line 19, in <module>
from zc.recipe.egg.egg import ScriptBase
ImportError: cannot import name ScriptBase
It's quite frustrating that z3c.recipe.scripts page on pypi doesn't link to a real project page or mailing list. Can anyone suggest a workaround or file a bug on a proper tracker?
I've come across this article: http://blog.gocept.com/2012/11/09/python-2-and-3-compatible-builds-with-zc-b... but for some reason manual version-fixing didn't work on my machine. Will look into it again tomorrow.

z3c.recipe.scripts doesn't work with buildout 2. It never will.
You need to downgrade to version 1 using the version 1 bootstrap script:
http://downloads.buildout.org/1/bootstrap.py
In the long run, you'll want to change your buildouts to use zc.recipe.egg instead.
Jim
On Thu, Feb 14, 2013 at 7:36 AM, Paul Korzhyk paul.korzhyk@gmail.com wrote:
Hi,
I'm struggling to find a workaround for this issue (tail of the stack trace only):
File "/Users/paulkorzhyk/Projects/foobar/eggs/z3c.recipe.scripts-1.0.1-py2.7.egg/z3c/recipe/scripts/__init__.py", line 1, in <module> from z3c.recipe.scripts.scripts import Scripts, Interpreter File "/Users/paulkorzhyk/Projects/foobar/eggs/z3c.recipe.scripts-1.0.1-py2.7.egg/z3c/recipe/scripts/scripts.py", line 19, in <module> from zc.recipe.egg.egg import ScriptBase ImportError: cannot import name ScriptBase
It's quite frustrating that z3c.recipe.scripts page on pypi doesn't link to a real project page or mailing list. Can anyone suggest a workaround or file a bug on a proper tracker?
I've come across this article: http://blog.gocept.com/2012/11/09/python-2-and-3-compatible-builds-with-zc-b... but for some reason manual version-fixing didn't work on my machine. Will look into it again tomorrow.
-- Paul Korzhyk Sent with Sparrow
Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig

On Thu, Feb 14, 2013 at 09:20:05AM -0500, Jim Fulton wrote:
z3c.recipe.scripts doesn't work with buildout 2. It never will.
There ought to be a z3c.recipe.scripts 1.0.2 release that install_requires zc.buildout < 2.0.0a1.
Gary Poster is the only person who has PyPI access. Does anyone remember his email address?
(I can probably fish it out, but got no time right now.)
Marius Gedminas

Brief google gave his email as gary.poster@gmail.com cc'd.
I'm using appfy.recipe.gae and it in turn extends z3c.r.scripts. As it hasn't been updated in a while, I'm afraid I'd have to figure out this whole buildout thing, understand differences between z3c and zc flavors, and then write and test a patch for appfy. Will start by filing a bug against appfy first.
On Fri, Feb 15, 2013 at 3:12 AM, Marius Gedminas marius@pov.lt wrote:
On Thu, Feb 14, 2013 at 09:20:05AM -0500, Jim Fulton wrote:
z3c.recipe.scripts doesn't work with buildout 2. It never will.
There ought to be a z3c.recipe.scripts 1.0.2 release that install_requires zc.buildout < 2.0.0a1.
Gary Poster is the only person who has PyPI access. Does anyone remember his email address?
(I can probably fish it out, but got no time right now.)
Marius Gedminas
When we say we want readable code, we don't mean we want to sit in a comfortable chair and page through a Java-saga. --- http://www.wordaligned.org/articles/pitching-python-in-three-syllables

Hi all. happy to grant pypi access to whomever.
Gary
On Feb 14, 2013, at 8:37 PM, Paul Korzhyk paul.korzhyk@gmail.com wrote:
Brief google gave his email as gary.poster@gmail.com cc'd.
I'm using appfy.recipe.gae and it in turn extends z3c.r.scripts. As it hasn't been updated in a while, I'm afraid I'd have to figure out this whole buildout thing, understand differences between z3c and zc flavors, and then write and test a patch for appfy. Will start by filing a bug against appfy first.
On Fri, Feb 15, 2013 at 3:12 AM, Marius Gedminas marius@pov.lt wrote:
On Thu, Feb 14, 2013 at 09:20:05AM -0500, Jim Fulton wrote:
z3c.recipe.scripts doesn't work with buildout 2. It never will.
There ought to be a z3c.recipe.scripts 1.0.2 release that install_requires zc.buildout < 2.0.0a1.
Gary Poster is the only person who has PyPI access. Does anyone remember his email address?
(I can probably fish it out, but got no time right now.)
Marius Gedminas
When we say we want readable code, we don't mean we want to sit in a comfortable chair and page through a Java-saga. --- http://www.wordaligned.org/articles/pitching-python-in-three-syllables

On Thu, Feb 14, 2013 at 09:55:37PM -0500, Gary Poster wrote:
Hi all. happy to grant pypi access to whomever.
My PyPI username is 'mgedmin'.
Thanks!
Marius Gedminas

Done.
Gary
On Feb 15, 2013, at 8:40 AM, Marius Gedminas marius@pov.lt wrote:
On Thu, Feb 14, 2013 at 09:55:37PM -0500, Gary Poster wrote:
Hi all. happy to grant pypi access to whomever.
My PyPI username is 'mgedmin'.
Thanks!
Marius Gedminas
Apologies for taking up the bandwidth with the apology. Anything else I can apologise for ...... er no can't think of anything, sorry about that. Andy Hunt (Member of British Olympic Apology Squad)
participants (4)
-
Gary Poster
-
Jim Fulton
-
Marius Gedminas
-
Paul Korzhyk