Personal tools
You are here: Home Products Plone4ArtistsCalendar P4ACalendar Issues Can't install with recurring events via buildout from svn
Document Actions

#79 — Can't install with recurring events via buildout from svn

State Resolved
Version:
Area Process
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on 2008-06-18
Responsible
Target release:
Return to tracker
Last modified on 2008-06-30 by Lennart Regebro
Hi,

I'm trying to modify my own buildout according to the one found at http://plone4artists.org/svn/projects/p4acal.buildout/trunk/base-buildout.cfg. I pasted the buildout.cfg used below.

With all the modifications in place I run a buildout and end up with the following new installable products in the quickinstaller:
- Chronos
- Plone4AArtists PloneEvent
- Plone4AArtists Calendar
The two former install just fine, but the latter stalls with this error:

Traceback (innermost last):
  Module ZPublisher.Publish, line 125, in publish
  Module Zope2.App.startup, line 238, in commit
  Module transaction._manager, line 96, in commit
  Module transaction._transaction, line 395, in commit
  Module transaction._transaction, line 495, in _commitResources
  Module ZODB.Connection, line 510, in commit
  Module ZODB.Connection, line 555, in _commit
  Module ZODB.Connection, line 582, in _store_objects
  Module ZODB.serialize, line 407, in serialize
  Module ZODB.serialize, line 416, in _dump
PicklingError: Can't pickle <class 'p4a.calendar.interfaces.ICalendarSupport'>: import of module p4a.calendar.interfaces failed

Any hints on what might be missing?

Thanks, Joh
Steps to reproduce:
[buildout]
eggs-directory=/opt/Plone-3.1/buildout-cache/eggs
download-cache=/opt/Plone-3.1/buildout-cache/downloads
newest = false
parts =
    plone
    zope2
    productdistros
    productcheckouts
    zeoserver
    Intranet
    zopepy
    precompile
    chown
    unifiedinstaller

# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
    http://dist.plone.org
    http://download.zope.org/ppix/
    http://download.zope.org/distribution/
    http://effbot.org/downloads
    http://www.dalkescientific.com/EUtils
# http://pypi.python.org/simple/

# Add additional eggs here
# elementtree is required by Plone
eggs =
    elementtree
    FeedParser
    
# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =
    src/bibliograph.core
    src/bibliograph.rendering
    src/p4a.plonecalendar
    src/p4a.calendar
    src/dateable.chronos
    src/dateable.kalends
    src/p4a.ploneevent
    src/p4a.common
    src/p4a.subtyper
    src/Products.CMFBibliographyAT
# requiring in "src":
# svn co https://svn.plone.org/svn/collective/bibliograph.rendering/trunk/ bibliograph.rendering
# svn co https://svn.plone.org/svn/collective/bibliograph.core/trunk/ bibliograph.core
# svn co http://www.plone4artists.org/svn/projects/p4a.plonecalendar/trunk/ p4a.plonecalendar
# svn co http://www.plone4artists.org/svn/projects/p4a.calendar/trunk/ p4a.calendar
# svn co https://svn.plone.org/svn/collective/dateable/trunk/src/dateable.chronos/ dateable.chronos
# svn co https://svn.plone.org/svn/collective/dateable/trunk/src/dateable.kalends/ dateable.kalends
# svn co http://www.plone4artists.org/svn/projects/p4a.ploneevent/trunk/ p4a.ploneevent
# svn co http://www.plone4artists.org/svn/projects/p4a.common/trunk/ p4a.common
# svn co http://www.plone4artists.org/svn/projects/p4a.subtyper/trunk/ p4a.subtyper
# svn co https://svn.plone.org/svn/collective/Products.CMFBibliographyAT/trunk/ Products.CMFBibliographyAT

[plone]
recipe = plone.recipe.plone >=3.1.1, < 3.2dev

[zope2]
recipe = plone.recipe.zope2install
url = ${plone:zope2-url}

# Use this section to download additional old-style products.
# List any number of URLs for product tarballs under URLs (separate
# with whitespace, or break over several lines, with subsequent lines
# indented). If any archives contain several products inside a top-level
# directory, list the archive file name (i.e. the last part of the URL,
# normally with a .tar.gz suffix or similar) under 'nested-packages'.
# If any archives extract to a product directory with a version suffix, list
# the archive name under 'version-suffix-packages'.
[productdistros]
recipe = plone.recipe.distros
urls =
    http://plone.org/products/attachmetnfield//releases/1.4.4/attachmentfield-1-4-4.tgz
    http://plone.org/products/calendaring/releases/0.4/calendaring-0-4-0.tgz
    http://plone.org/products/plonebooking/releases/2.2.0/plonebooking-2-2-0.tgz
nested-packages =
version-suffix-packages =

[productcheckouts]
recipe = infrae.subversion
urls =
    https://ingeniweb.svn.sourceforge.net/svnroot/ingeniweb/Products.PloneArticle/trunk/Products/PloneArticle/ PloneArticle
    https://svn.plone.org/svn/collective/ATBiblioStyles/trunk ATBiblioStyles
    https://svn.plone.org/svn/collective/ATBiblioTopic/trunk ATBiblioTopic
    https://svn.plone.org/svn/collective/AmazonTool/trunk AmazonTool
    https://svn.plone.org/svn/collective/PubmedClient/trunk PubmedClient
# https://svn.plone.org/svn/collective/ATBiblioList/trunk/ ATBiblioList

[zeoserver]
recipe = plone.recipe.zope2zeoserver
zope2-location = ${zope2:location}
zeo-address = 127.0.0.1:8100
effective-user = plone

[Intranet]
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
zeo-client = true
zeo-address = ${zeoserver:zeo-address}
# The line below sets only the initial password. It will not change an
# existing password.
user = admin:UD4lWrwc
http-address = 8080
effective-user = plone
#debug-mode = on
#verbose-security = on

# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
    ${plone:eggs}
    ${buildout:eggs}
    bibliograph.core
    bibliograph.rendering
    p4a.calendar
    p4a.plonecalendar
    p4a.ploneevent
    Products.ATExtensions
    Products.CMFBibliographyAT
    Products.DataGridField
    Products.PloneFormGen

# Products.Ploneboard
# Products.Poi

# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
    p4a.plonecalendar-meta
    p4a.plonecalendar
    p4a.ploneevent
    
products =
    ${buildout:directory}/products
    ${productcheckouts:location}
    ${productdistros:location}
    ${plone:products}

[zopepy]
recipe = zc.recipe.egg
eggs = ${Intranet:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy

[precompile]
recipe = plone.recipe.precompiler

[chown]
# This recipe is used to set permissions -- and ownership for root mode installs
recipe = plone.recipe.command
command =
    chmod 600 .installed.cfg
    touch ${buildout:directory}/var/log/zeoserver.log
    find ${buildout:directory} -type d -name var -exec chown -R ${Intranet:effective-user} \{\} \;
    find ${buildout:directory} -type d -name LC_MESSAGES -exec chown -R ${Intranet:effective-user} \{\} \;
    find ${buildout:directory} -name runzope -exec chown ${Intranet:effective-user} \{\} \;
update-command = ${chown:command}

[unifiedinstaller]
recipe = plone.recipe.unifiedinstaller
user = ${Intranet:user}
primary-port = ${Intranet:http-address}
sudo-command = sudo
Added by Lennart Regebro on 2008-06-30 09:30 AM
Issue state: unconfirmedresolved
I have a vague memory of fixing this, and I can't reproduce it, so it seems to have been fixed anyway. :)

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: