On Fri, 17 Jun 2011 17:48:31 -0700 Keith Dart <ke...@dart.us.com> wrote:
> === On Sat, 06/18, john wrote: === > > On Sat, 18 Jun 2011 00:31:39 +0200 > > Florian Philipp <li...@binarywings.net> wrote: > > > > > Am 17.06.2011 23:16, schrieb john: > > > > Hello, > > > > > > > > I have installed Plone but unfortunately it will not run. I > > > > believe this is down to PIL not being installed as shown when > > > > starting Zope in foreground. > > > > > > > > I have emerged dev-python/imaging but Zope still cannot see > > > > PIL. I think the issue is because Plone/Zope depends on python > > > > 2.4. > > > > > > > > Any recommendations on a fix??? > > > > > > > > > > You might have to run python-updater in order to install all > > > python-packages for this version. I'm not sure if python-updater > > > does this correctly if you don't have python-2.4 enabled via > > > `eselect python`. You might want to try this as well. > > > > > > Hope this helps, > > > Florian Philipp > > > > > > > I have eselect python2.4 but when running python-updater I get:- > > > > File "/usr/bin/portageq", line 98 > > except portage.exception.InvalidAtom as e: > > ^ > > SyntaxError: invalid syntax > > File "/usr/bin/portageq", line 98 > > except portage.exception.InvalidAtom as e: > > ^ > > SyntaxError: invalid syntax > > * Python 2 and Python 3 not installed > > > > Have also tried emerge imaging with python2.4 set and get :- > > > > File "/usr/bin/emerge", line 44 except PermissionDenied as e: > > ^ > > SyntaxError: invalid syntax > > on2.4 > > You may be hosed. That syntax only works with newer Python > interpreters. Can you eselect back to 2.6 or 2.7? > > > Think the python-updater looks forward but not backward (if you see > > what I mean) > > It is called the UPdater, after all. > > > I have also tried changing all the references in bin scripts from > > python2.4 to python2.7 but this fails miserably. The only thing I > > can think of at the moment is to download manual package and > > install but I'm really not sure where this is going to stick all > > the modules? > > Ugh, yep. But Python is slotted, so you shouldn't have to worry about > that. > > > > > > > -- Keith Dart > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Keith Dart <ke...@dart.us.com> > ===================================================================== Always a little unsure about installing packages manually. I like to let emerge do everything. I eselect python set 1 which set python2.4. Downloaded Imaging-1.1.6.tar.gz from Python site. Installed using setup.py install. Switched back to python2.7. Old instance would not run but:- Then created a new zopeinstance. Copied the contents /usr/share/zproduct/plone-3.1.7/lib/python and /usr/share/zproduct/plone-3.1.7/Products to instance And yippee I can create Plone site and all looks good at the mo Thanks for advice -- -------------- -------------- John D Maunder j...@arcticwolf.myzen.co.uk