[Grok-dev] Re: zope.session and zope.i18nmessageid incompatibility?
faassen at startifact.com
Thu Apr 17 19:27:35 EDT 2008
Douglas Cerna wrote:
> I'm trying to use the z3c.language.* packages, and find out that
> zope.session 3.4.1 throws this:
> ImportError: cannot import name ZopeMessageFactory
> Apparently line 21 in zope.session.interfaces tries to import it from
> zope.i18nmessageid, but ZopeMessageFactory is not there in
> zope.i18nmessagid 3.4..0a1. It is in zope.i18nmessageid 3.4.3 (latest
> in PyPi) though.
Thanks for this report and the analysis!
Hm, looks like we want to update this one. Could you make a launchpad
issue for this one? I assume that once we update Grok to use newer eggs
we should be okay, but this way we'll make sure. It's also a good
reminder we should do this at the sprint!
> Is there any way to tell grokproject or buildout to use
> zope.i18nmessageid 3.4.3?
Yes, go to the buildout of your project and add the following:
zope.i18nmessageid = 3.4.3
Then rerun bin/buildout
> Is it safe just to overwrite the
> zope.i18nmessageide version in
> http://grok.zope.org/releaseinfo/grok-0.11.1.cfg and run buildout?
Well, you have no access to that URL, as we maintain it. :) You can do
it in your own buildouts as above, and for 0.12 we should update it to
use this too.
Anyway, I don't guarantee this will not break compatibility, but there's
quite a good chance things will work if zope.i18nmessageid's API hasn't
More information about the Grok-dev