|

Installing PloneSoftwareCenter on Plone 4

In addition to the Plone Help Center, I also wanted to have PloneSoftwareCenter for project management capabilities. The normal method for installing PloneSoftwareCenter is to add Products.PloneSoftwareCenter to the eggs = section of the zinstance/buildout.cfg file in the Plone installation. Trying to build and then run Plone, I ended up adding three additional lines to the buildout.cfg. I’m not sure why these dependencies were not automatically added.

Figuring out dependencies

Each time I ran the buildout command, I received an error message similar to this one reported on the PloneSoftwareCenter issue #84:

2009-02-24 10:03:06 ERROR Application Could not import Products.PloneSoftwareCenter
Traceback (most recent call last):
File "/home/encolpe/zopes/ve-p31-eurocontrol/management/parts/zope2/lib/python/OFS/Application.py", line 709, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/home/encolpe/.buildout/eggs/Products.PloneSoftwareCenter-1.5-py2.4.egg/Products/PloneSoftwareCenter/__init__.py", line 15, in ?
from Products.PloneSoftwareCenter.content import validators
File "/home/encolpe/.buildout/eggs/Products.PloneSoftwareCenter-1.5-py2.4.egg/Products/PloneSoftwareCenter/content/__init__.py", line 7, in ?
import root
File "/home/encolpe/.buildout/eggs/Products.PloneSoftwareCenter-1.5-py2.4.egg/Products/PloneSoftwareCenter/content/root.py", line 22, in ?
from Products.ArchAddOn.Fields import SimpleDataGridField
ImportError: No module named ArchAddOn.Fields

The last line indicates that ArchAddOn.Fields was missing. A quick search for ArchAddOn revealed a Products.ArchAddOn, with a few of these hits also referencing PloneSoftwareCenter. I received a similar error for fancyzoomview and AddRemoveWidget.

Procedure

To get PloneSoftwareCenter working, I added the following lines to the buildout.cfg file in the eggs section:

eggs =
. . .
Products.PloneSoftwareCenter
collective.fancyzoomview
Products.ArchAddOn
Products.AddRemoveWidget

Running the buildout and instance commands then started Plone so I could use the portal_quickinstaller in the Zope Management Interface (you.site.address/manage) to activate all of the packages. The Software Center then appeared under the Add New menu on the Plone site.

Tip: If you are behind a proxy server, make sure you export your proxy server using the command line option export http_proxy=proxy.addy.com. Make sure you replace proxy.addy.com with the appropriate proxy address.

Related Images:

Similar Posts

  • |

    Photogallery

    WordPress 2.5 has known to be incompatible with some plugins. Unfortunately, this includes the Aniga plugin I used for my gallery. I read reviews on WordPress’ forums and plugin sites: NexGEN Gallery came highly recommended. Fully configurable, many options… sounded great. Now that my photo gallery has been moved over for several months, I’ve discovered…

  • Firefly as MMORG

    According to an article in Wired: “Like Capt. Mal Reynolds stumbling in after a bar fight, the short-lived but much beloved sci-fi series Firefly will soon make an unexpected return, not as a TV show, but as a massively multiplayer online game.” The game is being developed by Multiverse (whose Web site has been slashdotted,…

  • Doctor Who

    I’ve been an avid Doctor Who fan since I was little. It’s the one show whose campines, acting, stories, and questionable special effects don’t really matter. So what if the music is over the top and the lines are delivered with the gravitas of a poodle? It doesn’t matter. It’s Doctor Who! Alasdair Wilkin’s essay…

One Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.