[Grok-dev] installing zope.app.undo Error: Bad version

Christian Klinger cklinger at novareto.de
Tue Jul 27 03:39:24 EDT 2010


Hey Paul,

the Problem is not zope.app.undo the problem is megrok.form.
You can check this with bin/buildout -vv which gives you a more verbose
output.




For which fields do you need megrok.form? This packages is a little bit 
outdated. Please check the archives of this maillinglist.  I think there 
are some
smaller packages out there which helps you to render some nice fancy
widgets.

- Christian

> Hello grokkers,
>
> I use the chapter 9 on the “ZODB feature” of the "grok 1.0” great book
> from "De la Guardia".
>
> I added the zope.app.undo to the list of required packages in the
> setup.py file (page 172).
>
> The result of the buildout command is the following.
>
> Error: Bad version 1.3.0
>
> Thanks in advance for your help.
>
> Paul
>
> The details the result of the command and a display of the content of
> the setup.py are
>
> given in the following lines.
>
> (testgrok)pl6320:~/npo/testgrok/todo# bin/buildout
>
> Develop: '/root/npo/testgrok/todo/.'
>
> Installing app.
>
> Getting distribution for 'zope.app.undo==3.5.0'.
>
> Got zope.app.undo 3.5.0.
>
> The version, 1.3.0, is not consistent with the requirement,
> 'zc.resourcelibrary==1.0.1'.
>
> While:
>
> Installing app.
>
> Error: Bad version 1.3.0
>
> *************** PICKED VERSIONS ****************
>
> [versions]
>
> #Required by:
>
> #todo 0.0
>
> megrok.form = 0.2.5
>
> *************** /PICKED VERSIONS ***************
>
> (testgrok)pl6320:~/npo/testgrok/todo# cat setup.py
>
> from setuptools import setup, find_packages
>
> version = '0.0'
>
> setup(name='todo',
>
> version=version,
>
> description="",
>
> long_description="""\
>
> """,
>
> # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
>
> classifiers=[],
>
> keywords="",
>
> author="",
>
> author_email="",
>
> url="",
>
> license="",
>
> package_dir={'': 'src'},
>
> packages=find_packages('src'),
>
> include_package_data=True,
>
> zip_safe=False,
>
> install_requires=['setuptools',
>
> 'grok',
>
> 'grokui.admin',
>
> 'z3c.testsetup',
>
> 'grokcore.startup',
>
> 'megrok.form',
>
> 'zope.app.undo',
>
> # Add extra requirements here
>
> ],
>
> )
>
> (testgrok)pl6320:~/npo/testgrok/todo#
>
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev




More information about the Grok-dev mailing list