#157 — Plone site (object from the CMFPlone product) broken after sudo ./easy_install Products.Ploneboard

by Graham Perrin last modified Dec 01, 2010 07:05 AM
State Rejected
Version:
Area Functionality
Issue type Bug
Severity Low
Submitted by Graham Perrin
Submitted on Dec 28, 2007
Responsible Martin Aspeli
Target release:
Debug Information

Zope version: (Zope 2.10.5-final, python 2.4.4, darwin)
Python version: 2.4.4 (#1, Dec 7 2007, 21:01:51) [GCC 4.0.1 (Apple Computer, Inc. build 5250)]
System Platform: darwin
SOFTWARE_HOME: /Applications/Plone-3.0.4/lib/python
INSTANCE_HOME: /Applications/Plone-3.0.4/Instance
CLIENT_HOME: /Applications/Plone-3.0.4/Instance/var
Process ID: 1214 (78071296)
Running for: 1 min 32 sec
sys.path:
  /Applications/Plone-3.0.4/Instance/lib/python
  /Applications/Plone-3.0.4/Instance/lib/python
  /Applications/Plone-3.0.4/lib/python/Zope2/Startup
  /Applications/Plone-3.0.4/Instance/Products/ATContentTypes/thirdparty
  /Applications/Plone-3.0.4/Instance/Products/ATContentTypes/thirdparty
  /Applications/Plone-3.0.4/Instance/Products/ATContentTypes/thirdparty
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/setuptools-0.6c7-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/Products.Ploneboard-2.0rc1-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/plone.i18n-1.0.2-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/plone.memoize-1.0.3-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/plone.portlets-1.0.3-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/plone.app.portlets-1.0.3-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/plone.app.controlpanel-1.0.3-py2.4.egg
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/Products.SimpleAttachment-3.0.2-py2.4.egg
  /Applications/Plone-3.0.4/lib/python
  /Applications/Plone-3.0.4/Instance
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python24.zip
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/plat-darwin
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/plat-mac
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/plat-mac/lib-scriptpackages
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/lib-tk
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/lib-dynload
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages
  /Applications/Plone-3.0.4/Python-2.4.4/lib/python2.4/site-packages/PIL
Steps to reproduce:
Install Plone 3.0.4.

Start service, test
http://localhost:8080/Plone and
http://localhost:8080/manage

Stop service.

easy_install Products.Ploneboard

Start service.

Plone site is broken.
Added by Graham Perrin on Dec 28, 2007 08:48 PM
Responsible manager: optilude(UNASSIGNED)
Reminiscent of
http://plone.org/[…]/2
and of http://dev.plone.org/plone/ticket/7510

Added by Graham Perrin on Dec 28, 2007 09:31 PM
http://www.nabble.com/easy_[…]-sites-td14531737s6741.html
'easy_install of some products breaks Plone sites'
posted to the Product Developers list.
Added by Graham Perrin on Dec 29, 2007 02:40 PM
http://www.nabble.com/Re%3A[…]Plone-3-p14537974s6742.html another user's site broken following easy_install

Please, are we using easy_install in the wrong way?
Added by Graham Perrin on Jan 02, 2008 12:20 PM
> SyntaxError: 'return' outside function

is also seen at <http://plone.org/products/linguaplone/issues/119>.

At <http://mail.python.org/[…]/424652.html> there's an association between this type of error message, and

> code is incorrectly indented
Added by Graham Perrin on Jan 06, 2008 09:12 PM
Same result with clean 3.0.5 built from Plone-3.0.5-UnifiedInstaller on Mac OS X 10.4.11, Intel,

> Plone (This object from the CMFPlone product is broken!)

Debug information etc. at http://paste.plone.org/18855
Added by Graham Perrin on Jan 08, 2008 05:56 PM
Doesn't seem to be a problem with buildouts on the same platform.

In the [buildout] section of my buildout.cfg,

eggs =
    elementtree
    Products.SimpleAttachment
    Products.PloneFlashUpload
    Products.Ploneboard
    webcouturier.dropdownmenu
    plone.browserlayer

and in a _buildout_ context, happily, I have _not_ found that Products.Ploneboard breaks sites.
Added by Graham Perrin on Jan 18, 2008 10:29 PM
Following suggestions that a PYTHONPATH setting may resolve the issue,

 1. removed Plone
 2. installed Plone
 3. modified zopectl

http://paste.plone.org/19095 shows the modification, including a reference to the advice

 4. sudo systemstarter start Plone-3.0.5
 5. sudo systemstarter stop Plone-3.0.5
 6. sudo /Applications/Plone-3.0.5/Python-2.4.4/bin/easy_install Products.Ploneboard
 7. sudo systemstarter start Plone-3.0.5
 8. <http://localhost:8080/Plone> presents <PloneSite at broken>
Added by Robert Anderson on Jan 23, 2008 04:12 AM
I can confirm that this problem exists under Linux, Plone-3.0.5, and Ploneboard-2.0rc1.

I can also add that it appears to not be Ploneboard or SimmpleAttachment-3.0.2.

If I remove the other EGG files that it installs everything seems to work fine again. My guess is that these files are no longer compatible with the same named packages being installed by plone in my site instances lib dir (in my case /web/plone3/lib/)?

It seems to keep failing until I remove all of the following eggs from my Plone pythons instance of site-packages(in my case /usr/local/lib/python2.4/site-packages):
  plone.app.controlpanel-1.0.3-py2.4.egg
  plone.portlets-1.0.5-py2.4.egg
  plone.memoize-1.0.3-py2.4.egg
  plone.i18n-1.0.2-py2.4.egg

Perhaps there is a way to tell easy_install to use the zope instances lib dir for dependency resolution prior to installing it's own EGGS?
Added by Benson Fan on Jan 30, 2008 09:26 PM
I observed the same as Robert Anderson described and solved the problem with exact same way.

I just want to record my test settings here for later references:

Zope Version (Zope 2.10.5-final, python 2.4.4, linux2)
Python Version 2.4.4 (#1, Jan 30 2008, 12:25:30) [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)]
System Platform linux2
SOFTWARE_HOME /opt/Plone-3.0.5/lib/python
ZOPE_HOME /opt/Plone-3.0.5
INSTANCE_HOME /opt/Plone-3.0.5/zeocluster/client1
CLIENT_HOME /opt/Plone-3.0.5/zeocluster/client1/var
Network Services ZServer.HTTPServer.zhttp_server (Port: 8080)
Process Id 26889 (-1274303568)
Running For 8 min 51 sec
Added by John Stile on Feb 06, 2008 04:03 PM
Me too.
When does this bug change to Confirmed in issue tracker?
Added by John Stile on Feb 06, 2008 04:05 PM
Me too.
When does this bug change to Confirmed in issue tracker?
Added by Wichert Akkerman on Feb 15, 2008 02:39 PM
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)optilude
This is not a Ploneboard bug but an installation problem. See http://plone.org/[…]/installing for installation instructions.
Added by Graham Perrin on Feb 16, 2008 06:15 AM
Installation instructions were followed, I guess that there's something amiss with the installation routine.

I gained no response to http://www.nabble.com/easy_[…]4576703s6741.html#a14576703 so I'll repost to http://www.nabble.com/Insta[…]tup%2C-Upgrades-f15482.html

Thanks
Graham
Added by Graham Perrin on Feb 22, 2008 01:19 PM
For the benefit of anyone else reading this ticket:

Make sure all installers use Buildout as their base
http://dev.plone.org/plone/ticket/7853

reduce users' expectations that easy_install will work
http://dev.plone.org/plone/ticket/7867

In my experience: wherever easy_install fails, buildout succeeds.
Added by Marco Markgraf on Jul 28, 2008 04:11 PM
Well, I DID install using buildout.
I deinstalled it using buildout as well. But the deinstall seems to be flawed.
Something is left over from ploneboard, and now, NOTHING can be installed :-(
Every attempt at installing whatever breaks off with "Key-Error: Ploneboard", with or without additional Kupu-Errors.
Added by Marco Markgraf on Jul 28, 2008 05:35 PM
I tried what i read in http://markmail.org/message/46zq5plrokiq2jdr
and found that I needed to do the exact opposite:

Site setup -> Visual editor -> Resource types -> Add Ploneboard as linkable
And it works again. Lucky me :)
Added by afra99 on Oct 08, 2010 08:27 AM
I can limit and injure by the cheap nike shoes kindest acts of protection or concern. Over cheap nike shox extended it can say to the other person more eloquently than cheap jordans shoes words. You are unable to care for authentic jordan shoes yourself, I must take care of you because you are mine http://www.nikejordanshoes2sell.com/ .
Added by afra99 on Oct 08, 2010 08:27 AM
With equal passion I have sought burberry handbags knowledge. I have wished to understand the miu miu handbags hearts of men. I have wished to know why the dio handbags stars shine. And I have tried to apprehend the prada handbags Pythagorean power by which number holds sway above the cheap designer handbags flux. A little of this, but not much, I have achieved http://www.handbags4buy.com/ .
Added by afra99 on Oct 08, 2010 08:28 AM
If I try to change someone I love cheap ed hardy clothing sale because I feel I know how that person should be, I rob him or her of a womens ed hardy clothing precious right, the right to take ed hardy online shop responsibility for one's own ed hardy clothing life and choices and way of being mens moncler jackets . I limit and prevent by my act of possession, no matter how kind my http://www.edhardy-buy.com/ intention.
Added by afra99 on Oct 08, 2010 08:31 AM
I have often thought it would be a yves saint laurent shoes blessing if each human being were stricken christian louboutin pumps blind and deaf for a few days at some time during his tory burch reva flats early adult life. Darkness would make him more appreciative of discount christian louboutin shoes sight, silence would tech him the joys of http://www.christianlouboutinshoestore.com/ sound.
Added by Karen W Anderson on Dec 01, 2010 07:04 AM
I can't seem to understand.:(

<a href="http://naturalhealthcarereviews.com/[…]/">procera avh</a>
Added by Karen W Anderson on Dec 01, 2010 07:05 AM
[url=http://naturalhealthcarereviews.com/[…]/]procera avh[/url]

No responses can be added.