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

Christian Klinger cklinger at novareto.de
Tue Jul 27 05:21:07 EDT 2010


Hi Paul,

ok you can try this. Modify your buildout.cfg to look like this:

You have to modify these two lines.

find-links = http://download.zope.org/distribution    <--- Add this line
[versions]
# Override versions here.
zc.resourcelibrary = 1.0.1  <-- Add this Line


Please let me know if it works...

Christian

> Hello Christian,
> Thanks a lot for your quick response.
> I run the command with -vv option.
> The result is in the following lines.
> I saw that the version of grok is 1.1.1.
> Does it means that
> - megrok.form = 0.2.5 requires zc.resourcelibrary== 1.3.0
> and
> - grok 1.1.1          requires zc.resourcelibrary==1.0.1
>
> And how to solve the problem?
>
> Paul
>
>
>
> (testgrok)pl6320:~/npo/testgrok/todo# ./bin/buildout  -vv
> Installing 'buildout.dumppickedversions'.
> We have the distribution that satisfies 'buildout.dumppickedversions==0.4'.
> Develop: '/root/npo/testgrok/todo/.'
> in: '/root/npo/testgrok/todo/.'
> /tmp/tmp5tXuX9 develop -mxN -d /root/npo/testgrok/todo/develop-eggs/tmpbhTq9Bbuild
> running develop
> running egg_info
> writing requirements to src/todo.egg-info/requires.txt
> writing src/todo.egg-info/PKG-INFO
> writing top-level names to src/todo.egg-info/top_level.txt
> writing dependency_links to src/todo.egg-info/dependency_links.txt
> reading manifest file 'src/todo.egg-info/SOURCES.txt'
> writing manifest file 'src/todo.egg-info/SOURCES.txt'
> running build_ext
> Creating /root/npo/testgrok/todo/develop-eggs/tmpbhTq9Bbuild/todo.egg-link (link to src)
>
> Installed /root/npo/testgrok/todo/src
>
> Because this distribution was installed --multi-version, before you can
> import modules from this package in an application, you will need to
> 'import pkg_resources' and then use a 'require()' call similar to one of
> these examples, in order to select the desired version:
>
>      pkg_resources.require("todo")  # latest installed version
>      pkg_resources.require("todo==0.0")  # this exact version
>      pkg_resources.require("todo>=0.0")  # this version or higher
>
>
> Note also that the installation directory must be on sys.path at runtime for
> this to work.  (e.g. by being the application's script directory, by being on
> PYTHONPATH, or by being added to sys.path by your code.)
>
> Installing 'zc.recipe.egg'.
> We have the distribution that satisfies 'zc.recipe.egg==1.2.2'.
> Installing 'collective.recipe.template'.
> We have the distribution that satisfies 'collective.recipe.template==1.4'.
> Installing 'z3c.recipe.i18n'.
> We have the distribution that satisfies 'z3c.recipe.i18n==0.6.0'.
> Getting required 'zope.configuration==3.7.1'
> We have the distribution that satisfies 'zope.configuration==3.7.1'.
> Getting required 'zope.app.locales[extract]==3.6.0'
> We have the distribution that satisfies 'zope.app.locales[extract]==3.6.0'.
> Getting required 'zope.app.appsetup==3.13.0'
> We have the distribution that satisfies 'zope.app.appsetup==3.13.0'.
> Getting required 'zope.schema==3.6.1'
> We have the distribution that satisfies 'zope.schema==3.6.1'.
> Getting required 'zope.interface==3.5.3'
> We have the distribution that satisfies 'zope.interface==3.5.3'.
> Getting required 'zope.i18nmessageid==3.5.0'
> We have the distribution that satisfies 'zope.i18nmessageid==3.5.0'.
> Getting required 'zope.app.applicationcontrol==3.5.5'
> We have the distribution that satisfies 'zope.app.applicationcontrol==3.5.5'.
> Getting required 'zope.tal==3.5.2'
> We have the distribution that satisfies 'zope.tal==3.5.2'.
> Getting required 'zope.traversing==3.12.0'
> We have the distribution that satisfies 'zope.traversing==3.12.0'.
> Getting required 'zope.testing==3.8.7'
> We have the distribution that satisfies 'zope.testing==3.8.7'.
> Getting required 'zope.site==3.9.0'
> We have the distribution that satisfies 'zope.site==3.9.0'.
> Getting required 'zope.session==3.9.2'
> We have the distribution that satisfies 'zope.session==3.9.2'.
> Getting required 'zope.security==3.7.2'
> We have the distribution that satisfies 'zope.security==3.7.2'.
> Getting required 'zope.processlifetime==1.0'
> We have the distribution that satisfies 'zope.processlifetime==1.0'.
> Getting required 'zope.event==3.4.1'
> We have the distribution that satisfies 'zope.event==3.4.1'.
> Getting required 'zope.error==3.7.0'
> We have the distribution that satisfies 'zope.error==3.7.0'.
> Getting required 'zope.container==3.11.0'
> We have the distribution that satisfies 'zope.container==3.11.0'.
> Getting required 'zope.component==3.9.1'
> We have the distribution that satisfies 'zope.component==3.9.1'.
> Getting required 'zope.app.publication==3.10.2'
> We have the distribution that satisfies 'zope.app.publication==3.10.2'.
> Getting required 'ZODB3==3.9.4'
> We have the distribution that satisfies 'ZODB3==3.9.4'.
> Getting required 'zope.size==3.4.1'
> We have the distribution that satisfies 'zope.size==3.4.1'.
> Getting required 'zope.location==3.9.0'
> We have the distribution that satisfies 'zope.location==3.9.0'.
> Getting required 'zope.applicationcontrol==3.5.5'
> We have the distribution that satisfies 'zope.applicationcontrol==3.5.5'.
> Getting required 'zope.publisher==3.12.3'
> We have the distribution that satisfies 'zope.publisher==3.12.3'.
> Getting required 'zope.proxy==3.5.0'
> We have the distribution that satisfies 'zope.proxy==3.5.0'.
> Getting required 'zope.i18n==3.7.2'
> We have the distribution that satisfies 'zope.i18n==3.7.2'.
> Getting required 'zope.exceptions==3.5.2'
> We have the distribution that satisfies 'zope.exceptions==3.5.2'.
> Getting required 'zope.lifecycleevent==3.6.0'
> We have the distribution that satisfies 'zope.lifecycleevent==3.6.0'.
> Getting required 'zope.annotation==3.5.0'
> We have the distribution that satisfies 'zope.annotation==3.5.0'.
> Getting required 'zope.minmax==1.1.2'
> We have the distribution that satisfies 'zope.minmax==1.1.2'.
> Getting required 'zope.broken==3.6.0'
> We have the distribution that satisfies 'zope.broken==3.6.0'.
> Getting required 'zope.filerepresentation==3.6.0'
> We have the distribution that satisfies 'zope.filerepresentation==3.6.0'.
> Getting required 'zope.dottedname==3.4.6'
> We have the distribution that satisfies 'zope.dottedname==3.4.6'.
> Getting required 'zope.browser==1.2'
> We have the distribution that satisfies 'zope.browser==1.2'.
> Getting required 'zope.authentication==3.7.0'
> We have the distribution that satisfies 'zope.authentication==3.7.0'.
> Getting required 'zdaemon==2.0.4'
> We have the distribution that satisfies 'zdaemon==2.0.4'.
> Getting required 'ZConfig==2.7.1'
> We have the distribution that satisfies 'ZConfig==2.7.1'.
> Getting required 'zc.lockfile==1.0.0'
> We have the distribution that satisfies 'zc.lockfile==1.0.0'.
> Getting required 'transaction==1.0.0'
> We have the distribution that satisfies 'transaction==1.0.0'.
> Getting required 'zope.contenttype==3.5.0'
> We have the distribution that satisfies 'zope.contenttype==3.5.0'.
> Getting required 'pytz==2010b'
> We have the distribution that satisfies 'pytz==2010b'.
> Installing 'z3c.recipe.mkdir'.
> We have the distribution that satisfies 'z3c.recipe.mkdir==0.3.1'.
> Installing 'zc.recipe.testrunner'.
> We have the distribution that satisfies 'zc.recipe.testrunner==1.2.0'.
> Installing 'z3c.recipe.dev'.
> We have the distribution that satisfies 'z3c.recipe.dev==0.5.4'.
> Installing 'zc.recipe.filestorage'.
> We have the distribution that satisfies 'zc.recipe.filestorage==1.0.1'.
>
> Configuration data:
> [interactive_debugger]
> _b = /root/npo/testgrok/todo/bin
> _d = /root/npo/testgrok/todo/develop-eggs
> _e = /root/.buildout/eggs
> arguments = zope_conf="/root/npo/testgrok/todo/parts/etc/zope.conf"
> bin-directory = /root/npo/testgrok/todo/bin
> develop-eggs-directory = /root/npo/testgrok/todo/develop-eggs
> eggs = todo
> eggs-directory = /root/.buildout/eggs
> executable = /root/npo/testgrok/bin/python
> find-links = http://grok.zope.org/releaseinfo/1.1.1/eggs/
> location = /root/npo/testgrok/todo/parts/interactive_debugger
> method = interactive_debug_prompt
> module = grokcore.startup.startup
> recipe = z3c.recipe.dev:script
> script = /root/npo/testgrok/todo/bin/interactive_debugger
> [buildout]
> bin-directory = /root/npo/testgrok/todo/bin
> develop = .
> develop-eggs-directory = /root/npo/testgrok/todo/develop-eggs
> directory = /root/npo/testgrok/todo
> eggs-directory = /root/.buildout/eggs
> executable = /root/npo/testgrok/bin/python
> extends-cache = extends-cache
> extensions = buildout.dumppickedversions
> find-links = http://grok.zope.org/releaseinfo/1.1.1/eggs/
> installed = /root/npo/testgrok/todo/.installed.cfg
> log-format =
> log-level = INFO
> newest = false
> offline = false
> parts = %(__buildout_space_n__)sapp
> debug_ini
> deploy_ini
> i18n
> mkdirs
> site_zcml
> test
> zope_conf
> zpasswd
> interactive_debugger
> data
> log
> parts-directory = /root/npo/testgrok/todo/parts
> python = buildout
> verbosity = 20
> versions = versions
> [log]
> blob-dir =
> path = /root/npo/testgrok/todo/parts/log/Data.fs
> recipe = zc.recipe.filestorage
> zconfig =<zodb>
> %(__buildout_space__)s%(__buildout_space__)s<filestorage>
> %(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)spath /root/npo/testgrok/todo/parts/log/Data.fs
> %(__buildout_space__)s%(__buildout_space__)s</filestorage>
> </zodb>%(__buildout_space_n__)s
> [versions]
> ClientForm = 0.2.10
> Jinja2 = 2.2.1
> Paste = 1.7.2
> PasteDeploy = 1.3.3
> PasteScript = 1.7.3
> Pygments = 1.2.2
> RestrictedPython = 3.5.1
> Sphinx = 0.6.4
> ZConfig = 2.7.1
> ZODB3 = 3.9.4
> buildout.dumppickedversions = 0.4
> collective.recipe.template = 1.4
> distribute = 0.6.10
> docutils = 0.6
> grok = 1.1.1
> grokcore.annotation = 1.2
> grokcore.component = 1.8
> grokcore.content = 1.0
> grokcore.formlib = 1.5
> grokcore.message = 0.2
> grokcore.security = 1.4
> grokcore.site = 1.2
> grokcore.startup = 1.0
> grokcore.view = 1.13.2
> grokcore.viewlet = 1.4.1
> grokui.admin = 0.6.4
> grokui.base = 0.2.2
> lxml = 2.2.4
> martian = 0.11.1
> mechanize = 0.1.11
> py = 1.0.0
> python-gettext = 1.0
> pytz = 2010b
> roman = 1.4.0
> setuptools = 0.6c11
> simplejson = 2.0.9
> transaction = 1.0.0
> z3c.autoinclude = 0.3.2
> z3c.evalexception = 2.0
> z3c.flashmessage = 1.0
> z3c.recipe.dev = 0.5.4
> z3c.recipe.eggbasket = 0.4.3
> z3c.recipe.i18n = 0.6.0
> z3c.recipe.mkdir = 0.3.1
> z3c.recipe.sphinxdoc = 0.0.8
> z3c.recipe.template = 0.1
> z3c.testsetup = 0.6.1
> zc.buildout = 1.4.3
> zc.catalog = 1.4.2
> zc.lockfile = 1.0.0
> zc.recipe.egg = 1.2.2
> zc.recipe.filestorage = 1.0.1
> zc.recipe.testrunner = 1.2.0
> zc.resourcelibrary = 1.3.0
> zc.sourcefactory = 0.6.0
> zdaemon = 2.0.4
> zest.releaser = 3.4
> zodbcode = 3.4.0
> zope.annotation = 3.5.0
> zope.app.apidoc = 3.7.1
> zope.app.applicationcontrol = 3.5.5
> zope.app.appsetup = 3.13.0
> zope.app.authentication = 3.7.1
> zope.app.basicskin = 3.5.0
> zope.app.broken = 3.5.0
> zope.app.cache = 3.7.0
> zope.app.catalog = 3.8.1
> zope.app.component = 3.8.4
> zope.app.container = 3.8.2
> zope.app.content = 3.4.0
> zope.app.dav = 3.5.2
> zope.app.debug = 3.4.1
> zope.app.dependable = 3.5.1
> zope.app.error = 3.5.2
> zope.app.exception = 3.6.1
> zope.app.file = 3.5.1
> zope.app.folder = 3.5.1
> zope.app.form = 4.0.1
> zope.app.ftp = 3.5.0
> zope.app.generations = 3.5.1
> zope.app.http = 3.6.1
> zope.app.i18n = 3.6.2
> zope.app.interface = 3.5.0
> zope.app.interpreter = 3.4.0
> zope.app.intid = 3.7.1
> zope.app.keyreference = 3.6.0
> zope.app.locales = 3.6.0
> zope.app.localpermission = 3.7.0
> zope.app.locking = 3.5.0
> zope.app.onlinehelp = 3.5.2
> zope.app.pagetemplate = 3.10.1
> zope.app.preference = 3.6.0
> zope.app.preview = 3.4.0
> zope.app.principalannotation = 3.7.0
> zope.app.publication = 3.10.2
> zope.app.publisher = 3.10.1
> zope.app.renderer = 3.5.1
> zope.app.rotterdam = 3.5.1
> zope.app.schema = 3.5.0
> zope.app.security = 3.7.5
> zope.app.securitypolicy = 3.5.2
> zope.app.server = 3.5.0
> zope.app.session = 3.6.1
> zope.app.skins = 3.4.0
> zope.app.testing = 3.7.4
> zope.app.tree = 3.6.0
> zope.app.twisted = 3.5.0
> zope.app.undo = 3.5.0
> zope.app.wsgi = 3.6.1
> zope.app.zcmlfiles = 3.7.0
> zope.app.zopeappgenerations = 3.5.0
> zope.app.zptpage = 3.5.1
> zope.applicationcontrol = 3.5.5
> zope.authentication = 3.7.0
> zope.broken = 3.6.0
> zope.browser = 1.2
> zope.browsermenu = 3.9.0
> zope.browserpage = 3.11.0
> zope.browserresource = 3.10.2
> zope.cachedescriptors = 3.5.0
> zope.catalog = 3.8.1
> zope.component = 3.9.1
> zope.componentvocabulary = 1.0
> zope.configuration = 3.7.1
> zope.container = 3.11.0
> zope.contentprovider = 3.6.1
> zope.contenttype = 3.5.0
> zope.copy = 3.5.0
> zope.copypastemove = 3.6.0
> zope.datetime = 3.4.0
> zope.deferredimport = 3.5.0
> zope.deprecation = 3.4.0
> zope.documenttemplate = 3.4.2
> zope.dottedname = 3.4.6
> zope.dublincore = 3.6.0
> zope.error = 3.7.0
> zope.event = 3.4.1
> zope.exceptions = 3.5.2
> zope.file = 0.5.0
> zope.filerepresentation = 3.6.0
> zope.formlib = 4.0
> zope.hookable = 3.4.1
> zope.html = 2.0.0
> zope.i18n = 3.7.2
> zope.i18nmessageid = 3.5.0
> zope.index = 3.6.0
> zope.interface = 3.5.3
> zope.intid = 3.7.2
> zope.keyreference = 3.6.2
> zope.kgs = 1.2.0
> zope.lifecycleevent = 3.6.0
> zope.location = 3.9.0
> zope.login = 1.0.0
> zope.mimetype = 1.2.0
> zope.minmax = 1.1.2
> zope.modulealias = 3.4.0
> zope.pagetemplate = 3.5.0
> zope.password = 3.6.1
> zope.pluggableauth = 1.0.1
> zope.principalannotation = 3.6.0
> zope.principalregistry = 3.7.0
> zope.processlifetime = 1.0
> zope.proxy = 3.5.0
> zope.ptresource = 3.9.0
> zope.publisher = 3.12.3
> zope.ramcache = 1.0
> zope.rdb = 3.5.0
> zope.schema = 3.6.1
> zope.security = 3.7.2
> zope.securitypolicy = 3.6.1
> zope.sendmail = 3.7.1
> zope.sequencesort = 3.4.0
> zope.server = 3.6.1
> zope.session = 3.9.2
> zope.site = 3.9.0
> zope.size = 3.4.1
> zope.structuredtext = 3.4.0
> zope.tal = 3.5.2
> zope.tales = 3.5.0
> zope.testbrowser = 3.7.0
> zope.testing = 3.8.7
> zope.thread = 3.4
> zope.traversing = 3.12.0
> zope.viewlet = 3.7.0
> zope.xmlpickle = 3.4.0
> [deploy_ini]
> host = 127.0.0.1
> input = etc/deploy.ini.in
> output = /root/npo/testgrok/todo/parts/etc/deploy.ini
> port = 8080
> recipe = collective.recipe.template
> [app]
> _b = /root/npo/testgrok/todo/bin
> _d = /root/npo/testgrok/todo/develop-eggs
> _e = /root/.buildout/eggs
> bin-directory = /root/npo/testgrok/todo/bin
> develop-eggs-directory = /root/npo/testgrok/todo/develop-eggs
> eggs = todo
>          z3c.evalexception>=2.0
>          Paste
>          PasteScript
>          PasteDeploy
> eggs-directory = /root/.buildout/eggs
> executable = /root/npo/testgrok/bin/python
> find-links = http://grok.zope.org/releaseinfo/1.1.1/eggs/
> interpreter = python-console
> recipe = zc.recipe.egg
> [mkdirs]
> path = /root/npo/testgrok/todo
>          /root/npo/testgrok/todo/var/filestorage
>          /root/npo/testgrok/todo/var/log
>          /root/npo/testgrok/todo/var/blobstorage
> paths = /root/npo/testgrok/todo
>          /root/npo/testgrok/todo/var/filestorage
>          /root/npo/testgrok/todo/var/log
>          /root/npo/testgrok/todo/var/blobstorage
> recipe = z3c.recipe.mkdir
> [site_zcml]
> input = etc/site.zcml.in
> output = /root/npo/testgrok/todo/parts/etc/site.zcml
> recipe = collective.recipe.template
> [zope_conf]
> blobstorage = /root/npo/testgrok/todo/var/blobstorage
> extra =
> filestorage = /root/npo/testgrok/todo/var/filestorage
> input = etc/zope.conf.in
> logfiles = /root/npo/testgrok/todo/var/log
> output = /root/npo/testgrok/todo/parts/etc/zope.conf
> recipe = collective.recipe.template
> [test]
> _b = /root/npo/testgrok/todo/bin
> _d = /root/npo/testgrok/todo/develop-eggs
> _e = /root/.buildout/eggs
> bin-directory = /root/npo/testgrok/todo/bin
> defaults = ['--tests-pattern', '^f?tests$', '-v']
> develop-eggs-directory = /root/npo/testgrok/todo/develop-eggs
> eggs = todo
> eggs-directory = /root/.buildout/eggs
> executable = /root/npo/testgrok/bin/python
> find-links = http://grok.zope.org/releaseinfo/1.1.1/eggs/
> location = /root/npo/testgrok/todo/parts/test
> recipe = zc.recipe.testrunner
> script = /root/npo/testgrok/todo/bin/test
> [debug_ini]
> host = 127.0.0.1
> input = etc/debug.ini.in
> output = /root/npo/testgrok/todo/parts/etc/debug.ini
> port = 8080
> recipe = collective.recipe.template
> [i18n]
> _b = /root/npo/testgrok/todo/bin
> _d = /root/npo/testgrok/todo/develop-eggs
> _e = /root/.buildout/eggs
> bin-directory = /root/npo/testgrok/todo/bin
> develop-eggs-directory = /root/npo/testgrok/todo/develop-eggs
> domain = todo
> eggs = todo
>          zope.app.locales [extract]
> eggs-directory = /root/.buildout/eggs
> executable = /root/npo/testgrok/bin/python
> find-links = http://grok.zope.org/releaseinfo/1.1.1/eggs/
> output = src/todo/locales
> packages = todo
> recipe = z3c.recipe.i18n:i18n
> zcml =
> [zpasswd]
> _b = /root/npo/testgrok/todo/bin
> _d = /root/npo/testgrok/todo/develop-eggs
> _e = /root/.buildout/eggs
> bin-directory = /root/npo/testgrok/todo/bin
> develop-eggs-directory = /root/npo/testgrok/todo/develop-eggs
> eggs = %(__buildout_space_n__)stodo
>          zope.password
> eggs-directory = /root/.buildout/eggs
> executable = /root/npo/testgrok/bin/python
> find-links = http://grok.zope.org/releaseinfo/1.1.1/eggs/
> location = /root/npo/testgrok/todo/parts/zpasswd
> method = main
> module = zope.password.zpasswd
> recipe = z3c.recipe.dev:script
> script = /root/npo/testgrok/todo/bin/zpasswd
> [data]
> blob-dir =
> path = /root/npo/testgrok/todo/parts/data/Data.fs
> recipe = zc.recipe.filestorage
> zconfig =<zodb>
>          %(__buildout_space__)s%(__buildout_space__)s<filestorage>
>          %(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)s%(__buildout_space__)spath /root/npo/testgrok/todo/parts/data/Data.fs
>          %(__buildout_space__)s%(__buildout_space__)s</filestorage>
>          </zodb>%(__buildout_space_n__)s
>
> Installing app.
> Installing 'todo', 'z3c.evalexception>=2.0', 'Paste', 'PasteScript', 'PasteDeploy'.
> We have a develop egg: todo 0.0
> We have the distribution that satisfies 'z3c.evalexception==2.0'.
> We have the distribution that satisfies 'Paste==1.7.2'.
> We have the distribution that satisfies 'setuptools==0.6c11'.
> We have the distribution that satisfies 'PasteScript==1.7.3'.
> We have the distribution that satisfies 'PasteDeploy==1.3.3'.
> Getting required 'zope.security==3.7.2'
> We have the distribution that satisfies 'zope.security==3.7.2'.
> Getting required 'megrok.form'
>    required by todo 0.0.
> Picked: megrok.form = 0.2.5
> Getting required 'zope.app.undo==3.5.0'
> We have the distribution that satisfies 'zope.app.undo==3.5.0'.
> Getting required 'grokcore.startup==1.0'
> We have the distribution that satisfies 'grokcore.startup==1.0'.
> Getting required 'z3c.testsetup==0.6.1'
> We have the distribution that satisfies 'z3c.testsetup==0.6.1'.
> Getting required 'grokui.admin==0.6.4'
> We have the distribution that satisfies 'grokui.admin==0.6.4'.
> Getting required 'grok==1.1.1'
> We have the distribution that satisfies 'grok==1.1.1'.
> Getting required 'zope.schema==3.6.1'
> We have the distribution that satisfies 'zope.schema==3.6.1'.
> Getting required 'zope.proxy==3.5.0'
> We have the distribution that satisfies 'zope.proxy==3.5.0'.
> Getting required 'zope.location==3.9.0'
> We have the distribution that satisfies 'zope.location==3.9.0'.
> Getting required 'zope.interface==3.5.3'
> We have the distribution that satisfies 'zope.interface==3.5.3'.
> Getting required 'zope.i18nmessageid==3.5.0'
> We have the distribution that satisfies 'zope.i18nmessageid==3.5.0'.
> Getting required 'zope.exceptions==3.5.2'
> We have the distribution that satisfies 'zope.exceptions==3.5.2'.
> Getting required 'zope.configuration==3.7.1'
> We have the distribution that satisfies 'zope.configuration==3.7.1'.
> Getting required 'zope.component==3.9.1'
> We have the distribution that satisfies 'zope.component==3.9.1'.
> Getting required 'collective.namedblobfile==0.3'
>    required by megrok.form 0.2.5.
> We have the distribution that satisfies 'collective.namedblobfile==0.3'.
> Getting required 'collective.namedfile==1.1'
>    required by megrok.form 0.2.5.
>    required by collective.namedblobfile 0.3.
> We have the distribution that satisfies 'collective.namedfile==1.1'.
> Getting required 'zc.datetimewidget==0.5.2'
>    required by megrok.form 0.2.5.
> We have the distribution that satisfies 'zc.datetimewidget==0.5.2'.
> Getting required 'z3c.widget==0.1.6'
>    required by megrok.form 0.2.5.
> We have the distribution that satisfies 'z3c.widget==0.1.6'.
> 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#
>
> -----Message d'origine-----
> De : grok-dev-bounces at zope.org [mailto:grok-dev-bounces at zope.org] De la part de Christian Klinger
> Envoyé : mardi 27 juillet 2010 09:39
> À : grok-dev at zope.org
> Objet : Re: [Grok-dev] installing zope.app.undo Error: Bad version
>
> 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
>
>
> _______________________________________________
> 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