Gentoo Archives: gentoo-user

From: john <jdm@×××××××××××××××××××.uk>
To: Keith Dart <keith@×××××××.com>
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Plone
Date: Sat, 18 Jun 2011 07:04:44
Message-Id: 20110618075018.64ffdcff@arcticwolf.myzen.co.uk
1 On Fri, 17 Jun 2011 17:48:31 -0700
2 Keith Dart <keith@×××××××.com> wrote:
3
4 > === On Sat, 06/18, john wrote: ===
5 > > On Sat, 18 Jun 2011 00:31:39 +0200
6 > > Florian Philipp <lists@×××××××××××.net> wrote:
7 > >
8 > > > Am 17.06.2011 23:16, schrieb john:
9 > > > > Hello,
10 > > > >
11 > > > > I have installed Plone but unfortunately it will not run. I
12 > > > > believe this is down to PIL not being installed as shown when
13 > > > > starting Zope in foreground.
14 > > > >
15 > > > > I have emerged dev-python/imaging but Zope still cannot see
16 > > > > PIL. I think the issue is because Plone/Zope depends on python
17 > > > > 2.4.
18 > > > >
19 > > > > Any recommendations on a fix???
20 > > > >
21 > > >
22 > > > You might have to run python-updater in order to install all
23 > > > python-packages for this version. I'm not sure if python-updater
24 > > > does this correctly if you don't have python-2.4 enabled via
25 > > > `eselect python`. You might want to try this as well.
26 > > >
27 > > > Hope this helps,
28 > > > Florian Philipp
29 > > >
30 > >
31 > > I have eselect python2.4 but when running python-updater I get:-
32 > >
33 > > File "/usr/bin/portageq", line 98
34 > > except portage.exception.InvalidAtom as e:
35 > > ^
36 > > SyntaxError: invalid syntax
37 > > File "/usr/bin/portageq", line 98
38 > > except portage.exception.InvalidAtom as e:
39 > > ^
40 > > SyntaxError: invalid syntax
41 > > * Python 2 and Python 3 not installed
42 > >
43 > > Have also tried emerge imaging with python2.4 set and get :-
44 > >
45 > > File "/usr/bin/emerge", line 44 except PermissionDenied as e:
46 > > ^
47 > > SyntaxError: invalid syntax
48 > > on2.4
49 >
50 > You may be hosed. That syntax only works with newer Python
51 > interpreters. Can you eselect back to 2.6 or 2.7?
52 >
53 > > Think the python-updater looks forward but not backward (if you see
54 > > what I mean)
55 >
56 > It is called the UPdater, after all.
57 >
58 > > I have also tried changing all the references in bin scripts from
59 > > python2.4 to python2.7 but this fails miserably. The only thing I
60 > > can think of at the moment is to download manual package and
61 > > install but I'm really not sure where this is going to stick all
62 > > the modules?
63 >
64 > Ugh, yep. But Python is slotted, so you shouldn't have to worry about
65 > that.
66 >
67 >
68 >
69 >
70 >
71 >
72 > -- Keith Dart
73 >
74 >
75 >
76 > --
77 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 > Keith Dart <keith@×××××××.com>
79 > =====================================================================
80
81 Always a little unsure about installing packages
82 manually. I like to let emerge do everything.
83
84 I eselect python set 1 which set python2.4. Downloaded
85 Imaging-1.1.6.tar.gz from Python site. Installed using setup.py install.
86 Switched back to python2.7.
87
88 Old instance would not run but:-
89
90 Then created a new zopeinstance. Copied the
91 contents /usr/share/zproduct/plone-3.1.7/lib/python
92 and /usr/share/zproduct/plone-3.1.7/Products
93
94 to instance
95
96 And yippee I can create Plone site and all looks good at the mo
97
98 Thanks for advice
99 --
100 --------------
101 --------------
102 John D Maunder
103 jdm@×××××××××××××××××××.uk

Replies

Subject Author
Re: [gentoo-user] Plone Florian Philipp <lists@×××××××××××.net>