public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: john <jdm@arcticwolf.myzen.co.uk>
To: Keith Dart <keith@dart.us.com>
Cc: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Plone
Date: Sat, 18 Jun 2011 07:50:18 +0100	[thread overview]
Message-ID: <20110618075018.64ffdcff@arcticwolf.myzen.co.uk> (raw)
In-Reply-To: <20110617174831.18730e85@dart.us.com>

On Fri, 17 Jun 2011 17:48:31 -0700
Keith Dart <keith@dart.us.com> wrote:

> === On Sat, 06/18, john wrote: ===
> > On Sat, 18 Jun 2011 00:31:39 +0200
> > Florian Philipp <lists@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 <keith@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
jdm@arcticwolf.myzen.co.uk



  parent reply	other threads:[~2011-06-18  7:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 21:16 [gentoo-user] Plone john
2011-06-17 22:31 ` Florian Philipp
2011-06-17 23:43   ` john
     [not found]     ` <20110617174831.18730e85@dart.us.com>
2011-06-18  6:50       ` john [this message]
2011-06-18 10:03         ` Florian Philipp
2011-06-18 13:27           ` JDM
2011-06-18 14:58 ` Udo Siewert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110618075018.64ffdcff@arcticwolf.myzen.co.uk \
    --to=jdm@arcticwolf.myzen.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=keith@dart.us.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox