Kees Hink <[email protected]> writes: > The latest plone.contentratings release (rc1) has added this statement to its > configure.zcml: > <includeDependencies package="." /> > When i run ./bin/instance fg, i get: > ImportError: No module named PIL-1 > (http://pastie.org/1188515) > > I've seen a post about this error before, where dexterity seemed to be the > cause. It most likely isn't, and neither is plone.contentratings, but I > thought > i'd report this here. > > We "fixed it" by using an older version of plone.contentratings which doesn't > have this statement. > > Needless to say, i've grepped for "PIL-1" in all python files on the > filesystem > and all i find are ...parts/instance0/bin/servicewrapper.py files which say: > ... > sys.path[0:0] = [ > ... > '/opt/APPS/plonedemo/tst/develop-eggs/PIL-1.1.6-py2.4-linux-x86_64.egg', > ...
I just ran into this and I that when I removed the "PIL-1.*" eggs from my python installation and from the easy_install.pth file I was able to run "bin/instance fg" again. It took me forever to find the offending egg, though, I had to use pdb to step through the includeDependencies handler to find out where it was getting the string from. I was using the python buildout and the offending place was ~/lib/python2.6/site-packages. HTH, Ross _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
