slok | 1 Jan 02:57

Re: Upgrading from v3.2.3 to v3.3 : Requires 'zc.buildout>=1.2.0' error

Thanks. That solve the issue.

Appreciate your help.

YekSoon


On Fri, Jan 1, 2010 at 12:49 AM, Maurits van Rees-3 [via Plone] <[hidden email]> wrote:
slok, on 2009-12-31:

>
> I am trying to upgrade Plone version v3.2.3 to v3.3 and encounter the

> following error after running bin/buildout
>
>==
> While:
>   Installing.
>   Getting section instance.
>   Initializing section instance.
>   Installing recipe plone.recipe.zope2instance.
> Error: There is a version conflict.
> We already have: zc.buildout 1.1.2
> but zc.recipe.egg 1.2.2 requires 'zc.buildout>=1.2.0'.
>==
>
> What causes this? And how do I solve this?
Try running buildout in newest mode: bin/buildout -nv

That tries to look for newer versions of packages if they are not
pinned.

If that does not help, look in your buildout.cfg and see if
zc.buildout is really pinned to version 1.1.2.  Change that to 1.2.0
(or the latest 1.4.3 should be fine too) and rerun bin/buildout -nv

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


_______________________________________________
Setup mailing list
[hidden email]


View this message in context: Re: [Setup] Upgrading from v3.2.3 to v3.3 : Requires 'zc.buildout>=1.2.0' error
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
JonathanWeintaub | 9 Jan 14:34
Picon

CorruptedDataError after install on Windows Vista raid drive


I installed Plone on a Dell machine that has two mirrored disks.  Initially,
things went well and I was able to add content.  I left the system alone for
a few days and then came back and tried to publish some content on a new
page.  I received a CorruptedDataError.  I can add folders and links just
fine, but pages don't work.  My RAID drives go to sleep after 10 minutes. 
I'm wondering if the sleeping behavior may have caused the error.  Today, I
shut down Plone and restarted.  I then tried to create a page and received
the same CorruptedDataError.  There are two questions here:

1. Was it unwise to install Plone on disks that may go to sleep.
2. How do I fix the CorruptedDataError in the data store?

The top of the error that I received is pasted below.  The string in the
error "Gay Rights, Special Rights" is from an earlier page post error.  It
appears that there was a serialization error a few days back and that this
error is blocking the ability to create pages, period:

Time	2010/01/09 07:55:59.953 US/Eastern
User Name (User Id)	 admin (admin)
Request URL
http://localhost:8080/Plone/political/gop/loudoun-gop/portal_factory/Document/document.2010-01-09.7318730373/atct_edit
Exception Type	CorruptedDataError
Exception Value	Error reading oid 0x28bd. Found 'ollowers. Gay Rights,
Special Rights is de' at 88054299 

p.s. - I searched for CorruptedDataError and found a 2007 question but saw
no response to that question.
--

-- 
View this message in context: http://n2.nabble.com/CorruptedDataError-after-install-on-Windows-Vista-raid-drive-tp4277528p4277528.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

JonathanWeintaub | 11 Jan 04:44
Picon

Two instance root cause - Re: CorruptedDataError after install on Windows Vista raid drive


While looking at the error messages, I saw a reference to a Zope instance on
my C drive.  I had installed 3.0.6 on the C drive and had not uninstalled it
prior to the 3.2 install on the raid drive.  I also noticed that both
instances of Data.fs (on the C: drive and the raid drive) had the same
timestamp.  I uninstalled the 3.0.6 instance and removed all files from the
C: drive.  The Data.fs on the C: drive was unusually large, ~100 Mb, while
the raid drive instance was ~4 Mb.  The instance on the raid drive appears
to be stable now.  The test data that I entered disappeared after the C:
drive uninstall.♦

--

-- 
View this message in context: http://n2.nabble.com/CorruptedDataError-after-install-on-Windows-Vista-raid-drive-tp4277528p4283689.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Max.Loeb | 11 Jan 19:21
Picon
Favicon

Frequent Restarts to maintain performance

