(copied from plone-users, which I now see is not the correct place for
this question!)
OK. Now I see a problem with PloneGetPaid when starting Zope 'fg'.
Without pGP in Products, Zope is ready to handle requests.
When it's installed, I get the following: (Five 1.4.4 is installed)
2008-11-28 05:36:19 ERROR Zope Couldn't install Five
Traceback (most recent call last):
File "/home/zope/qutang-zope29/parts/zope29/lib/python/OFS/
Application.py", line 783, in install_product
initmethod(context)
File "/home/zope/qutang-zope29/bundles/Products-stable/Five/
__init__.py", line 31, in initialize
zcml.load_site()
File "/home/zope/qutang-zope29/bundles/Products-stable/Five/
zcml.py", line 41, in load_site
_context = xmlconfig.file(file)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 558, in file
include(context, name, package)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 494, in include
processxmlfile(f, context)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 349, in processxmlfile
parser.parse(src)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 328, in endElementNS
self.context.end()
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 544, in end
self.stack.pop().finish()
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 692, in finish
actions = self.handler(context, **args)
File "/home/zope/qutang-zope29/bundles/Products-stable/Five/
fiveconfigure.py", line 83, in loadProducts
handleBrokenProduct(product)
File "/home/zope/qutang-zope29/bundles/Products-stable/Five/
fiveconfigure.py", line 81, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 494, in include
processxmlfile(f, context)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 349, in processxmlfile
parser.parse(src)
.... and on a few pages down to .....
self._parser.Parse(data, isFinal)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 328, in endElementNS
self.context.end()
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 544, in end
self.stack.pop().finish()
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 692, in finish
actions = self.handler(context, **args)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 494, in include
processxmlfile(f, context)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 349, in processxmlfile
parser.parse(src)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
xmlreader.py",
line 123, in parse
self.feed(buffer)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/home/zope/python/2.4.4//lib/python2.4/xml/sax/
expatreader.py", line 348, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/xmlconfig.py", line 328, in endElementNS
self.context.end()
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 544, in end
self.stack.pop().finish()
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 691, in finish
args = toargs(context, *self.argdata)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 1383, in toargs
args[str(name)] = field.fromUnicode(s)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/fields.py", line 229, in fromUnicode
v = vt.fromUnicode(s)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/fields.py", line 139, in fromUnicode
value = self.context.resolve(name)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/zope/
configuration/config.py", line 184, in resolve
mod = __import__(mname, *_import_chickens)
File "/home/zope/qutang-zope29/parts/zope29/lib/python/getpaid/
paymentech/paymentech.py", line 9, in ?
import zc.ssl
File "/home/zope/python/2.4.4/lib/python2.4/site-packages/
zc.ssl-1.1-py2.4.egg/zc/ssl/__init__.py", line 10, in ?
import ssl
File "/home/zope/qutang-zope29/parts/zope29/lib/python/Zope2/
Startup/__init__.py", line 81, in ?
def setConfiguration(self, cfg):
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/
zope/qutang-zope29/parts/qutang-plone25-products/Five/skel/
site.zcml",
line 20.2-20.23
ZopeXMLConfigurationError: File "/home/zope/qutang-zope29/parts/
eiotx-plone25-products/PloneGetPaid/configure.zcml", line 65.0-65.31
ZopeXMLConfigurationError: File "/home/zope/qutang-zope29/parts/
eiotx-plone25-products/PloneGetPaid/plugins.zcml", line 27.0-28.33
ZopeXMLConfigurationError: File "/home/zope/qutang-zope29/parts/
zope29/lib/python/getpaid/paymentech/configure.zcml", line 10.2-15.7
TypeError: Error when calling the metaclass bases
function() argument 1 must be code, not str
On 28 Nov 2008, at 5:15 AM, Peter Fraterdeus wrote:
...
On installing PloneGetPaid in my Zope 2.9.8 / Plone 2.5.4 instance
I've run easy_install {simplejson, python-dateutil & zc.ssl} on my
local 2.4.4 python instance, moved the lib/python/{stuff*} from the
GetPaid bundle to my 'local' lib/python,
double-checked which python is being used<<
( ie, sudo /home/zope/python/2.4.4/bin/easy_install-2.4 python-
dateutil )
but after restarting Zope (which starts AOK) I get the trace below...
removing PloneGetPaid from the Zope Product dir reverses the damage
Really not sure where to start with this? I'm going to go try starting
my manage-instance with fg and see what that does.
One thing I noted is that while the GP README refers to the "dateutil"
package, easy_install raises "not found" unless I use "python-
dateutil". Is this the same package as "dateutil" and if so, why does
the README not use the full name?
Danke!
pf
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---