[Zope] Problem with Zope 2.7.0 in Gentoo

Stelian Iancu steliani at cytanet.com.cy
Fri Mar 19 18:58:33 EST 2004


Hello!

Today I've installed Zope 2.7.0 in Gentoo from source. Then I've created 
an instance, and now, when I try to start it, it gives me the following 
error:

Traceback (most recent call last):
  File "/opt/Zope-2.7/lib/python/Zope/Startup/zopectl.py", line 207, 
in ?
    main()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/zopectl.py", line 187, in 
main
    options.realize(args)
  File "/opt/Zope-2.7/lib/python/Zope/Startup/zopectl.py", line 86, in 
realize
    ZDOptions.realize(self, *args, **kw)
  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 264, in 
realize
    self.load_configfile()
  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 308, in 
load_configfile
    self.zconfig_options)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 43, in 
loadConfig
    return _get_config_loader(schema, overrides).loadURL(url)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 71, in loadURL
    return self.loadResource(r)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 183, in 
loadResource
    self._parse_resource(sm, resource)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 234, in 
_parse_resource
    parser.parse(matcher)
  File "/opt/Zope-2.7/lib/python/ZConfig/cfgparser.py", line 63, in 
parse
    section = self.end_section(section, line[2:-1])
  File "/opt/Zope-2.7/lib/python/ZConfig/cfgparser.py", line 116, in 
end_section
    self.context.endSection(
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 201, in 
endSection
    sectvalue = matcher.finish()
  File "/opt/Zope-2.7/lib/python/ZConfig/matcher.py", line 170, in 
finish
    return self.constuct()
  File "/opt/Zope-2.7/lib/python/ZConfig/matcher.py", line 212, in 
constuct
    v = v.convert(ci.datatype)
  File "/opt/Zope-2.7/lib/python/ZConfig/info.py", line 65, in convert
    return datatype(self.value)
  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line 106, 
in importable_name
    package = __import__(n, g, g, component)
  File "/opt/Zope-2.7/lib/python/DBTab/ClassFactories.py", line 18, in ?
    import OFS.Uninstalled
  File "/opt/Zope-2.7/lib/python/OFS/Uninstalled.py", line 16, in ?
    import  SimpleItem, Globals, Acquisition
  File "/opt/Zope-2.7/lib/python/OFS/SimpleItem.py", line 27, in ?
    from CopySupport import CopySource
  File "/opt/Zope-2.7/lib/python/OFS/CopySupport.py", line 549, in ?
    action ='manage_main',)
  File "/opt/Zope-2.7/lib/python/DocumentTemplate/DT_String.py", line 
474, in __call__
    try: result = render_blocks(self._v_blocks, md)
  File "/opt/Zope-2.7/lib/python/DocumentTemplate/pDocumentTemplate.py", 
line 202, in render_blocks
    cond=md[cond]
  File "/opt/Zope-2.7/lib/python/DocumentTemplate/pDocumentTemplate.py", 
line 140, in __getitem__
    v = self.dicts[key]
  File "/opt/Zope-2.7/lib/python/DocumentTemplate/pDocumentTemplate.py", 
line 100, in __getitem__
    raise KeyError, key
KeyError: "'v'"

Python version is 2.3.3. The config file is the default one.

Thanks!

Regards,
-- 
Stelian Iancu
steliani at cytanet.com.cy



More information about the Zope mailing list