collective.subscribemember and Plone 4

26 views
Skip to first unread message

lee.joramo

unread,
Jan 10, 2011, 11:55:56 AM1/10/11
to getpaid-dev
Does collective.subscribemember work with Plone 4?

I have so far run into three issues trying to get it work.

1) needed to add Products.AdvancedQuery to the buildout. This used to
be a default part of Plone 3 but was removed.

2) buildout pulled in Products.membrane = 2.0b2 which led to a error:
"ImportError: Module Products.membrane.interfaces has no global
IUserRelated". I saw a posting online that said the solution was to
pin to Products.membrane = 1.1b5. This resolved the error, but I am
unsure of if this was wise to do in Plone 4

3) I now get a configuration error for membrane. See traceback below.

Thanks for any suggestions.


--
Lee Joramo
/ Web Architect
/ designKiln.com
/ 970.261.8426





2011-01-10 08:36:37 INFO ZServer HTTP server started at Mon Jan 10
08:36:37 2011
Hostname: 0.0.0.0
Port: 10080
2011-01-10 08:36:39 INFO ZEO.ClientStorage zeostorage ClientStorage
(pid=18969) created RW/normal for storage: '1'
2011-01-10 08:36:39 INFO ZEO.cache created temporary cache file
'<fdopen>'
2011-01-10 08:36:39 INFO ZEO.zrpc.Connection(C) (127.0.0.1:10100)
received handshake 'Z309'
2011-01-10 08:36:39 INFO ZEO.ClientStorage zeostorage Testing
connection <ManagedClientConnection ('127.0.0.1', 10100)>
2011-01-10 08:36:39 INFO ZEO.ClientStorage zeostorage Server
authentication protocol None
2011-01-10 08:36:39 INFO ZEO.ClientStorage zeostorage Connected to
storage: ('localhost', 10100)
2011-01-10 08:36:39 INFO ZEO.ClientStorage zeostorage No verification
necessary -- empty cache
/home/ljoramo/plone4store/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py:685: UserWarning: The
set_schema option of the <require /> directive is not supported in
Zope 2. Ignored for <class
'collective.pfg.creditcardfields.fields.FGCCExpirationDateField'>
actions = self.handler(context, **args)
/home/ljoramo/plone4store/buildout-cache/eggs/zope.configuration-3.6.0-
py2.6.egg/zope/configuration/config.py:685: UserWarning: The
set_schema option of the <require /> directive is not supported in
Zope 2. Ignored for <class
'pfg.donationform.donationfieldset.DonationFieldSet'>
actions = self.handler(context, **args)
2011-01-10 08:36:42 ERROR Application Couldn't install Five
Traceback (most recent call last):
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/OFS/Application.py", line 671, in install_product
initmethod(context)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/__init__.py", line 31, in
initialize
zcml.load_site()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in load_site
_context = xmlconfig.file(file)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
include(context, name, package)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/fiveconfigure.py", line 74, in
loadProducts
handleBrokenProduct(product)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/fiveconfigure.py", line 72, in
loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 338, in start_element_ns
AttributesNSImpl(newattrs, qnames))
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 230, in startElementNS
self.context.begin(name, data, info)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
534, in begin
self.stack.append(self.stack[-1].contained(__name, __data,
__info))
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
835, in contained
return RootStackItem.contained(self, name, data, info)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
703, in contained
factory = self.context.factory(self.context, name)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
480, in factory
raise ConfigurationError("Unknown directive", ns, n)
ZopeXMLConfigurationError: File "/home/ljoramo/plone4store/zeocluster/
parts/client1/etc/site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/home/ljoramo/plone4store/
buildout-cache/eggs/Products.membrane-1.1b5-py2.6.egg/Products/
membrane/configure.zcml", line 7.2
ConfigurationError: ('Unknown directive', u'http://
namespaces.zope.org/five', u'traversable')
Traceback (most recent call last):
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Zope2/Startup/run.py", line 56, in <module>
run()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Zope2/Startup/run.py", line 21, in run
starter.prepare()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line 87, in prepare
self.startZope()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Zope2/Startup/__init__.py", line 264, in
startZope
Zope2.startup()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Zope2/__init__.py", line 47, in startup
_startup()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Zope2/App/startup.py", line 116, in startup
OFS.Application.initialize(application)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/OFS/Application.py", line 251, in initialize
initializer.initialize()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/OFS/Application.py", line 279, in initialize
self.install_products()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/OFS/Application.py", line 492, in
install_products
return install_products(app)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/OFS/Application.py", line 523, in
install_products
folder_permissions, raise_exc=debug_mode)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/OFS/Application.py", line 671, in install_product
initmethod(context)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/__init__.py", line 31, in
initialize
zcml.load_site()
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/zcml.py", line 51, in load_site
_context = xmlconfig.file(file)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 647, in file
include(context, name, package)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 357, in endElementNS
self.context.end()
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
537, in end
self.stack.pop().finish()
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
685, in finish
actions = self.handler(context, **args)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/fiveconfigure.py", line 74, in
loadProducts
handleBrokenProduct(product)
File "/home/ljoramo/plone4store/buildout-cache/eggs/Zope2-2.12.11-
py2.6-linux-i686.egg/Products/Five/fiveconfigure.py", line 72, in
loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 546, in include
processxmlfile(f, context)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 378, in processxmlfile
parser.parse(src)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
xmlreader.py", line 123, in parse
self.feed(buffer)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/ljoramo/plone4store/Python-2.6/lib/python2.6/xml/sax/
expatreader.py", line 338, in start_element_ns
AttributesNSImpl(newattrs, qnames))
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
line 230, in startElementNS
self.context.begin(name, data, info)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
534, in begin
self.stack.append(self.stack[-1].contained(__name, __data,
__info))
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
835, in contained
return RootStackItem.contained(self, name, data, info)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
703, in contained
factory = self.context.factory(self.context, name)
File "/home/ljoramo/plone4store/buildout-cache/eggs/
zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py", line
480, in factory
raise ConfigurationError("Unknown directive", ns, n)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/
ljoramo/plone4store/zeocluster/parts/client1/etc/site.zcml", line
16.2-16.23
ZopeXMLConfigurationError: File "/home/ljoramo/plone4store/
buildout-cache/eggs/Products.membrane-1.1b5-py2.6.egg/Products/
membrane/configure.zcml", line 7.2
ConfigurationError: ('Unknown directive', u'http://
namespaces.zope.org/five', u'traversable')

Tim Knapp - Emerge Technology

unread,
Jan 10, 2011, 2:56:48 PM1/10/11
to getpa...@googlegroups.com
Hi Lee,

Firstly, great to hear you're using collective.subscribemember!

There is a Plone 4 version in svn that Wyn Williams has created here:
https://svn.plone.org/svn/collective/collective.subscribemember/branches/wyn-p4/

He also used the following version of Products.remember:
https://svn.plone.org/svn/collective/Products.remember/branches/klm_track-membrane2

and as you mentioned, added Products.AdvancedQuery to his buildout.

Let us know how you go!

-Tim

Lee Joramo

unread,
Jan 10, 2011, 6:12:30 PM1/10/11
to getpa...@googlegroups.com
Tim,

Thanks for the quick response.

I have gotten collective.subscribemember installed and I am checking it out. Two follow on questions:

1) Is it possible to have monthly subscriptions? Or are years the smallest increment?

