* [gentoo-user] Plone
@ 2011-06-17 21:16 john
2011-06-17 22:31 ` Florian Philipp
2011-06-18 14:58 ` Udo Siewert
0 siblings, 2 replies; 7+ messages in thread
From: john @ 2011-06-17 21:16 UTC (permalink / raw
To: gentoo-user
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???
--
--------------
--------------
John D Maunder
jdm@arcticwolf.myzen.co.uk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Plone
2011-06-17 21:16 [gentoo-user] Plone john
@ 2011-06-17 22:31 ` Florian Philipp
2011-06-17 23:43 ` john
2011-06-18 14:58 ` Udo Siewert
1 sibling, 1 reply; 7+ messages in thread
From: Florian Philipp @ 2011-06-17 22:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Plone
2011-06-17 22:31 ` Florian Philipp
@ 2011-06-17 23:43 ` john
[not found] ` <20110617174831.18730e85@dart.us.com>
0 siblings, 1 reply; 7+ messages in thread
From: john @ 2011-06-17 23:43 UTC (permalink / raw
To: gentoo-user
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
Think the python-updater looks forward but not backward (if you see
what I mean)
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?
Thanks
--
--------------
--------------
John D Maunder
jdm@arcticwolf.myzen.co.uk
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Plone
[not found] ` <20110617174831.18730e85@dart.us.com>
@ 2011-06-18 6:50 ` john
2011-06-18 10:03 ` Florian Philipp
0 siblings, 1 reply; 7+ messages in thread
From: john @ 2011-06-18 6:50 UTC (permalink / raw
To: Keith Dart; +Cc: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Plone
2011-06-18 6:50 ` john
@ 2011-06-18 10:03 ` Florian Philipp
2011-06-18 13:27 ` JDM
0 siblings, 1 reply; 7+ messages in thread
From: Florian Philipp @ 2011-06-18 10:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2730 bytes --]
Am 18.06.2011 08:50, schrieb john:
> 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.
>>>>
[...]
>>
>>> 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.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
I've once ran Plone on Gentoo. I'm pretty sure I didn't have to resort
to manual installing but I can't remember what the solution was. Anyway,
it was too much trouble and I dropped Plone. If I ever have to use it
again, I just use a virtualized Linux installation for it which comes
with python-2.4 out-of-the-box. I'd recommend Scientific Linux-5.5
(update to 5.6 coming soon) as a Red Hat clone.
Regards,
Florian Philipp
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Plone
2011-06-18 10:03 ` Florian Philipp
@ 2011-06-18 13:27 ` JDM
0 siblings, 0 replies; 7+ messages in thread
From: JDM @ 2011-06-18 13:27 UTC (permalink / raw
To: Gentoo
yeah its not really the way to go but nevermind. Probably won't use it anyway. A little too complicated for my needs. Looking for something a bit simpler?
JDM
-----Original Message-----
From: Florian Philipp <lists@binarywings.net>
Date: Sat, 18 Jun 2011 12:03:01
To: <gentoo-user@lists.gentoo.org>
Reply-to: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Plone
Am 18.06.2011 08:50, schrieb john:
> 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.
>>>>
[...]
>>
>>> 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.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
I've once ran Plone on Gentoo. I'm pretty sure I didn't have to resort
to manual installing but I can't remember what the solution was. Anyway,
it was too much trouble and I dropped Plone. If I ever have to use it
again, I just use a virtualized Linux installation for it which comes
with python-2.4 out-of-the-box. I'd recommend Scientific Linux-5.5
(update to 5.6 coming soon) as a Red Hat clone.
Regards,
Florian Philipp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Plone
2011-06-17 21:16 [gentoo-user] Plone john
2011-06-17 22:31 ` Florian Philipp
@ 2011-06-18 14:58 ` Udo Siewert
1 sibling, 0 replies; 7+ messages in thread
From: Udo Siewert @ 2011-06-18 14:58 UTC (permalink / raw
To: gentoo-user
On Fri, 17 Jun 2011 22:16:32 +0100
john <jdm@arcticwolf.myzen.co.uk> wrote:
> 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???
not really, I tried the Gentoo ebuild first but also failed.
Installing the Plone source package from plone.org works fine for me
for months now (uses its own copy of Python, *not* replacing the
system's copy of Python).
Regards
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-06-18 15:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-06-18 10:03 ` Florian Philipp
2011-06-18 13:27 ` JDM
2011-06-18 14:58 ` Udo Siewert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox