[Grok-dev] Error installing grokproject
Jan Ulrich Hasecke
juhasecke at googlemail.com
Thu Apr 9 14:31:31 EDT 2009
Hi,
I've updated grokporject with easy_install -U grokproject
And then installed a new project:
(virtualgrok)jan-ulrich-haseckes-macbook:virtualgrok juh$ grokproject
sampe
Enter user (Name of an initial administrator user): grok
Enter passwd (Password for the initial administrator user):
Downloading info about versions...
Creating directory ./sampe
Invoking zc.buildout...
Develop: '/Users/juh/Code/virtualgrok/sampe/.'
Getting distribution for 'z3c.recipe.eggbasket==0.4.1'.
Got z3c.recipe.eggbasket 0.4.1.
Installing eggbasket.
Getting distribution for 'grok==1.0a2'.
eggbasket: Distributions are not installed. A tarball will be
downloaded.
eggbasket: Distributions are not installed. A tarball will be
downloaded.
eggbasket: Downloading http://grok.zope.org/releaseinfo/grok-eggs-1.0a2.tgz
...
eggbasket: Downloading http://grok.zope.org/releaseinfo/grok-eggs-1.0a2.tgz
...
eggbasket: Finished downloading.
eggbasket: Finished downloading.
eggbasket: Extracting tarball contents...
eggbasket: Extracting tarball contents...
eggbasket: Installing eggs to /Users/juh/.buildout/eggs which will
take a while...
eggbasket: Installing eggs to /Users/juh/.buildout/eggs which will
take a while...
Getting distribution for 'grok==1.0a2'.
Got grok 1.0a2.
Getting distribution for 'zope.testing==3.5.6'.
Got zope.testing 3.5.6.
Getting distribution for 'zope.app.authentication==3.4.4'.
Got zope.app.authentication 3.4.4.
Getting distribution for 'ZODB3==3.8.1'.
src/persistent/cPickleCache.c:1002: warning: initialization from
incompatible pointer type
src/persistent/cPickleCache.c:1002: warning: initialization from
incompatible pointer type
Got ZODB3 3.8.1.
Getting distribution for 'grokcore.view==1.4'.
Got grokcore.view 1.4.
zip_safe flag not set; analyzing archive contents...
z3c.__init__: module references __path__
z3c.recipe.__init__: module references __path__
Startup failed:
cd sampe/(virtualgrok)jan-ulrich-haseckes-macbook:sampe juh$ bin/
paster serve parts/etc/deploy.ini
2009-04-09 20:29:28,625 WARNING [root] Developer mode is enabled: this
is a security risk and should NOT be enabled on production servers.
Developer mode can be turned off in etc/zope.conf
Traceback (most recent call last):
File "bin/paster", line 124, in <module>
paste.script.command.run()
File "/Users/juh/.buildout/eggs/PasteScript-1.7.3-py2.5.egg/paste/
script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/Users/juh/.buildout/eggs/PasteScript-1.7.3-py2.5.egg/paste/
script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/Users/juh/.buildout/eggs/PasteScript-1.7.3-py2.5.egg/paste/
script/command.py", line 218, in run
result = self.command()
File "/Users/juh/.buildout/eggs/PasteScript-1.7.3-py2.5.egg/paste/
script/serve.py", line 276, in command
relative_to=base, global_conf=vars)
File "/Users/juh/.buildout/eggs/PasteScript-1.7.3-py2.5.egg/paste/
script/serve.py", line 313, in loadapp
**kw)
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/loadwsgi.py", line 204, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/loadwsgi.py", line 225, in loadobj
return context.create()
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/loadwsgi.py", line 625, in create
return self.object_type.invoke(self)
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/loadwsgi.py", line 188, in invoke
filtered = context.next_context.create()
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/loadwsgi.py", line 625, in create
return self.object_type.invoke(self)
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/loadwsgi.py", line 110, in invoke
return fix_call(context.object, context.global_conf,
**context.local_conf)
File "/Users/juh/.buildout/eggs/PasteDeploy-1.3.2-py2.5.egg/paste/
deploy/util/fixtypeerror.py", line 57, in fix_call
val = callable(*args, **kw)
File "/Users/juh/.buildout/eggs/grokcore.startup-0.2-py2.5.egg/
grokcore/startup/startup.py", line 11, in application_factory
return zope.app.wsgi.getWSGIApplication(zope_conf)
File "/Users/juh/.buildout/eggs/zope.app.wsgi-3.4.1-py2.5.egg/zope/
app/wsgi/__init__.py", line 134, in getWSGIApplication
db = config(configfile, schemafile, features)
File "/Users/juh/.buildout/eggs/zope.app.wsgi-3.4.1-py2.5.egg/zope/
app/wsgi/__init__.py", line 124, in config
appsetup.config(options.site_definition, features=features)
File "/Users/juh/.buildout/eggs/zope.app.appsetup-3.4.1-py2.5.egg/
zope/app/appsetup/appsetup.py", line 111, in config
context = xmlconfig.file(file, context=context, execute=execute)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 610, in file
include(context, name, package)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/config.py", line 542, in end
self.stack.pop().finish()
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/config.py", line 690, in finish
actions = self.handler(context, **args)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/config.py", line 542, in end
self.stack.pop().finish()
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/config.py", line 690, in finish
actions = self.handler(context, **args)
File "/Users/juh/.buildout/eggs/z3c.autoinclude-0.2.2-py2.5.egg/z3c/
autoinclude/zcml.py", line 42, in autoIncludeDirective
includeZCMLGroup(_context, dist, info, 'configure.zcml')
File "/Users/juh/.buildout/eggs/z3c.autoinclude-0.2.2-py2.5.egg/z3c/
autoinclude/zcml.py", line 30, in includeZCMLGroup
include(_context, zcmlgroup, includable_package)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 546, in include
processxmlfile(f, context)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 378, in processxmlfile
parser.parse(src)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/xml/sax/expatreader.py", line 349, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/xmlconfig.py", line 357, in endElementNS
self.context.end()
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/config.py", line 542, in end
self.stack.pop().finish()
File "/Users/juh/.buildout/eggs/zope.configuration-3.4.0-py2.5.egg/
zope/configuration/config.py", line 690, in finish
actions = self.handler(context, **args)
File "/Users/juh/.buildout/eggs/grokcore.component-1.5.1-py2.5.egg/
grokcore/component/zcml.py", line 48, in grokDirective
do_grok(package.__name__, _context)
File "/Users/juh/.buildout/eggs/grokcore.component-1.5.1-py2.5.egg/
grokcore/component/zcml.py", line 53, in do_grok
config=config
File "/Users/juh/.buildout/eggs/martian-0.11-py2.5.egg/martian/
core.py", line 201, in grok_dotted_name
grok_package(module_info, grokker, **kw)
File "/Users/juh/.buildout/eggs/martian-0.11-py2.5.egg/martian/
core.py", line 206, in grok_package
grok_package(sub_module_info, grokker, **kw)
File "/Users/juh/.buildout/eggs/martian-0.11-py2.5.egg/martian/
core.py", line 204, in grok_package
grok_module(module_info, grokker, **kw)
File "/Users/juh/.buildout/eggs/martian-0.11-py2.5.egg/martian/
core.py", line 209, in grok_module
grokker.grok(module_info.dotted_name, module_info.getModule(),
File "/Users/juh/.buildout/eggs/martian-0.11-py2.5.egg/martian/
scan.py", line 118, in getModule
self._module = resolve(self.dotted_name)
File "/Users/juh/.buildout/eggs/martian-0.11-py2.5.egg/martian/
scan.py", line 191, in resolve
__import__(used)
File "/Users/juh/.buildout/eggs/grokui.admin-0.3-py2.5.egg/grokui/
admin/docgrok.py", line 39, in <module>
from zope.app.apidoc.codemodule.module import Module
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/Users/
juh/Code/virtualgrok/sampe/etc/site.zcml.in", line 4.2-4.29
ZopeXMLConfigurationError: File "/Users/juh/Code/virtualgrok/
sampe/src/sampe/configure.zcml", line 4.2-4.37
ZopeXMLConfigurationError: File "/Users/juh/.buildout/eggs/
grokui.admin-0.3-py2.5.egg/grokui/admin/configure.zcml", line 5.2-5.27
ImportError: No module named apidoc.codemodule.module
More information about the Grok-dev
mailing list