2) Does PayPal work? I know the official product description says PayPal does not work but that some site has done so. However, searching the mailing lists, I found reference that there is built in support for Paypal, but it is a bit of an ugly hack.

Many thanks.

--
Lee Joramo
/ Web Architect
/ designKiln.com
/ 970.261.8426

> --
> GetPaid for Plone: http://www.plonegetpaid.com (overview info) | http://code.google.com/p/getpaid (code and issue tracker)
> You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
> To post to this group, send email to getpa...@googlegroups.com
> To unsubscribe from this group, send email to getpaid-dev...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/getpaid-dev?hl=en?hl=en

Encolpe Degoute

unread,
Jan 20, 2011, 4:59:41 AM1/20/11
to getpa...@googlegroups.com
Le 10/01/2011 20:56, Tim Knapp - Emerge Technology a �crit :

> Hi Lee,
>
> Firstly, great to hear you're using collective.subscribemember!
>
> There is a Plone 4 version in svn that Wyn Williams has created here:
> https://svn.plone.org/svn/collective/collective.subscribemember/branches/wyn-p4/
>
> He also used the following version of Products.remember:
> https://svn.plone.org/svn/collective/Products.remember/branches/klm_track-membrane2
>
> and as you mentioned, added Products.AdvancedQuery to his buildout.


Hello,

I'm trying to use getpaid and subscribemember in Plone 4. My goal is to
make a zopeskel with modules to enable (ldap, cas, getpaid, educommons,�):

http://github.com/collective/zopeskel.unis/blob/master/zopeskel/unis/templates/unis_plone4_buildout/profiles/modules/getpaid.cfg_tmpl

I'm trying to figure out how to be aware of which getpaid module is
Plone 4 ready and which is not.

Can I have commit rights into the getpaid repository ?

Regards,
--
Encolpe DEGOUTE
Quadra Informatique

Christopher Johnson

unread,
Jan 20, 2011, 10:33:02 PM1/20/11
to getpa...@googlegroups.com


On Thu, Jan 20, 2011 at 4:59 AM, Encolpe Degoute <encolpe...@quadra-informatique.fr> wrote:
Le 10/01/2011 20:56, Tim Knapp - Emerge Technology a écrit :
> Hi Lee,
>
> Firstly, great to hear you're using collective.subscribemember!
>
> There is a Plone 4 version in svn that Wyn Williams has created here:
> https://svn.plone.org/svn/collective/collective.subscribemember/branches/wyn-p4/
>
> He also used the following version of Products.remember:
> https://svn.plone.org/svn/collective/Products.remember/branches/klm_track-membrane2
>
> and as you mentioned, added Products.AdvancedQuery to his buildout.


Hello,

I'm trying to use getpaid and subscribemember in Plone 4. My goal is to
make a zopeskel with modules to enable (ldap, cas, getpaid, educommons,…):


http://github.com/collective/zopeskel.unis/blob/master/zopeskel/unis/templates/unis_plone4_buildout/profiles/modules/getpaid.cfg_tmpl

I'm trying to figure out how to be aware of which getpaid module is
Plone 4 ready and which is not.

Can I have commit rights into the getpaid repository ?

Sure. Do you have a google code-enabled email address?
-c
 
Regards,
--
Encolpe DEGOUTE
Quadra Informatique
--
GetPaid for Plone: http://www.plonegetpaid.com (overview info) | http://code.google.com/p/getpaid (code and issue tracker)
You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to getpa...@googlegroups.com
To unsubscribe from this group, send email to getpaid-dev...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en?hl=en



--
Cofounder and CEO
ifPeople - Innovation for People
www.ifpeople.net
t: 678-608-3408
130 Boulevard NE, #6
Atlanta, GA 30312
Reply all
Reply to author
Forward
0 new messages