#157 — Plone site (object from the CMFPlone product) broken after sudo ./easy_install Products.Ploneboard
| State | Rejected |
|---|---|
| Version: | 2.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Low |
| Submitted by | Graham Perrin |
| Submitted on | Dec 28, 2007 |
| Responsible | Martin Aspeli |
| Target release: |
—
|
Last modified on
Jan 07, 2009
by
Matthew Wilkes
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
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 byGraham PerrinonDec 28, 2007 08:48 PM
Reminiscent of
Responsible manager:
optilude
→
(UNASSIGNED)
http://plone.org/[…]/2
and of http://dev.plone.org/plone/ticket/7510
Added byGraham PerrinonDec 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 byGraham PerrinonDec 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 byGraham PerrinonJan 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 byGraham PerrinonJan 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 byGraham PerrinonJan 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 byGraham PerrinonJan 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 byRobert AndersononJan 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 byBenson FanonJan 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 byJohn StileonFeb 06, 2008 04:03 PM
Me too.
When does this bug change to Confirmed in issue tracker?
Added byJohn StileonFeb 06, 2008 04:05 PM
Me too.
When does this bug change to Confirmed in issue tracker?
Added byWichert AkkermanonFeb 15, 2008 02:39 PM
This is not a Ploneboard bug but an installation problem. See http://plone.org/[…]/installing for installation instructions.
Issue state:
unconfirmed
→
rejected
Responsible manager:
(UNASSIGNED)
→
optilude
Added byGraham PerrinonFeb 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 byGraham PerrinonFeb 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 byMarco MarkgrafonJul 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 byMarco MarkgrafonJul 28, 2008 05:35 PM
I tried what i read in http://markmail.org/message/46zq5plrokiq2jdrand 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 :)
No responses can be added.
If you can, please log in before submitting a reaction.