[Zope3-Users] Composing content objects
Achim Domma
domma at procoders.net
Mon May 15 02:42:29 EDT 2006
David Johnson wrote:
> The exact traceback would be useful. Can you post it?
The traceback follows below.
regards,
Achim
Traceback (most recent call last):
File "C:\develop\ZopeWorkspace\Zope3\z3.py", line 64, in ?
run()
File "C:\develop\ZopeWorkspace\Zope3\z3.py", line 60, in run
main(argv[1:])
File "C:\develop\ZopeWorkspace\Zope3\src\zope\app\twisted\main.py",
line 74, in main
service = setup(load_options(args))
File "C:\develop\ZopeWorkspace\Zope3\src\zope\app\twisted\main.py",
line 139, in setup
zope.app.appsetup.config(options.site_definition, features=features)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\app\appsetup\appsetup.py", line
110, in config
context = xmlconfig.file(file, context=context, execute=execute)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 554, in file
include(context, name, package)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 490, in include
processxmlfile(f, context)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 345, in processxmlfile
parser.parse(src)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\xmlreader.py", line
123, in parse
self.feed(buffer)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 216, in feed
self._parser.Parse(data, isFinal)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 364, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 326, in endElementNS
self.context.end()
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
544, in end
self.stack.pop().finish()
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
690, in finish
actions = self.handler(context, **args)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 490, in include
processxmlfile(f, context)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 345, in processxmlfile
parser.parse(src)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\xmlreader.py", line
123, in parse
self.feed(buffer)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 216, in feed
self._parser.Parse(data, isFinal)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 364, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 326, in endElementNS
self.context.end()
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
544, in end
self.stack.pop().finish()
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
690, in finish
actions = self.handler(context, **args)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 490, in include
processxmlfile(f, context)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 345, in processxmlfile
parser.parse(src)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\xmlreader.py", line
123, in parse
self.feed(buffer)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 216, in feed
self._parser.Parse(data, isFinal)
File "C:\Python24\Lib\site-packages\_xmlplus\sax\expatreader.py",
line 364, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\xmlconfig.py",
line 326, in endElementNS
self.context.end()
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
544, in end
self.stack.pop().finish()
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
689, in finish
args = toargs(context, *self.argdata)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
1381, in toargs
args[str(name)] = field.fromUnicode(s)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\fields.py", line
139, in fromUnicode
value = self.context.resolve(name)
File
"C:\develop\ZopeWorkspace\Zope3\src\zope\configuration\config.py", line
184, in resolve
mod = __import__(mname, *_import_chickens)
File
"C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\interfaces.py",
line 14, in ?
class IWorkspace(Interface):
File
"C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\interfaces.py",
line 23, in IWorkspace
value_type=Object(title=u"Object",description=u"adsf"),
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"C:\develop\ZopeWorkspace\Zope3\site.zcml", line 7.2-7.68
ZopeXMLConfigurationError: File
"C:\develop\ZopeWorkspace\Zope3\zopeskel\etc\package-includes\procoders-configure.zcml",
line 1.0-1.30
ZopeXMLConfigurationError: File
"C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\configure.zcml",
line 3.4-3.100
TypeError: __init__() takes exactly 2 non-keyword arguments (1 given)
More information about the Zope3-users
mailing list