Looking at it again in the morning, I was wrong last night.  The problem
can't be that it isn't finding Products.PloneFormGen to import from since
the line above the one I get the error on is another import:

from Products.PloneFormGen.content.actionAdapter import \
>     FormActionAdapter, FormAdapterSchema
> from Products.PloneFormGen.config import FORM_ERROR_MARKER
>

I'm a little unclear how to read this stack trace since it switches from
python to zcml:

2009-04-28 22:41:45 ERROR Zope Couldn't install Five
> Traceback (most recent call last):
>
> ...
>
>   File
> "/home/rob/projects/onenw/getpaid2.5/parts/zope2/lib/python/zope/configuration/config.py",
> line 206, in resolve
>     return __import__(mname+'.'+oname, *_import_chickens)
>   File
> "/home/rob/projects/onenw/getpaid2.5/eggs/getpaid.formgen-0.1-py2.4.egg/getpaid/formgen/content/__init__.py",
> line 3, in ?
>     from getpaidpfgadapter import GetpaidPFGAdapter
>   File
> "/home/rob/projects/onenw/getpaid2.5/eggs/getpaid.formgen-0.1-py2.4.egg/getpaid/formgen/content/getpaidpfgadapter.py",
> line 34, in ?
>     from Products.PloneFormGen.config import FORM_ERROR_MARKER
> ZopeXMLConfigurationError: File
> "/home/rob/projects/onenw/getpaid2.5/parts/instance/etc/site.zcml", line
> 11.2-11.55
>     ZopeXMLConfigurationError: File
> "/home/rob/projects/onenw/getpaid2.5/parts/instance/etc/package-includes/001-getpaid.formgen-configure.zcml",
> line 1.0-1.59
>     ZopeXMLConfigurationError: File
> "/home/rob/projects/onenw/getpaid2.5/eggs/getpaid.formgen-0.1-py2.4.egg/getpaid/formgen/configure.zcml",
> line 12.4-12.34
>     ImportError: cannot import name FORM_ERROR_MARKER
>

So I'm not really clear on why it can't import that.  Thanks.

-Rob

On Wed, Apr 29, 2009 at 6:40 AM, Lucie Lejard <[email protected]> wrote:

>
> where does it fail exactly now? Is there an error with the import of
> FORM_ERROR_MARKER ?
>
> Lucie
> --
> S i x  F e e t  U p ,  I n c .  |  http://www.sixfeetup.com
> Phone: +1 (317) 861-5948 x605
> ANNOUNCING the first Plone Immersive Training Experience | Sept. 10-11-12,
> 2009
> http://www.sixfeetup.com/immerse
>
>
>
> On Wed, Apr 29, 2009 at 2:05 AM, Rob LaRubbio <[email protected]> wrote:
> > Each answer just seems to lead to more questions.  If I comment out that
> > line, it gets a little farther but then still fails on startup:
> >
> >>   File
> >>
> "/home/rob/projects/onenw/getpaid2.5/eggs/getpaid.formgen-0.1-py2.4.egg/getpaid/formgen/content/getpaidpfgadapter.py",
> >> line 34, in ?
> >>     from Products.PloneFormGen.config import FORM_ERROR_MARKER
> >
> > I'm installing Products.PloneFormGen in my buildout, and by watching the
> > output I can see that is is installing it:
> >
> >> We have the distribution that satisfies 'getpaid.formgen==0.1'.
> >> Getting required 'Products.PloneFormGen'
> >>   required by getpaid.formgen 0.1.
> >> We have the best distribution that satisfies 'Products.PloneFormGen'.
> >> Picked: Products.PloneFormGen = 1.5b5
> >
> > and it's also in parts/omelette.  Looking in bin/instance I also see the
> > PloneFormGen egg referenced, so how else can I figure out why it can't
> pull
> > an import from it?
> >
> > -Rob
> >
> > On Tue, Apr 28, 2009 at 10:09 PM, David Glick <[email protected]> wrote:
> >>
> >> plone.app.contentmenu wasn't part of Plone until Plone 3.  If that's all
> >> that's in this file then it doesn't look like it's actually needed...
> >> David
> >> On Apr 28, 2009, at 10:03 PM, Rob LaRubbio wrote:
> >>
> >> I'm trying to test if the latest getpaid recipe works with Plone 2.5  So
> >> far I've run getpaid with the test processor with no problem. If I add
> >> getpaid.formgen and don't add it to my zcml, then it is not available to
> >> Plone on startup (I thought the recipe handled that for me?)  If I do
> add it
> >> then I get this error at startup:
> >>
> >>>     ZopeXMLConfigurationError: File
> >>>
> "/home/rob/projects/getpaid2.5/eggs/getpaid.formgen-0.1-py2.4.egg/getpaid/formgen/browser/configure.zcml",
> >>> line 6.4-6.47
> >>>     ConfigurationError: ('Invalid value for', 'package', "ImportError:
> >>> Couldn't import plone.app, No module named app")
> >>
> >> This is the zcml file referenced in the error:
> >>
> >>> <configure
> >>>     xmlns="http://namespaces.zope.org/zope";
> >>>     xmlns:browser="http://namespaces.zope.org/browser";
> >>>     i18n_domain="getpaid.formgen">
> >>>
> >>>     <include package="plone.app.contentmenu" />
> >>>
> >>>     <!-- -*- extra stuff goes here -*- -->
> >>>
> >>> </configure>
> >>
> >> I'm using as sparse a buildout as possible.  I'll attach it, but I'm not
> >> sure if google will allow it.  Basically it's just the template
> generated by
> >> paster create -t plone25_buildout with getpaid recipe, Five and
> CMFonFive
> >> added.  e.g.
> >>
> >>> [productdistros]
> >>> recipe = plone.recipe.distros
> >>> urls =
> >>>
> >>>
> http://plone.org/products/ploneformgen/releases/1.2.1/pfg-1-2-1_sf-1-1_bundle.tgz
> >>>     http://codespeak.net/z3/five/release/Five-1.4.2.tgz
> >>> nested-packages =
> >>> version-suffix-packages =
> >>>
> >>> [productcheckouts]
> >>> recipe=infrae.subversion
> >>> urls=
> >>>     http://codespeak.net/svn/z3/CMFonFive/trunk/@64794 CMFonFive
> >>
> >> From looking at my other working getpaid buildout (mostly checkouts of
> >> trunk) I can't see where it is getting plone.app.contentmenu from, so
> any
> >> pointers would be appreciated.  Thanks.
> >>
> >> -Rob
> >>
> >>
> >>
> >> <buildout.cfg>
> >>
> >>
> >
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to