From: Florian S. <flo...@gm...> - 2007-04-26 16:04:34
|
On Thu, 26 Apr 2007 15:39:03 +0200, Reinout van Rees = <rei...@gm...> wrote: > Hi all, > > I noticed I had not installed i18ndude yet (I wiped my laptop and > started afresh). So I did a "sudo easy_install-2.4 i18ndude", as > easy_installing it is the way to get that program since plone 2.5. > > Well, ahem, "AttributeError: 'dict' object has no attribute 'mapping'"= > and so right once I start up a zope 2.9.7 instance afterwards. As > i18ndude now automatically grabs the whole zope3.4 machinery right > into site-packages... > > Grabbing an older i18ndude (" sudo easy_install-2.4 -N > http://cheeseshop.python.org/packages/2.4/i/i18ndude/i18ndude-2.1.1-py= 2.4.egg") > *does* work. After you scraped the site-packages directory clean of > the whole zope3 egg stuff, of course. > > Is there an easy way to prevent things like this? Having your zope in > a workingenv doesn't seem to protect you from the site-wide site- > packages. And how could you distribute a program like i18ndude in a > way that's friendly to the rest of the python-using programs? Workingenv works well. I use it all the time now. <http://plone.org/documentation/how-to/zope-python-packages-using-easy_i= nstall/?searchterm=3Dworkingenv> Regards, Florian Schulze |