Google Groups Home
Help | Sign in
error while changing a Zope2 product (Discount) to an egg (getpaid.discount)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lucielejard  
View profile  
 More options Jan 16 2008, 9:26 am
From: lucielejard <lucielej...@gmail.com>
Date: Wed, 16 Jan 2008 06:26:26 -0800 (PST)
Local: Wed, Jan 16 2008 9:26 am
Subject: error while changing a Zope2 product (Discount) to an egg (getpaid.discount)
Hi,

I have a Zope2 product (https://svn.sixfeetup.com/svn/public/Discount/
trunk/) that I want to transform to an egg (https://
getpaid.googlecode.com/svn/trunk/getpaid.discount/) to include it with
getpaid.

This Zope2 product also has a Generic Setup profile and has some
imports from Products.PloneGetPaid.

I have a file named "profiles.zcml", in which there is the following
code:

<configure
     xmlns="http://namespaces.zope.org/zope"
     xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
     i18n_domain="plone">

   <genericsetup:registerProfile
       name="default"
       title="getpaid.discount"
       directory="profiles/default"
       description="Default Profile for getpaid.discount."
       provides="Products.GenericSetup.interfaces.EXTENSION"
       />

</configure>

Then when I start my instance, I have the following error:
  ConfigurationError: ('Unknown directive',
u'http://namespaces.zope.org/genericsetup', u'registerProfile')
(full trace here: http://paste.plone.org/19039)

It seems to me that the problem is that Generic Setup is not yet
installed.

If I comment out the registerProfile part, then it errors out trying
to
register the profile of PloneGetPaid (because I import it in the egg).

What can I do for it to succeed to register the profile successfully?
Is
it really possible to change my product to an egg?

Thanks
Lucie


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google