[Distutils] Distribute 0.6.17
Maurits van Rees
m.van.rees at zestsoftware.nl
Tue May 31 12:46:50 CEST 2011
Op 31-05-11 12:36, Tarek Ziadé schreef:
> On Tue, May 31, 2011 at 12:29 PM, Maurits van Rees
> <m.van.rees at zestsoftware.nl> wrote:
>> Op 31-05-11 12:04, Tarek Ziadé schreef:
>>>
>>> On Tue, May 31, 2011 at 11:50 AM, Maurits van Rees
>>> <m.van.rees at zestsoftware.nl> wrote:
>>> ....
>>>>
>>>> ImportError: cannot import name utils
>>>>
>>>> When I go in with a pdb in this utils.py everything seems fine but then
>>>> the
>>>> import error just happens a bit further on, failing to import
>>>> plone.app.layout. On Plone 4 an import of Shared.DC.ZRDB.Search fails.
>>>> Again, with distribute 0.6.16 it works fine.
>>>>
>>>> This is on Mac OS X. Possibly I have strange ways of installing python,
>>>> but
>>>> it has worked fine so far. Can anyone else reproduce this?
>>>
>>> Could you dump and compare sys.path in both cases ? thanks
>>
>> The only difference in both bin/buildout and bin/instance is the distribute
>> version. I will paste the scripts with 0.6.17 below for good measure (Plone
>> 4 buildout in this case).
>
> I was talking about the value of sys,path right before the import that
> fails to check if there's any difference besides the distribute
> version.
>
> The scripts you are showing are inserting entries in the beginning of sys.path
>
>
> Cheers
> Tarek
>
Ah, right. No, no differences in the sys.path except the distribute
version.
Here is the last part of the sys.path:
'/Users/mauritsvanrees/shared-eggs/zope.minmax-1.1.2-py2.6.egg',
'/Users/mauritsvanrees/tmp/p4/bin',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages/PILwoTk-1.1.6.4-py2.6-macosx-10.6-x86_64.egg',
'/Users/mauritsvanrees/envs/py26/lib/python26.zip',
'/Users/mauritsvanrees/envs/py26/lib/python2.6',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/plat-darwin',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/plat-mac',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/plat-mac/lib-scriptpackages',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/lib-tk',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/lib-old',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/lib-dynload',
'/Users/mauritsvanrees/buildout/python/parts/opt/lib/python2.6',
'/Users/mauritsvanrees/buildout/python/parts/opt/lib/python2.6/plat-darwin',
'/Users/mauritsvanrees/buildout/python/parts/opt/lib/python2.6/lib-tk',
'/Users/mauritsvanrees/buildout/python/parts/opt/lib/python2.6/plat-mac',
'/Users/mauritsvanrees/buildout/python/parts/opt/lib/python2.6/plat-mac/lib-scriptpackages',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
'/Users/mauritsvanrees/buildout/python/parts/opt/lib/python2.6/site-packages',
'/Users/mauritsvanrees/envs/py26/lib/python26.zip',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/plat-darwin',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/plat-mac',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/plat-mac/lib-scriptpackages',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/lib-tk',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/lib-old',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
'/Users/mauritsvanrees/envs/py26/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']
--
Maurits van Rees
Web App Programmer at Zest Software: http://zestsoftware.nl
Personal website: http://maurits.vanrees.org/
More information about the Distutils-SIG
mailing list