We have plone running on an Ubuntu box that sits in the corner of the office and has no other function or purpose than to run an internal plone site for a fairly small group of users. For the most part everything works fine, but every 3 or 4 days I get an email from one of the users informing that the site is down, and is producing 502 errors. I'll log-in to the Ubuntu box to see what's going on, and notice that the CPU is horrendously busy, up around 85-100%, with python eating up most of the juice. But no response from the plone site. I stop then start the instance and everything returns to normal until the next time.

I've verified that the "Debug Mode" flag is off for both the javascript and css management interfaces in the ZMI. I've also made sure that the “debug-mode” flag in zope.conf is set to "off".

Here are some of our configuration details:

Plone 3.2.2
CMF 2.1.2
Zope (Zope 2.10.7-final, python 2.4.5, linux2)
Python 2.4.5 (#1, Apr 14 2009, 12:35:28) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
PIL 1.1.6

I don't know if this is important, but I'll also mention that our zope database file (Data.fs) is quite large at over 5 gigs, and that the cache-size setting in zope.conf is currently set to the default of 5000.

If there is any other information that would be helpful in diagnosing this, please let me know! Thanks so much, guys.

Max
 
Chris Thompson | 11 Jan 19:48
Picon

Re: Frequent Restarts to maintain performance

What is the spec of the ubuntu box? Do you have zeo in your build?
Do you have a proxy sitting in front of zope? 

Sent from my iPhone

On 11 Jan 2010, at 18:21, Max.Loeb-SWCg6hSX5lit/hvpvFFPbQ@public.gmane.org wrote:

We have plone running on an Ubuntu box that sits in the corner of the office and has no other function or purpose than to run an internal plone site for a fairly small group of users. For the most part everything works fine, but every 3 or 4 days I get an email from one of the users informing that the site is down, and is producing 502 errors. I'll log-in to the Ubuntu box to see what's going on, and notice that the CPU is horrendously busy, up around 85-100%, with python eating up most of the juice. But no response from the plone site. I stop then start the instance and everything returns to normal until the next time.

I've verified that the "Debug Mode" flag is off for both the javascript and css management interfaces in the ZMI. I've also made sure that the “debug-mode” flag in zope.conf is set to "off".

Here are some of our configuration details:

Plone 3.2.2
CMF 2.1.2
Zope (Zope 2.10.7-final, python 2.4.5, linux2)
Python 2.4.5 (#1, Apr 14 2009, 12:35:28) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
PIL 1.1.6

I don't know if this is important, but I'll also mention that our zope database file (Data.fs) is quite large at over 5 gigs, and that the cache-size setting in zope.conf is currently set to the default of 5000.

If there is any other information that would be helpful in diagnosing this, please let me know! Thanks so much, guys.

Max
 
_______________________________________________
Setup mailing list
Setup-G3yHMj00SlOLbbK5bonKug@public.gmane.org
http://lists.plone.org/mailman/listinfo/setup
Chris Thompson | 11 Jan 19:51
Picon

Re: Frequent Restarts to maintain performance

If you haven't got any of these it's a good place to start to optimise your site. Also take a look at zpt profiler, this will give you info on your page performance and may indicate a problem template / script.

Chris

Sent from my iPhone

On 11 Jan 2010, at 18:21, Max.Loeb <at> wellsfargo.com wrote:

We have plone running on an Ubuntu box that sits in the corner of the office and has no other function or purpose than to run an internal plone site for a fairly small group of users. For the most part everything works fine, but every 3 or 4 days I get an email from one of the users informing that the site is down, and is producing 502 errors. I'll log-in to the Ubuntu box to see what's going on, and notice that the CPU is horrendously busy, up around 85-100%, with python eating up most of the juice. But no response from the plone site. I stop then start the instance and everything returns to normal until the next time.

I've verified that the "Debug Mode" flag is off for both the javascript and css management interfaces in the ZMI. I've also made sure that the “debug-mode” flag in zope.conf is set to "off".

Here are some of our configuration details:

Plone 3.2.2
CMF 2.1.2
Zope (Zope 2.10.7-final, python 2.4.5, linux2)
Python 2.4.5 (#1, Apr 14 2009, 12:35:28) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
PIL 1.1.6

I don't know if this is important, but I'll also mention that our zope database file (Data.fs) is quite large at over 5 gigs, and that the cache-size setting in zope.conf is currently set to the default of 5000.

If there is any other information that would be helpful in diagnosing this, please let me know! Thanks so much, guys.

Max
 
_______________________________________________
Setup mailing list
Setup-G3yHMj00SlOLbbK5bonKug@public.gmane.org
http://lists.plone.org/mailman/listinfo/setup
Max.Loeb | 11 Jan 20:03
Picon
Favicon

RE: Frequent Restarts to maintain performance

We don’t use Zeo in our build, and I believe there is a proxy.

The machine Ubuntu is running on has 2x Intel Pentium 4 CPU 2.6Ghz, with 1035MB of RAM.

 

 I’ll do a little research into Zeo, but are you suggesting that the problem may be the size of our Data.fs file? Thanks much, it’s a start…

 

 

From: Chris Thompson [mailto:dancingpixels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Monday, January 11, 2010 10:49 AM
To: Loeb, Max
Cc: setup-G3yHMj00SlOLbbK5bonKug@public.gmane.org
Subject: Re: [Setup] Frequent Restarts to maintain performance

 

What is the spec of the ubuntu box? Do you have zeo in your build?

Do you have a proxy sitting in front of zope? 

Sent from my iPhone


On 11 Jan 2010, at 18:21, Max.Loeb-SWCg6hSX5lit/hvpvFFPbQ@public.gmane.org wrote:

We have plone running on an Ubuntu box that sits in the corner of the office and has no other function or purpose than to run an internal plone site for a fairly small group of users. For the most part everything works fine, but every 3 or 4 days I get an email from one of the users informing that the site is down, and is producing 502 errors. I'll log-in to the Ubuntu box to see what's going on, and notice that the CPU is horrendously busy, up around 85-100%, with python eating up most of the juice. But no response from the plone site. I stop then start the instance and everything returns to normal until the next time.

I've verified that the "Debug Mode" flag is off for both the javascript and css management interfaces in the ZMI. I've also made sure that the “debug-mode” flag in zope.conf is set to "off".

Here are some of our configuration details:

Plone 3.2.2
CMF 2.1.2
Zope (Zope 2.10.7-final, python 2.4.5, linux2)
Python 2.4.5 (#1, Apr 14 2009, 12:35:28) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)]
PIL 1.1.6

I don't know if this is important, but I'll also mention that our zope database file (Data.fs) is quite large at over 5 gigs, and that the cache-size setting in zope.conf is currently set to the default of 5000.

If there is any other information that would be helpful in diagnosing this, please let me know! Thanks so much, guys.

Max

 

_______________________________________________
Setup mailing list
Setup-G3yHMj00SlOLbbK5bonKug@public.gmane.org
http://lists.plone.org/mailman/listinfo/setup

wuchao@dev2 | 11 Jan 23:05
Picon

installation failed since PIL is missing


Hi all,

I have installed Plone unified 3.3 on several machines, but its the first
time to install it on x64 PC running fedora core 10. 

install as root, and failed as indicated:

ZEO Cluster Install selected

Detailed installation log being written to
/home/venkatvi/Download/Plone-3.3.2-UnifiedInstaller/install.log

zlib installation: local
libjpeg installation: local
Root install method chosen

Installing Plone 3.3.2 at /usr/local/Plone

Skipping zlib compile and install
Skipping libjpeg compile/install
Skipping readline compile/install
Python found at /usr/local/Plone/Python-2.4/bin/python; Skipping Python
install.
Installing PIL
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named _imaging
Python imaging support is missing; something went wrong in the PIL or python
build.

Installation has failed.
See the detailed installation log at
/home/venkatvi/Download/Plone-3.3.2-UnifiedInstaller/install.log
to determine the cause.

and when I look at the log, it says:

XbmEncode.o build/temp.linux-x86_64-2.4/libImaging/ZipDecode.o
build/temp.linux-x86_64-2.4/libImaging/ZipEncode.o -L/usr/local/lib
-L/usr/local/Plone/Python-2.4/lib -L/usr/lib -ljpeg -lz -o
build/lib.linux-x86_64-2.4/_imaging.so
/usr/bin/ld: /usr/local/Plone/Python-2.4/lib/libz.a(deflate.o): relocation
R_X86_64_32S against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/local/Plone/Python-2.4/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command '/usr/bin/gcc' failed with exit status 1

am positive that I have installed PIL, its right under the directory of
site-packages of python2.5. I have checked earlier record from the forum,
someone claimed that this error was due to the shell dash, instead bash
would solve the problem, yet it is not in my case. 

The only reason I can think of is that python 2.5 is already installed, and
the PIL actually goes under python2.5:
Removing /usr/lib64/python2.5/site-packages/PIL/PIL-1.1.6-py2.5.egg-info
Writing /usr/lib64/python2.5/site-packages/PIL/PIL-1.1.6-py2.5.egg-info
creating /usr/lib64/python2.5/site-packages/PIL.pth

it seems that PIL is not properly installed with python2.4 which comes with
Plone package. I have tried to extract PIL under python2.4 but when
installing the library, it is still going to Python2.5. So is this really
the reason?? and how can I get rid of it??

I would appreciate any ideas or thoughts.

Chao
--

-- 
View this message in context: http://n2.nabble.com/installation-failed-since-PIL-is-missing-tp4288466p4288466.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Graham Perrin | 13 Jan 09:20
Picon
Picon
Favicon

ImportError: No module named _imaging (failed installations of Plone 3.3 and 4.0a3 on 64-bit OSes)


wuchao <at> dev2 wrote:
> 
> I have installed Plone unified 3.3 on several machines, but its the first
> time to install it on x64 PC running fedora core 10. 
> 
> install as root, and failed as indicated:
> 
> ZEO Cluster Install selected
> 
> … 
> 
> Python found at /usr/local/Plone/Python-2.4/bin/python; Skipping Python
> install.
> Installing PIL
> Traceback (most recent call last):
>   File "<string>", line 1, in ?
> ImportError: No module named _imaging
> Python imaging support is missing; something went wrong in the PIL or
> python build.
> 
> Installation has failed.
> 

I have a similar problem, failure to install Plone 4.0a3 ZEO cluster on Mac
OS X 10.6.2: 

imac01:Plone-4.0a3-UnifiedInstaller centrimadmin$ sudo ./install.sh zeo
Password:
ZEO Cluster Install selected

Detailed installation log being written to
/Users/centrimadmin/Downloads/Plone-4.0a3-UnifiedInstaller/install.log

zlib installation: no
libjpeg installation: yes
Root install method chosen

Installing Plone 4.0a3 at /Applications/Plone

Skipping zlib compile and install
Compiling and installing jpeg local libraries ...
Compiling and installing readline local libraries ...
Installing Python 2.6.4. This takes a while...
Installing distribute...
Found existing buildout cache at /Applications/Plone/buildout-cache;
skipping step.
Installing PIL
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named _imaging
Python imaging support is missing; something went wrong in the PIL or python
build.

Installation has failed.
See the detailed installation log at
/Users/centrimadmin/Downloads/Plone-4.0a3-UnifiedInstaller/install.log
to determine the cause.
--

-- 
View this message in context: http://n2.nabble.com/installation-failed-since-PIL-is-missing-tp4288466p4329649.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Graham Perrin | 13 Jan 09:35
Picon
Picon
Favicon

ImportError: No module named _imaging (failed installation of 4.0a3 on Mac OS X Server 10.6.2)


The logged detail given by Chao differs from the detail in my log. 

My own issue is now in Trac. A highlight from
<http://dev.plone.org/old/plone/ticket/10061>: 

> error: Not a URL, existing file, or requirement spec:
> '/Applications/Plone/buildout-cache/downloads/dist/PIL*'

--

-- 
View this message in context: http://n2.nabble.com/installation-failed-since-PIL-is-missing-tp4288466p4330748.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


Gmane